qndel
d269ef5045
InitThemes cleanup
7 years ago
qndel
70726ba2aa
Theme_Library cleanup
7 years ago
qndel
6b2097b602
[hellfire] PlaceThemeMonsts bin exact
7 years ago
galaxyhaxz
12b9e8e8f7
Fix logic in themes.cpp
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
7 years ago
Anders Jenbo
d70bd3a1e9
Fix CheckThemeRoom
7 years ago
Anders Jenbo
918a997854
Clean up themes.cpp
7 years ago
galaxyhaxz
87d20ef4d6
themes.cpp bin exact
7 years ago
Anders Jenbo
fcadb84daa
Correct size of ThemeGoodIn
7 years ago
Anders Jenbo
be3526054c
Apply theme_id enums
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Anders Jenbo
9c7001c8e2
Clean up CheckThemeReqs
7 years ago
Anders Jenbo
dade490e9f
Clean up InitThemes
7 years ago
Anders Jenbo
85921ce416
Clean up CheckThemeRoom
7 years ago
Anders Jenbo
66314fe1d3
Themes.cpp ( #989 )
...
* Clean up TFit_Shrine
* Clean up TFit_Obj5
* Clean up SpecialThemeFit
7 years ago
JustAnotherGuid
192e9a93d1
Split up Trigflag array into separate vars
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
ba9cf89a9e
Clean up TFit_Obj3
7 years ago
Anders Jenbo
ad22f6a216
Clean up TFit_GoatShrine
7 years ago
Anders Jenbo
adf3685c1e
Clean up TFit_SkelRoom
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
Anders Jenbo
54c73f740c
clean up redundant code
7 years ago
Anders Jenbo
df61fc06b0
CheckThemeObj3 bin exact
...
This also fixes ThemeStruct and there by most functions in themes.cpp
(again)
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
8e8bd67ebf
Correct ThemeStruct
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
Robin Eklind
ee5ffd74f6
Cleanup array literals based on feedback from @galaxyhaxz .
7 years ago
Robin Eklind
f04870114f
HoldThemeRooms almost identical.
...
Uses different registers.
7 years ago
Robin Eklind
8ae9c03b46
PlaceThemeMonsts bin exact.
7 years ago
Robin Eklind
17874b033a
Theme_Barrel bin exact
7 years ago
Robin Eklind
7c91a633c2
Theme_Shrine bin exact (already was)
7 years ago
Robin Eklind
354dc82c5f
Theme_MonstPit bin exact (already was)
7 years ago
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.
7 years ago
Robin Eklind
ed32199884
remove check comment
7 years ago
Robin Eklind
fe4ee691ea
Theme_Treasure bin exact
7 years ago
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.
7 years ago
Robin Eklind
5fc7d399ae
Theme_Torture bin exact
...
Also, add brackets to single line if-statements
7 years ago
Robin Eklind
cb92ac7930
Theme_BloodFountain bin exact (already was)
7 years ago
Robin Eklind
8e7872c9f4
Theme_Decap bin exact
7 years ago
Robin Eklind
8f1b1d444b
Theme_PurifyingFountain bin exact (already was)
7 years ago
Robin Eklind
5236c196df
Theme_ArmorStand bin exact
7 years ago
Robin Eklind
4054ff66df
Theme_GoatShrine bin exact
7 years ago
Robin Eklind
45e7dd55e4
Theme_Cauldron bin exact (already was)
7 years ago
Robin Eklind
65a0d1a898
Theme_MurkyFountain bin exact (already was)
7 years ago
Robin Eklind
bd80bfea86
Theme_TearFountain bin exact (already was)
7 years ago