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
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
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
Robin Eklind
ae771f9d41
Theme_BrnCross bin exact
7 years ago
Robin Eklind
e537868029
Theme_WeaponRack bin exact
7 years ago
Robin Eklind
b1e1d24b78
CreateThemeRooms bin exact (take 2)
...
Simplify CreateThemeRooms, now addresses align
7 years ago
Robin Eklind
c69e54e61b
UpdateL4Trans bin exact
7 years ago
Robin Eklind
dff0dc4226
CreateThemeRooms bin exact
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
2e9475f381
Format quest related files
8 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago