|
|
|
|
//HEADER_GOES_HERE
|
|
|
|
|
#ifndef __THEMES_H__
|
|
|
|
|
#define __THEMES_H__
|
|
|
|
|
|
|
|
|
|
extern int numthemes;
|
|
|
|
|
extern BOOL armorFlag;
|
|
|
|
|
extern BOOL ThemeGoodIn[4];
|
|
|
|
|
extern BOOL weaponFlag;
|
|
|
|
|
extern BOOL treasureFlag;
|
|
|
|
|
extern BOOL mFountainFlag;
|
|
|
|
|
extern BOOL cauldronFlag;
|
|
|
|
|
extern BOOL tFountainFlag;
|
|
|
|
|
extern int zharlib;
|
|
|
|
|
extern int themex;
|
|
|
|
|
extern int themey;
|
|
|
|
|
extern int themeVar1;
|
|
|
|
|
extern ThemeStruct themes[MAXTHEMES];
|
|
|
|
|
extern BOOL pFountainFlag;
|
|
|
|
|
extern BOOL bFountainFlag;
|
|
|
|
|
extern BOOL bCrossFlag;
|
|
|
|
|
|
|
|
|
|
BOOL TFit_Shrine(int i);
|
|
|
|
|
BOOL TFit_Obj5(int t);
|
|
|
|
|
BOOL TFit_SkelRoom(int t);
|
|
|
|
|
BOOL TFit_GoatShrine(int t);
|
|
|
|
|
BOOL CheckThemeObj3(int xp, int yp, int t, int f);
|
|
|
|
|
BOOL TFit_Obj3(int t);
|
|
|
|
|
BOOL CheckThemeReqs(int t);
|
|
|
|
|
BOOL SpecialThemeFit(int i, int t);
|
|
|
|
|
BOOL CheckThemeRoom(int tv);
|
|
|
|
|
void InitThemes();
|
|
|
|
|
void HoldThemeRooms();
|
|
|
|
|
void PlaceThemeMonsts(int t, int f);
|
|
|
|
|
void Theme_Barrel(int t);
|
|
|
|
|
void Theme_Shrine(int t);
|
|
|
|
|
void Theme_MonstPit(int t);
|
|
|
|
|
void Theme_SkelRoom(int t);
|
|
|
|
|
void Theme_Treasure(int t);
|
|
|
|
|
void Theme_Library(int t);
|
|
|
|
|
void Theme_Torture(int t);
|
|
|
|
|
void Theme_BloodFountain(int t);
|
|
|
|
|
void Theme_Decap(int t);
|
|
|
|
|
void Theme_PurifyingFountain(int t);
|
|
|
|
|
void Theme_ArmorStand(int t);
|
|
|
|
|
void Theme_GoatShrine(int t);
|
|
|
|
|
void Theme_Cauldron(int t);
|
|
|
|
|
void Theme_MurkyFountain(int t);
|
|
|
|
|
void Theme_TearFountain(int t);
|
|
|
|
|
void Theme_BrnCross(int t);
|
|
|
|
|
void Theme_WeaponRack(int t);
|
|
|
|
|
void UpdateL4Trans();
|
|
|
|
|
void CreateThemeRooms();
|
|
|
|
|
|
|
|
|
|
/* rdata */
|
|
|
|
|
|
|
|
|
|
extern int ThemeGood[4];
|
|
|
|
|
extern int trm5x[25];
|
|
|
|
|
extern int trm5y[25];
|
|
|
|
|
extern int trm3x[9];
|
|
|
|
|
extern int trm3y[9];
|
|
|
|
|
|
|
|
|
|
#endif /* __THEMES_H__ */
|