staphen
22c2195993
Rename SendPacket() to BufferMessage() and eliminate recursion
12 months ago
staphen
a1ada4b2f9
Adjust NetSendCmdChBeltItem declaration to match definition
12 months ago
staphen
46c95f2c7b
Use range-based for loops
12 months ago
staphen
6ee55435b9
Avoid using else after return
12 months ago
staphen
53e6da63a0
Avoid duplicating type name when casting
12 months ago
staphen
1becbfc455
Fix bugprone implicit conversions
12 months ago
staphen
c9a8037837
Eliminate C-style casting
12 months ago
staphen
338af819c5
Apply case style suggestions for identifier names
12 months ago
staphen
707ceb1485
Fix pointer arithmetic in OnSyncData()
12 months ago
staphen
ecb3e46199
Fix clang-tidy warnings in sync.cpp
12 months ago
staphen
bea626730f
Redraw everything when floating numbers is enabled
12 months ago
staphen
f1c1e530f5
Draw the filled part of the lower flask
12 months ago
Eric Robinson
e97b1977d8
Use existing fn for Speedbook Spellmatching Skill
12 months ago
Eric Robinson
b06529b050
Use existing fn for Spell Book Trans matching Skill ( #7857 )
12 months ago
Eric Robinson
4bf3c83ed6
Use existing fn for Spell Book Skill
12 months ago
Eric Robinson
be89b3bf34
Fix crash related to Monster placement
12 months ago
Eric Robinson
7d8d1bc36a
Fix Monster Line of Sight ( #7988 )
12 months ago
staphen
bb78f48043
Fix includes in sync.h
12 months ago
staphen
e3460a072d
Do not spawn monsters in town
12 months ago
staphen
8fe94efd47
Fix endian issues related to quest synchronization
12 months ago
staphen
8cf2380960
Fix ASAN alignment issues related to spawned monster deltas
12 months ago
staphen
b761d3fef2
Validate network data when importing quest deltas
12 months ago
staphen
5e561d709a
Validate network data when importing portal deltas
12 months ago
staphen
0d334eff3b
Eliminate fatal errors in message handler functions
12 months ago
staphen
84546f85d4
Validate length of incoming deltas
12 months ago
staphen
1a2e0eb2e5
Validate length of incoming network messages
12 months ago
staphen
f15548213d
Fix size of sgRecvBuf
12 months ago
staphen
a569d6808e
Unify monster sync packet validation and delta validation
12 months ago
staphen
47bb51cd45
Validate item deltas on import
12 months ago
staphen
7831ed6ca1
Isolate monster sync packet validation using Monsters array
12 months ago
staphen
d024381e52
Use paths::GetBasePath() so it can be freed
12 months ago
Eric Robinson
e538b457bf
Refactor Missile direction/frame group handling
12 months ago
staphen
f622ec1428
Fix typo: IsMonsterAvalible -> IsMonsterAvailable
12 months ago
Anders Jenbo
1fb58e4ff2
Load the correct number of monsters
12 months ago
wcaroman
a6ac3a183b
fix uk translation (1 string)
12 months ago
Kirill Rekhov
65db3fba13
nix/*.desktop: add Keywords fields ( #7973 )
12 months ago
Oleksandr Kalko
1e21e67dff
Upgrade Gradle and plugin
1 year ago
staphen
9250107835
Apply LUA_USE_C89 consistently on 32-bit Android platforms
1 year ago
Hiperión
9047723a4b
Update Spanish translation ( #7958 )
1 year ago
staphen
45d7c79ba9
Remove unused function FreeRenderer()
1 year ago
Oleksandr Kalko
a644342370
Actualize version in vcpkg
...
We're not on 1.4.0 anymore :)
1 year ago
Anders Jenbo
3b18dd35d9
Move some Hellfire differences to data files ( #7943 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
1 year 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>
1 year 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.
1 year ago
obligaron
3a1eb6bed7
Decouple Golems from Players and use SpawnMonster for Golem
1 year ago
obligaron
fee7f4749f
Introduce FindGolemForPlayer and use goalVar3 to track golem <-> player relation
1 year ago
obligaron
0ea60bf46c
Replace CMD_KILLGOLEM with CMD_MONSTDEATH
1 year ago
obligaron
ef5986f4df
Network: Decouple enemyId from max players
1 year ago
obligaron
6890ec3902
Decouple reserved golem slots from max players
1 year 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>
1 year ago