45 Commits (9a1587060d2eb2e70e7c2a5bc5032f404d105d8d)

Author SHA1 Message Date
Gleb Mazovetskiy 188dc79f6e Make `Players` a vector 4 years ago
obligaron 1cfd1ca99d Fix double casting bug - use separated info for casted and queued spells 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
k-bar 26de74f4a2
AnimationInfo class correct style (#4870) 4 years ago
Gleb Mazovetskiy 01ad1814ea Make path finding index-based 4 years ago
qndel d5744ba421 fix multiplayer 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
DakkJaniels dad46e1905
Item special effect enum (#4129) 4 years ago
Gleb Mazovetskiy a66ca44695 Zero-based frame indexing 4 years ago
ephphatha caf60daa00 Fix tests expecting unclean HoldItem uses. 4 years ago
DakkJaniels 7bc19ee91a
add enum for the spell flags. Adjust code to use them. 4 years ago
Gleb Mazovetskiy 076b0c0c05 Overhaul tests 4 years ago
Anders Jenbo b77686213a 🐛 Correctly wipe temp data from saves 4 years ago
Anders Jenbo eb3012cc0d Reset player object before unpacking hero data 4 years ago
Anders Jenbo b4f699f0a3 Validate item network messages 4 years ago
Anders Jenbo 2d47c12515 Fix charpanel always showing player 0 stats 5 years ago
Juliano Leal Goncalves 7841c4731e 🚚 Rename 'PkItemStruct' to 'ItemPack' 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
qndel 3dbc120320
optimized packing/unpacking inventory items (#2610) 5 years ago
Anders Jenbo 9217e8c7f0 Test CreatePlayer 5 years ago
obligaron 70db8456ba Remove _pwtype and replace it with UsesRangedWeapon 5 years ago
Anders Jenbo 96bf75b502 Rename player globals 5 years ago
Anders Jenbo ee2e7518c4 Clang-tidy: FunctionCase part 2 5 years ago
obligaron 3a9cc631c7 Rename DelayLen -> TicksPerFrame 5 years ago
obligaron 3ba4bac5e2 Harmonize DelayLen for Player and Monster (was 1-based on monseter (>= DelayLen) and 0-based on player (> DelayLen). Now both are 1-based (>= DelayLen) 5 years ago
Anders Jenbo 8a7ec56d3a Player by reference part 2 5 years ago
obligaron 61ba5009ac Convert to CelSprite 5 years ago
obligaron 3067aeacb8 Remove PlayerStruct._pXYZWidth and replace it with calls to GetAnimationWidth 5 years ago
obligaron 16b3b38908 Move NewPlrAnim logic to AnimationInfo 5 years ago
obligaron 1de46a8495 Rename member variables 5 years ago
obligaron 0b5183f63e Introduce AnimationInfo 5 years ago
Jmgr d4f62870b8 Remove globals from paths.h 5 years ago
obligaron 239a43cc1c
Remove "AnimWidth2" expect for missiles (#1680) 5 years ago
Jmgr c33182d6de Modernize deprecated headers 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 97d7171123 🔥 Get rid of _ptargx/y 5 years ago
Anders Jenbo 8c821e98d3 🚚 Restructure files 5 years ago
Anders Jenbo 997c1dba55 🚚 Split up all.h in to proper header relations 5 years ago
Juliano Leal Goncalves 28ad9d43c5 🎨 Rename 'plr_class' enum to 'HeroClass' 5 years ago
Juliano Leal Goncalves 7d95bfed39 ♻️ Convert 'plr_class' to a scoped enumeration 5 years ago
Anders Jenbo 53a3657b29 🚚 Move tests to a standard folder 5 years ago
Anders Jenbo 20186e0370 🎨 Replace TRUE/FALSE with true/false 5 years ago
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 5 years ago
Anders Jenbo 1fb0255d37 Make sure the hero spawns in town 5 years ago
Anders Jenbo 0f2474fb01 Assert unpacking of player 5 years ago
Anders Jenbo 38fdf34c14 💄 Apply code style 5 years ago