Anders Jenbo
40350c3b70
Fix NULL check on MType ( #439 )
...
* Fix NULL check on MType
* Fix MT_BLINK teleport
7 years ago
Anders Jenbo
48416ed0d7
Format monster.cpp
8 years ago
Anders Jenbo
bf81cd5462
Clean up some property handeling in monster.cpp
8 years ago
Anders Jenbo
6b3617b973
Clean up M_StartFadeout
8 years ago
Anders Jenbo
e83a95f9ca
Clean up M_StartFadein
8 years ago
Anders Jenbo
3cedd26471
Clean up M_SyncStartKill
8 years ago
Anders Jenbo
45a734bda5
Clean up M_StartKill
8 years ago
Anders Jenbo
20b5591447
Clean up M2MStartKill
8 years ago
Anders Jenbo
121873a67f
Clean up MonstStartKill
8 years ago
Anders Jenbo
c557aa7503
Clean up M_StartStand
8 years ago
Anders Jenbo
a8909654e8
Clean up M2MStartHit
8 years ago
Anders Jenbo
6ebc4ffb34
Clean up M_StartHit
8 years ago
Anders Jenbo
a2c7f4ff67
Clean up M_GetKnockback
8 years ago
Anders Jenbo
0413ca8ee9
Clena up M_ClearSquares
8 years ago
Anders Jenbo
c8e2794715
Clean up M_Start*
8 years ago
Anders Jenbo
f1d4e707f7
Auto format
8 years ago
Anders Jenbo
456d651f55
Clean up more bools related to sound.cpp
8 years ago
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
8 years ago
Anders Jenbo
2db187faf5
Correct AnimStruct names ( #417 )
...
Fixes #384
8 years ago
Anders Jenbo
96ab38730f
Control.cpp ( #396 )
...
* Clean up ToggleSpell
* Clean up DrawLifeFlask and UpdateLifeFlask
* Clean up DrawManaFlaskm, control_update_life_mana and UpdateManaFlask
* Clean up CheckSBook
* Clean up DoSpeedBook
* Decompose magic numbers
* Clean up GetSBookTrans
* Apply spell_type
* Slight clean up of DrawSpellList
This improves the bin diff a little bit but more importantly gets rid of
_p*Spells[] usage in control.cpp
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
Anders Jenbo
8f3d59e513
Monster.cpp ( #400 )
...
* Clean up hp and mana checks
* Clean up PrepDoEnding
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
Anders Jenbo
fff0a9161c
movie.cpp ( #378 )
8 years ago
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
8 years ago
Anders Jenbo
1e40fdf51e
Clean PM_DoAttack & CanTalkToMonst ( #311 )
...
* Clean PM_DoAttack & CanTalkToMonst
* Fix friendly mode default
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Anders Jenbo
f055f7ba18
Adjust InitMonsterGFX
...
Fixes #20
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
Anders Jenbo
44b1349529
Clean up CheckMonsterHit
8 years ago
galaxyhaxz
503e5c1440
Names from DX SDK ( #197 )
8 years ago
Anders Jenbo
5b1aa609fc
Clean up InitMultiView
8 years ago
Anders Jenbo
31637532c9
Redefine nSolidTable as BYTE
...
Cleans PosOkMissile, CheckNoSolid, SolidLoc and LineClear
8 years ago
Anders Jenbo
fe3b0a9d09
Clean up DoEnding
8 years ago
Robin Eklind
5d46965fa2
Fix loading of TRN for unique monsters.
...
Fixes #31 .
8 years ago
Dennis Duda
0b5aef5edb
`PlaceGroup` is now near binary-exact
8 years ago
Dennis Duda
8bd518031b
Added `LIGHTSIZE` constant
8 years ago
Dennis Duda
5de0a5083b
`PlaceUniqueMonst` is now near binary-exact.
...
It's just the both struct pointers that seem to load a bit differently.
8 years ago
Dennis Duda
0f0bb1c713
`PlaceMonster` is now binary exact
8 years ago
Dennis Duda
7c75240c1e
`MonstPlace` now binary exact.
8 years ago
galaxyhaxz
f49117c95a
Update monster.cpp
8 years ago
Dennis Duda
ad59011c64
Shuffled things around in `InitMonster` to make the ordering closer to the beta, and making it binary exact
8 years ago
Dennis Duda
16a576cd5b
Brought `GetLevelMTypes` very close to binary exact
8 years ago
Dennis Duda
cf81adbd47
Minor adjustments to `InitLevelMonsters` and `AddMonsterType`
8 years ago
Dennis Duda
4461f657c3
Made `InitMonsterTRN` binary exact.
8 years ago
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
8 years ago
Dennis Duda
9d31a6e29c
Flip check in `AddMonsterType` to make it near binary perfect
8 years ago
Dennis Duda
50cbbded0c
Flipped setlevel check for better matching with the original binary
8 years ago
Dennis Duda
4391b247a8
Moved `monst->MData` to temporary variable to get the code very close to the original
8 years ago