272 Commits (cpp20-using-enum)

Author SHA1 Message Date
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
obligaron c7dec38b96 Player: rename _pVar4 to spellLevel 5 years ago
obligaron c3c91f6e28 Remove _pVar5 and most uses of BFLAG_PLAYERLR 5 years ago
Juliano Leal Goncalves 379a27b64a ♻️ Convert 'ItemType' enum to enum class 5 years ago
ephphatha 956dcc7fc9 Add helper for selecting animation sprites from Direction 5 years ago
Anders Jenbo 2d47c12515 Fix charpanel always showing player 0 stats 5 years ago
qndel a737d72dd9
Dynamic char panel 5 years ago
Juliano Leal Goncalves bb2dfdfb73 🚚 Rename 'ItemStruct' to 'Item' 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 51157c3744
remove unused param comment (#2737) 5 years ago