Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
2019-05-06 23:07:59 +01:00
Anders Jenbo
d70bd3a1e9
Fix CheckThemeRoom
2019-05-04 22:44:47 +02:00
Anders Jenbo
918a997854
Clean up themes.cpp
2019-05-02 00:16:46 +01:00
galaxyhaxz
87d20ef4d6
themes.cpp bin exact
2019-04-30 05:08:09 +02:00
Anders Jenbo
fcadb84daa
Correct size of ThemeGoodIn
2019-04-26 19:16:54 +02:00
Robin Eklind
d59b8dfafa
Merge pull request #996 from diasurgical/CheckThemeReqs
...
Clean up CheckThemeReqs
2019-04-23 03:44:04 +09:00
Anders Jenbo
be3526054c
Apply theme_id enums
2019-04-22 19:18:02 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
Anders Jenbo
9c7001c8e2
Clean up CheckThemeReqs
2019-04-21 17:16:54 +02:00
Anders Jenbo
dade490e9f
Clean up InitThemes
2019-04-21 03:11:51 +02:00
Anders Jenbo
85921ce416
Clean up CheckThemeRoom
2019-04-21 01:55:47 +02:00
Anders Jenbo
66314fe1d3
Themes.cpp ( #989 )
...
* Clean up TFit_Shrine
* Clean up TFit_Obj5
* Clean up SpecialThemeFit
2019-04-20 11:56:34 +02:00
JustAnotherGuid
192e9a93d1
Split up Trigflag array into separate vars
2019-04-13 17:23:41 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Anders Jenbo
ba9cf89a9e
Clean up TFit_Obj3
2019-04-06 02:46:48 +02:00
Anders Jenbo
ad22f6a216
Clean up TFit_GoatShrine
2019-04-06 02:41:26 +02:00
Anders Jenbo
adf3685c1e
Clean up TFit_SkelRoom
2019-04-06 02:37:37 +02:00
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
2019-04-02 14:19:28 -05:00
Anders Jenbo
54c73f740c
clean up redundant code
2019-03-30 17:14:16 +01:00
Anders Jenbo
df61fc06b0
CheckThemeObj3 bin exact
...
This also fixes ThemeStruct and there by most functions in themes.cpp
(again)
2019-03-30 17:14:05 +01:00
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