Commit graph

6,089 commits

Author SHA1 Message Date
KPhoenix
a08026097a
Chat Interface Revision (#3840)
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-12-25 10:11:42 +00:00
Anders Jenbo
6de6825ce0 Correct false positives translation warnings 2021-12-25 11:10:57 +01:00
staphen
74a77666b9 Improve behavior of ToControllerButtonEvent() 2021-12-24 23:08:41 +01:00
Anders Jenbo
59e8502743 Fix clicking on triggers on the lower part of the screen 2021-12-23 04:50:56 +01:00
obligaron
18fb40ee32 Settingsmenu: Implement KeyInput 2021-12-23 00:26:12 +01:00
obligaron
419fe7b7ec Change Keymapper to OptionCategory/OptionEntry 2021-12-23 00:26:12 +01:00
ephphatha
c783dd2bfd Load MPQ archives before reading options so translations can be detected 2021-12-22 17:46:59 +01:00
Gleb Mazovetskiy
cacf55bb34 CMake: Split out platform libraries 2021-12-21 21:01:47 +00:00
Gleb Mazovetskiy
0a0baf0c64 CMake: Move more platform config to platforms/
Moves platform libraries, compile definitions, and compile options to
the platform CMake files.
2021-12-21 19:54:54 +00:00
Gleb Mazovetskiy
3e0a295dd3 CMake: Simpler Threads workaround for the 3DS 2021-12-21 12:29:48 +00:00
staphen
af59f7e254 Update fullscreen option in settings menu after Alt+Enter 2021-12-21 12:55:30 +01:00
Anders Jenbo
68e5805f1b [touch] Adjust controller position after changing resolution
Fixes #3791
2021-12-21 12:55:30 +01:00
Anders Jenbo
b6bdbcfc98 Stip stippled transparency 2021-12-21 12:55:30 +01:00
Anders Jenbo
cf9b5ae79d Split up graphics settings initializers 2021-12-21 12:55:30 +01:00
Anders Jenbo
0e2aac8cfe Allow for software based rendering 2021-12-21 12:55:30 +01:00
Anders Jenbo
24a15d90e2 Do not recreate the render when switching scalingn quality 2021-12-21 12:55:30 +01:00
Gleb Mazovetskiy
6dd4c08d4b CMake: Make -static-libstdc++ configurable 2021-12-21 10:04:21 +00:00
Gleb Mazovetskiy
97a5609cff CMake: Move libdevilutionx to Source/ 2021-12-21 07:31:40 +00:00
staphen
b6a4f126d7 Modify the Windows implementation of printInConsole() to call OutputDebugString() 2021-12-20 05:43:14 +01:00
Gleb Mazovetskiy
a496b9d72b Emscripten: Fix assets/ loading 2021-12-20 04:07:34 +00:00
staphen
25d3b36c96 Do not send CMD_REMSHIELD when another player runs out of mana 2021-12-19 22:11:03 +01:00
staphen
8a6feeb231 Reduce stack size on 3DS 2021-12-19 17:52:37 +01:00
obligaron
8c850cea98 Show Hardware Cursor only if supported 2021-12-19 16:09:51 +01:00
staphen
a6458d2716 Prevent erroneous diagonal traversal in span filling algorithm 2021-12-19 07:44:37 +01:00
staphen
18f031dea4 Use span filling algorithm for FillTransparencyValues 2021-12-19 06:23:02 +01:00
Anders Jenbo
237caadf74 Make the rendere non optional on devices that do not support recreating it
asd
2021-12-18 20:55:14 +01:00
Anders Jenbo
7d239d9f89 Scale resolution to true values 2021-12-18 20:55:14 +01:00
Anders Jenbo
1a247a55f0 Rotate portrait resolutions 2021-12-18 20:55:14 +01:00
obligaron
b9c98ef116 settingsmenu: In list selection show option description 2021-12-18 19:35:16 +01:00
Anders Jenbo
95b2467ea5
Disable recreation of the rendere on Apple systems (#3785) 2021-12-17 20:19:02 +01:00
obligaron
9a14edfcd9 Add OptionEntries for Hardware Cursor 2021-12-17 20:12:17 +01:00
Gleb Mazovetskiy
9bc9bb6d33 Fix demomode file comments 2021-12-17 16:27:19 +00:00
Gleb Mazovetskiy
1f2d67f98b Fix demomode line endings 2021-12-17 16:27:19 +00:00
ephphatha
530604c529 Prefer DX11 renderer if running on windows with vsync active
This works around a bug in DX9 on Win11.
2021-12-17 14:10:55 +01:00
Gleb Mazovetskiy
076b0c0c05 Overhaul tests
1. Adds a `libdevilution_so` target when tests are enabled.
2. Each test file is now a separate binary target linked against `libdevilutionx_so` (can now run tests in parallel).
3. Tests are now defined in a separate `test/CMakeLists.txt` file.
4. Building the tests is now controlled by the standard `BUILD_TESTING` option (defined by CTest).
5. Tests are now built by default.
6. On CI, test errors are now reported.

Also:

* `.clang-format`: Enable SortIncludes in tests
* `path_test.cpp`: Fix -Wsign-compare
2021-12-16 20:26:51 +00:00
Gleb Mazovetskiy
f5d8f513cb AssetsPath: Default to exe dir
Also adds `SetAssetsPath`, for use by tests.
2021-12-16 21:26:11 +01:00
Gleb Mazovetskiy
1210dcc7e4 Clean up CLI argument parsing 2021-12-16 19:32:27 +00:00
Gleb Mazovetskiy
02902e5188 language.cpp: Fix -Wwrite-strings 2021-12-16 19:32:27 +00:00
Gleb Mazovetskiy
d3a523fa0b paths.cpp: Remove AppPath
It was redundant.
2021-12-16 19:19:04 +00:00
Adam Heinermann
1484b4d8cf
Implement Discord rich presence (#3711) 2021-12-15 17:14:17 +01:00
Joerg Wissen
45c634213c
Fixed typo in Reju potion pickup (#3757) 2021-12-14 17:18:53 +01:00
qndel
d2ba033d84 fix collision of bodies in butcher chamber/hell 2021-12-14 08:20:25 +01:00
ephphatha
8b07f27bde Remove CowOffsets, always treat cows as 4 tile sprites 2021-12-14 08:17:19 +01:00
obligaron
7b2f651bb2 Allow QuickMessages to contain multiple entries/lines 2021-12-14 08:15:20 +01:00
obligaron
e852fc18d4 Support MultiKey entries in ini
Support MultiKey entires in ini
2021-12-14 08:15:20 +01:00
ephphatha
a1652bd5d6 Interleave non-regional fallback locales after last regional variation 2021-12-14 07:07:38 +01:00
ephphatha
c0ec4a845a Restore fallback for non-regional translation
Also adds an explicit check for en given this the base translation for the application and will never have a .mo/.gmo file.
2021-12-14 07:07:38 +01:00
ephphatha
5fa9213adc Handle multiple language preferences on windows
This removes the fallback functionality to non-regional translation files as I was unsure how best to handle that.
2021-12-14 07:07:38 +01:00
obligaron
8a4d4b6375 Add OptionEntries for Audio 2021-12-14 04:10:16 +01:00
obligaron
9e6aa7c8d6 Add OptionEntries for Poition Pickup 2021-12-14 04:10:16 +01:00