Commit Graph
133 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 2386fd12a9 Fix a few warnings 2022-06-15 13:01:20 +02:00
Gleb Mazovetskiy a4bd44b1cd Fix MSVC ADL format error
fmt::join is required when formatting containers
2022-06-14 12:46:36 +01:00
Gleb Mazovetskiy dab48daed6 options.cpp: Remove unnecessary data() calls 2022-06-14 12:46:36 +01:00
Gleb Mazovetskiy 1fc8ecb6f6 Add fmt::runtime annotations for C++20 support
`fmt` requires non-contexpr format string arguments to be wrapped in
`fmt::runtime` in C++20.
2022-06-14 12:46:36 +01:00
staphen 83168f7954 Add option for selecting audio device 2022-06-01 17:11:29 +02:00
staphen 5ec83d0b79 Reintroduce c-str overload for SetIniValue() 2022-05-31 20:44:00 +02:00
Gleb Mazovetskiy 99d490180c Settings: Add Resampler
Makes the resampler algorithm configurable from the settings menu.
2022-05-31 05:21:42 +01:00
Anders Jenbo a185b659e7 Set default sample rate to 22050 on Windows 2022-05-29 21:10:00 +02:00
ephphatha 7f15aa730d Move definition of ghMainWnd to utils/display.cpp
This variable is controlled/set by the code in that file, this also lets other files have more specific/relevant includes instead of the monolith that is diablo.h
2022-05-08 12:09:12 +02:00
Gleb Mazovetskiy ea5bfbe001 Default to 48kHz on Windows
Refs #1390
2022-04-16 15:41:47 +01:00
Gleb Mazovetskiy 4cdbd358dd Audio: Use SDL resampler where available 2022-04-16 04:20:47 +02:00
Gleb Mazovetskiy ade8aba822 Fix some more warnings 2022-04-14 01:26:29 +02:00
Gleb Mazovetskiy 82093bd255 Reduce debug log output of Keymapper 2022-04-11 23:35:03 +02:00
ephphatha df8c1a3e8c Use truthy test for TARGET_OS_IPHONE
This constant is defined as 1 when building for iphone, 0 for MacOS, and undefined on other platforms. To get the expected behaviour we need to check it's defined and non-zero.
2022-04-02 11:34:50 +01:00
Anders Jenbo 0f44da5487 [gamepad] Fix using quick spells with rebound keys 2022-03-30 19:02:03 +02:00
obligaron b52a50f2e7 Add OptionEntry for alternative nest art and remove command line parameter --nestart 2022-03-29 20:27:03 +02:00
Anders Jenbo 1d04ac574a Make game screen ZeroTier aware 2022-03-28 08:06:00 +02:00
obligaron 1975d77d12 Change default value for "Show FPS" to off 2022-03-26 21:23:26 +01:00
Anders Jenbo 1409e604f5 Reduce string conversions 2022-03-20 11:04:15 +01:00
Michael H 9a251a97af Added Greek language build & option
-added greek to the cmake assets build
-added greek to the options menu
2022-02-23 04:14:58 +01:00
obligaron 9fff4a1b53 Fix keymapper translations 2022-02-08 20:14:50 +01:00
obligaron 79b926c375 Move more options to OptionEntryBase 2022-02-05 20:51:54 +01:00
staphen 8d5b709749 Restore default Windows audio driver (WASAPI) 2022-02-03 06:40:59 +01:00
qndel 9536927301 Display hp/mana values on life/mana orbs (#4006) 2022-01-27 12:19:32 +01:00
ephphatha 000a04ad4d Cleanups from https://github.com/diasurgical/devilutionX/pull/3980 2022-01-23 05:25:48 +01:00
staphen df830f6495 Save settings before leaving the settings menu 2022-01-23 05:25:48 +01:00
obligaron b3a9760bda Keymapper: Add mouse support 2022-01-15 15:31:48 +01:00
obligaron aaeee3018f Add Item Highlighting, Screenshot, Pause, Automap and Hide Info Screens Actions to KeyMapper 2022-01-12 14:34:43 +01:00
obligaron be943df46e Keymapper: Add key released support 2022-01-12 14:34:43 +01:00
Andrew James d3aedf5df1 Split loading of MPQs to handle translations and voice packs (#3922) 2022-01-08 09:15:39 +01:00
Andrew James 8fa04ce651 address performance-unnecessary-value-param
clang-tidy warns about the unnecessary copy for these params

Could also potentially use std::make_unique if the Action constructor wasn't declared private?
2022-01-07 16:26:23 +01:00
obligaron a6842e7340 Reorder options in settingsmenu 2022-01-06 17:05:14 +01:00
ephphatha 6a1091ce09 Rename Korean/Romanian translation files so they are used in fallback resolution 2022-01-04 23:20:53 +01:00
Anders Jenbo b0252b3339 Make Gamepad cursor independant of hardware mouse
The gamepad cursor (inventory, spells etc) no longer relies on warping a
real mouse cursor. This should make things work better on platforms that
do not support this, like Wayland.
2022-01-02 11:37:38 +01:00
Andrew James d0756ce872 Use native script for translated language names (#3884)
* Only display options for languages requiring extended fonts if available
2022-01-02 11:15:42 +01:00
Andrew James fb8467b045 Move platform specific locale lookup code to platform directory (#3862) 2021-12-30 15:20:40 +11:00
Andrew James e1d01aad7c Replace en_US code with en when searching for user preferred languages (#3859) 2021-12-30 04:12:17 +01:00
obligaron 419fe7b7ec Change Keymapper to OptionCategory/OptionEntry 2021-12-23 00:26:12 +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 24a15d90e2 Do not recreate the render when switching scalingn quality 2021-12-21 12:55:30 +01:00
obligaron 8c850cea98 Show Hardware Cursor only if supported 2021-12-19 16:09:51 +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
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
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
obligaron 7b2f651bb2 Allow QuickMessages to contain multiple entries/lines 2021-12-14 08:15:20 +01:00