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
Anders Jenbo
93e42b9b8c
🌐 Add missing translation string
5 years ago
Gleb Mazovetskiy
1977f39ecb
🔨 Switch: Better fix for pkgconfig support
5 years ago
Jmgr
d4f62870b8
Remove globals from paths.h
...
Fix for Vita
Update to use free functions
Use std::optional to allow setting empty paths
Change header inclusion order
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Use std::optional to allow setting empty paths
Apply clang-format
Temporary commit
5 years ago
Jmgr
2b672289e1
Fix optional being in experimental/ with some compilers
5 years ago
Anders Jenbo
131673f87b
🌐 Remove incorrect translation suggestions
5 years ago
Anders Jenbo
b69d18f12d
🌐 Enable translation of all remaning strings
5 years ago
Gleb Mazovetskiy
fdc6cd6f7e
🔨 Switch CI: Fix pkgconfig support
...
Works around https://github.com/devkitPro/docker/issues/16
5 years ago
Anders Jenbo
5633298958
Update translations
...
Let Poedit map what it can and drop what doesn't match at all
5 years ago
altiereslima
959f576115
Update pt_BR.po ( #1696 )
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Anders Jenbo
c026f947ef
Enable Spanish and Chinese language gneration
...
Also correct file name for Portuguese
5 years ago
Gleb Mazovetskiy
b64afd9bc0
🔨 AppVeyor: Update vcpkg before build
...
Fixes old version of libfmt
5 years ago
Gleb Mazovetskiy
62027b2ef3
🔨 AppVeyor: Use system (vcpkg) fmt
5 years ago
Gleb Mazovetskiy
807d8528b1
🐞 Fix fmt includes "" -> <>
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
Gleb Mazovetskiy
a6d00edde5
🔨 CMake: Log which fmt is used
5 years ago
Gleb Mazovetskiy
c49de0b5f1
🎨 Source/utils/log.hpp: Fix newlines
5 years ago
Gleb Mazovetskiy
a17c1c827e
🔨 Packaging/OpenDingux/build.sh: Add fmt package
5 years ago
Gleb Mazovetskiy
0ad5c5f9cf
🔨 Brewfile: Add libfmt
5 years ago
Gleb Mazovetskiy
2f40211404
🔨 CI: Use system libfmt on Debian Testing builds
5 years ago
Anders Jenbo
0848f45009
Update spanish and Chinese translation files
5 years ago
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles ( #1680 )
5 years ago
obligaron
fbd0f22674
Add Debug-UnitTests Configurations to CMakeSettings.json
5 years ago