#pragma once #include "h-basic.h" #include "seed.hpp" #include "store_type_fwd.hpp" #include /** * Town descriptor. */ struct town_type { cptr name = nullptr; seed_t seed = seed_t::system(); /* Seed for RNG */ std::vector 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? */ };