Commit Graph
75 Commits
Author SHA1 Message Date
Anders Jenbo bf81cd5462 Clean up some property handeling in monster.cpp 2018-10-21 13:15:41 +02:00
Anders Jenbo 6b3617b973 Clean up M_StartFadeout 2018-10-21 13:15:41 +02:00
Anders Jenbo e83a95f9ca Clean up M_StartFadein 2018-10-21 13:15:41 +02:00
Anders Jenbo 3cedd26471 Clean up M_SyncStartKill 2018-10-21 13:15:41 +02:00
Anders Jenbo 45a734bda5 Clean up M_StartKill 2018-10-21 13:15:41 +02:00
Anders Jenbo 20b5591447 Clean up M2MStartKill 2018-10-21 13:15:41 +02:00
Anders Jenbo 121873a67f Clean up MonstStartKill 2018-10-21 13:15:41 +02:00
Anders Jenbo c557aa7503 Clean up M_StartStand 2018-10-21 13:15:41 +02:00
Anders Jenbo a8909654e8 Clean up M2MStartHit 2018-10-21 13:15:41 +02:00
Anders Jenbo 6ebc4ffb34 Clean up M_StartHit 2018-10-21 13:15:41 +02:00
Anders Jenbo a2c7f4ff67 Clean up M_GetKnockback 2018-10-21 13:15:41 +02:00
Anders Jenbo 0413ca8ee9 Clena up M_ClearSquares 2018-10-21 13:15:41 +02:00
Anders Jenbo c8e2794715 Clean up M_Start* 2018-10-21 13:15:41 +02:00
Anders Jenbo f1d4e707f7 Auto format 2018-10-19 02:39:19 +02:00
Anders Jenbo 456d651f55 Clean up more bools related to sound.cpp 2018-10-18 20:32:44 +02:00
Anders Jenbo f1c8439c64 Change setlvlnum to BYTE 2018-10-18 20:14:58 +02:00
Anders Jenbo 2db187faf5 Correct AnimStruct names (#417)
Fixes #384
2018-10-14 20:57:19 +02:00
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
2018-10-11 08:37:14 +02:00
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
2018-10-11 08:34:09 +02:00
Anders Jenbo 8f3d59e513 Monster.cpp (#400)
* Clean up hp and mana checks

* Clean up PrepDoEnding
2018-10-10 09:55:57 +02:00
Anders Jenbo 4d8ceea32d Types (#395)
* Apply plr_class

* Apply attribute_id

* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
Anders Jenbo 744e225618 Clean up player.cpp (#387) 2018-10-06 00:33:58 +02:00
Anders Jenbo fff0a9161c movie.cpp (#378) 2018-10-03 01:02:16 +02:00
squidcc 51bfa2353b Use quest enum values (#362)
* add/assign enums related to Black Mushroom quests

* plug in more quest enum values
2018-09-29 11:37:54 +02:00
Anders Jenbo 1e40fdf51e Clean PM_DoAttack & CanTalkToMonst (#311)
* Clean PM_DoAttack & CanTalkToMonst

* Fix friendly mode default
2018-09-24 16:21:56 +02:00
Anders Jenbo 7da6f4d08a Clean up PM_DoDeath (#317)
* Clean up PM_DoDeath

* Add enum for dFlags
2018-09-24 08:13:48 +02:00
Anders Jenbo f055f7ba18 Adjust InitMonsterGFX
Fixes #20
2018-09-12 20:51:13 +02:00
Dennis Duda 6792078180 Merge remote-tracking branch 'devilution/master' 2018-09-10 20:44:41 +02:00
galaxyhaxz 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
Anders Jenbo 44b1349529 Clean up CheckMonsterHit 2018-09-09 15:35:39 +02:00
Dennis Duda 0cb555478f Merge remote-tracking branch 'devilution/master' 2018-09-08 19:01:49 +02:00
galaxyhaxz 503e5c1440 Names from DX SDK (#197) 2018-09-08 10:15:26 -05:00
Anders Jenbo 5b1aa609fc Clean up InitMultiView 2018-09-08 17:07:09 +02:00
Anders Jenbo 31637532c9 Redefine nSolidTable as BYTE
Cleans PosOkMissile, CheckNoSolid, SolidLoc and LineClear
2018-09-08 17:07:09 +02:00
Anders Jenbo fe3b0a9d09 Clean up DoEnding 2018-09-06 16:45:39 +02:00
Robin Eklind 5d46965fa2 Fix loading of TRN for unique monsters.
Fixes #31.
2018-09-04 13:48:03 +02:00
Dennis Duda 0b5aef5edb PlaceGroup is now near binary-exact 2018-09-02 19:23:37 +02:00
Dennis Duda 8bd518031b Added LIGHTSIZE constant 2018-09-02 18:57:23 +02:00
Dennis Duda 5de0a5083b PlaceUniqueMonst is now near binary-exact.
It's just the both struct pointers that seem to load a bit differently.
2018-09-02 18:30:29 +02:00
Dennis Duda 0f0bb1c713 PlaceMonster is now binary exact 2018-09-02 14:42:02 +02:00
Dennis Duda 7c75240c1e MonstPlace now binary exact. 2018-09-02 14:29:05 +02:00
Dennis Duda ca0e341de2 Merge remote-tracking branch 'devilution/master' 2018-09-01 14:04:02 +02:00
galaxyhaxz f49117c95a Update monster.cpp 2018-09-01 00:43:12 -05:00
Dennis Duda ad59011c64 Shuffled things around in InitMonster to make the ordering closer to the beta, and making it binary exact 2018-08-29 03:21:04 +02:00
Dennis Duda 16a576cd5b Brought GetLevelMTypes very close to binary exact 2018-08-29 01:47:35 +02:00
Dennis Duda cf81adbd47 Minor adjustments to InitLevelMonsters and AddMonsterType 2018-08-29 01:47:35 +02:00
Dennis Duda 4461f657c3 Made InitMonsterTRN binary exact. 2018-08-29 01:47:35 +02:00
Dennis Duda 2a492cf9c3 Merge remote-tracking branch 'devilution/master' 2018-08-23 18:06:00 +02:00
galaxyhaxz 5ed2336e90 Fix types of animation data (#176) 2018-08-22 23:15:16 -05:00
Dennis Duda 9d31a6e29c Flip check in AddMonsterType to make it near binary perfect 2018-08-20 01:41:34 +02:00