0

converted spawn into a overlay-based rendermode

This commit is contained in:
Aaron Griffith
2011-03-28 03:40:02 -04:00
parent 83db528d81
commit f23d3ddac9
6 changed files with 58 additions and 77 deletions

View File

@@ -115,13 +115,12 @@ extern RenderModeInterface rendermode_night;
/* SPAWN */
typedef struct {
/* inherits from night */
RenderModeNight parent;
/* inherits from overlay */
RenderModeOverlay parent;
/* used to figure out which blocks are spawnable */
PyObject *solid_blocks, *nospawn_blocks, *fluid_blocks;
/* replacement for black_color */
PyObject *red_color;
PyObject *nospawn_blocks;
PyObject *skylight, *blocklight;
} RenderModeSpawn;
extern RenderModeInterface rendermode_spawn;