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
Anders Jenbo
75301e3cac
Load mpq in read only mode
...
This solves issues for people that have the mpq on read only media.
7 years ago
aperturesecurity
22c941d488
added new build
7 years ago
Anders Jenbo
841f5af199
Compile effects.cpp and wave.cpp as C ( #530 )
...
* Correct SFileReadFile signature
* Compile as C
Source/effects.cpp
Source/wave.cpp
* Make diabloui.h C frindly
7 years ago
Robin Eklind
8c73745e82
Compile movie.cpp as C
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
Anders Jenbo
4804def593
Convert storm.h to C ( #501 )
7 years ago
Anders Jenbo
f505809699
C compatible enum.h and struct.h
7 years ago
Anders Jenbo
197e729ab0
Use BOOLEAN in storm
7 years ago
galaxyhaxz
24285a220f
WinMain+Direct file access from HDD ( #456 )
7 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago