OSDN Git Service

Merge pull request #3532 from sikabane-works/release/3.0.0.87-alpha
[hengbandforosx/hengbandosx.git] / src / room / rooms-vault.h
1 #pragma once
2
3 #include <stdint.h>
4 #include <string>
5 #include <vector>
6
7 struct vault_type {
8     vault_type() = default;
9     short idx = 0;
10
11     std::string name = ""; /* Name (offset) */
12     std::string text = ""; /* Text (offset) */
13
14     uint8_t typ = 0; /* Vault type */
15     int rat = 0; /* Vault rating (unused) */
16     int hgt = 0; /* Vault height */
17     int wid = 0; /* Vault width */
18 };
19
20 extern std::vector<vault_type> vaults_info;
21
22 struct dun_data_type;
23 class PlayerType;
24 bool build_type10(PlayerType *player_ptr, dun_data_type *dd_ptr);
25 bool build_fixed_room(PlayerType *player_ptr, dun_data_type *dd_ptr, int typ, bool more_space);