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
staphen
45d7c79ba9
Remove unused function FreeRenderer()
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
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>
1 year ago
staphen
63ee653d2f
Fix CmdIdString() based on changes to the _cmd_id enum
1 year ago
staphen
8774c12b13
Ignore held mouse button when pressing keymapper mouse buttons
1 year ago
Anders Jenbo
3fb8be385b
Add support for MPQ packed mods and turn Hellfire into one
1 year ago
staphen
ceec9900f3
[Debug] Keep trying when unique item fails to generate
1 year ago
staphen
887f68e2a7
Validate stash size to avoid in-game corruption
1 year ago
Peppersawce
9935921a27
Scrap Haiku-specific code, unneeded ( #7931 )
1 year ago