blob: 0b903138a6c3c5ea905c42fab674395c649ea291 (
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 "seed.hpp"
#include "store_type_fwd.hpp"
#include <vector>
/**
* Town descriptor.
*/
struct town_type
{
cptr name = nullptr;
seed_t seed = seed_t::system(); /* Seed for RNG */
std::vector<store_type> store; /* The stores [max_st_idx] */
byte flags = 0; /* Town flags */
bool_ stocked = FALSE; /* Is the town actualy stocked ? */
bool_ destroyed = FALSE; /* Is the town destroyed? */
};
|