Gleb Mazovetskiy
16a6fc62e1
Deduplicate some of the MPQ handling
...
Reuse libmpq functions where possible instead of our own.
3 years ago
Gleb Mazovetskiy
0f77cc3797
Force-inline methods to improve debug build perf
...
This has little or no effect on the optimized build
but significantly improves performance of the headless debug build
`timedemo_test` on my machine goes from 3s to 2s.
3 years ago
Gleb Mazovetskiy
a51abc4826
Compile some files with -O2 even in Debug mode
...
These files are responsible for most of the runtime in Debug mode.
Apply some optimizations to them even in Debug mode to get reasonable performance.
Timedemo on my machine goes from 40s down to 25s.
3 years ago
Anders Jenbo
0a78af4bf8
Show save notification for exactly 1 sec
3 years ago
staphen
7e489a88af
Load stash data based on gbIsHellfire, not gbIsHellfireSaveGame
3 years ago
qndel
a4c4fd6c9b
fix inspect on players where one name is a substring of another
3 years ago
Gleb Mazovetskiy
49c5aea845
.github/workflows: Ignore changes in docs/ for CI
3 years ago
Gleb Mazovetskiy
37375a74a0
github-codespaces.md: Explain codespace reuse
3 years ago
Gleb Mazovetskiy
2e8b036ab6
github-codespaces.md: Improve documentation
3 years ago
Gleb Mazovetskiy
1156b46714
Set up default settings for a GitHub Codespace
3 years ago
staphen
a151219b9b
Don't validate creation flags on gold
3 years ago
michaelneverwins
5b7865b45b
Add "$@" to devilutionx.sh to pass command-line arguments to devilutionx executable
3 years ago
Gleb Mazovetskiy
9bbc138b0f
Simplify `ColumnDefinition` using C++20 features
...
1. Default comparison: https://en.cppreference.com/w/cpp/language/default_comparisons
2. Parentheses initialization for aggregate types
3 years ago
Gleb Mazovetskiy
c2ad6da733
Add DEVILUTIONX_DISPLAY_TEXTURE_FORMAT
...
Some platforms, such as PS2, can benefit from a different texture
format. Makes the texture format a CMake setting.
3 years ago
Vinícius Ferrão
2644ec73af
Add Crippling Shrines from Hellfire ( #6273 )
3 years ago
Gleb Mazovetskiy
affae57254
RG99: Run from disk rather than from /opk squashfs
...
Turns out the squashfs mount has some non-trivial RAM overhead.
Copy the game to local storage and run from there to avoid the overhead.
This completely eliminates long 0 FPS periods when running the demo for PGO.
It may be possible to reduce the overhead by setting
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE kernel setting to 1.
3 years ago
Gleb Mazovetskiy
70ff515f48
Stream demo messages
...
This entirely eliminates the demo memory overhead.
3 years ago
Gleb Mazovetskiy
65e0ad88d2
Further reduce demo file size
...
The vast majority of events are rendering events:
Type | Count
-------------|------:
Rendering | 58,971
MouseMotion | 19,651
GameTick | 6,414
MouseButton | 516
Key | 7
Custom | 1
Encodes Rendering events in a single byte when possible.
Demo file size: 253,410 bytes -> 194,439 bytes
3 years ago
Gleb Mazovetskiy
31234149a9
Fix Linux_aarch64 build
3 years ago
Gleb Mazovetskiy
b5cf2a3505
Bump zlib to 1.3
3 years ago
DakkJaniels
ef87664403
refactor cleaving: added in player method to determine if character can cleave and if an item is equipped.
3 years ago
Anders Jenbo
df416dd46f
Merge remote-tracking branch 'origin/development'
3 years ago
Gleb Mazovetskiy
d31a7b5c2c
Log Demo settings
3 years ago
Gleb Mazovetskiy
9701101634
Switch to C++20
...
glibc compatibility remains the same.
We now use Clang 18 and static libc++ for the Aarch64 build.
Linux x86 and x86_64 builds now use GCC 13.
3 years ago
Anders Jenbo
1616318bb1
Bump version to 1.5.1
3 years ago
Anders Jenbo
2b79ddb649
Add gamepad hint for Android TV
3 years ago
Gleb Mazovetskiy
af869ac732
Merge branch 'master' into dev-merged
3 years ago
ephphatha
bd8aab0aff
handle stash item swapping using the gamepad a bit better
3 years ago
ephphatha
c85fcbdfb1
fix cursor alignment following gamepad movement in stash
...
align the cursor to the middle of the cell/region when moving through the stash to match the way we simulate mouse movement for inventory cells
3 years ago
Anders Jenbo
52b806c6a0
Update CHANGELOG.md
3 years ago
ephphatha
0d292b10c4
Move to the first inventory column from the left hand while holding wide items
3 years ago
ephphatha
070a11901f
Fix handling of gamepad cursor movement following item cursor change
3 years ago
Anders Jenbo
26977f37c5
Update 1.5.1 release notes in metainfo
3 years ago
Anders Jenbo
24b3455738
Update CHANGELOG.md ( #6531 )
3 years ago
Eric Robinson
d4682082e2
Add duration parameter to InitDiabloMsg() ( #6514 )
3 years ago
Anders Jenbo
c0caedcd96
Delete .bettercodehub.yml
3 years ago
Andrew James
ed9bdd7ae5
Remove duplicated HeadlessMode check in LoadPlrGfx
...
Already checked at the start of the function, none of the sprite data lookups change that global.
3 years ago
Gleb Mazovetskiy
62e9aa0448
`MissilePosition`: Use `WorldTilePosition`
...
Reduces struct size and makes the types of coordinates more obvious.
3 years ago
ephphatha
5f6e5ae9fb
Refactor iterator parsing to allow more reuse
3 years ago
KPhoenix
cf4d88936b
Change InitMissileGFX()
3 years ago
Mr-Bajs
37614c496f
Small changes to swedish translation ( #6397 )
3 years ago
Gleb Mazovetskiy
5355146d51
Use structured bindings
3 years ago
Oleksandr Kalko
3411bd08b3
Fix typo in changelog
3 years ago
Oleksandr Kalko
6cfa1cc752
Add draft for 1.5.1 release notes in metainfo
3 years ago
Stephen C. Wills
5e778431c3
Deterministic timer simulation for shrine messages in demo mode ( #6516 )
3 years ago
Eric Robinson
e3d79ae1c1
Fix automap ( #6513 )
3 years ago
Oleksandr Kalko
e9de3cc820
Upgrade vcpkg baseline commit ( #6528 )
3 years ago
staphen
4deae11871
Fix PlayerNetPack validation and tests
3 years ago
Eric Robinson
9995c00323
Validate Item Locations ( #6427 )
3 years ago
qndel
be1d87fd29
fix selecting monsters outside of vision range
3 years ago