#ifndef terrain_h #define terrain_h struct chunk_struct; struct chunk_position_struct; #define grass_height -1 /** * Iterates through every coordinate in a chunk, calculating terrain height * and cave presence to populate the block data array. */ void generate_terrain(struct chunk_struct *chunk, struct chunk_position_struct* chunks_world_position); #endif