232 Commits (dyn-players)

Author SHA1 Message Date
Gleb Mazovetskiy 6fd8796ef0 Make `Players` a vector 4 years ago
Anders Jenbo d1189388f5 Use user by reference 4 years ago
Anders Jenbo 6a8fd04067
Use player by references (#4938) 4 years ago
ephphatha 1fb45a7f25 Take Player reference in FixPlrWalkTags 4 years ago
staphen cab75ded6b Check both SPL_NULL and SPL_INVALID to determine spell validity 4 years ago
Cesar Canassa e538acb248
📝 Fixes Doxygen warnings (#4904) 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
Anders Jenbo 0b7ad34c9d
Take player by reference in StartWalkStand and RemovePlrMissiles (#4874) 4 years ago
Cesar Canassa 6579aa53c5
Normalise the player and monster walking function naming (#4877) 4 years ago
k-bar 26de74f4a2
AnimationInfo class correct style (#4870) 4 years ago
Gleb Mazovetskiy 17f8cdddc4 Clean up `GetSpellLevel` 4 years ago
Gleb Mazovetskiy 21dc7f553d Add OptionalCelSprite: smaller than std::optional 4 years ago
obligaron e87aca38bb Change animation frames and tick per frame to int8_t 4 years ago
Gleb Mazovetskiy 3b2e560fa0
Non-int versions of `Point` and `Displacement` (#4824) 4 years ago
Mikołaj Piróg 7cab074aa5
Correct members' names in monster.h (#4850) 4 years ago
Anders Jenbo 54598e2a8f CreatePlayer by reference 4 years ago
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
Anders Jenbo 72656b3011 Move path and palette to the engine folder 4 years ago
Anders Jenbo 6d56058708 Move level generation to subfolder 4 years ago
Gleb Mazovetskiy 01ad1814ea Make path finding index-based 4 years ago
obligaron ceb08d783f Introduce Player::plrIsOnSetLevel 4 years ago
obligaron d0c14fe92f Introduce Player::setlevel 4 years ago
obligaron 9ac04314f4 Introduce Player::isOnLevel 4 years ago
obligaron 19749420b5 Introduce Player::isOnActiveLevel 4 years ago
Gleb Mazovetskiy 628406a44c Refactor inventory/belt item presence and removal 4 years ago
obligaron 2b0b944afb Manage friendly mode per player and sync state between clients 4 years ago
DakkJaniels dad46e1905
Item special effect enum (#4129) 4 years ago
Gleb Mazovetskiy a66ca44695 Zero-based frame indexing 4 years ago
Drakker 3039b760e1 Added more Quickspell hotkeys for a total of 16. Saving will write the number of configured quickspell slots at the beginning of the hotkeys file. The loader will check the size, if its bigger than older saves should be it will load the header and read the hotkeys, otherwise it will load 4 quickspells for compatibility. 4 years ago
ephphatha 92fcdda3a7 Refactor OnHealOther to operate on Player references 4 years ago
Anders Jenbo 1ba817ca53
Unify gold handling (withdraw any amount from stash) 4 years ago
Gleb Mazovetskiy 7fede6c4cb Clean up owned/unowned CelSprite ambiguity 4 years ago
DakkJaniels 7bc19ee91a
add enum for the spell flags. Adjust code to use them. 4 years ago
qndel be0845f41d barb 2h cleanup 4 years ago
qndel 81800e64bb MAXCHARLEVEL cleanup 4 years ago
KPhoenix 707d8a1379 Mana Shield 1.07 bugfix revision 4 years ago
obligaron 75760382ef Regard preview frame in AnimationInfo 4 years ago
obligaron 35dc64312e Show preview CelSprite for player actions (Introduce PlayerStruct.pPreviewCelSprite and UpdatePreviewFrame) 4 years ago
ephphatha 8bf05571a1 Dedupe code which determines how much life/mana to restore for potions 4 years ago
Gleb Mazovetskiy 076b0c0c05 Overhaul tests 4 years ago
Adam Heinermann 1484b4d8cf
Implement Discord rich presence (#3711) 4 years ago
ephphatha 6e2751649a Move ItemMinStats to a member function on Player 4 years ago
Vladimir Olteanu 861fb99e9d Quick cast 4 years ago
Gleb Mazovetskiy 7e1fea6f76 clang-format all files in {Source,test}/ 4 years ago
obligaron 1ed4490497 Remove Player.deathFrame and deathdelay and fix death by object animation 4 years ago
Anders Jenbo 96e1d5caba Fix spell properties incorrectly being capped at 8 4 years ago
qndel 6f25f665b2 fix barbarian armor pierce 4 years ago
Anders Jenbo b4f699f0a3 Validate item network messages 4 years ago
obligaron 0818c55b88 Holding mouse when shift is held shouldn't lock to a target (Spells) 5 years ago
qndel 0569dba547 fix typos 5 years ago