Devilution
Diablo devolved - magic behind the 1996 computer game
themes.h
Go to the documentation of this file.
1 
6 #ifndef __THEMES_H__
7 #define __THEMES_H__
8 
9 extern int numthemes;
10 extern BOOL armorFlag;
11 extern BOOL ThemeGoodIn[4];
12 extern BOOL weaponFlag;
13 extern BOOL treasureFlag;
14 extern BOOL mFountainFlag;
15 extern BOOL cauldronFlag;
16 extern BOOL tFountainFlag;
17 extern int zharlib;
18 extern int themex;
19 extern int themey;
20 extern int themeVar1;
22 extern BOOL pFountainFlag;
23 extern BOOL bFountainFlag;
24 extern BOOL bCrossFlag;
25 
26 BOOL TFit_Shrine(int i);
27 BOOL TFit_Obj5(int t);
28 BOOL TFit_SkelRoom(int t);
29 BOOL TFit_GoatShrine(int t);
30 BOOL CheckThemeObj3(int xp, int yp, int t, int f);
31 BOOL TFit_Obj3(int t);
32 BOOL CheckThemeReqs(int t);
33 BOOL SpecialThemeFit(int i, int t);
34 BOOL CheckThemeRoom(int tv);
35 void InitThemes();
36 void HoldThemeRooms();
37 void PlaceThemeMonsts(int t, int f);
38 void Theme_Barrel(int t);
39 void Theme_Shrine(int t);
40 void Theme_MonstPit(int t);
41 void Theme_SkelRoom(int t);
42 void Theme_Treasure(int t);
43 void Theme_Library(int t);
44 void Theme_Torture(int t);
45 void Theme_BloodFountain(int t);
46 void Theme_Decap(int t);
47 void Theme_PurifyingFountain(int t);
48 void Theme_ArmorStand(int t);
49 void Theme_GoatShrine(int t);
50 void Theme_Cauldron(int t);
51 void Theme_MurkyFountain(int t);
52 void Theme_TearFountain(int t);
53 void Theme_BrnCross(int t);
54 void Theme_WeaponRack(int t);
55 void UpdateL4Trans();
56 void CreateThemeRooms();
57 
58 /* rdata */
59 
60 extern int ThemeGood[4];
61 extern int trm5x[25];
62 extern int trm5y[25];
63 extern int trm3x[9];
64 extern int trm3y[9];
65 
66 #endif /* __THEMES_H__ */
Theme_WeaponRack
void Theme_WeaponRack(int t)
Theme_WeaponRack initializes the weapon rack theme.
Definition: themes.cpp:959
themex
int themex
Definition: themes.cpp:19
TFit_Obj5
BOOL TFit_Obj5(int t)
Definition: themes.cpp:102
themes
ThemeStruct themes[MAXTHEMES]
Definition: themes.cpp:22
CheckThemeReqs
BOOL CheckThemeReqs(int t)
Definition: themes.cpp:220
numthemes
int numthemes
Definition: themes.cpp:10
Theme_MurkyFountain
void Theme_MurkyFountain(int t)
Theme_MurkyFountain initializes the murky fountain theme.
Definition: themes.cpp:905
CreateThemeRooms
void CreateThemeRooms()
CreateThemeRooms adds thematic elements to rooms.
Definition: themes.cpp:1003
CheckThemeRoom
BOOL CheckThemeRoom(int tv)
Definition: themes.cpp:355
TFit_GoatShrine
BOOL TFit_GoatShrine(int t)
Definition: themes.cpp:168
Theme_Decap
void Theme_Decap(int t)
Theme_Decap initializes the decapitated theme.
Definition: themes.cpp:802
PlaceThemeMonsts
void PlaceThemeMonsts(int t, int f)
PlaceThemeMonsts places theme monsters with the specified frequency.
Definition: themes.cpp:493
weaponFlag
BOOL weaponFlag
Definition: themes.cpp:13
TFit_Shrine
BOOL TFit_Shrine(int i)
Definition: themes.cpp:57
ThemeGoodIn
BOOL ThemeGoodIn[4]
Definition: themes.cpp:12
trm3y
int trm3y[9]
Definition: themes.cpp:51
InitThemes
void InitThemes()
Definition: themes.cpp:397
Theme_Library
void Theme_Library(int t)
Theme_Library initializes the library theme.
Definition: themes.cpp:718
Theme_Cauldron
void Theme_Cauldron(int t)
Theme_Cauldron initializes the cauldron theme.
Definition: themes.cpp:891
TFit_Obj3
BOOL TFit_Obj3(int t)
Definition: themes.cpp:202
Theme_ArmorStand
void Theme_ArmorStand(int t)
Theme_ArmorStand initializes the armor stand theme.
Definition: themes.cpp:841
Theme_Torture
void Theme_Torture(int t)
Theme_Torture initializes the torture theme.
Definition: themes.cpp:764
Theme_BloodFountain
void Theme_BloodFountain(int t)
Theme_BloodFountain initializes the blood fountain theme.
Definition: themes.cpp:788
trm5x
int trm5x[25]
Definition: themes.cpp:29
bCrossFlag
BOOL bCrossFlag
Definition: themes.cpp:25
cauldronFlag
BOOL cauldronFlag
Definition: themes.cpp:16
tFountainFlag
BOOL tFountainFlag
Definition: themes.cpp:17
Theme_Shrine
void Theme_Shrine(int t)
Theme_Shrine initializes the shrine theme.
Definition: themes.cpp:551
TFit_SkelRoom
BOOL TFit_SkelRoom(int t)
Definition: themes.cpp:150
HoldThemeRooms
void HoldThemeRooms()
HoldThemeRooms marks theme rooms as populated.
Definition: themes.cpp:464
Theme_PurifyingFountain
void Theme_PurifyingFountain(int t)
Theme_PurifyingFountain initializes the purifying fountain theme.
Definition: themes.cpp:827
armorFlag
BOOL armorFlag
Definition: themes.cpp:11
pFountainFlag
BOOL pFountainFlag
Definition: themes.cpp:23
Theme_Treasure
void Theme_Treasure(int t)
Theme_Treasure initializes the treasure theme.
Definition: themes.cpp:680
CheckThemeObj3
BOOL CheckThemeObj3(int xp, int yp, int t, int f)
Definition: themes.cpp:182
SpecialThemeFit
BOOL SpecialThemeFit(int i, int t)
Definition: themes.cpp:273
Theme_SkelRoom
void Theme_SkelRoom(int t)
Theme_SkelRoom initializes the skeleton room theme.
Definition: themes.cpp:610
mFountainFlag
BOOL mFountainFlag
Definition: themes.cpp:15
trm5y
int trm5y[25]
Definition: themes.cpp:37
treasureFlag
BOOL treasureFlag
Definition: themes.cpp:14
Theme_MonstPit
void Theme_MonstPit(int t)
Theme_MonstPit initializes the monster pit theme.
Definition: themes.cpp:573
zharlib
int zharlib
Definition: themes.cpp:18
ThemeStruct
Definition: structs.h:1160
MAXTHEMES
#define MAXTHEMES
Definition: defs.h:36
trm3x
int trm3x[9]
Definition: themes.cpp:45
themey
int themey
Definition: themes.cpp:20
themeVar1
int themeVar1
Definition: themes.cpp:21
UpdateL4Trans
void UpdateL4Trans()
UpdateL4Trans sets each value of the transparency map to 1.
Definition: themes.cpp:987
bFountainFlag
BOOL bFountainFlag
Definition: themes.cpp:24
Theme_GoatShrine
void Theme_GoatShrine(int t)
Theme_GoatShrine initializes the goat shrine theme.
Definition: themes.cpp:871
ThemeGood
int ThemeGood[4]
Definition: themes.cpp:27
Theme_Barrel
void Theme_Barrel(int t)
Theme_Barrel initializes the barrel theme.
Definition: themes.cpp:523
Theme_TearFountain
void Theme_TearFountain(int t)
Theme_TearFountain initializes the tear fountain theme.
Definition: themes.cpp:919
Theme_BrnCross
void Theme_BrnCross(int t)
Theme_BrnCross initializes the burning cross theme.
Definition: themes.cpp:933