Juliano Leal Goncalves
0d3d4c14f6
🚚 Rename 'Dead' concept to 'Corpse' everywhere ( #2808 )
5 years ago
qndel
e355d03019
Rename SetDead
5 years ago
vlad
a07ea153ae
load animation into correct `Dead` slot - fixes crash on killing petrified monsters -
...
fixes https://github.com/diasurgical/devilutionX/issues/2633
5 years ago
Anders Jenbo
e9f1d6ad88
Fix crash on monster death with existing saves
...
fixes #2603
5 years ago
Anders Jenbo
f289fbcec5
Remove dead missile code
5 years ago
Vladimir Olteanu
040ca7b1e9
Remove logic related to unused MFLAG_ALLOW_SPECIAL
5 years ago
Vladimir Olteanu
3364a4e00c
Refactor MisFileData
...
MisFileData: make pinnedMem private
5 years ago
Anders Jenbo
77b72da276
♻️ Use monster by reference when possible
5 years ago
Anders Jenbo
ef6275caac
Clean up private function names
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
Anders Jenbo
9ae908f947
Rename missile globals
5 years ago
Anders Jenbo
07ad083fda
Rename monster globals
5 years ago
Anders Jenbo
cb564a2d54
Clean up A-D
5 years ago
Anders Jenbo
4eabc6024b
Apply various cleanups via Android Studio
5 years ago
Anders Jenbo
e11b86b6f1
Clang-tidy: llvm-namespace-comment
5 years ago
Anders Jenbo
de4ced7e4f
Clang-tidy: readability-qualified-auto
5 years ago
obligaron
b5ad92eb2c
Convert _mAnimData to CelSprite
5 years ago
obligaron
ceda0b46ce
Introduce InitDeadAnimationFromMonster
5 years ago
Juliano Leal Goncalves
b3ec79af4f
Leverage 'Point' in Lighting and Player functions ( #2048 )
5 years ago
Juliano Leal Goncalves
d55cd99dd5
🚚 Rename 'direction' enum to 'Direction'
5 years ago
Gleb Mazovetskiy
28182ca5e3
🧹 Fix a couple more compilation warnings
5 years ago
Vladimir Olteanu
4d5b9ac023
Coding style changes for dead.h, dead.cpp
5 years ago
Vladimir Olteanu
2a3cf98850
Slight cleanup of dead{.h,.cpp}
5 years ago
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles ( #1680 )
5 years ago
Anders Jenbo
61d15e23db
🎨 Apply direction enum to monsters and relations
...
Missiles _mimfnum is being used for a lot more then just directions and
can also be a 16 degree direction so can't apply enum verbs and
restricitons to it in most cases. This in turns also affects SetMissDir
and some other functions that have to stay int.
5 years ago
Anders Jenbo
b238d320c2
🎨 Clean up dead.cpp
5 years ago
Anders Jenbo
01afe7c997
🎨 clang-tidy iterators
5 years ago
Anders Jenbo
d9c2108513
🎨 clang-tidy type definition
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
f217b14e3e
Order variables logically
6 years ago
Anders Jenbo
8f635b779c
Correct style of checks
6 years ago
Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
f33898648e
Correct MonsterData width property
7 years ago
galaxyhaxz
fd5d8298c9
Cleanup dead.cpp
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
87ef2f91e7
Format mostly cleaned files
8 years ago
Anders Jenbo
2db187faf5
Correct AnimStruct names ( #417 )
...
Fixes #384
8 years ago
Anders Jenbo
c878a630f5
Monster.cpp ( #402 )
...
* Clean up DeleteMonster
* AddMonster
* Clean up NewMonsterAnim
* Clean up M_Ranged, M_Talker and M_GetDir
* Clean up M_StartDelay
* Clean up M_StartSpStand
* Clean M_StartSpStand
* Add enum to monster Anim
8 years ago