Anders Jenbo
e960e85a56
Apply MAX_PLRS in monster.cpp
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
Anders Jenbo
54c73f740c
clean up redundant code
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
ee627c985e
Clean up MAI_Warlord
7 years ago
Anders Jenbo
2c1f6647a4
Fix MAI_Lazurus
7 years ago
Anders Jenbo
58add3e99e
Clean up MAI_Lazurus, MAI_SnotSpil and MAI_Zhar
7 years ago
Xadhoom
d4ccb4b6cd
fix wrong missile index bug in the engine
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Anders Jenbo
ee014547b9
OFSUB fix
7 years ago
Anders Jenbo
ddfd586fe8
MAI_Lazurus, MAI_SnotSpil and MAI_Zhar ( #516 )
...
* Clean up MAI_Lazurus
* Clean up MAI_SnotSpil
* Clean up MAI_Zhar
7 years ago
Anders Jenbo
d91c64e063
Clean up MAI_Ranged ( #546 )
7 years ago
Anders Jenbo
fd2a45ff9a
Engine.cpp ( #548 )
...
* Clean up DiabloAllocPtr
* Clean up mem_free_dbg
* Clean up GetDirection
* Clean up PlayInGameMovie
* 18 directions
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
7 years ago
Anders Jenbo
db801ea4fd
Clean up MAI_Fireman ( #517 )
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
fe92bebaba
Clean up MAI_* ( #515 )
...
* Clean up MAI_Bat
* Apply MM_* enums to AI
* Clean up MAI_Fallen
* Unify MAI_* code style
7 years ago
Anders Jenbo
43f98614b0
Clean up MAI_Zombie ( #514 )
7 years ago
Anders Jenbo
355d78fb84
C declaration ( #500 )
...
* Convert monster.cpp to C
* Convert automap.cpp to C
* Convert codec.cpp to C
7 years ago
Ogodei
69f6b90dd3
Update monster.cpp
...
In the monster data tables, the "mType" comment has been renamed as
Seeding size. The game, as depicted by Jarulf, uses that number to
calculate how many monster type can spawn within a level (iirc the max
seeding is 4000, and each monster type takes a part of it). I hope this
helps!
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
f33898648e
Correct MonsterData width property
7 years ago
Anders Jenbo
5a3b61ac9b
Clean up PosOkMonst3
7 years ago
Anders Jenbo
61d62c426e
Clean up MAI_Warlord
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
cd2c434c15
Clean up PosOkMonst ( #477 )
7 years ago
Anders Jenbo
1941cff144
Clean up MAI_Fat
7 years ago
Anders Jenbo
5cc5661676
Clean up MAI_SkelBow
7 years ago
Anders Jenbo
ac755aeb51
Clean up MAI_Path
7 years ago
Anders Jenbo
2774e5c7ed
Clean up MAI_SkelSd
7 years ago
Anders Jenbo
cf01a9dbb9
Mai cleaver ( #471 )
...
* Clean up MAI_Cleaver
* Clean up ActivateSpawn
7 years ago
Anders Jenbo
9123d92ab6
M teleport ( #470 )
...
* Correct NetSendCmdGolem()-cl type.
* Correct gbActivePlayers type
* Clean up M_Teleport
* Clean up PutMissile
7 years ago
Anders Jenbo
fbbd58ee76
Clean up MAI_Garg
7 years ago
Anders Jenbo
2037972450
Fix M_Enemy ( #467 )
...
This fixes an issue where the gargoyle would not sleep
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
cbdeae79e8
Fix M_DoFadeout ( #462 )
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
galaxyhaxz
2715a80e93
Change struct member mMode to mTrnName
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
e340ce2241
Monster.cpp ( #442 )
...
* Clean M_UpdateLeader
* Clean up M_DoRSpAttack
* Add definition for mFlags
Fixes #416
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
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
7 years ago
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table
7 years ago