Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace df {
- struct block_square_event;
- struct flow_info;
- struct plant;
- struct DFHACK_EXPORT map_block {
- df::block_flags flags;
- std::vector<df::block_square_event* > block_events;
- df::block_burrow_link block_burrows;
- int32_t local_feature;
- int32_t global_feature;
- int32_t unk2;
- int32_t unk3; /*!< undef */
- int32_t dsgn_check_cooldown;
- df::tile_designation default_liquid;
- std::vector<int32_t > items;
- std::vector<df::flow_info* > flows;
- int32_t unk7;
- int32_t unk8; /*!< undef */
- std::vector<df::plant* > plants;
- df::coord map_pos;
- df::coord2d region_pos;
- df::tiletype tiletype[16][16];
- df::tile_designation designation[16][16];
- df::tile_occupancy occupancy[16][16];
- int8_t unk9[16][16];
- /**
- * flood; 256*cost for straight, 362*cost for diagonal
- */
- int32_t path_cost[16][16];
- /**
- * flood; sync to path_distance; same value; inc per run; reset to 0 on wraparound
- */
- uint16_t path_tag[16][16];
- /**
- * 0 = non-walkable; same nonzero at A and B = walkable from A to B
- */
- uint16_t walkable[16][16];
- /**
- * 1 at walkable map edge; then +1 per 10 tiles it seems; 0 in dug tunnels
- */
- uint16_t map_edge_distance[16][16];
- uint16_t temperature_1[16][16];
- uint16_t temperature_2[16][16];
- uint16_t unk13[16][16];
- df::tile_liquid_flow liquid_flow[16][16];
- uint8_t region_offset[9];
- static struct_identity _identity;
- map_block();
- };
- }
Add Comment
Please, Sign In to add comment