obligaron
a410e989bf
Remove ScrollInfo
4 years ago
Gleb Mazovetskiy
961866e1c4
CLX: A new graphics format
...
The format is almost identical to CL2, except it uses the frame header
to store frame width and height instead of 5 32-line offsets.
This means we always have access to frame dimensions, so we can use it
as an on-disk format for our graphics as well.
Additionally, we may be able to optimize the rendering even more
in the future now that we have guaranteed knowledge of frame dimensions.
4 years ago
obligaron
439a9926e5
Clean up spell usage function names
...
Rename UseMana -> ConsumeSpell
Rename RemoveCurrentSpellScroll -> ConsumeScroll and remove unused return value
Rename UseStaffCharge -> ConsumeStaffCharge
Rename UseScroll -> CanUseScroll
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
ephphatha
9309f2fe4f
Add enum to represent monster sound effects
4 years ago
Stephen C. Wills
e364b7488c
HitMonster() cleanup ( #5147 )
4 years ago
ephphatha
0ce76a3f13
Add Object lookup method to mimic map::at()
4 years ago
Cesar Canassa
102f4abe9b
♻️ Remove _misource access from AddLightningWall ( #5098 )
4 years ago
ephphatha
975eb3674b
Add helper to check if a monster belongs to a player
...
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
Cesar Canassa
0ce0f5b7b4
♻️ Remove _misource access from AddSpecArrow
4 years ago
Cesar Canassa
f5af1fa49c
♻️ Remove _misource access from AddRuneExplosion
4 years ago
Cesar Canassa
71edcbed12
♻️ Remove _misource access from AddWarp
4 years ago
Cesar Canassa
020ce5eb2b
♻️ Automatically dereference sourcePlayer on AddFlash
4 years ago
Cesar Canassa
98023a822e
♻️ Automatically dereference sourceX on MI_Arrow
4 years ago
Cesar Canassa
582e2b4e12
♻️ Automatically dereference sourceX on MI_Firebolt
4 years ago
Cesar Canassa
2b19cae569
♻️ Remove _misource access from AddBerserk
4 years ago
Cesar Canassa
fcdab7f56f
✅ Add test for RotateBlockedMissile ( #5069 )
4 years ago
ephphatha
9e76cd4ab7
Use object pointer for pcursobj
4 years ago
ephphatha
3a7fd8da2d
Only send and consume object location for location based messages
...
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
Cesar Canassa
7db99c2a26
♻️ Remove _misource access from AddReflection ( #5053 )
4 years ago
Cesar Canassa
2665aa61f3
PR feedback
4 years ago
Cesar Canassa
831796fcd4
♻️ Remove _misource access from SpawnLightning
4 years ago
Cesar Canassa
28f12be8de
PR feedback
4 years ago
Cesar Canassa
1f798bcec5
♻️ Remove _misource access from AddLightningRune
4 years ago
Cesar Canassa
8f73844a3b
♻️ Remove _misource access from GuardianTryFireAt
4 years ago
Cesar Canassa
94e15b3a11
♻️ Remove _misource access from AddTown
4 years ago
Cesar Canassa
b415474cf5
♻️ Remove _misource access from InitMissiles
4 years ago
Cesar Canassa
7fc08e183d
♻️ Remove _misource access from MoveMissilePos
4 years ago
Cesar Canassa
ac583cbb2d
✨ Adds isSameSource Missile method ( #5036 )
4 years ago
Cesar Canassa
c89b67a4d5
♻️ Remove _misource access from MI_Arrow
4 years ago
Cesar Canassa
95589ebf94
♻️ Remove _misource access from MI_Firebolt
4 years ago
Cesar Canassa
aa6ea3907e
♻️ Adds Missile::SourcePlayer and Missile::SourceMonster ( #4999 )
4 years ago
Anders Jenbo
d1189388f5
Use user by reference
4 years ago
Mikołaj Piróg
262fa9ac2d
Rename MonsterData members ( #5000 )
4 years ago
Cesar Canassa
ce349789cf
♻️ Refactor M_StartKill to receive a Monster reference ( #4943 )
4 years ago
ephphatha
1337ff6ea2
Add check if a monster potentially has leashed minions
4 years ago
Anders Jenbo
2d21fc372e
Remove more miniwin code
4 years ago
Anders Jenbo
6a8fd04067
Use player by references ( #4938 )
4 years ago
Andrew James
593a9f3b4b
Pull distinct points from VisionCrawlTable used by guardians ( #4844 )
4 years ago
Gleb Mazovetskiy
197e1180b2
Add StrCat and StrAppend
...
Adds simple string / integer concatenation functions.
Many of the uses of `fmt::format` are simply concatenation
of a few strings and integers.
`StrCat` is an easier-to-read alternative to such uses of `fmt`.
4 years ago
ephphatha
7c54066f31
Use PickRandomlyAmong when choosing between two options
4 years ago
ephphatha
bc0a058350
Invert FlipCoin
4 years ago
Gleb Mazovetskiy
c8ddf7df65
Crawl: Move implementation from header to cpp
4 years ago
Cesar Canassa
bb3fb36ddc
✨ Introduces FlipCoin() ( #4908 )
4 years ago
Vladimir Olteanu
bed5bd9ec1
Eliminate CrawlTable
4 years ago
Cesar Canassa
e538acb248
📝 Fixes Doxygen warnings ( #4904 )
4 years ago
Mikołaj Piróg
15989609a8
Members' name changes and comments in Monster struct ( #4861 )
4 years ago
Cesar Canassa
de971c6a8b
♻️ Refactor AddMonster to return a monster pointer ( #4894 )
4 years ago
Cesar Canassa
0d106beaf3
♻️ Refactor M_StartHit to receive a Monster reference
4 years ago
Cesar Canassa
443f88b0f7
Rename MonsterTrapHit m parameter to monsterId
4 years ago