place / break blocks

This commit is contained in:
onezplpl 2024-07-18 11:06:32 -04:00
parent fb639f96c3
commit 227d642be6
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3
7 changed files with 191 additions and 55 deletions

3
gen.h
View file

@ -2,8 +2,9 @@
#define V_GEN_H
#include "cubes.h"
int gen_cube(int x, int y, int z, struct chunk dat, int ci);
int gen_cube(int x, int y, int z, struct chunk dat, int ci, int val);
struct chunk gen_chunk(int x, int y, int z, int ci, int h);
void gen_init();
void gen_free();
void gen_save(struct chunk chunk);
#endif