add auto run
This commit is contained in:
parent
fa57baf212
commit
2555bec8eb
9 changed files with 142 additions and 110 deletions
|
|
@ -4,8 +4,7 @@
|
|||
#include "pxl8_types.h"
|
||||
|
||||
typedef enum pxl8_procgen_type {
|
||||
PXL8_PROCGEN_CAVE,
|
||||
PXL8_PROCGEN_DUNGEON,
|
||||
PXL8_PROCGEN_ROOMS,
|
||||
PXL8_PROCGEN_TERRAIN
|
||||
} pxl8_procgen_type;
|
||||
|
||||
|
|
@ -17,22 +16,10 @@ typedef struct pxl8_procgen_params {
|
|||
i32 depth;
|
||||
u32 seed;
|
||||
|
||||
f32 density;
|
||||
i32 iterations;
|
||||
|
||||
void* type_params;
|
||||
} pxl8_procgen_params;
|
||||
|
||||
typedef struct pxl8_procgen_cave_params {
|
||||
i32 min_cave_size;
|
||||
} pxl8_procgen_cave_params;
|
||||
|
||||
typedef struct pxl8_procgen_dungeon_params {
|
||||
i32 room_count;
|
||||
i32 min_room_size;
|
||||
i32 max_room_size;
|
||||
i32 corridor_width;
|
||||
} pxl8_procgen_dungeon_params;
|
||||
i32 num_rooms;
|
||||
} pxl8_procgen_params;
|
||||
|
||||
typedef struct pxl8_procgen_tex_params {
|
||||
char name[16];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue