diff --git a/library/include/modules/Maps.h b/library/include/modules/Maps.h index 57c84248d..76006b2e8 100644 --- a/library/include/modules/Maps.h +++ b/library/include/modules/Maps.h @@ -144,14 +144,14 @@ typedef int16_t t_blockmaterials [16][16]; * 16x16 array of designation flags * \ingroup grp_maps */ -typedef df::tile_designation designations40d [16][16]; typedef df::tile_designation t_designation; +typedef t_designation designations40d [16][16]; /** * 16x16 array of occupancy flags * \ingroup grp_maps */ -typedef df::tile_occupancy occupancies40d [16][16]; typedef df::tile_occupancy t_occupancy; +typedef t_occupancy occupancies40d [16][16]; /** * array of 16 biome indexes valid for the block * \ingroup grp_maps @@ -251,7 +251,7 @@ extern DFHACK_EXPORT bool ReadFeatures(uint32_t x, uint32_t y, uint32_t z, t_fea /** * Get pointers to features of an already read block */ -extern DFHACK_EXPORT bool ReadFeatures(mapblock40d * block, t_feature * local, t_feature * global); +extern DFHACK_EXPORT bool ReadFeatures(mapblock40d * block,t_feature * local, t_feature * global); /** * Read a specific global or local feature directly @@ -306,8 +306,7 @@ extern DFHACK_EXPORT bool SetBlockLocalFeature(uint32_t blockx, uint32_t blocky, extern DFHACK_EXPORT bool SetBlockGlobalFeature(uint32_t blockx, uint32_t blocky, uint32_t blockz, int32_t global = -1); /// copy region offsets of a block - used for determining layer stone matgloss -extern DFHACK_EXPORT bool ReadRegionOffsets(uint32_t blockx, uint32_t blocky, uint32_t blockz, - biome_indices40d *buffer); +extern DFHACK_EXPORT bool ReadRegionOffsets(uint32_t blockx, uint32_t blocky, uint32_t blockz, biome_indices40d *buffer); /// sorts the block event vector into multiple vectors by type /// mineral veins, what's under ice, blood smears and mud