0

windows build fixes

This commit is contained in:
Aaron Griffith
2011-06-12 22:29:28 -04:00
parent a0d1cd45d9
commit 98562b6f4a
3 changed files with 3 additions and 3 deletions

View File

@@ -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)"},

View File

@@ -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}
}; };

View File

@@ -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)"},