pionere
97d53ced7e
get rid of a few warnings (strncpy)
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
pionere
1f340212e1
do not call SFileOpenFileEx if the given handle is NULL
...
+ add defines for dwSearchScope
5 years ago
Anders Jenbo
0c8664b016
Implement Cornerstone of the World functionality
5 years ago
Anders Jenbo
88a715cdcc
Clean up narator sound logic
...
Also this provides a helper function for calculating the length of a
sound
5 years ago
Gleb Mazovetskiy
a091a56e8e
Remove MAX_PATH restriction ( #898 )
...
Do not limit filesystem paths to 259 chars for MPQs, save files, and diablo.ini.
The MAX_PATH constant remains but now only limits path lengths within the MPQs.
5 years ago
Gleb Mazovetskiy
5f556a93b7
SFileSetBasePath: char * -> const char *
...
Follow-up to ec329e645c
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
Marcin Konicki
aace1b46de
Implement `--save-dir` CLI option
...
* Lazy load ini, this also fixes launching the game on Android
6 years ago
BDC
741cdb2494
Fix memory leak with audio stream not been released
...
SFileChunk was not been release.
6 years ago
Anders Jenbo
8272a37aea
Add connection state and player state enums
6 years ago
Marcin Konicki
515ac145c5
Implement `--save-dir` CLI option
...
* Lazy load ini, this also fixes launching the game on Android
6 years ago
BDC
74938fdacd
Fix memory leak with audio stream not been released
...
SFileChunk was not been release.
6 years ago
Anders Jenbo
bd6eebedb1
Drop storm_dx.cpp
6 years ago
Anders Jenbo
c26fa8fa3f
Remove threading from miniwin
6 years ago
Anders Jenbo
118e3668b4
Remove unused code
6 years ago
Anders Jenbo
edeca6574d
Replace tagRECT with SDL_Rect
6 years ago
Anders Jenbo
913de17a56
Use SDL_Color nativly instead of converting betwen it and PALETTEENTRY
6 years ago
Anders Jenbo
40d272241b
Implement --data-dir for setting mpq path
...
This also implements a much cleaner version of diablo_parse_flags
Fixes #219
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
4532f009ff
Remove old anti-cheat code from save function
...
Tthis code simply logs the save time of a multiplayer game in the
register database, this was likly done as part of an anti cheat scheme
(the key was "Video Player"), but appears to have since been disabled.
Probably to allow moving save games between PC's which was supported
when better Windows 2000 support was added.
6 years ago
Anders Jenbo
810b12a37d
Drop unused code
7 years ago
Anders Jenbo
a8e4db538f
Display SDL error messages in UI dialog
...
This will also end the application in most cases
7 years ago
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Anders Jenbo
5cadee74c2
Fix a few compiler warnings
7 years ago
Anders Jenbo
d2fb797c12
Remove unused 3rdParty files
7 years ago
Sergey Semushin
ee70bb8053
Make TList<EXTERNMESSAGE>::Create not inlined and bin exact.
7 years ago
Anders Jenbo
d18d392ca4
Re introduce infinity
7 years ago
Sergey Semushin
5269ada59e
Clean up init_test_access.
7 years ago
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
7 years ago
galaxyhaxz
7fcbc7319c
Fix merged function `sound_update`
7 years ago
Anders Jenbo
faeb360c88
Revert multi.h to not include storm.h
7 years ago
Anders Jenbo
790197cae5
Define SEVTHANDLER
7 years ago
Anders Jenbo
8a142d3c46
Clean up multi_event_handler
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
fda317a24e
Clean up storm/sound_update ( #663 )
7 years ago
Anders Jenbo
8e6276da58
Update documentation and build script
7 years ago
Anders Jenbo
7ba8351bc3
Fully implement SFileDda*
...
fixes #24
fixes #22
7 years ago
Anders Jenbo
3da71b2aee
Correct signature of SFileGetFileArchive ( #599 )
7 years ago
Max Desiatov
e748b7754f
Fix macOS compilation errors ( #28 )
...
* Fix macOS compilation errors
7 years ago
Anders Jenbo
ad6d83d8b2
Implement music volumne
7 years ago
Anders Jenbo
22a3657ee4
Implement video playback in storm
...
Clean up after video should also be better now
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago
Anders Jenbo
0ec174eb4b
Storm var names
7 years ago
Anders Jenbo
da032c92cc
Clean up SBmpLoadImage
7 years ago
Anders Jenbo
eac3f0ec7f
Load mpq in read only mode
...
This solves issues for people that have the mpq on read only media.
7 years ago