Gleb Mazovetskiy
b362562b63
OpenDingux: Enable network support
...
For now, without ZeroTier because it fails to link, possibly due to ZeroTier using the `-fstack-protector` flag.
4 years ago
Bernd Stellwag
0e8ca7121f
change http links to https where possible
5 years ago
Thomas Christlieb
a17b0bf947
change way to detect architecture/platform path for libsodium. Fixes #2558
5 years ago
Anders Jenbo
4dd8b121ec
Replace TTF with PCX font
5 years ago
staphen
60492ef954
Add proper graphics for gamepad
5 years ago
staphen
1d50db0246
Nintendo Switch: Remove link to rdimon library to fix file truncation
5 years ago
Sam James
a755f81a14
Findsodium.cmake: Fix tabs->spaces
...
Fixes a formatting inconsistency I inadvertently
introduced in a previous change. Apologies!
Fixes: 012f3aa90c
Signed-off-by: Sam James <sam@gentoo.org>
5 years ago
Sam James
012f3aa90c
Findsodium.cmake: adjust static libraries list mangling
...
Our previous processing would throw away all but the last
entry in the found STATIC_LIBRARIES, which in newer versions
of libsodium, might be "pthread" -- hence not trying to link
against libsodium at all.
We now generate a temporary list, mangle it, then return that.
Bug: https://bugs.gentoo.org/791031
Fixes: https://github.com/diasurgical/devilutionX/issues/2615
Signed-off-by: Sam James <sam@gentoo.org>
5 years ago
Sam James
63d625db84
Findsodium.cmake: fix confusing indentation
...
It's harder to read the nested-if w/o indentation.
Signed-off-by: Sam James <sam@gentoo.org>
5 years ago
Epifanov Ivan
63d8e38de1
Auto-detect locale on PSVita. ( #2546 )
5 years ago
staphen
eedd75a925
3DS: Add translations to romfs
5 years ago
staphen
764dfdb1b6
Fix 3DS build failures when running builds anywhere besides the build directory
5 years ago
staphen
c5fc37eca2
Stub missing functions for Switch
5 years ago
staphen
0784ab857c
Headers for Switch asio compilation
5 years ago
staphen
2ae44a3bf6
Enable TCP in Switch build
5 years ago
staphen
b16eec262a
Disable ASAN and UBSAN for 3DS builds
5 years ago
staphen
d0059c01cc
Headers for 3DS asio compilation
5 years ago
staphen
14a0da7fb3
Enable TCP in 3DS build
5 years ago
staphen
9ca9de3eba
Add virtual keyboard hints and 3DS keyboard improvements
5 years ago
Epifanov Ivan
b16d3e8b54
Re-enable graphical settings on PSVita ( #2175 )
5 years ago
staphen
5379525c2e
Update CMake platform variable for NINTENDO_3DS
5 years ago
Gleb Mazovetskiy
7ab16c5c5d
🔨 CMake: Cleanup Nintendo Switch variables
5 years ago
Dave Murphy
733cf56a1e
use upstream devkitPro cmake machinery
5 years ago
Gleb Mazovetskiy
8ba63dfa30
OpenDingux: Use 8-bit hwsurface for RG-350
...
Uses an 8-bit surface direct rendering with triple-buffering for RG-350.
This improves FPS and eliminates tearing.
5 years ago
Anders Jenbo
86971d53d6
Do not show attribute warnings for Amiga builds
...
The compiler is currently stock at GCC 6.5 which doesn't know about some of the attributes we use.
5 years ago
Gleb Mazovetskiy
2f3fa76320
Fix gkd350h build
...
Works around a GCC bug on some platforms:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044
5 years ago
staphen
a9d2aea984
Removed unnecessary cmake modules.
5 years ago
staphen
5483b29a31
Set 3DS scaling behavior based on FitToScreen setting.
5 years ago
staphen
d3d6bc1342
Simplify TTF_FONT_DIR definition for 3DS.
5 years ago
staphen
24ca0b8a87
D-pad is now modeled as a hat, not four separate buttons.
5 years ago
Gleb Mazovetskiy
9a5f3c86e8
🎶 Re-enable streaming audio everywhere
5 years ago
staphen
f60df8fd77
3DS: Removed unnecessary dependencies
5 years ago
staphen
c7dd7f3e9a
3DS: Set bpp to 8 for better performance
5 years ago
staphen
7398ffa8aa
3DS: Fixed ttf font path
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
ca8dcb6586
🧹 Remove SDL2 finder
...
SDL2 ships with CMake config files, so a finder file should not be necessary for it.
5 years ago
Gleb Mazovetskiy
1977f39ecb
🔨 Switch: Better fix for pkgconfig support
5 years ago
Gleb Mazovetskiy
7e9ef03334
🔨 CMake MinGW: Set pkgconfig path and fix prefix
...
1. Make CMake use MinGW's pkgconfig wrapper.
2. Set the correct `prefix` in `pkgconfig` files.
5 years ago
Gleb Mazovetskiy
472f86588e
OpenDingux: Update RG350 package to OD Beta
...
Unfortunately, OD Beta has a major regression with SDL joystick support,
as it always reports buttons as keyboard keys instead of actual buttons.
This partially breaks external keyboard support, where e.g. space no
longer acts as expected.
However, on balance, OD Beta is better than the 2014 firmware at this
point.
5 years ago
Gleb Mazovetskiy
26fb3e4b57
Disable streaming audio on the Vita
...
Refs #1526
Seems to be affected by a similar issue as the Switch and the 3DS:
https://github.com/diasurgical/devilutionX/pull/1264
5 years ago
Xadhoom
867dd96a73
Add ZeroTier support
5 years ago
Gleb Mazovetskiy
4e01abe030
Vita: set(PREFILL_PLAYER_NAME ON)
...
Not strictly necessary because we always do this now if the gamepad is active, just adding for consistency with other handheld ports
5 years ago
Gleb Mazovetskiy
4a18ccb626
CMake: Add GPERF option
...
This option links the tcmalloc and gperf memory profiler.
It can then be used to memory-profile individual sections of the app.
On Ubuntu, the package that provides the profiler is
`libgoogle-perftools-dev`.
5 years ago
Gleb Mazovetskiy
88a68f503a
Disable streaming music and sound for 3DS / Switch ( #1264 )
...
Works around https://github.com/devkitPro/SDL/issues/72 at the cost of
~50 MiB extra RAM usage.
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
d7788522f2
⬆️ Bump CMake to 3.13
...
This allows us to have variables set in the toolchains which cleans up
the main file a bit.
5 years ago
Anders Jenbo
9ea85118d4
🐛 Disable LTO for Windows builds ( #1182 )
5 years ago
Anders Jenbo
f34e77190c
💚 Disable LTO when known to be buggy on Windows
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
Ivan Epifanov
1e53f32049
[vita] Initial port
5 years ago