Searched refs:target_grid_offset (Results 1 – 2 of 2) sorted by relevance
150 int target_grid_offset = f->grid_offset + map_grid_direction_delta(f->direction); in advance_route_tile() local152 if (!map_terrain_is(target_grid_offset, TERRAIN_WATER)) { in advance_route_tile()156 if (!map_routing_noncitizen_is_passable(target_grid_offset)) { in advance_route_tile()158 } else if (map_routing_is_destroyable(target_grid_offset)) { in advance_route_tile()161 switch (map_routing_get_destroyable(target_grid_offset)) { in advance_route_tile()188 if (!map_routing_is_wall_passable(target_grid_offset)) { in advance_route_tile()191 } else if (map_terrain_is(target_grid_offset, TERRAIN_ROAD | TERRAIN_ACCESS_RAMP)) { in advance_route_tile()192 if (roaming_enabled && map_terrain_is(target_grid_offset, TERRAIN_BUILDING)) { in advance_route_tile()198 } else if (map_terrain_is(target_grid_offset, TERRAIN_BUILDING)) { in advance_route_tile()199 int type = building_get(map_building_at(target_grid_offset))->type; in advance_route_tile()[all …]
200 int target_grid_offset = f->grid_offset + map_grid_direction_delta(f->direction); in advance_route_tile() local202 if (!map_terrain_is(target_grid_offset, TERRAIN_WATER)) { in advance_route_tile()206 if (!map_routing_noncitizen_is_passable(target_grid_offset)) { in advance_route_tile()208 } else if (map_routing_is_destroyable(target_grid_offset)) { in advance_route_tile()211 switch (map_routing_get_destroyable(target_grid_offset)) { in advance_route_tile()214 building *b = building_get(map_building_at(target_grid_offset)); in advance_route_tile()248 if (!map_routing_is_wall_passable(target_grid_offset)) { in advance_route_tile()253 building* b = building_get(map_building_at(target_grid_offset)); in advance_route_tile()266 } else if (map_terrain_is(target_grid_offset, TERRAIN_BUILDING)) { in advance_route_tile()267 int type = building_get(map_building_at(target_grid_offset))->type; in advance_route_tile()[all …]