0

overlay mode now only considers blocks where overlays make sense

This commit is contained in:
Aaron Griffith
2011-03-28 03:09:00 -04:00
parent 9f69f099ad
commit d4bd1d713c
2 changed files with 40 additions and 3 deletions

View File

@@ -75,6 +75,8 @@ extern RenderModeInterface rendermode_normal;
typedef struct {
/* top facemask and white color image, for drawing overlays */
PyObject *facemask_top, *white_color;
/* only show overlay on top of solid or fluid blocks */
PyObject *solid_blocks, *fluid_blocks;
} RenderModeOverlay;
extern RenderModeInterface rendermode_overlay;