obligaron
d0c14fe92f
Introduce Player::setlevel
4 years ago
staphen
a2fe3a981e
Fix issues with ears due to translation
4 years ago
ephphatha
64a2c41b2c
Set clang-tidy config for MethodCase option
...
Previously this was falling back to FunctionCase, leading to inconsistent casing of class methods throughout the codebase. Applied to Item as an example.
4 years ago
DakkJaniels
dad46e1905
Item special effect enum ( #4129 )
4 years ago
ephphatha
7e7798fd2b
Add function to mark an item as empty
4 years ago
qndel
81800e64bb
MAXCHARLEVEL cleanup
4 years ago
staphen
b85485b8f3
Resolve game crash when syncing Diablo items in Hellfire games
4 years ago
Anders Jenbo
af08a99691
Perform item requirement check when entering vendors
4 years ago
Andrew James
4a940b1b07
Remove uses of Items[] as a temporary for other Item variables ( #2924 )
4 years ago
Anders Jenbo
6e63354cd1
Remove safe guards around strings own the input for
4 years ago
Anders Jenbo
799f1763af
Performce UTF8 aware limited string copies
4 years ago
Anders Jenbo
b4f699f0a3
Validate item network messages
4 years ago
Anders Jenbo
a56452eec3
Validate player sync
4 years ago
Anders Jenbo
0c5bdf5dbf
🐛 Reject items that would cause an OOB to
5 years ago
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
5 years ago
Sid672
a12a7511a9
Functional documentation moved
5 years ago
ephphatha
8ab229e7e8
LoadItemData by reference
5 years ago
Juliano Leal Goncalves
7841c4731e
🚚 Rename 'PkItemStruct' to 'ItemPack'
5 years ago
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
5 years ago
Juliano Leal Goncalves
28134d099c
🚚 Rename 'PkPlayerStruct' to 'PlayerPack'
5 years ago
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
5 years ago
Anders Jenbo
4044fadeb5
Clean up some players references
5 years ago
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
5 years ago
qndel
3dbc120320
optimized packing/unpacking inventory items ( #2610 )
5 years ago
Anders Jenbo
f0a7a5c989
🎨 Apply code style
5 years ago
Anders Jenbo
069249f318
🚚 Move local function to anonymous namespace i-p
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Anders Jenbo
c8870dbd1f
Rename item globals
5 years ago
Anders Jenbo
235b0ee06c
💚 Fix remaning compiler warnings for GCC and CLang
5 years ago
ephphatha
357f6f1dc3
Move RNG functions to their own header/source files
5 years ago
Anders Jenbo
2bdb6caa07
Cleanup majority of remaning implicit bool conversions ( #2234 )
5 years ago
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
Gleb Mazovetskiy
4ea7ba0f5f
🚚 engine.h: Extract `LoadLE32` and `LoadBE32`
5 years ago
Juliano Leal Goncalves
d47fc924f3
♻️ Use '_item_indexes' instead of 'int' for 'ItemStruct.IDidx' field
5 years ago
Anders Jenbo
27591cc29f
Fix spawn save game compatability
5 years ago
Anders Jenbo
ca65550a5a
Clean up packing/unpacking players
5 years ago
Anders Jenbo
0c2042fa52
♻️ Player by reference
...
Update Source/items.cpp
Update Source/lighting.cpp
Update Source/pack.cpp
asd
ads
as
5 years ago
Juliano Leal Goncalves
39736e2538
♻️ Pass 'PlayerStruct' pointer to 'ClrPlrPath'
5 years ago
Anders Jenbo
f884ba5340
🔥 Remove more miniwin dependencies
5 years ago
Vladimir Olteanu
0414871265
Cleanup VerifyGoldSeeds
5 years ago
Vladimir Olteanu
bea21a5e20
Replace LOAD_LE32 & LOAD_BE32 with signedness- and endian-agnostic equivalents
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
97d7171123
🔥 Get rid of _ptargx/y
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
f450d6a125
🚚 Move defines to there proper files
5 years ago
Juliano Leal Goncalves
28ad9d43c5
🎨 Rename 'plr_class' enum to 'HeroClass'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
7d95bfed39
♻️ Convert 'plr_class' to a scoped enumeration
5 years ago