thebigMuh
f41fdedbc7
🐛 [hellfire] Fix missing braziers in crypt (causing instability)
...
- Crypt candles (braziers) around the storybook were occasionally missing
- Marked OFILE_CANDLE2 to load for all levels 1 through 12, so it is always loaded for crypt as well
- Made search for object graphics a bit more secure, as in the bugged case it would run off past the end of an array
5 years ago
Anders Jenbo
48dbb47d70
🌐 Apply static translations
5 years ago
Vladimir Olteanu
bea21a5e20
Replace LOAD_LE32 & LOAD_BE32 with signedness- and endian-agnostic equivalents
5 years ago
Ivan Epifanov
a0b40aaf22
Package data file in vpk
5 years ago
Ivan Epifanov
e9d4c85fab
Remove vita workaround
5 years ago
Xadhoom
6c4bad0af1
ZeroTier networking fixes
5 years ago
Vladimir Olteanu
b6c8db9de4
Update dead_test.cpp
5 years ago
Vladimir Olteanu
4d5b9ac023
Coding style changes for dead.h, dead.cpp
5 years ago
Vladimir Olteanu
2a3cf98850
Slight cleanup of dead{.h,.cpp}
5 years ago
Gleb Mazovetskiy
144dd6cd93
♻️ engine.cpp: Minor cleanup in draw functions
...
1. Introduce a couple of constants.
2. Extract a helper function for getting the light table pointer.
5 years ago
Gleb Mazovetskiy
0dd9aeea69
♻️ Cleanup DISABLE_STREAMING_MUSIC handling
...
Extracts `LoadMusic` and `CleanupMusic` functions.
5 years ago
qndel
bdf4b848a9
🐛 Fix queuing operating object when clicking during attack ( #1678 )
5 years ago
Anders Jenbo
28bfb9242f
🌐 Clean up Italien translation file
5 years ago
Anders Jenbo
7004baf2d5
🌐 Clean up Spanish translation file
5 years ago
Anders Jenbo
5517bb05bd
✏️ Correct name of Black Jade
5 years ago
Anders Jenbo
1278446633
🌐 Update translation template
5 years ago
Anders Jenbo
e3526a5ff6
🌐 Convert all src to UTF8
5 years ago
Anders Jenbo
187d547fb8
🌐 Remove unused string from the translation list
5 years ago
Gleb Mazovetskiy
4b7409a8bf
🎶 Loop the music
...
Follow-up to #1651
5 years ago
Epifanov Ivan
d0d0719e2d
Apply target visibility on cmake < 3.18 only ( #1729 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
5 years ago
Vincent Dumont
2eaf72000c
Change icon style for Big Sur
5 years ago
Gleb Mazovetskiy
28571961e9
📝 building.md: Add -DCMAKE_BUILD_TYPE=Release
...
Users keep building non-release builds by copy-pasting the commands from
here.
As this uses a standard build flag (and not `-DBINARY_RELEASE=ON`),
users who are familiar with CMake or are building for development
will know to remove it.
Meanwhile, users who simply want to build from source will benefit from
optimized builds.
[ci skip]
5 years ago
Gleb Mazovetskiy
8f3f99d357
📝 building.md: BINARY_RELEASE -> CMAKE_BUILD_TYPE
...
Use the standard option
[ci skip]
5 years ago
Gleb Mazovetskiy
af5846b8d5
📝 building.md: Move CROSS_PREFIX to MinGW
...
It's a MinGW-specific option, not a general one.
[ci skip]
5 years ago
Ivan Epifanov
20bb399e40
Remove libs linked by SDL2 target from lib list
5 years ago
Gleb Mazovetskiy
46a5dc147b
🔨 Restore GCC 5 compatibility
...
We can support this much older compiler with just these few minor
changes.
5 years ago
Gleb Mazovetskiy
7a1d3100ec
🎨 Fix line endings in Source/dvlnet/zerotier*
5 years ago
Mathieu Maret
8d8711a966
Apply static menu translations ( #1728 )
5 years ago
Ivan Epifanov
8cff2b7c67
Cmake < 3.18 fix
5 years ago
Gleb Mazovetskiy
ff03f932bf
Add messages to `static_assert`
...
Single-argument version is allegedly not supported by GCC < 9.1, though
it seemed to work fine.
https://www.gnu.org/software/gnulib/manual/html_node/assert_002eh.html
5 years ago
thebigMuh
5f288cbd43
Fixes small AC malus of less than 1 resulting in a bonus of 1 AC
5 years ago
Gleb Mazovetskiy
2f9e5f9d28
⚙️ Show FPS option
...
On some platforms, editing command-line flags is difficult.
This adds a `Show FPS` option to the ini file.
If set, FPS is shown even without the `-f` flag.
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
ec8c86d24e
🐞 OpenDingux/build.sh: Remove fmt
...
This installs `libfmt.so` which won't be present on the device itself.
5 years ago
Gleb Mazovetskiy
961047ca9e
🐞 Joystick::IsHatButtonPressed should not be static
...
Follow-up to def7ba5a50
5 years ago
Jmgr
17c85814bf
Fix a few remaining C-style format in Log calls
5 years ago
thebigMuh
ad8f342db0
Adding constness
5 years ago
Gleb Mazovetskiy
5bcb275012
🔨 CMake: Fix SDL2 on older Debian derivates
...
Older Debian and derivatives come with sdl2-config.cmake file that does
not define any targets.
One such sdl2-config.cmake looks like this:
```cmake
set(prefix "/usr")
set(exec_prefix "${prefix}")
set(libdir "${prefix}/lib/x86_64-linux-gnu")
set(SDL2_PREFIX "/usr")
set(SDL2_EXEC_PREFIX "/usr")
set(SDL2_INCLUDE_DIRS "${prefix}/include/SDL2")
set(SDL2_LIBRARIES " -lSDL2")
string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)
```
Works around this by defining an `SDL2::SDL2` target ourselves.
5 years ago
obligaron
a2a54dec34
Remove AnimLenFromClass
5 years ago
thebigMuh
7ce3957a8a
Split of QoL features into separate files
5 years ago
Gleb Mazovetskiy
eb4fbdc302
🔨 CMake: Better error message for bad SDL2 configs
5 years ago
Yuri Pourre
1ec46931e1
Add blacksmith's missing transcriptions ( #1203 )
5 years ago
Gleb Mazovetskiy
83292c8e67
♻️ Fix -Wunused-variable in pfile.cpp
5 years ago
Gleb Mazovetskiy
c50917bc4f
🔨 MSVC: Enable standards mode (/permissive-)
...
See https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance
5 years ago
Gleb Mazovetskiy
47b28bc892
🔨 AppVeyor: Switch to Visual Studio 2019
...
SDL_audiolib uses some C++17 features not supported in VS2019
5 years ago
Gleb Mazovetskiy
697f2accc1
🧹 CMake: Remove duplicate Vita keyboard.cpp src
5 years ago
Gleb Mazovetskiy
595e464919
🧹 mingw: Fix `.cmake` config files prefix
...
Works around https://github.com/libsdl-org/SDL/issues/3665 by using
sdl2-config.cmake.in from https://github.com/libsdl-org/SDL/pull/4320
5 years ago
Gleb Mazovetskiy
ca8dcb6586
🧹 Remove SDL2 finder
...
SDL2 ships with CMake config files, so a finder file should not be necessary for it.
5 years ago
Anders Jenbo
6d8b09302f
🌐 Add missing lines to translation template
5 years ago
obligaron
a3229741d1
🖌️ Refurbish tables in source code (clang-format off)
5 years ago