Commit graph

90 commits

Author SHA1 Message Date
Anders Jenbo
cbdeae79e8 Fix M_DoFadeout (#462) 2018-11-13 02:30:30 +01:00
Anders Jenbo
507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +01:00
Anders Jenbo
c0fd7b65fe Correct some BOOL types 2018-11-04 20:13:51 +01:00
galaxyhaxz
2715a80e93 Change struct member mMode to mTrnName 2018-11-04 19:59:27 +01:00
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.
2018-10-31 15:26:03 +01:00
Anders Jenbo
e340ce2241 Monster.cpp (#442)
* Clean M_UpdateLeader

* Clean up M_DoRSpAttack

* Add definition for mFlags

Fixes #416
2018-10-27 20:47:43 +02:00
Anders Jenbo
ef74b2cbaf Clean up M_DoFadein, M_DoFadeout and M_DoGotHit 2018-10-27 18:00:19 +02:00
Anders Jenbo
812edf3998 Clean up M_DoAttack 2018-10-27 17:46:10 +02:00
Anders Jenbo
2ad1c30170 Clean up M_DoRAttack 2018-10-27 17:46:10 +02:00
Anders Jenbo
0fb5c0bf9c Additional tab indentation 2018-10-27 17:38:40 +02:00
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table 2018-10-27 17:20:15 +02:00
Anders Jenbo
b162e22ae7 monster.cpp (#436)
* Clean up M_StartHeal and M_ChangeLightOffset

* Clean up M_DoStand

* Clean up M_DoSAttack

* Clean up M_DoWalk*

* Clean up M_TryM2MHit
2018-10-27 16:07:39 +02:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
40350c3b70 Fix NULL check on MType (#439)
* Fix NULL check on MType

* Fix MT_BLINK teleport
2018-10-25 11:55:18 +02:00
Anders Jenbo
48416ed0d7 Format monster.cpp 2018-10-22 03:58:57 +02:00
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