many updates and improvements to chunk loading
This commit is contained in:
parent
7b9de49502
commit
e21945fe23
6 changed files with 194 additions and 68 deletions
4
const.h
4
const.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue