205 Commits (test)

Author SHA1 Message Date
staphen 9e2d6a7500 Check both SPL_NULL and SPL_INVALID to determine spell validity 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
qndel 770f3a2f20 unify ranged and melee pierce 5 years ago
ephphatha 8f2e94ae4d Use unsigned types for player experience and related values 5 years ago
Juliano Leal Goncalves 022502660d ♻️ Extract logic to ready spell from staff to player function 5 years ago
qndel 0a70a8cece unify block formula 5 years ago
qndel 169f980038 ranged/magic formulas 5 years ago
qndel bd5e30db52 replace armor formula 5 years ago
Anders Jenbo ab8afa7cd7
Fix edge cases in mouse action tracking code (#2452) 5 years ago
Anders Jenbo 8ba3bbb6a4
Have PosOkPlayer take PlayerStruct as input (#2430) 5 years ago
Anders Jenbo 069249f318 🚚 Move local function to anonymous namespace i-p 5 years ago
obligaron 70db8456ba Remove _pwtype and replace it with UsesRangedWeapon 5 years ago
obligaron d1d61fcd0f Convert anim_weapon_id and anim_armor_id to enum class 5 years ago
Anders Jenbo 2d4da488f0 Split path test functions 5 years ago
FluffyQuack ba60907853
Hold mouse button to keep attacking (Diablo 2-style) (#2349) 5 years ago
Anders Jenbo 96bf75b502 Rename player globals 5 years ago
Anders Jenbo ee2e7518c4 Clang-tidy: FunctionCase part 2 5 years ago
Andrew James 3508aa6d3d
Align Life/Mana flask drawing routines (#2291) 5 years ago
ephphatha 58f3ca9ba3 Refactor player hp percentage calculation to avoid C4244 warnings 5 years ago