You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
633 B

/**
* @file themes.h
*
* Interface of the theme room placing algorithms.
*/
#pragma once
#include <cstdint>
#include "levels/gendung.h"
#include "objdat.h"
namespace devilution {
struct ThemeStruct {
theme_id ttype;
int16_t ttval;
};
extern int numthemes;
extern bool armorFlag;
extern bool weaponFlag;
extern int zharlib;
extern ThemeStruct themes[MAXTHEMES];
void InitThemes();
/**
* @brief HoldThemeRooms marks theme rooms as populated.
*/
void HoldThemeRooms();
/**
* CreateThemeRooms adds thematic elements to rooms.
*/
void CreateThemeRooms();
} // namespace devilution