1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00
Files
bareiron/src/worldgen.h
2025-08-12 13:07:42 +03:00

13 lines
245 B
C

#ifndef H_WORLDGEN
#define H_WORLDGEN
#include <stdint.h>
#define chunk_size 8
uint32_t getChunkHash (short x, short z);
int getHeightAt (int rx, int rz, int _x, int _z, uint32_t chunk_hash);
uint8_t getBlockAt (int x, int y, int z);
#endif