Guest User

Untitled

a guest
Dec 13th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.52 KB | None | 0 0
  1. namespace df {
  2.   struct block_square_event;
  3.   struct flow_info;
  4.   struct plant;
  5.   struct DFHACK_EXPORT map_block {
  6.     df::block_flags flags;
  7.     std::vector<df::block_square_event* > block_events;
  8.     df::block_burrow_link block_burrows;
  9.     int32_t local_feature;
  10.     int32_t global_feature;
  11.     int32_t unk2;
  12.     int32_t unk3; /*!< undef */
  13.     int32_t dsgn_check_cooldown;
  14.     df::tile_designation default_liquid;
  15.     std::vector<int32_t > items;
  16.     std::vector<df::flow_info* > flows;
  17.     int32_t unk7;
  18.     int32_t unk8; /*!< undef */
  19.     std::vector<df::plant* > plants;
  20.     df::coord map_pos;
  21.     df::coord2d region_pos;
  22.     df::tiletype tiletype[16][16];
  23.     df::tile_designation designation[16][16];
  24.     df::tile_occupancy occupancy[16][16];
  25.     int8_t unk9[16][16];
  26.     /**
  27.      * flood; 256*cost for straight, 362*cost for diagonal
  28.      */
  29.     int32_t path_cost[16][16];
  30.     /**
  31.      * flood; sync to path_distance; same value; inc per run; reset to 0 on wraparound
  32.      */
  33.     uint16_t path_tag[16][16];
  34.     /**
  35.      * 0 = non-walkable; same nonzero at A and B = walkable from A to B
  36.      */
  37.     uint16_t walkable[16][16];
  38.     /**
  39.      * 1 at walkable map edge; then +1 per 10 tiles it seems; 0 in dug tunnels
  40.      */
  41.     uint16_t map_edge_distance[16][16];
  42.     uint16_t temperature_1[16][16];
  43.     uint16_t temperature_2[16][16];
  44.     uint16_t unk13[16][16];
  45.     df::tile_liquid_flow liquid_flow[16][16];
  46.     uint8_t region_offset[9];
  47.     static struct_identity _identity;
  48.     map_block();
  49.   };
  50. }
Add Comment
Please, Sign In to add comment