51 Commits (master)

Author SHA1 Message Date
Eric Robinson 37daef5de3
Fix Resurrect Illegal Player State/Crash (#8349) 3 months ago
obligaron f445bb4ef8 Change CastSpell to Player reference 2 years ago
obligaron b810c808f5 Msg: Change OnXYZ to get a Player reference instead of a player index 2 years ago
Gleb Mazovetskiy 62e9aa0448 `MissilePosition`: Use `WorldTilePosition` 3 years ago
Gleb Mazovetskiy 5bf0b8bc96 Add more missing <cstdint> includes 3 years ago
obligaron b87711bc08 Reintroduce Player::spellFrom to seperate teleport cursor from queued spell 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
Gleb Mazovetskiy 188dc79f6e Make `Players` a vector 4 years ago
obligaron 439a9926e5 Clean up spell usage function names 4 years ago
Anders Jenbo 56915974d6 Minimize passing of player indexes 4 years ago
Anders Jenbo 6a8fd04067
Use player by references (#4938) 4 years ago
staphen cab75ded6b Check both SPL_NULL and SPL_INVALID to determine spell validity 4 years ago
Anders Jenbo ab55877adc Take player by reference in UseMana 4 years ago
staphen e6182709d1 Allow casting Town Portal, Teleport, and Guardian scrolls from inventory 4 years ago
ephphatha 92fcdda3a7 Refactor OnHealOther to operate on Player references 4 years ago
qndel be0b79f9f5
Add IsWallSpell helper 4 years ago
Siddharth singh chouhan 18125aac6a
Move documentation from implementations to declarations #2735 (#2782) 5 years ago
Juliano Leal Goncalves bbf529c65a 🚚 Rename 'PlayerStruct' to 'Player' 5 years ago
qndel bb4d087d60
fix resurrect (#2577) 5 years ago
vladtepesch 0e56e52c75
fixes casting level 0 spell says "not enough mana" (#2568) 5 years ago
Anders Jenbo 35b2aa4947 ♻️Unfold a few functions 5 years ago
Anders Jenbo ee7b32d8f6 Player by reference part 3 5 years ago
Vladimir Olteanu e9a773f487 Make GetSpellBitmask constexpr 5 years ago
Anders Jenbo 7912e510f0 🎨 Clean up overuse of SDL types 5 years ago
Anders Jenbo 5fdb9ce459 🎨 Format code 5 years ago
Anders Jenbo 61244c4d93 ♻️ Rearange and apply more enums 5 years ago
Anders Jenbo 93d42b62b8 ♻️ Change BOOL to bool 5 years ago
Anders Jenbo 433edc63ea ♻️ Consistently use pragma once to guard the headers 5 years ago
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 5 years ago
Anders Jenbo 630e507f63 🚚 Apply namespace 5 years ago
Anders Jenbo bba73ea20f Handle mixed item origins in multiplayer 5 years ago
Anders Jenbo 31467cc949 ♻️ Remove all usage of basic WIN32 types 5 years ago
Anders Jenbo fdf5d514b6 Remove redundant code from CastSpell 5 years ago
Juliano Goncalves 00f3b753ee Extract valid readied spell logic 5 years ago
Anders Jenbo e073422ce7 Unify executable for Spawn and Retail 5 years ago
Anders Jenbo 1ba96a6777 Add doxygen description to remaining engine files 6 years ago
Joel Falcou c4223d4c29 Per file basis use of extern C 6 years ago
Joel Falcou 64d26a7934 Sanitize use of namespace 6 years ago
galaxyhaxz 3bd28cc0c1 Fix function order [spells+pack.cpp] 6 years ago
Anders Jenbo 32a51d17ca Align function signatures with PSX symbols 7 years ago
Anders Jenbo 66438890aa Clean up spells.cpp 7 years ago
galaxyhaxz 610580625e Split data from files 7 years ago
galaxyhaxz 4e01e03711 Cleanup default calling conventions 7 years ago
aperturesecurity 42ce77ce05 Rebirth and Nuke 8 years ago
Anders Jenbo db77557dce ValidatePlayer (#318) 8 years ago
Dennis Duda 84120afd83 Cleaned up CheckSpell and CastSpell, now both binary exact! 8 years ago
Dennis Duda 0200a2abba Refactored spells.cpp (#147) 8 years ago
galaxyhaxz 49a6f4f9fc
Add include guards, prepare for XRef (#28) 8 years ago
galaxyhaxz bb01c6f084
Remove the "fear factor" (#21) 8 years ago