turned night into a lighting mode option, added 'night' builtin custom mode
This commit is contained in:
@@ -182,6 +182,7 @@ typedef struct {
|
||||
|
||||
float shade_strength;
|
||||
int color_light;
|
||||
int night;
|
||||
} RenderModeLighting;
|
||||
extern RenderModeInterface rendermode_lighting;
|
||||
|
||||
@@ -193,13 +194,6 @@ void get_lighting_color(RenderModeLighting *self, RenderState *state,
|
||||
int x, int y, int z,
|
||||
unsigned char *r, unsigned char *g, unsigned char *b);
|
||||
|
||||
/* NIGHT */
|
||||
typedef struct {
|
||||
/* inherits from lighting */
|
||||
RenderModeLighting parent;
|
||||
} RenderModeNight;
|
||||
extern RenderModeInterface rendermode_night;
|
||||
|
||||
/* SMOOTH LIGHTING */
|
||||
typedef struct {
|
||||
/* inherits from lighting */
|
||||
|
||||
Reference in New Issue
Block a user