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
Anders Jenbo
bd85d4884e
Update LibSmacker to version 1.1.1
...
Fixes #723
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
Marlon Beijer
2f8da50e87
Some fixes for 68k-amiga
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
rsn8887
8e84ae0159
remove mman.h dependency on Switch platform
6 years ago
lantus360
4c96d946c6
Initial Nintendo Switch support
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
Gleb Mazovetskiy
d6eeb3cb47
StormPort: Suppress `min/max` macros from windows
...
Upstream PR: https://github.com/ladislav-zezula/StormLib/pull/163
6 years ago
Gleb Mazovetskiy
1f42ebbcdd
StormLib: Backport #include <strings.h> by default
...
Upstream: https://github.com/ladislav-zezula/StormLib/pull/160
Refs: #384 https://github.com/diasurgical/devilutionX/issues/378#issuecomment-544471019
7 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
d26f4b0ad0
Build macOS package via CMake exclusively
7 years ago
Anders Jenbo
5cadee74c2
Fix a few compiler warnings
7 years ago
Anders Jenbo
d2fb797c12
Remove unused 3rdParty files
7 years ago
Marlon Beijer
a72e548403
Add endian switch for Linux as well
7 years ago
Marlon Beijer
fbadc146de
Prettify the code
7 years ago
Marlon Beijer
e7971494e3
StormLib:
...
* Add Amiga platform
* Add some big endian swap functions for non-Mac platforms
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
Dennis Duda
deaa8923d1
Converted Pkware.dsp to CRLF
7 years ago
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
7 years ago
galaxyhaxz
7fcbc7319c
Fix merged function `sound_update`
7 years ago
Sergey Semushin
39c7918cb6
Separate PKWare to static lib in msvc 2017 project.
7 years ago
Zoltán Mizsei
9af17fea8d
Start fix for Haiku
7 years ago
Anders Jenbo
faeb360c88
Revert multi.h to not include storm.h
7 years ago
galaxyhaxz
1cc8c81636
Change PKWare to static library ( #1141 )
7 years ago
Anders Jenbo
790197cae5
Define SEVTHANDLER
7 years ago
Anders Jenbo
8a142d3c46
Clean up multi_event_handler
7 years ago
miqlas
106ffa53ba
Preliminary Haiku support ( #94 )
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
f2e352fb22
Fix missing return in StormLib
7 years ago
Anders Jenbo
fda317a24e
Clean up storm/sound_update ( #663 )
7 years ago
Benny Franco Dennis
5aa4bb1328
Adding a modify bash file to build libsodium
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
Xadhoom
53c5ced09d
Replace WINAPI by STORMAPI in StormLib
7 years ago