0

converted spawn into a overlay-based rendermode

This commit is contained in:
Aaron Griffith
2011-03-28 03:40:02 -04:00
parent 83db528d81
commit f23d3ddac9
6 changed files with 58 additions and 77 deletions

View File

@@ -96,7 +96,7 @@ class MapGen(object):
# create generated map type data, from given quadtrees
# FIXME hook this into render_modes in setup.py, somehow
overlay_types = ['overlay']
overlay_types = ['spawn']
maptypedata = map(lambda q: {'label' : q.rendermode.capitalize(),
'path' : q.tiledir,
'overlay' : q.rendermode in overlay_types},