FluffyQuack
c4a96bc829
👑 Fix to bug that made spawned monsters overwrite alive ones (cause was monsters not being properly deleted)
5 years ago
jmechnich
2006af9207
streamlined mingw-prep scripts
5 years ago
jmechnich
c1f68198fc
Source/encrypt.cpp: add missing header to fix mingw compilation error
5 years ago
Anders Jenbo
a709790c82
Document a few functions
5 years ago
Anders Jenbo
43aec8cecc
Clean up AiDelay
5 years ago
Anders Jenbo
684d6943aa
Merge MegaAi and MAI_RR2
5 years ago
Anders Jenbo
c30ff97885
Use Point in UpdateEnemy
5 years ago
Anders Jenbo
40373bd4cf
Clean up PutMissile
5 years ago
Anders Jenbo
13eb1d9bb4
Clean up GuardianTryFireAt
5 years ago
Anders Jenbo
ef6275caac
Clean up private function names
5 years ago
Anders Jenbo
4bf4e42230
Move local symbols to anonymous namespace
5 years ago
Anders Jenbo
5d99cb4925
Fix MAI_Warlord direction
5 years ago
Anders Jenbo
f29d270055
💚 Make UINumPL unsigned
5 years ago
Anders Jenbo
64d1e110af
🐛 WillThemeRoomFit will some times fail to place rooms
...
Broken in 1.0.0 a1b7b8522a
5 years ago
obligaron
54d63e2edd
Change AnimationInfo.pCelSprite to const
5 years ago
obligaron
3e57d0d69b
Introduce MonsterGraphic enum class
5 years ago
obligaron
5f7a2803fc
Introduce CMonster::GetAnimData
5 years ago
obligaron
481fc04235
InitMonster: Get AnimData only once
5 years ago
obligaron
1fcbad0810
MAI_Ranged: Use CheckStandAnimationIsLoaded instead of directly changing animation data
5 years ago
obligaron
e5bf44a75f
M_DoWalk: Simplify check if we reached new tile
5 years ago
obligaron
dc2d5e2b04
Remove unnecessary assignments to _mdir
5 years ago
obligaron
a94da6b4a3
NewMonsterAnim gets monster references and monster graphic instead of index, and AnimStruct Pointer
5 years ago
obligaron
02d2754a68
MAI Garbud/Zhar/SnotSpill/Lazurus/Lachdanan/Warlord
...
Change _mdir in CheckStandAnimationIsLoaded (and only in stand).
5 years ago
obligaron
95937021fe
Fallen fear: Use _mgoalvar2 for new direction instead of _mdir
5 years ago
Anders Jenbo
8ebef6a062
Clean up ProcessMissiles
5 years ago
obligaron
508132e014
ADL: Handle skipped Frames for Diablo Got-Hit Animation
5 years ago
obligaron
e2ba79d3d1
Introduce StartMonsterGotHit
5 years ago
obligaron
b4966f22e1
Move NewMonsterAnim to anonymous namespace
5 years ago
Anders Jenbo
996cadf972
♻️ Unique powers cleanup
...
- Mark unused unique item powers as invalid
- Split to hit and value calculations from SaveItemPowers
5 years ago
Zakxaev68 / Krezzin
cce727cde7
Update bg.po
5 years ago
obligaron
72692028f7
Refurbish table in GetOffsetForWalking
5 years ago
ephphatha
5a77f60caf
Give skeleton king subregions more descriptive names
5 years ago
ephphatha
a842d07dab
Combine duplicated initialisation logic for quest book objects
5 years ago
ephphatha
cc3572af81
Update BookLever related functions to use Rectangle.
...
This is mainly to help isolate functionality in the hopes of adding a specialised object class for this type of object as suggested by @julealgon in https://github.com/diasurgical/devilutionX/pull/2344#discussion_r667415019
For example, AddSCambBook performs almost the same logic but uses var6 instead of var8 for the trigger condition/identifier.
5 years ago
Andrew James
4f73794a53
Restore dropped cases for fence fix and vertical wall checks ( #2353 )
5 years ago
ephphatha
e25d287ba9
Move SetObjMapRange to a member function
...
Due to the way this function is used it was easiest to also change ObjIndex to return a reference to the object instead of the index. Also added an explicit conversion from Size to Displacement to make one of the uses slightly cleaner to express.
5 years ago
Anders Jenbo
65d7b3c1eb
Use AdvanceRndSeed() when changing RNG with out use
5 years ago
Anders Jenbo
35ccc8eb1c
Apply clang-tidy to code
5 years ago
Anders Jenbo
74b57558c9
🚚 Move local code to anonymous namespace
5 years ago
ephphatha
ea63eecd17
Break out crux search logic from BreakCrux/SyncCrux
...
Really blanking on a good name for that function. Might not even be necessary given I think the BreakCrux use is effectively dead code, it could be rolled back into SyncCrux.
5 years ago
ephphatha
a1d4bdc98d
Object by reference for BreakCrux
...
Some common code that searches for the crux object in the active objects list, can extract that into a dedicated function.
5 years ago
matheusgomes28
42e2c174ac
Refactored parameters of "StartItemPower(...)" and code around calls to it. ( #2345 )
...
Co-authored-by: Matheus Gomes <mgomes1@jaguarlandrover.com>
5 years ago
Andrew James
af60158274
Object by reference in SyncObjectAnimation functions ( #2344 )
5 years ago
JoBergeron
be3f1ba928
Pause game and mute music when game window loses focus ( #2337 )
5 years ago
Anders Jenbo
85ee14710a
Align naming and style in DRLG algorithms
5 years ago
Anders Jenbo
6fe4cb32b5
Move DRLG functions in to the same relative order
5 years ago
Anders Jenbo
730c0750e7
Apply clang-tidy to code
5 years ago
Anders Jenbo
352a0ca510
Place local symbols in an anonymous namespace
5 years ago
qndel
46c8e550ba
Revert "Revert "Add explicit cast for LogicalToOutput" ( #2334 )"
...
This reverts commit cbfffcbfd4 .
5 years ago
ephphatha
74584bb02a
Remove doorSetDirection temporary
...
Instead calling the function directly makes it easier to see common code patterns
DoorSet really only cares if the door opens to the left or the right
Can take a bool instead of the object type.
5 years ago