Gleb Mazovetskiy
0a64ae3b6b
Xbox NXDK: Default vsync to false and hide option
...
Looks like vsync doesn't work on NXDK at the moment.
Defaults it to false and hides it from the menu.
It is still possible to manually enable it via `diablo.ini` for testing.
4 years ago
Gleb Mazovetskiy
254806e027
Optimize translation RAM usage
...
1. Store all key data and all values data as 2 char arrays.
2. Change map keys to char pointers.
3. Change map values to offsets into the values array.
Example savings for Russian: 460 KiB -> 374.2 KiB (-85.8 KiB)
* Map: 68.5 KiB (with `string_view` keys it would be 101.5 KiB)
* Keys array: 108.7 KiB
* Values array: 197.0 KiB
4 years ago
Trihedraf
e002de4d69
show item labels toggle in menu
...
Co-Authored-By: obligaron <25415264+obligaron@users.noreply.github.com>
4 years ago
Anders Jenbo
99181fd709
Move more files to the engine folder
4 years ago
Gleb Mazovetskiy
127c6bc9e1
Fix finding SimpleIni
...
The version in Ubuntu 22.04 comes without `ConvertUTF.{h,c}`.
We actually do not need `ConvertUTF.{h,c}` and starting from
v4.19 it is possible to tell SimpleIni to not include it
by setting `SI_NO_CONVERSION`.
Sets `SI_NO_CONVERSION` and raises the minimum required SimpleIni
version to 4.19.
4 years ago
Gleb Mazovetskiy
2386fd12a9
Fix a few warnings
4 years ago
Gleb Mazovetskiy
a4bd44b1cd
Fix MSVC ADL format error
...
fmt::join is required when formatting containers
4 years ago
Gleb Mazovetskiy
dab48daed6
options.cpp: Remove unnecessary data() calls
4 years ago
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.
4 years ago
staphen
83168f7954
Add option for selecting audio device
4 years ago
staphen
5ec83d0b79
Reintroduce c-str overload for SetIniValue()
4 years ago
Gleb Mazovetskiy
99d490180c
Settings: Add Resampler
...
Makes the resampler algorithm configurable from the settings menu.
4 years ago
Anders Jenbo
a185b659e7
Set default sample rate to 22050 on Windows
4 years ago
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
4 years ago
Gleb Mazovetskiy
ea5bfbe001
Default to 48kHz on Windows
...
Refs #1390
4 years ago
Gleb Mazovetskiy
4cdbd358dd
Audio: Use SDL resampler where available
4 years ago
Gleb Mazovetskiy
ade8aba822
Fix some more warnings
4 years ago
Gleb Mazovetskiy
82093bd255
Reduce debug log output of Keymapper
4 years ago
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.
4 years ago
Anders Jenbo
0f44da5487
[gamepad] Fix using quick spells with rebound keys
4 years ago
obligaron
b52a50f2e7
Add OptionEntry for alternative nest art and remove command line parameter --nestart
4 years ago
Anders Jenbo
1d04ac574a
Make game screen ZeroTier aware
4 years ago
obligaron
1975d77d12
Change default value for "Show FPS" to off
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
Michael H
9a251a97af
Added Greek language build & option
...
-added greek to the cmake assets build
-added greek to the options menu
4 years ago
obligaron
9fff4a1b53
Fix keymapper translations
4 years ago
obligaron
79b926c375
Move more options to OptionEntryBase
4 years ago
staphen
8d5b709749
Restore default Windows audio driver (WASAPI)
4 years ago
qndel
9536927301
Display hp/mana values on life/mana orbs ( #4006 )
4 years ago
ephphatha
000a04ad4d
Cleanups from https://github.com/diasurgical/devilutionX/pull/3980
4 years ago
staphen
df830f6495
Save settings before leaving the settings menu
4 years ago
obligaron
b3a9760bda
Keymapper: Add mouse support
4 years ago
obligaron
aaeee3018f
Add Item Highlighting, Screenshot, Pause, Automap and Hide Info Screens Actions to KeyMapper
4 years ago
obligaron
be943df46e
Keymapper: Add key released support
4 years ago
Andrew James
d3aedf5df1
Split loading of MPQs to handle translations and voice packs ( #3922 )
4 years ago
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?
4 years ago
obligaron
a6842e7340
Reorder options in settingsmenu
4 years ago
ephphatha
6a1091ce09
Rename Korean/Romanian translation files so they are used in fallback resolution
4 years ago
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.
4 years ago
Andrew James
d0756ce872
Use native script for translated language names ( #3884 )
...
* Only display options for languages requiring extended fonts if available
4 years ago
Andrew James
fb8467b045
Move platform specific locale lookup code to platform directory ( #3862 )
4 years ago
Andrew James
e1d01aad7c
Replace en_US code with en when searching for user preferred languages ( #3859 )
4 years ago
obligaron
419fe7b7ec
Change Keymapper to OptionCategory/OptionEntry
4 years ago
Anders Jenbo
b6bdbcfc98
Stip stippled transparency
4 years ago
Anders Jenbo
cf9b5ae79d
Split up graphics settings initializers
4 years ago
Anders Jenbo
24a15d90e2
Do not recreate the render when switching scalingn quality
4 years ago
obligaron
8c850cea98
Show Hardware Cursor only if supported
4 years ago
Anders Jenbo
237caadf74
Make the rendere non optional on devices that do not support recreating it
...
asd
4 years ago
Anders Jenbo
7d239d9f89
Scale resolution to true values
4 years ago
Anders Jenbo
1a247a55f0
Rotate portrait resolutions
4 years ago