diff options
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/world.h b/src/world.h index 3c18e9f..c255e17 100644 --- a/src/world.h +++ b/src/world.h @@ -9,14 +9,16 @@ #define BVH_MAX_BRANCH_COUNT 8 #define BVH_BOX_MAX 100.0 -#define WORLD_ENTITY_MAX 1000 +#define WORLD_ENTITY_MAX 1500 #define WORLD_SIZE (Vector3){1000.0, 100.0, 1000.0} #define WORLD_IMAGE_WIDTH 100 #define WORLD_IMAGE_HEIGHT 100 #define WORLD_IMAGE_SCALE 5.0 +#define WORLD_TREE_COUNT 500 // UID for anything in the world. typedef int16_t WorldUID; +typedef int Seed; typedef struct BVHNode { BoundingBox box; @@ -36,7 +38,7 @@ typedef struct { int bvhDebugSelect; } World; -World createWorld(int seed); +World createWorld(Seed seed); void updateWorld(World* world, Game* game); void freeWorld(World world); // Dam, I wanta live in a free world ): |