Gleb Mazovetskiy
b890edfd56
Support mods with UNPACKED_MPQS
10 months ago
Eric Robinson
97c5d3f1fb
Adjust MP Tick Rates
10 months ago
staphen
1180f60d1e
Reduce cognitive complexity in DeltaLoadLevel()
10 months ago
staphen
4b570e3c34
Reduce cognitive complexity in OnAutoGetItem()
10 months ago
staphen
c9565f1f88
Reduce cognitive complexity in OnGetItem()
10 months ago
staphen
fbb0668e90
Reduce cognitive complexity in OnRequestGetItem()
10 months ago
staphen
22c2195993
Rename SendPacket() to BufferMessage() and eliminate recursion
10 months ago
staphen
a1ada4b2f9
Adjust NetSendCmdChBeltItem declaration to match definition
10 months ago
staphen
46c95f2c7b
Use range-based for loops
10 months ago
staphen
6ee55435b9
Avoid using else after return
10 months ago
staphen
53e6da63a0
Avoid duplicating type name when casting
10 months ago
staphen
1becbfc455
Fix bugprone implicit conversions
10 months ago
staphen
c9a8037837
Eliminate C-style casting
10 months ago
staphen
338af819c5
Apply case style suggestions for identifier names
10 months ago
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
11 months ago
staphen
f622ec1428
Fix typo: IsMonsterAvalible -> IsMonsterAvailable
11 months ago
Anders Jenbo
1fb58e4ff2
Load the correct number of monsters
11 months ago
staphen
45d7c79ba9
Remove unused function FreeRenderer()
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
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