staphen
6d971396ab
Update libzt to fix MinGW build on case-insensitive file systems
5 years ago
staphen
3e5f553508
Update asio to 1.19.2
5 years ago
Anders Jenbo
b168773cc4
🚨 Fix clang warnings
5 years ago
obligaron
6dbbfca030
Don't use -fpermissive on msvc
5 years ago
staphen
4ab13f304b
Bring in ASIO fixes for Switch
5 years ago
staphen
a7123e7a5d
Update ASIO to diasurgical fork
5 years ago
qndel
4e6eeaa9d7
update asio
5 years ago
qndel
36f5db8edc
fix mac builds ( #2124 )
...
downgrades asio version and applies double error fix
5 years ago
qndel
99cb90d7cc
update asio ( #2121 )
...
fixes double error msg
5 years ago
Gleb Mazovetskiy
bcd2dd429c
🔨 CMake: asio: Use HTTP for downloading
...
This is much faster than using git.
5 years ago
Gleb Mazovetskiy
075e47efca
🔨 CMake: simpleini: Use HTTP for downloading
...
This is much faster than using git.
5 years ago
staphen
3ae5abc957
Update SDL_audiolib
5 years ago
obligaron
7d5fe022ee
Switch ini library from Radon to simpleini
5 years ago
staphen
253fccbac5
Get ASIO via CMake
5 years ago
staphen
9c2781fa50
Update SDL_audiolib
5 years ago
Gleb Mazovetskiy
8bc8d20750
🐞 Update SDL_audiolib
...
Fixes #1833
5 years ago
Gleb Mazovetskiy
06ae2508bd
Storm: Apply upstream commit
...
62001d116a
5 years ago
Gleb Mazovetskiy
f454b29c11
🐞 Storm: Make `nLastError` thread-local
5 years ago
Gleb Mazovetskiy
3c0a4bd316
Update SDL_audiolib to fix mono->stereo conversion
...
0fa26cf4e4
5 years ago
Gleb Mazovetskiy
acee2ef14c
🎉 Switch from SDL_mixer to SDL_audiolib
...
SDL_mixer can only stream a single music track
SDL_audiolib has unlimited streams.
With this change, we finally have streaming sounds (respecting
sfx_STREAM).
Audio options can now also be set via diablo.ini, which should help us
better diagnose the static noise issues.
5 years ago
Gleb Mazovetskiy
890b7f5fe3
🐞 CMake: Fix fmt dependency
5 years ago
Gleb Mazovetskiy
fd6392db03
🎨 3rdParty/libfmt/CMakeLists.txt: Fix line endings
5 years ago
Jmgr
ef0ca794bc
Use system libfmt by default if version >= 7.0.0
...
Allow non-strict ansi functions
Cleanup
5 years ago
Jonathan Mercier-Ganady
340d111963
Download an archive of fmt instead of cloning it
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
5 years ago
Jmgr
f3a401b5f6
Add the fmt library as a dependency and add some examples
...
Attempt at fixing missing functions on some platforms
5 years ago
Anders Jenbo
6e1a106a38
🚚 Move header we implement into the project
5 years ago
Anders Jenbo
67a7ff98c5
🚨 Clean up compiler warnings
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
4ee84aea1a
♻️ Change BOOLEAN to bool
...
fixup BOOLEAN
5 years ago
Geoffroy Warin
b54df1af38
add an ini option to configure gamepad deadzone
5 years ago
Gleb Mazovetskiy
b7d55348ab
StormPort.h: Do not assume mmap support
...
Do not assume mmap by default for the fallback platform, unless it's in a list of platforms that we know have mmap
Upstream commit: 062868dcdf
5 years ago
Xadhoom
867dd96a73
Add ZeroTier support
5 years ago
Gleb Mazovetskiy
3be9bbce12
Fixup storm.h signatures
...
1. StormLib now uses `bool` instead of `BOOL`
2. `WINAPI` was missing on `SFileSetFilePointer` (also the return type was incorrect)
3. There was a `WINAPI` on `SFileOpenFile` but that's not a StormLib function
Refs #1399
5 years ago
Gleb Mazovetskiy
01aeaea9a6
Remove STORMAPI, use WINAPI for StormLib decls
...
Restores the use of WINAPI but only for StormLib declarations.
This allows us to use StormLib unmodified.
5 years ago
Gleb Mazovetskiy
06eb2ad5e7
StormLib: Skip unused functionality
...
Re-applies `#ifdef FULL` with some minor changes
from the previous version of DevilutionX's fork of StormLib.
5 years ago
Gleb Mazovetskiy
50e4677e2d
StormLib: Add .editorconfig
...
StormLib files are a mix of LF and CRFL.
Ensure we don't modify line endings.
5 years ago
Gleb Mazovetskiy
7a77e88eb0
StormLib: Update to ladislav-zezula/StormLib@95fabe8c0936e013d8764858d6eaf17b6a774e12
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
6f1498d315
🚚 Move structures to there respective headers
5 years ago
Anders Jenbo
bc3dc545da
🔥 Remove unused parts of game creation logic
5 years ago
Gleb Mazovetskiy
21a4a671e4
Cleanup DiabloAllocPtr
...
1. Removes a lock around allocation. `malloc` is required to be thread-safe in C11.
2. Defines it as a macro so that:
1. We provide the correct location for the OOM error.
2. We get better attribution from memory profilers.
5 years ago
Gleb Mazovetskiy
e2158a2102
Storm: Fix reading local files
...
See https://github.com/ladislav-zezula/StormLib/issues/203
5 years ago
Gleb Mazovetskiy
5814838d26
Move SFile helpers to storm.h
5 years ago
Gleb Mazovetskiy
be21f80f42
Fix `SBmpLoadImage` size allocation
...
SBmpLoadImage tried to get the size of the rest of the file incorrectly
by subtracting the current file position from the total size.
This was incorrect because file positions do not always begin at 0.
The only semi-portable way to get a size from file positions is to
subtract two file positions.
5 years ago
Anders Jenbo
8425a23585
♻️ Only write ini file once
5 years ago
Gleb Mazovetskiy
7ead76e8d2
Remove SFileDdaSetVolume
...
It is only used in one place and does not actually control the volume of any specific file.
5 years ago
Gleb Mazovetskiy
2e21e7ab0e
CMake: libsodium FetchContent CMake 3.13 compat
...
This commit serves 2 purposes:
1. Fixes CMake 3.13 compatibility when using
` -DDEVILUTIONX_SYSTEM_LIBSODIUM=OFF` (fixes #1222 ).
2. Ensures we do not build targets that are not depended on by us,
by passing `EXCLUDE_FROM_ALL` to `add_subdirectory`.
5 years ago