0

Implement straggler standard integer types

This commit is contained in:
Wunkolo
2019-06-26 10:29:10 -07:00
parent 5b212dc585
commit 22840d5a97
4 changed files with 14 additions and 9 deletions

View File

@@ -55,10 +55,10 @@ typedef struct {
bool (*start)(void*, RenderState*, PyObject*);
void (*finish)(void*, RenderState*);
/* returns true to skip rendering this block because it's not visible */
bool (*occluded)(void*, RenderState*, int, int, int);
bool (*occluded)(void*, RenderState*, int32_t, int32_t, int32_t);
/* returns true to skip rendering this block because the user doesn't
* want it visible */
bool (*hidden)(void*, RenderState*, int, int, int);
bool (*hidden)(void*, RenderState*, int32_t, int32_t, int32_t);
/* last two arguments are img and mask, from texture lookup */
void (*draw)(void*, RenderState*, PyObject*, PyObject*, PyObject*);
} RenderPrimitiveInterface;