equal
deleted
inserted
replaced
232 return _tile_type_procs[ti.type]->get_slope_z_proc(&ti); |
232 return _tile_type_procs[ti.type]->get_slope_z_proc(&ti); |
233 } |
233 } |
234 |
234 |
235 // direction=true: check for foundation in east and south corner |
235 // direction=true: check for foundation in east and south corner |
236 // direction=false: check for foundation in west and south corner |
236 // direction=false: check for foundation in west and south corner |
237 bool hasFoundation(TileInfo *ti, bool direction) |
237 static bool hasFoundation(TileInfo *ti, bool direction) |
238 { |
238 { |
239 bool south, other; // southern corner and east/west corner |
239 bool south, other; // southern corner and east/west corner |
240 uint slope = _tile_type_procs[ti->type]->get_slope_tileh_proc(ti); |
240 uint slope = _tile_type_procs[ti->type]->get_slope_tileh_proc(ti); |
241 uint tileh = ti->tileh; |
241 uint tileh = ti->tileh; |
242 |
242 |