Commit graph

33 commits

Author SHA1 Message Date
Anders Jenbo
024d99fc9e C compatability from s (#521) 2018-12-29 21:15:33 +01:00
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo
f33898648e Correct MonsterData width property 2018-12-07 23:54:39 +01:00
Anders Jenbo
ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +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
6c92a6ae94 Merge branch 'nightly' of github.com:diasurgical/devilution into gamemenu.cpp 2018-10-21 16:36:42 +02:00
Anders Jenbo
b1b80c957a Clean up dx_create_back_buffer 2018-10-21 16:13:29 +02:00
Anders Jenbo
6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +02:00
Anders Jenbo
456d651f55 Clean up more bools related to sound.cpp 2018-10-18 20:32:44 +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
Robin Eklind
3103da7f1d
Add missing arg to j_lock_buf_priv and j_unlock_buf_priv (#374) 2018-10-06 14:42:52 +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
e05679b1c9 Clean up ProcessPlayers (#319)
* Clean up ProcessPlayers

* Change drawhpflag and drawmanaflag to BOOL
2018-09-23 09:38:34 +02:00
Andrew Dunstan
aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
galaxyhaxz
503e5c1440
Names from DX SDK (#197) 2018-09-08 10:15:26 -05:00
galaxyhaxz
2a377ea876
Fix some struct names and lighting (#190) 2018-09-04 12:31:58 -05:00
galaxyhaxz
d991f63b16
Fix type of screen_buf_end (#184) 2018-08-27 22:16:26 -05:00
galaxyhaxz
b62d9c72c4
Update scrollrt.cpp 2018-08-26 19:01:55 -05:00
galaxyhaxz
5ed2336e90
Fix types of animation data (#176) 2018-08-22 23:15:16 -05:00
galaxyhaxz
5ff8756116
Fix junk (#174) 2018-08-21 23:58:17 -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
472de22f81
Annotated and fixed World.cpp (#129) 2018-07-07 22:55:56 -05:00
Stephan Unverwerth
c8af0523ac refactor leveltype to use macros (#103) 2018-06-29 10:40:22 -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
0db106a5b4
Add support for Visual C++ 5.10 (#12)
* Update stuff
2018-06-14 02:38:27 -05:00
galaxyhaxz
549acaf24c
Update scrollrt.cpp 2018-06-10 18:11:41 -05:00
galaxyhaxz
bcb3abe96b
Add files via upload 2018-06-06 21:27:39 -05:00