Anders Jenbo
4ee84aea1a
♻️ Change BOOLEAN to bool
...
fixup BOOLEAN
5 years ago
Anders Jenbo
af96de4038
♻️ Move a large part of enums to there respective headers
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
6f1498d315
🚚 Move structures to there respective headers
5 years ago
Anders Jenbo
def2253386
♻️ Move monster.h related structs and enums and apply propper types
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
adf5f8f504
Clean up hellfire related code
5 years ago
Anders Jenbo
4a75c2c275
[hellfire] Better monster AI naming
5 years ago
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
5 years ago
Anders Jenbo
dca5a135b6
Reorder monster.cpp
5 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
ba084d25a6
[hellfire] PostOkMonst, PostOkMonst2, PostOkMonst3 and monster_posok
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
Robin Eklind
27b40436a9
Use pointers instead of references for Devilution exported API
...
With this change, all exported declarations of Devilution are now
compatible with the C-ABI; that is, all declarations of Source/*.h.
This makes it possible to link against DevilutionX from mods written in
other languages than C++, for instance Rust, Go or Python.
Updates #612 .
6 years ago
Anders Jenbo
5cd7958438
[hellfire] monster_43C785
6 years ago
Anders Jenbo
e3e7451a84
[hellfire] SpawnLoot
6 years ago
Anders Jenbo
e7416ce7dd
[hellfire] MonstStartKill
6 years ago
qndel
b44bfd983f
missing semicolon
6 years ago
qndel
8a114fc269
[hellfire] monster_some_crypt bin exact
6 years ago
Anders Jenbo
171323b987
Make sure that sgbSaveSoundOn is initialized
...
Fixes #480
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
9c98c1e43d
Fix all "pass by ref" functions
6 years ago
galaxyhaxz
365411175d
Hellfire AIs ( #1694 )
7 years ago
galaxyhaxz
e668de2bac
Fix unused monster array/MAX_LVLMTYPES ( #1686 )
7 years ago
galaxyhaxz
05dc981905
Fix Hellfire Structs
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Anders Jenbo
4898803982
Clean up monster.cpp
7 years ago
Sergey Semushin
35fcb9a12a
Clean up MAI_RoundRanged.
7 years ago
Sergey Semushin
8dfa8ad757
Clean up M_RoundWalk.
7 years ago
galaxyhaxz
610580625e
Split data from files
7 years ago
Sergey Semushin
bd2d3eb931
Clean up SetMapMonsters.
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
cfbe27f3b8
Clean up ( #568 )
...
* Clean up mana checks
* Don't expose static globals
7 years ago
Anders Jenbo
d91c64e063
Clean up MAI_Ranged ( #546 )
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
18034ca776
Correct monster attribute name ( #492 )
...
* Correct monster attribute name
* Not possibl _mAFNum in MonsterStruct
7 years ago
Anders Jenbo
bd7898ce05
monster.cpp ( #476 )
...
* Clean up PreSpawnSkeleton
* Clean up decode_enemy
* Clean up encode_enemy
* Clean up SpawnGolum
* Clean up TalktoMonster
* Clean up SpawnSkeleton
* Clean up IsGoat
* Clean up ActivateSpawn
* Clean up M_SpawnSkel
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
1a9c738a73
monster.cpp ( #464 )
...
* Clean up M_DoDeath
* Clean up M_DoSpStand
* Clean up M_DoDelay
* Clean up M_DoStone
* Clean up M_WalkDir
* Clean up M_PathWalk
* Clean up M_CallWalk2
* Clean up M_DumbWalk
7 years ago
Anders Jenbo
04b19f604d
Monster.cpp ( #443 )
...
* Clean up MAI_Golum
* Clean up MAI_Garbud
* Clean up MAI_Lachdanan
* Clean up DeleteMonsterList
* Clean up FreeMonsters
* Define enums for resistance
* Correct AddPanelString input
* Correct pinfoflag type
* Define monster_goal
* apply enum to _pIFlags
* Correct DeleteMonsterList
* Add TODO for possible bug fix.
7 years ago
Anders Jenbo
ef74b2cbaf
Clean up M_DoFadein, M_DoFadeout and M_DoGotHit
7 years ago
Anders Jenbo
812edf3998
Clean up M_DoAttack
7 years ago
Anders Jenbo
2ad1c30170
Clean up M_DoRAttack
7 years ago