@@ -48,6 +48,7 @@ typedef pmap< int, int > BlockToZoneMap;
48
48
typedef pmap< int , PosHpr > BlockToPosHprMap;
49
49
typedef pmap< int , LMatrix4f > BlockToTransformMap;
50
50
typedef pmap< int , std::string > SuitBlockMap;
51
+ typedef pmap<int , int > SuitBlockFloorsMap;
51
52
typedef pmap< int , std::string > BlockToTitleMap;
52
53
typedef pmap< int , std::string > BlockToArticleMap;
53
54
typedef pmap< int , std::string > BlockToBuildingTypeMap;
@@ -97,7 +98,8 @@ class EXPCL_TOONTOWN DNAStorage {
97
98
int get_highest_suit_point_index ();
98
99
int remove_suit_point (PT(DNASuitPoint));
99
100
void store_suit_block (const int block_number, const std::string& dept);
100
- void store_block_number (const std::string& block, const std::string& zone_id);
101
+ void store_suit_block_num_floors (const int block_number, const int num_floors);
102
+ void store_block_number (const std::string &block, const std::string &zone_id);
101
103
void store_block_door_pos_hpr (const std::string& block, const LPoint3f& pos, const LPoint3f& hpr);
102
104
void store_block_sign_transform (const std::string& block, const LMatrix4f& mat);
103
105
void store_block_title (const std::string& block, const std::string& title);
@@ -152,6 +154,8 @@ class EXPCL_TOONTOWN DNAStorage {
152
154
bool is_suit_block (int block_number) const ;
153
155
std::string get_suit_block_track (int block_number) const ;
154
156
157
+ int get_num_floors (int block_number) const ;
158
+
155
159
// Block number functions
156
160
int get_zone_from_block_number (int block_number) const ;
157
161
int get_block_number_at (unsigned int index) const ;
@@ -263,6 +267,8 @@ class EXPCL_TOONTOWN DNAStorage {
263
267
BlockToPosHprMap _block_door_pos_hpr_map;
264
268
BlockToTransformMap _block_sign_transform_map;
265
269
SuitBlockMap _suit_blocks_map;
270
+ // _suit_block_num_floors_map is a map of block numbers to the number of floors in that block
271
+ SuitBlockFloorsMap _suit_block_num_floors_map;
266
272
BlockToTitleMap _block_title_map;
267
273
BlockToArticleMap _block_article_map;
268
274
BlockToBuildingTypeMap _block_building_type_map;
0 commit comments