Gleb Mazovetskiy
7f891b7134
mingw(64).cmake: Remove `cmake_minimum_required`
...
Our cmake_minimum_required is already at 3.13
4 years ago
staphen
8dbcd32a50
Adjust libmpq file I/O buffer size for 3DS
4 years ago
Stephen C. Wills
53df211881
Add support fro 3DS C-stick
4 years ago
Gleb Mazovetskiy
15a79d3f06
OpenDingux: Use assets directly
...
Saves ~750 KiB.
retrofw: 4.9 MiB -> 4.1 MiB
rg350: 5.4 MiB -> 4.7 MiB
4 years ago
Gleb Mazovetskiy
3d308983a8
Migrate to libmpq
...
libmpq is a much simpler alternative to StormLib for reading MPQ archives.
We use our own fork of libmpq: https://github.com/diasurgical/libmpq
Impact:
* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
4 years ago
Gleb Mazovetskiy
7d7b847374
CMake: Only link against libpng when needed
...
When using the system `SDL(2)_image`, we do not need to link against
libpng.
4 years ago
Gleb Mazovetskiy
63296bb6d8
CMake/ctr/modules: Fix line endings
4 years ago
staphen
692217d1fe
Add CMake option to use system SDL_image
4 years ago
Gleb Mazovetskiy
2551e3d0a0
CMake: Only link against libpng when needed
...
When using the system `SDL(2)_image`, we do not need to link against
libpng.
4 years ago
Gleb Mazovetskiy
3b14bbad00
CMake/ctr/modules: Fix line endings
4 years ago
staphen
41ff03e94c
Add CMake option to use system SDL_image
4 years ago
Gleb Mazovetskiy
4e8c2e3644
Fix line endings in a few files
4 years ago
Gleb Mazovetskiy
0d7072dae4
OpenDingux: Add "lepus" platform
...
The "lepus" platform is the OpenDingux Beta for the same devices that
run RetroFW (e.g. RG300).
4 years ago
Gleb Mazovetskiy
6e6a15fe33
GKD350h: Disable ZeroTier
...
Build currently fails with:
build-gkd350h/_deps/libzt-src/src/Controls.cpp:144:60: error: ‘pthread_setname_np’ was not declared in this scope
pthread_setname_np(service_thread, ZTS_SERVICE_THREAD_NAME);
^
4 years ago
Gleb Mazovetskiy
98142bbdfd
RetroFW: Disable network
...
Does not build with the current buildroot:
build-retrofw/_deps/asio-src/asio/include/asio/detail/memory.hpp:87:20: error: ‘aligned_alloc’ is not a member of ‘std’
void* ptr = std::aligned_alloc(align, size);
4 years ago
Ivan Epifanov
8e6f511d6c
Add vita tcp network support
5 years ago
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.
5 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