Commit graph

33 commits

Author SHA1 Message Date
Anders Jenbo
9b590ea36a Zero check for currlevel 2018-10-21 05:27:59 +02:00
Andrew Dunstan
47244b9f3c clean all On_* functions 2018-10-20 14:42:59 +02:00
Andrew Dunstan
c2fbc0e661 player_mask -> pmask 2018-10-18 02:37:33 +02:00
Andrew Dunstan
1430acc47f msg.cpp cleanup part #0 2018-10-18 02:37:33 +02:00
Andrew Dunstan
c2d49ff75f add missing va_end "calls" 2018-10-15 20:39:06 +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
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
Anders Jenbo
744e225618 Clean up player.cpp (#387) 2018-10-06 00:33:58 +02:00
squidcc
4ed6d83265 fix regression in DrawSpellList() that caused only the first 1/4 spells to be drawn (#355)
fix places where sTownSpell was still being cast to DWORD
change SpellData::sTargeted to BOOL, fix spelldata[] definition to use TRUE/FALSE
2018-09-28 10:46:36 +02:00
Anders Jenbo
b7dfcf5ed5 Clean up CheckPlrSpell (#339) 2018-09-28 01:49:17 +02:00
galaxyhaxz
cf10dadb91 Correct function names in "encrypt.cpp" (#344) 2018-09-27 00:49:30 +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
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
e05679b1c9 Clean up ProcessPlayers (#319)
* Clean up ProcessPlayers

* Change drawhpflag and drawmanaflag to BOOL
2018-09-23 09:38:34 +02:00
Anders Jenbo
91eecec686 WIP PlrHitPlr 2018-09-17 21:37:55 +02:00
Anders Jenbo
ca2271bf90 Clean up StartNewLvl 2018-09-15 15:17:41 +02:00
Anders Jenbo
6e50ec5337 Work on LoadPlrGFX 2018-09-12 20:28:09 +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
8525142fa8 Clean up ModifyPlrDex 2018-09-09 15:23:58 +02:00
Dennis Duda
a061f6d6f0 Cleaned up CheckInvSwap (0x3B6 → 0x390, orig: 0x373)
Pretty close to the original binary except for the first loop, which generates differently. (TODO comment added) There are also some questionable double address calculations, which hopfully clear up when the loop is fixed as well.

Also added enums `inv_body_loc` and `inv_xy_slot` to clean up a lot of magic numbers.
2018-08-28 16:40:49 +02:00
galaxyhaxz
d49bdeaae6
Fix portals/quests in multiplayer 2018-08-23 02:32:36 -05:00
galaxyhaxz
6fbb559a30
Fix sgJunk array (#177) 2018-08-23 01:20:25 -05:00
galaxyhaxz
5ed2336e90
Fix types of animation data (#176) 2018-08-22 23:15:16 -05:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxz
775ae59e18
Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
dde68ff89e
Add files via upload 2018-06-06 21:25:54 -05:00