Devilution
Diablo devolved - magic behind the 1996 computer game
Functions | Variables
themes.h File Reference

Go to the source code of this file.

Functions

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 ()
 HoldThemeRooms marks theme rooms as populated. More...
 
void PlaceThemeMonsts (int t, int f)
 PlaceThemeMonsts places theme monsters with the specified frequency. More...
 
void Theme_Barrel (int t)
 Theme_Barrel initializes the barrel theme. More...
 
void Theme_Shrine (int t)
 Theme_Shrine initializes the shrine theme. More...
 
void Theme_MonstPit (int t)
 Theme_MonstPit initializes the monster pit theme. More...
 
void Theme_SkelRoom (int t)
 Theme_SkelRoom initializes the skeleton room theme. More...
 
void Theme_Treasure (int t)
 Theme_Treasure initializes the treasure theme. More...
 
void Theme_Library (int t)
 Theme_Library initializes the library theme. More...
 
void Theme_Torture (int t)
 Theme_Torture initializes the torture theme. More...
 
void Theme_BloodFountain (int t)
 Theme_BloodFountain initializes the blood fountain theme. More...
 
void Theme_Decap (int t)
 Theme_Decap initializes the decapitated theme. More...
 
void Theme_PurifyingFountain (int t)
 Theme_PurifyingFountain initializes the purifying fountain theme. More...
 
void Theme_ArmorStand (int t)
 Theme_ArmorStand initializes the armor stand theme. More...
 
void Theme_GoatShrine (int t)
 Theme_GoatShrine initializes the goat shrine theme. More...
 
void Theme_Cauldron (int t)
 Theme_Cauldron initializes the cauldron theme. More...
 
void Theme_MurkyFountain (int t)
 Theme_MurkyFountain initializes the murky fountain theme. More...
 
void Theme_TearFountain (int t)
 Theme_TearFountain initializes the tear fountain theme. More...
 
void Theme_BrnCross (int t)
 Theme_BrnCross initializes the burning cross theme. More...
 
void Theme_WeaponRack (int t)
 Theme_WeaponRack initializes the weapon rack theme. More...
 
void UpdateL4Trans ()
 UpdateL4Trans sets each value of the transparency map to 1. More...
 
void CreateThemeRooms ()
 CreateThemeRooms adds thematic elements to rooms. More...
 

Variables

int numthemes
 
BOOL armorFlag
 
BOOL ThemeGoodIn [4]
 
BOOL weaponFlag
 
BOOL treasureFlag
 
BOOL mFountainFlag
 
BOOL cauldronFlag
 
BOOL tFountainFlag
 
int zharlib
 
int themex
 
int themey
 
int themeVar1
 
ThemeStruct themes [MAXTHEMES]
 
BOOL pFountainFlag
 
BOOL bFountainFlag
 
BOOL bCrossFlag
 
int ThemeGood [4]
 
int trm5x [25]
 
int trm5y [25]
 
int trm3x [9]
 
int trm3y [9]
 

Detailed Description

Interface of the theme room placing algorithms.

Definition in file themes.h.