0

fixed lighting for half-step blocks

This commit is contained in:
Aaron Griffith
2011-03-23 02:52:19 -04:00
parent ccddba2d81
commit d36bd20e6a
3 changed files with 49 additions and 9 deletions

View File

@@ -82,7 +82,8 @@ typedef struct {
float (*calculate_darkness)(unsigned char, unsigned char);
} RenderModeLighting;
extern RenderModeInterface rendermode_lighting;
inline float get_lighting_coefficient(RenderModeLighting *self, RenderState *state, int x, int y, int z);
inline float get_lighting_coefficient(RenderModeLighting *self, RenderState *state,
int x, int y, int z, int *authoratative);
/* NIGHT */
typedef struct {