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

#include "h-basic.h"
#include "store_type_fwd.hpp"

/**
 * Town descriptor.
 */
struct town_type
{
	cptr name;
	u32b seed; /* Seed for RNG */
	store_type *store;      /* The stores [max_st_idx] */
	byte numstores;

	byte flags;             /* Town flags */
	/* Left this for the sake of compatibility */
	bool_ stocked;           /* Is the town actualy stocked ? */

	bool_ destroyed;         /* Is the town destroyed? */
};