windows build fixes
This commit is contained in:
@@ -279,7 +279,7 @@ rendermode_cave_draw(void *data, RenderState *state, PyObject *src, PyObject *ma
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static RenderModeOption rendermode_cave_options[] = {
|
const RenderModeOption rendermode_cave_options[] = {
|
||||||
{"depth_tinting", "tint caves based on how deep they are (default: True)"},
|
{"depth_tinting", "tint caves based on how deep they are (default: True)"},
|
||||||
{"only_lit", "only render lit caves (default: False)"},
|
{"only_lit", "only render lit caves (default: False)"},
|
||||||
{"lighting", "render caves with lighting enabled (default: False)"},
|
{"lighting", "render caves with lighting enabled (default: False)"},
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ rendermode_lighting_draw(void *data, RenderState *state, PyObject *src, PyObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RenderModeOption rendermode_lighting_options[] = {
|
const RenderModeOption rendermode_lighting_options[] = {
|
||||||
{"shade_strength", "how dark to make the shadows, from 0.0 to 1.0 (default: 1.0)"},
|
{"shade_strength", "how dark to make the shadows, from 0.0 to 1.0 (default: 1.0)"},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ rendermode_normal_draw(void *data, RenderState *state, PyObject *src, PyObject *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static RenderModeOption rendermode_normal_options[] = {
|
const RenderModeOption rendermode_normal_options[] = {
|
||||||
{"edge_opacity", "darkness of the edge lines, from 0.0 to 1.0 (default: 0.15)"},
|
{"edge_opacity", "darkness of the edge lines, from 0.0 to 1.0 (default: 0.15)"},
|
||||||
{"min_depth", "lowest level of blocks to render (default: 0)"},
|
{"min_depth", "lowest level of blocks to render (default: 0)"},
|
||||||
{"max_depth", "highest level of blocks to render (default: 127)"},
|
{"max_depth", "highest level of blocks to render (default: 127)"},
|
||||||
|
|||||||
Reference in New Issue
Block a user