250 Commits (FindSlotUnderCursor)

Author SHA1 Message Date
obligaron 8b64546b21 Move spectral elixir special logic from Player::CanUseItem to Item::isUsable 3 years ago
Eric Robinson f75f66d54b
Add `playerdat` (#5763) 3 years ago
obligaron 6edae7cf6c Ensure Spectral Elixir is only usable after black mushroom quest is finished 3 years ago
KPhoenix d813f13700 `enum spell_id` -> `enum class SpellID` 3 years ago
Eric Robinson ef3a57b7d9
`enum spell_type` -> `enum class SpellType` (#5674) 3 years ago
Anders Jenbo c99f7cf644
Floating numbers (#5639) 3 years ago
Anders Jenbo a29fc3a074 Correct casing for Player::isWalking() 3 years ago
obligaron eca1a68bec AnimationInfo: Use fixed point math for fractions 3 years ago
obligaron 795a43dd89 Add Arena Support 3 years ago
Gleb Mazovetskiy 41f43ea3f5 Support unpacked MPQs from devilutionx-mpq-tools 3 years ago
Gleb Mazovetskiy ec12d7ce44 Player: Optimize to save 40 bytes 3 years ago
obligaron a2ec22667f Use AnimationInfo::isLastFrame in more places 4 years ago
obligaron 5b6beac375 Introduce Player::getAnimationFramesAndTicksPerFrame 4 years ago
Gleb Mazovetskiy 188dc79f6e Make `Players` a vector 4 years ago
qndel ef5a4de227 typos + code cleanup 4 years ago
Gleb Mazovetskiy 961866e1c4 CLX: A new graphics format 4 years ago
obligaron 6804221199 Store scroll/rune location in SpellCastInfo.spellFrom and remove the scroll/rune only after the spell is casted 4 years ago
obligaron 1cfd1ca99d Fix double casting bug - use separated info for casted and queued spells 4 years ago
Gleb Mazovetskiy b21ebffaf2 Clean up player graphic loading 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