Lines Matching refs:terrain_id

101 					terrain_res[get_loc(x,y)->terrain_id]->average_type );  in gen_rocks()
108 if( rockInfo->valid_terrain(terrain_res[get_loc(x2, y)->terrain_id]->average_type) in gen_rocks()
109 && rockInfo->valid_terrain(terrain_res[get_loc(x, y2)->terrain_id]->average_type) in gen_rocks()
110 && rockInfo->valid_terrain(terrain_res[get_loc(x2,y2)->terrain_id]->average_type)) in gen_rocks()
126 terrain_res[get_loc(sx,sy)->terrain_id]->average_type ); in gen_rocks()
133 if( rock2Info->valid_terrain(terrain_res[get_loc(sx2,sy)->terrain_id]->average_type) in gen_rocks()
134 && rock2Info->valid_terrain(terrain_res[get_loc(sx,sy2)->terrain_id]->average_type) in gen_rocks()
135 && rock2Info->valid_terrain(terrain_res[get_loc(sx2,sy2)->terrain_id]->average_type) ) in gen_rocks()
157 terrain_res[get_loc(x,y)->terrain_id]->average_type ); in gen_rocks()
164 if( rockInfo->valid_terrain(terrain_res[get_loc(x2, y)->terrain_id]->average_type) in gen_rocks()
165 && rockInfo->valid_terrain(terrain_res[get_loc(x, y2)->terrain_id]->average_type) in gen_rocks()
166 && rockInfo->valid_terrain(terrain_res[get_loc(x2,y2)->terrain_id]->average_type)) in gen_rocks()
185 terrain_res[get_loc(x,y)->terrain_id]->average_type ); in gen_rocks()
192 if( rockInfo->valid_terrain(terrain_res[get_loc(x2, y)->terrain_id]->average_type) in gen_rocks()
193 && rockInfo->valid_terrain(terrain_res[get_loc(x, y2)->terrain_id]->average_type) in gen_rocks()
194 && rockInfo->valid_terrain(terrain_res[get_loc(x2,y2)->terrain_id]->average_type)) in gen_rocks()
284 terrain_res[get_loc(x,y)->terrain_id]->average_type ); in gen_dirt()
291 if( rockInfo->valid_terrain(terrain_res[get_loc(x2, y)->terrain_id]->average_type) in gen_dirt()
292 && rockInfo->valid_terrain(terrain_res[get_loc(x, y2)->terrain_id]->average_type) in gen_dirt()
293 && rockInfo->valid_terrain(terrain_res[get_loc(x2,y2)->terrain_id]->average_type)) in gen_dirt()
309 terrain_res[get_loc(sx,sy)->terrain_id]->average_type ); in gen_dirt()
316 if( rock2Info->valid_terrain(terrain_res[get_loc(sx2,sy)->terrain_id]->average_type) in gen_dirt()
317 && rock2Info->valid_terrain(terrain_res[get_loc(sx,sy2)->terrain_id]->average_type) in gen_dirt()
318 && rock2Info->valid_terrain(terrain_res[get_loc(sx2,sy2)->terrain_id]->average_type) ) in gen_dirt()
340 terrain_res[get_loc(x,y)->terrain_id]->average_type ); in gen_dirt()
347 if( rockInfo->valid_terrain(terrain_res[get_loc(x2, y)->terrain_id]->average_type) in gen_dirt()
348 && rockInfo->valid_terrain(terrain_res[get_loc(x, y2)->terrain_id]->average_type) in gen_dirt()
349 && rockInfo->valid_terrain(terrain_res[get_loc(x2,y2)->terrain_id]->average_type)) in gen_dirt()
368 terrain_res[get_loc(x,y)->terrain_id]->average_type ); in gen_dirt()
375 if( rockInfo->valid_terrain(terrain_res[get_loc(x2, y)->terrain_id]->average_type) in gen_dirt()
376 && rockInfo->valid_terrain(terrain_res[get_loc(x, y2)->terrain_id]->average_type) in gen_dirt()
377 && rockInfo->valid_terrain(terrain_res[get_loc(x2,y2)->terrain_id]->average_type)) in gen_dirt()