0

bumped extension version, and added in a few new rendermode options

This commit is contained in:
Aaron Griffith
2011-06-11 04:27:04 -04:00
parent bd9b1873e3
commit f5a187dad0
4 changed files with 47 additions and 17 deletions

View File

@@ -141,6 +141,8 @@ typedef struct {
/* can be overridden in derived rendermodes to control lighting
arguments are skylight, blocklight */
float (*calculate_darkness)(unsigned char, unsigned char);
float shade_strength;
} RenderModeLighting;
extern RenderModeInterface rendermode_lighting;
@@ -177,6 +179,7 @@ typedef struct {
/* colors used for tinting */
PyObject *depth_colors;
int depth_tinting;
} RenderModeCave;
extern RenderModeInterface rendermode_cave;