Gleb Mazovetskiy
1bbe8bfe08
SDL3: Even more migration
5 months ago
Gleb Mazovetskiy
842b23803f
SDL3: Use endianness swap helpers throughout
5 months ago
Anders Jenbo
1c76897f2c
Apply simple const rules using clang-tidy
7 months ago
obligaron
98f097997c
Fix MSVC related warnings with sdl2
9 months ago
staphen
bbc728a327
Remove overzealous validation logic in spell message handlers
9 months ago
staphen
a6ad6e7d1c
Validate messages that should not be sent in town
10 months ago
staphen
308399e31e
Fix errors where Monster::enemy references garbage memory
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
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
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
obligaron
3a1eb6bed7
Decouple Golems from Players and use SpawnMonster for Golem
11 months ago
obligaron
0ea60bf46c
Replace CMD_KILLGOLEM with CMD_MONSTDEATH
11 months ago
staphen
63ee653d2f
Fix CmdIdString() based on changes to the _cmd_id enum
11 months ago
Yggdrasill
176819a072
Make RecreateItem() take whole dwBuff flag as argument ( #7870 )
1 year ago
Gleb Mazovetskiy
d94bc424df
`sgOptions` -> `GetOptions()`
...
In C++, globals initialization order accross translation units is not
defined. Accessing a global via a function ensures that it is initialized.
This will be needed for #7638 , which will statically initialize change
handlers after the Options object has been initialized.
1 year ago
staphen
7a6a6a6c32
Don't send spell level in spell casting network message
1 year ago
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
1 year ago
Eric Robinson
cdd22626b4
Fix Knockback direction ( #7093 )
2 years ago
Stephen C. Wills
cfe9a8ccdd
Introduce xoshiro RNG to generate dungeon seeds ( #7030 )
2 years ago
qndel
24f108f193
fix many typos ( #7322 )
2 years ago
Gleb Mazovetskiy
e9c29fa806
Switch to ankerl::unordered_dense
2 years ago
staphen
753633f2ad
Don't validate items in Single Player
2 years ago
Eric Robinson
a30f7c0b8e
Randomize Unique Item Generation (Reverse compatible) ( #7060 )
...
Co-authored-by: staphen <staphen@gmail.com>
2 years ago
matheusgomes28
7848ab731e
Splitting CheckInvPaste() into smaller functions ( #6984 )
2 years ago
staphen
9e682afe13
Rename glSeedTbl
2 years ago
staphen
ab601eeb11
Apply Hellfire spellbook validation to PItem packet handling
2 years ago
obligaron
2a3ef25f9e
SpawnMonster: Override old monster delta information
2 years ago
Gleb Mazovetskiy
25c1c5b372
Fix a few -Wsign-compare warnings
2 years ago
obligaron
51ab0106ab
Sync monster spawn in multiplayer
2 years ago