141 Commits (4db65d94de34c9f8fa6bc3510ce2d8ca80026fa9)

Author SHA1 Message Date
obligaron 40bb3aeb45 Replace earflag with DeathReason 3 years ago
Gleb Mazovetskiy e67ea9b006 Make `MissilesData` const 3 years ago
Gleb Mazovetskiy 98294e0ad5 Optimize `MissileData`: 32 bytes -> 24 3 years ago
KPhoenix d813f13700 `enum spell_id` -> `enum class SpellID` 3 years ago
KPhoenix 7947b99511 Implement new enum class 3 years ago
Eric Robinson d7b6c7dca8
Refactor Missile Function Names (#5733) 3 years ago
DakkJaniels d2134f93cd MI_Firebolt -> MI_Projectile. Calculate damage when missile is added. 3 years ago
KPhoenix 8db521727d
`enum missile_id` -> `enum class MissileID` 3 years ago
Gleb Mazovetskiy 36c4a89f3e Clean up a few position types 3 years ago
staphen 702fedbc54 Remove ConsumeSpell() from AddMissile() functions 3 years ago
Gleb Mazovetskiy 4cf0053ece Set underlying type for all the enums 4 years ago
Gleb Mazovetskiy 961866e1c4 CLX: A new graphics format 4 years ago
Cesar Canassa fcdab7f56f
Add test for RotateBlockedMissile (#5069) 4 years ago
Cesar Canassa ac583cbb2d
Adds isSameSource Missile method (#5036) 4 years ago
Cesar Canassa aa6ea3907e
♻️ Adds Missile::SourcePlayer and Missile::SourceMonster (#4999) 4 years ago
Anders Jenbo 2d21fc372e Remove more miniwin code 4 years ago
Cesar Canassa e538acb248
📝 Fixes Doxygen warnings (#4904) 4 years ago
Cesar Canassa 443f88b0f7 Rename MonsterTrapHit m parameter to monsterId 4 years ago
Gleb Mazovetskiy 17f8cdddc4 Clean up `GetSpellLevel` 4 years ago
Anders Jenbo b00ae287b8 Minimize propegation of global Players index 4 years ago
Gleb Mazovetskiy a66ca44695 Zero-based frame indexing 4 years ago
Gleb Mazovetskiy f4bce38875 Use `uint16_t` for sprite widths 4 years ago
qndel 2b53c5f857 Update Source/missiles.h 4 years ago
qndel ac6a10bfb4 IsTrap() 4 years ago
ephphatha 32d397eb2a Add max_size checks when adding missiles to allow for limited size containers 4 years ago
obligaron 234a053863 Change Missiles Array to std::list 4 years ago
obligaron a45eca5d40 Remove unused ChainStruct 4 years ago
obligaron 0ed8c941de Replace FindParent and use of var4 to identify parent with pParent member in AddMissileParameter 4 years ago
obligaron 1aabcf295b Add AddMissileParameter 4 years ago
ephphatha 279fbe32b3 Tidy up checks for missile collision with objects/tiles 4 years ago
Gleb Mazovetskiy 7e1fea6f76 clang-format all files in {Source,test}/ 4 years ago
Siddharth singh chouhan bcb332b7b0
Move documentation from implementations to declarations 5 years ago
ephphatha 9ef77cb428 Use scoped enum for Direction16. 5 years ago
ephphatha b12de6fe12 Use scoped enum for Direction 5 years ago
obligaron 836bb92e8e MoveMissileAndCheckMissileCol: Call CheckMissileCol only once for a tile and target 5 years ago
ephphatha 6fa3018f05 Move Init/FreeMissileGFX functions alongside MissileSpriteData array definition 5 years ago
ephphatha 851fb87e24 Remove mi argument from DeleteMissile 5 years ago
Juliano Leal Goncalves 6e1d05187e 🚚 Rename 'MissileStruct' to 'Missile' 5 years ago
Juliano Leal Goncalves 20db8d1a11 🚚 Rename 'MonsterStruct' to 'Monster' 5 years ago
BC Ko 536121f038 rename _miVar# to var# 5 years ago
Anders Jenbo d125b591eb Remove dead code: ClearMissileSpot 5 years ago
BC Ko ee96690410 change function parameter 5 years ago
Anders Jenbo d7c6d8b189 Use proper Direction type for AddMissile midir 5 years ago
Anders Jenbo 96b19ca8d5 Set _micaster type to mienemy_type 5 years ago
Anders Jenbo bea8cc9d87 Reduce paremters used in add missile functions 5 years ago
BC Ko ac0a690768 remove Missiles[] 5 years ago
Anders Jenbo 7f6e171b4b Use BFLAG_MISSILE instead of dMissile 5 years ago
qndel d76158ca03
reflect without missile! (#2659) 5 years ago
Anders Jenbo 3df8af0e9d Apply missile_id to _mitype 5 years ago
Anders Jenbo d4bd409472 Deduplicate manashild/reflect code 5 years ago