summaryrefslogtreecommitdiff
path: root/src/vault_type.hpp
blob: 9d407d8f7a1f3adc613346c6a97134f44c1da9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "h-basic.h"
#include <string>

/**
 * Vault descriptors.
 */
struct vault_type
{
	std::string data;		/* Vault data */

	byte typ = 0;			/* Vault type */

	byte rat = 0;			/* Vault rating */

	byte hgt = 0;			/* Vault height */
	byte wid = 0;			/* Vault width */

	s16b lvl = 0;                   /* level of special (if any) */
	byte dun_type = 0;              /* Dungeon type where the level will show up */

	s16b mon[10] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };                   /* special monster */
	int item[3] = { 0, 0, 0 };                   /* number of item (usually artifact) */
};