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
Anders Jenbo
58e0b00e74
♻️ Pass privitives by value
5 years ago
Gleb Mazovetskiy
a545d0ce1c
CMake: An option to build libsodium from source
...
Adds an option to build libsodium from source instead of using the
system-provided one.
This is useful on systems that do not provide libsodium, or for testing
changes to libsodium along with devilutionx (by specifying
`-DFETCHCONTENT_SOURCE_DIR_LIBSODIUM`).
This also allows us to configure sodium to our liking when building it from source,
such as `SODIUM_MINIMAL`, which reduces the x64 release binary size from 4.3 MiB to 4.1 MiB.
5 years ago
Gleb Mazovetskiy
7ddabe188a
Update 3rdParty/Radon
...
From 9203ff8b02
5 years ago
Anders Jenbo
60cc8b0df4
🚨 Correct type of event_types
...
Fixes #1197
5 years ago
Anders Jenbo
8470e916c8
⬆️ Update libsmaker
...
Fixes #476
5 years ago
Anders Jenbo
39999791b3
Revamp ini options and sync in multiplayer
...
[NetMsg]
F12=Now you DIE!
F11=Here's something for you.
F10=Follow me.
F9=I need help! Come Here!
[Game]
Speed=50
Fast Walk=1
Grab Input=0
Theo Quest=0
Cow Quest=0
[Audio]
Sound Volume=0
Music Volume=0
Walking Sound=1
[Graphics]
Fullscreen=1
Fit to Screen=1
Scaling Quality=2
Integer Scaling=0
Vertical Sync=1
Blended Transparency=1
Gamma Correction=100
Color Cycling=1
[Diablo]
Intro=0
[Hellfire]
Intro=0
SItem=
[Phone Book]
Entry1=127.0.0.1
[Network]
Bind Address=0.0.0.0
5 years ago
Epifanov Ivan
f49b55cbe1
Migrate to vitasdk
5 years ago
Ivan Epifanov
1e53f32049
[vita] Initial port
5 years ago
MrHuu
1fa8b6f4e4
[3DS] Initial port
5 years ago