Commit Graph

155 Commits

Author SHA1 Message Date
Anders Jenbo f31942d801 Level 16 message bug 2018-11-08 20:58:31 +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 b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo 6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +02:00
Anders Jenbo c24569205d Format compleated files 2018-10-19 03:02:43 +02:00
Anders Jenbo f1c8439c64 Change setlvlnum to BYTE 2018-10-18 20:14:58 +02:00
Andrew Dunstan 1430acc47f msg.cpp cleanup part #0 2018-10-18 02:37:33 +02:00
Anders Jenbo 48a1035d4a Remove unused varialbes 2018-10-12 11:04:23 +02:00
Anders Jenbo 4fa5baf291 Apply enum to _pSplLvl 2018-10-11 16:08:47 +02:00
squidcc 3f7055387d fix _px/_py being used instead of _pxoff/_pyoff (#397) 2018-10-08 14:17:37 +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 411fa9f24a Add enumds for _pgfxnum and fully use inv_body_loc (#392)
* Add enumds for _pgfxnum and fully use inv_body_loc

* _iIdentified is BOOL

* _pgfxnum
2018-10-07 11:04:22 +02:00
Robin Eklind 7515655efb Run format.sh 2018-10-06 22:52:58 +02:00
Anders Jenbo 46897e9c6e Correct a couple of values (#389) 2018-10-06 16:46:52 +02:00
Anders Jenbo 744e225618 Clean up player.cpp (#387) 2018-10-06 00:33:58 +02:00
squidcc 7c1d00d15c Finish cleaning player.cpp (#365)
* clean RespawnDeadItem
clean PM_ChangeLightOffset
Clean PlrDeadItem (exact)

* fix typo in PlrDeadItem

* Fix PM_ChangeLightOff (exact)

* Fix remaning issues with RespawnDeadItem
2018-10-05 19:42:03 +02:00
Anders Jenbo f269f4561b PlaySFX_priv, stream_play (#371)
* PlaySFX_priv, stream_play

* Fix build warnings in player.cpp

* Clean up FreeMonsterSnd

* Added more enums and defines for sound and effects.
2018-10-02 00:02:12 +02:00
Anders Jenbo 489c25ceac RemovePlrFromMap (#352)
* RemovePlrFromMap

* Move PM_DoNewLvl to the correct position
2018-09-29 11:30:03 +02:00
Andrew Dunstan ae703ea7b0 make PosOkPlayer bin exact 2018-09-29 14:49:23 +10:00
Anders Jenbo 465f2a56bd Clean up InitPlrGFXMem (#341) 2018-09-28 02:34:49 +02:00
Anders Jenbo b7dfcf5ed5 Clean up CheckPlrSpell (#339) 2018-09-28 01:49:17 +02:00
Anders Jenbo d0f620f0b2 Clean up CreatePlayer (#343) 2018-09-28 01:47:30 +02:00
Anders Jenbo ff2f0bf8ab Clean up ProcessPlayers (#347) 2018-09-27 16:40:07 +02:00
Anders Jenbo a8e6691f54 RestartTownLvl (#348) 2018-09-27 16:35:36 +02:00
Anders Jenbo 8e2360d462 Clean up PM_DoGotHit (#345) 2018-09-27 01:47:19 +02:00
Anders Jenbo 5931fbe1f9 Enum (#340)
* Use MAX_PLRS in player.cpp

* Use WALK_NONE in player.cpp

* CMD_WALKXY
2018-09-27 00:52:30 +02:00
Anders Jenbo d62683c891 Clean up MakePlrPath (#321) 2018-09-26 15:29:41 +02:00
Anders Jenbo 0c667ff9b8 Clean PosOkPlayer (#320) 2018-09-26 11:59:58 +02:00
Anders Jenbo ed2626e6d8 Clean up CheckStats (#335) 2018-09-25 20:46:25 +02:00
Anders Jenbo 9bd3b4189e Clean up CheckNewPath (#332) 2018-09-25 20:46:09 +02:00
Andrew Dunstan 71cae5f8c2 add enums for known actions (to be performed in response to commands) 2018-09-25 10:14:12 +10:00
Anders Jenbo 5cea7f9f95 Clean up PlrHitMonst (#305) 2018-09-24 17:27:58 +02:00
Robin Eklind d5f9e097cc Merge branch 'PlayDungMsgs' into nightly 2018-09-24 17:07:29 +02:00
Anders Jenbo d8c4bcab5c Clean up DropHalfPlayersGold (#330) 2018-09-24 16:50:45 +02:00
Anders Jenbo f97bce4df8 Clean up SyncPlrAnim (#322) 2018-09-24 16:38:48 +02:00
Anders Jenbo 3ebeb2366a Clean PM_DoGotHit & ArmorDur (#316)
* Clean PM_DoGotHit & ArmorDur

* Add DUR_INDESTRUCTIBLE define
2018-09-24 16:24:00 +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
Robin Eklind 23f31ec724 Merge branch 'AJenbo-StartPlayerKill' into nightly 2018-09-24 16:14:53 +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 5d2130e52e Confirm itemavail size via beta 2018-09-23 16:58:23 +02:00
Anders Jenbo b5e2f74f65 Merge branch 'nightly' of github.com:diasurgical/devilution into StartPlayerKill 2018-09-23 16:47:46 +02:00
Anders Jenbo cd79931ed4 Add iCurs enum 2018-09-23 16:46:00 +02:00
Anders Jenbo b4e9727377 Add dungeon_message enum 2018-09-23 15:35:02 +02:00
Anders Jenbo 5eb1daea82 Clean up SyncInitPlrPos (#323) 2018-09-23 10:09:06 +02:00
Anders Jenbo 454705ea93 Clean up ModifyPlr* (#324) 2018-09-23 09:59:40 +02:00
Anders Jenbo db77557dce ValidatePlayer (#318)
* ValidatePlayer

* Add MAX_SPELLS define
2018-09-23 09:40:05 +02:00
Anders Jenbo e05679b1c9 Clean up ProcessPlayers (#319)
* Clean up ProcessPlayers

* Change drawhpflag and drawmanaflag to BOOL
2018-09-23 09:38:34 +02:00
Anders Jenbo 3ef16c0ad7 Small clean ups 2018-09-23 09:30:42 +02:00
Anders Jenbo 035d34293a Clean up PlayDungMsgs 2018-09-23 03:14:25 +02:00