wip procgen

This commit is contained in:
asrael 2025-11-09 06:30:17 -06:00
parent a653eae745
commit 79a678f162
No known key found for this signature in database
GPG key ID: 2786557804DFAE24
18 changed files with 1317 additions and 127 deletions

View file

@ -2,6 +2,7 @@
#include "pxl8_gfx.h"
#include "pxl8_math.h"
#include "pxl8_procgen.h"
#include "pxl8_types.h"
typedef struct pxl8_world pxl8_world;
@ -13,12 +14,12 @@ extern "C" {
pxl8_world* pxl8_world_create(void);
void pxl8_world_destroy(pxl8_world* world);
pxl8_result pxl8_world_generate(pxl8_world* world, const pxl8_procgen_params* params);
bool pxl8_world_is_loaded(const pxl8_world* world);
pxl8_result pxl8_world_load(pxl8_world* world, const char* path);
void pxl8_world_render(pxl8_world* world, pxl8_gfx* gfx, pxl8_vec3 camera_pos);
void pxl8_world_unload(pxl8_world* world);
bool pxl8_world_is_loaded(const pxl8_world* world);
#ifdef __cplusplus
}
#endif