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.
30 lines
490 B
30 lines
490 B
/** |
|
* @file themes.h |
|
* |
|
* Interface of the theme room placing algorithms. |
|
*/ |
|
#pragma once |
|
|
|
#include <cstdint> |
|
|
|
#include "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(); |
|
void HoldThemeRooms(); |
|
void CreateThemeRooms(); |
|
|
|
} // namespace devilution
|
|
|