Commit Graph

16 Commits

Author SHA1 Message Date
Anders Jenbo 507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo ec2f95bdf2 Format town files 2018-10-22 02:02:52 +02:00
Anders Jenbo f80de53b14 _iMagical enum (#393)
* _iMagical enum

* Color enum
2018-10-11 08:39:17 +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
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 837119d581 Merge branch 'master' of github.com:diasurgical/devilution into nightly 2018-09-28 23:16:16 +02:00
nomdenom 4bb6bde99b Use sizeof() for memset()
I checked that the sizes do match. (+1 squashed commits)
2018-09-27 19:23:21 -07: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
galaxyhaxz d991f63b16 Fix type of screen_buf_end (#184) 2018-08-27 22:16:26 -05:00
galaxyhaxz 472de22f81 Annotated and fixed World.cpp (#129) 2018-07-07 22:55:56 -05:00
galaxyhaxz 7d06ca540c Fix dpiece_defs, clean up LoadLvlGFX (#105)
Thanks to @MadHed, implements #102
2018-06-29 11:43:32 -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 7651c4775a Update town.cpp 2018-06-10 18:12:15 -05:00
galaxyhaxz bcb3abe96b Add files via upload 2018-06-06 21:27:39 -05:00