transfered from codeberg

This commit is contained in:
2026-03-26 14:46:39 -05:00
parent 630f28bb7e
commit 5ed2173793
136 changed files with 14932 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#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