0

added metadata to rendermodes, and python bindings for them

This commit is contained in:
Aaron Griffith
2011-03-29 05:13:25 -04:00
parent 862ee62cb9
commit 5f0766839e
7 changed files with 88 additions and 9 deletions

View File

@@ -118,6 +118,7 @@ rendermode_spawn_draw(void *data, RenderState *state, PyObject *src, PyObject *m
}
RenderModeInterface rendermode_spawn = {
"spawn", "draws red where monsters can spawn at night",
sizeof(RenderModeSpawn),
rendermode_spawn_start,
rendermode_spawn_finish,