staphen
707ceb1485
Fix pointer arithmetic in OnSyncData()
10 months ago
staphen
ecb3e46199
Fix clang-tidy warnings in sync.cpp
10 months ago
staphen
bea626730f
Redraw everything when floating numbers is enabled
10 months ago
staphen
f1c1e530f5
Draw the filled part of the lower flask
10 months ago
Eric Robinson
e97b1977d8
Use existing fn for Speedbook Spellmatching Skill
10 months ago
Eric Robinson
b06529b050
Use existing fn for Spell Book Trans matching Skill ( #7857 )
10 months ago
Eric Robinson
4bf3c83ed6
Use existing fn for Spell Book Skill
10 months ago
Eric Robinson
be89b3bf34
Fix crash related to Monster placement
10 months ago
Eric Robinson
7d8d1bc36a
Fix Monster Line of Sight ( #7988 )
10 months ago
staphen
bb78f48043
Fix includes in sync.h
10 months ago
staphen
e3460a072d
Do not spawn monsters in town
10 months ago
staphen
8fe94efd47
Fix endian issues related to quest synchronization
10 months ago
staphen
8cf2380960
Fix ASAN alignment issues related to spawned monster deltas
10 months ago
staphen
b761d3fef2
Validate network data when importing quest deltas
10 months ago
staphen
5e561d709a
Validate network data when importing portal deltas
10 months ago
staphen
0d334eff3b
Eliminate fatal errors in message handler functions
10 months ago
staphen
84546f85d4
Validate length of incoming deltas
10 months ago
staphen
1a2e0eb2e5
Validate length of incoming network messages
10 months ago
staphen
f15548213d
Fix size of sgRecvBuf
10 months ago
staphen
a569d6808e
Unify monster sync packet validation and delta validation
10 months ago
staphen
47bb51cd45
Validate item deltas on import
10 months ago
staphen
7831ed6ca1
Isolate monster sync packet validation using Monsters array
10 months ago
staphen
d024381e52
Use paths::GetBasePath() so it can be freed
10 months ago
Eric Robinson
e538b457bf
Refactor Missile direction/frame group handling
10 months ago
staphen
f622ec1428
Fix typo: IsMonsterAvalible -> IsMonsterAvailable
10 months ago
Anders Jenbo
1fb58e4ff2
Load the correct number of monsters
10 months ago
wcaroman
a6ac3a183b
fix uk translation (1 string)
10 months ago
Kirill Rekhov
65db3fba13
nix/*.desktop: add Keywords fields ( #7973 )
11 months ago
Oleksandr Kalko
1e21e67dff
Upgrade Gradle and plugin
11 months ago
staphen
9250107835
Apply LUA_USE_C89 consistently on 32-bit Android platforms
11 months ago
Hiperión
9047723a4b
Update Spanish translation ( #7958 )
11 months ago
staphen
45d7c79ba9
Remove unused function FreeRenderer()
11 months ago
Oleksandr Kalko
a644342370
Actualize version in vcpkg
...
We're not on 1.4.0 anymore :)
11 months ago
Anders Jenbo
3b18dd35d9
Move some Hellfire differences to data files ( #7943 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
11 months ago
obligaron
fe853e484e
Fix freezing the screen when changing the resolution by not recreating the renderer ( #7953 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
11 months ago
Gleb Mazovetskiy
f1a9db8f59
Extract the vision algorithm to a separate library
...
This allows us to test it without depending on all of DevilutionX.
Also fixes all clang-tidy warnings in the algorithm.
11 months ago
obligaron
3a1eb6bed7
Decouple Golems from Players and use SpawnMonster for Golem
11 months ago
obligaron
fee7f4749f
Introduce FindGolemForPlayer and use goalVar3 to track golem <-> player relation
11 months ago
obligaron
0ea60bf46c
Replace CMD_KILLGOLEM with CMD_MONSTDEATH
11 months ago
obligaron
ef5986f4df
Network: Decouple enemyId from max players
11 months ago
obligaron
6890ec3902
Decouple reserved golem slots from max players
11 months ago
Roman Penyaev
9e05af66bd
test: add `vision_test`
...
This test covers a few vision bugs:
1. VisibilityInStraightLineOfSight - test case checks the visibility
of objects in a straight line of sight parallel to the X or Y
coordinate lines:
https://github.com/diasurgical/DevilutionX/pull/7901
2. NoVisibilityThroughAdjacentTiles - test case checks that nothing is
visible through the diagonally adjacent tiles:
https://github.com/diasurgical/DevilutionX/pull/7920
3. VisibleObjects - generic test, which makes sure some objects are
visible, but some - are not.
Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
11 months ago
Roman Penyaev
efc46f3fab
lighting: make `DoVision()` more generic
...
This change does not have any functional impact. Instead, it separates
dungeon-dependent data from the vision algorithm, making the
`DoVision()` function suitable to be called from the test case, which
comes next.
Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
11 months ago
staphen
63ee653d2f
Fix CmdIdString() based on changes to the _cmd_id enum
11 months ago
Yuri Pourre
f172c9f677
Update portuguese translation
11 months ago
staphen
8774c12b13
Ignore held mouse button when pressing keymapper mouse buttons
11 months ago
Anders Jenbo
3fb8be385b
Add support for MPQ packed mods and turn Hellfire into one
11 months ago
staphen
ceec9900f3
[Debug] Keep trying when unique item fails to generate
11 months ago
staphen
887f68e2a7
Validate stash size to avoid in-game corruption
11 months ago
Peppersawce
9935921a27
Scrap Haiku-specific code, unneeded ( #7931 )
11 months ago