many updates and improvements to chunk loading

This commit is contained in:
onezplpl 2024-07-13 21:18:55 -04:00
parent 7b9de49502
commit e21945fe23
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3
6 changed files with 194 additions and 68 deletions

View file

@ -26,10 +26,12 @@ typedef struct Vertex2 {
#define CHUNK_ALL CHUNK_DIAMETER_H *CHUNK_DIAMETER_H *CHUNK_DIAMETER_V
#define BLOCK_ALL CHUNK_LENGTH *CHUNK_LENGTH *CHUNK_LENGTH
#define CBLOCK_ALL BLOCK_ALL *CHUNK_ALL
#define CBUF_ALL 10
#define CBUF_ALL 25
#define CTRI_ALL CBLOCK_ALL * 18 * sizeof(Vertex)
#define MAX_R 1
typedef struct Chunk {
unsigned char exists;
unsigned int x;