mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
13 lines
245 B
C
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
|