0

Load the 4 adjacent blocks in iterate.c

This commit is contained in:
Alejandro Aguilera
2011-03-24 23:40:01 +01:00
parent 7daa1bac9d
commit 4da53b4f9c
2 changed files with 23 additions and 4 deletions

View File

@@ -62,6 +62,10 @@ typedef struct {
int x, y, z;
unsigned char block;
PyObject *blocks;
PyObject *up_left_blocks;
PyObject *up_right_blocks;
PyObject *left_blocks;
PyObject *right_blocks;
} RenderState;
int init_chunk_render(void);
int is_transparent(unsigned char b);