Anders Jenbo
a298451c22
Upgrade SDL2 to 2.30.12
1 year ago
Eric Robinson
13a5ae4b0b
Replace Gamma Adjustment with Brightness Adjustment
1 year ago
Mr-Bajs
b03688faca
Update sv.po
1 year ago
Gleb Mazovetskiy
a44f0b0082
Add more UTF-8 tests
1 year ago
Gleb Mazovetskiy
2ff7fb03d1
Replace hoehrmann_utf8 with SheenBidi
1 year ago
Gleb Mazovetskiy
b259f5e0e5
Add SheenBidi dependency
1 year ago
obligaron
a3eea0fb88
MSVC: Enable Edit & Continue in debug builds
1 year ago
obligaron
8572535bd7
Allow lua debug quick messages in singleplayer
1 year ago
obligaron
ee42d2ab66
Add missiles to tile data debug command
1 year ago
obligaron
4f9e063197
Change GetDebugGridText text from char to string
1 year ago
Gleb Mazovetskiy
5ed7ca9808
PS5.yml: Bump to latest SDK
1 year ago
staphen
d9dc49199f
Do not depend on FileExists() when opening save files for writing
1 year ago
staphen
a4f38d5dd4
Avoid write mode when opening save files
1 year ago
staphen
ba773259cd
Fix gcc/MSVC compiler warnings
1 year ago
qndel
44da8ee35d
remove empty line
...
skip-checks:true
1 year ago
Gleb Mazovetskiy
f7be00cea6
`DrawUniqueInfo`: Word-wrap long lines
...
Pre-wraps the string at spaces, otherwise `DrawString` would hard wrap in the middle of words.
1 year ago
Gleb Mazovetskiy
04896c1687
text_render: Readjust kerning on each new line
...
Fixes InfoString rendering
1 year ago
Gleb Mazovetskiy
aa47c40553
text_render: Fix `GetLineStartX` for `AlignCenter`
...
Previously, `GetLineStartX` assumed that the text fit into
a single line.
1 year ago
staphen
52ce98bbb6
Restrict tests to longest path length in vanilla Diablo
1 year ago
staphen
a21a04d451
Fix off-by-one in path finding logic
1 year ago
staphen
20c0a8dae8
Fix d-pad in main menu
1 year ago
staphen
7f7924da1c
Explicitly define gamepad type for console platforms
1 year ago
Gleb Mazovetskiy
32f9cc9ad9
Lua: Add basic APIs for walking to a towner
...
This may not be how we'll eventually expose towners
but it's good enough for now.
1 year ago
Gleb Mazovetskiy
5b66f12173
Record a new demo
1 year ago
Gleb Mazovetskiy
3e6b501d82
Fix pathfinding and increase player path limit
...
The previous implementation didn't behave quite like A-* is supposed to.
After trying to figure out what's causing it and giving up,
I've reimplemented it in a straightforward manner.
Now it seems to work a lot better.
Also increases maximum player path length to 100 steps.
We still only store the first 25 steps in the save file for vanilla
compatibility.
1 year ago
Gleb Mazovetskiy
471a448f09
test/path_benchmark.cpp: Add another benchmark
1 year ago
pionere
96392116e0
prevent the overwrite of existing mpq files (requires C++17)
...
fixes #7672
1 year ago
Gleb Mazovetskiy
de28cc3167
Add a pathfinding benchmark
...
Example run:
```
$ tools/build_and_run_benchmark.py path_benchmark
--------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------
BM_SinglePath 2905 ns 2905 ns 241038
BM_Bridges 65951 ns 65948 ns 9785
BM_NoPath 131397 ns 131390 ns 5247
```
1 year ago
Gleb Mazovetskiy
ee16071761
Untangle pathfinding dependencies
...
1. Makes `path.cpp` concerned solely with the pathfinding algorithm.
2. Turns `path_test` into a standalone test.
1 year ago
Gleb Mazovetskiy
4779f27730
data_file_test: Make it a standalone test
...
Finally!
1 year ago
Gleb Mazovetskiy
bae54d05e3
Options: Move resolutions list init to display.cpp
1 year ago
Gleb Mazovetskiy
254181f7b8
language_for_testing: Fix GetLocales namespace
1 year ago
Gleb Mazovetskiy
3bb1d685af
Extract current input mode into its own library
...
Removes a transitive dependency on the entire plrctrl from options.
1 year ago
Gleb Mazovetskiy
acc335be17
Options: Extract keymapper handling from options
1 year ago
Gleb Mazovetskiy
7afdbe8fdc
Options: Extract padmapper handling from options
...
Options now only contain the padmapper settings, not the padmapping
handling code.
1 year ago
Gleb Mazovetskiy
4113805237
Options: Remove dependency on gbRunGame
1 year ago
Gleb Mazovetskiy
9492456dcd
Options: Remove dependency on demomode
1 year ago
Maderator3000
090436458f
Update ru.po ( #7669 )
1 year ago
obligaron
b169d91c48
Fix MSVC warnings ( #7666 )
...
* Fix MSVC x64 warnings
* Fix MSVC x86 warnings
1 year ago
Stephen C. Wills
f793d33e80
Update MinGW build instructions
1 year ago
Oleksandr Kalko
f7603b76c9
Ukrainian TL fixes ( #7657 )
...
* Update from code
* Fixes to UK TL
* Fix overflows in character menu
* Fix incorrect TL of 'Gold' (I thought it was an item prefix)
* Fix inconsistency in TL'ing Keypapping and Padmapping
* Remove me from credits (That was stupid)
Thanks to @Maderator3000 for spotting these
1 year ago
Gianluca Boiano
da24e45d78
Update Italian localization ( #7655 )
1 year ago
staphen
e622ddfdf1
Fix Import Data shortcut in debug builds
1 year ago
staphen
8f232cfc89
Delete copy constructor in ModEntry
1 year ago
Gleb Mazovetskiy
ccbf0fc9a2
Audio device settings: Fix name handling
...
1. The char pointer returned by SDL is only valid temporarily,
keeping it around is not allowed so we copy the string.
2. Moves the trimming to DiabloUI. It now happens every frame
but that's OK here (not performance-sensitive and there is
little else happening on that screen).
1 year ago
Gleb Mazovetskiy
88a9a0656d
Move option change handlers out of `options.cpp`
...
Fixes #7638
1 year ago
Gleb Mazovetskiy
d94bc424df
`sgOptions` -> `GetOptions()`
...
In C++, globals initialization order accross translation units is not
defined. Accessing a global via a function ensures that it is initialized.
This will be needed for #7638 , which will statically initialize change
handlers after the Options object has been initialized.
1 year ago
staphen
7a6a6a6c32
Don't send spell level in spell casting network message
1 year ago
Anders Jenbo
908fb47073
Merge limitFPS and vSync options ( #7646 )
1 year ago
Gleb Mazovetskiy
916b67141a
Settings: Use the full height and up to 720 width
...
This makes it easier to navigate sections, such as gameplay and
keymapping.
1 year ago