Commit graph

46 commits

Author SHA1 Message Date
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +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
8e8bd67ebf Correct ThemeStruct 2018-11-04 23:27:29 +01:00
Anders Jenbo
507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +01:00
Anders Jenbo
20d8934c8f
Merge branch 'nightly' into themes 2018-11-04 20:20:21 +01:00
Anders Jenbo
c0fd7b65fe Correct some BOOL types 2018-11-04 20:13:51 +01:00
Robin Eklind
ee5ffd74f6 Cleanup array literals based on feedback from @galaxyhaxz. 2018-11-01 02:05:14 +01:00
Robin Eklind
f04870114f HoldThemeRooms almost identical.
Uses different registers.
2018-11-01 01:26:38 +01:00
Robin Eklind
8ae9c03b46 PlaceThemeMonsts bin exact. 2018-11-01 01:04:40 +01:00
Robin Eklind
17874b033a Theme_Barrel bin exact 2018-11-01 00:57:01 +01:00
Robin Eklind
7c91a633c2 Theme_Shrine bin exact (already was) 2018-11-01 00:48:19 +01:00
Robin Eklind
354dc82c5f Theme_MonstPit bin exact (already was) 2018-11-01 00:46:20 +01:00
Robin Eklind
8cf5695bbe Theme_SkelRoom almost bin exact.
For some reason, our code gets too optimized, where
common subexpressions are factored out. E.g. if
xp-1 is used inside the if-then and the else body,
then in our version xp-1 is factored out of the if-else
statement and performed directly before the if-condition.

Thus the output code is shorted in our version than the
original.
2018-11-01 00:39:32 +01:00
Robin Eklind
ed32199884 remove check comment 2018-10-31 23:43:52 +01:00
Robin Eklind
fe4ee691ea Theme_Treasure bin exact 2018-10-31 23:29:07 +01:00
Robin Eklind
f09393a5bb Theme_Library almost bin exact
The last if-statement is not perfect.

Also, check value of random instead of using as boolean.
2018-10-31 21:22:10 +01:00
Robin Eklind
5fc7d399ae Theme_Torture bin exact
Also, add brackets to single line if-statements
2018-10-31 19:32:33 +01:00
Robin Eklind
cb92ac7930 Theme_BloodFountain bin exact (already was) 2018-10-31 19:19:53 +01:00
Robin Eklind
8e7872c9f4 Theme_Decap bin exact 2018-10-31 19:18:30 +01:00
Robin Eklind
8f1b1d444b Theme_PurifyingFountain bin exact (already was) 2018-10-31 19:13:30 +01:00
Robin Eklind
5236c196df Theme_ArmorStand bin exact 2018-10-31 19:11:59 +01:00
Robin Eklind
4054ff66df Theme_GoatShrine bin exact 2018-10-31 19:04:54 +01:00
Robin Eklind
45e7dd55e4 Theme_Cauldron bin exact (already was) 2018-10-31 18:09:26 +01:00
Robin Eklind
65a0d1a898 Theme_MurkyFountain bin exact (already was) 2018-10-31 18:06:27 +01:00
Robin Eklind
bd80bfea86 Theme_TearFountain bin exact (already was) 2018-10-31 18:04:26 +01:00
Robin Eklind
ae771f9d41 Theme_BrnCross bin exact 2018-10-31 18:02:37 +01:00
Robin Eklind
e537868029 Theme_WeaponRack bin exact 2018-10-31 17:54:32 +01:00
Robin Eklind
b1e1d24b78 CreateThemeRooms bin exact (take 2)
Simplify CreateThemeRooms, now addresses align
2018-10-31 17:15:23 +01:00
Robin Eklind
c69e54e61b UpdateL4Trans bin exact 2018-10-31 17:11:28 +01:00
Robin Eklind
dff0dc4226 CreateThemeRooms bin exact 2018-10-31 17:04:19 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
2e9475f381 Format quest related files 2018-10-22 21:00:31 +02:00
Anders Jenbo
6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +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
7da6f4d08a Clean up PM_DoDeath (#317)
* Clean up PM_DoDeath

* Add enum for dFlags
2018-09-24 08:13:48 +02: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
a336c38226
Fix random(idx,v) calls (#157) 2018-08-10 22:45:32 -05:00
Stephan Unverwerth
c8af0523ac refactor leveltype to use macros (#103) 2018-06-29 10:40:22 -05:00
Adam Heinermann
87ca6557c3 Changed _oBreak and _oSelFlag to char (#95)
* Changed _oBreak and _oSelFlag to char
2018-06-28 08:53:06 -05:00
galaxyhaxz
dc7a5d1952
Fix ttype signing/size 2018-06-25 14:13: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
eb838b6df2
Fixed last known crashing issue, also themes
This one finally fixes it so theme rooms spawn properly
2018-06-17 05:02:32 -05:00
galaxyhaxz
ade35fb4a4
Fixed decompilation, game can now be played start to finish (#15)
Fix Lazurus seals, dropping items, and Shrine spawning.
2018-06-14 05:53:03 -05:00
galaxyhaxz
bcb3abe96b
Add files via upload 2018-06-06 21:27:39 -05:00