Beispiel #1
0
def resizeTerrainMaps(item):
    """This function resizes the current space's terrain maps."""
    WorldEditor.resizeTerrainMaps()
    bd.enterChunkVizMode()
Beispiel #2
0
def meshMode(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 3)
    bd.enterChunkVizMode()
Beispiel #3
0
def convertTerrain(item):
    """This function converts the current space's terrain to the new format."""
    WorldEditor.convertCurrentTerrain()
    bd.enterChunkVizMode()
Beispiel #4
0
def boundaryBox(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 1)
    bd.enterChunkVizMode()
Beispiel #5
0
def heightMap(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 2)
    bd.enterChunkVizMode()
def resizeTerrainMaps( item ):
	"""This function resizes the current space's terrain maps."""
	WorldEditor.resizeTerrainMaps()
	bd.enterChunkVizMode()
Beispiel #7
0
def normalMode(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 0)
    bd.enterChunkVizMode()
def convertTerrain( item ):
	"""This function converts the current space's terrain to the new format."""
	WorldEditor.convertCurrentTerrain()
	bd.enterChunkVizMode()
def meshMode( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 3 )
	bd.enterChunkVizMode()
def heightMap( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 2 )
	bd.enterChunkVizMode()
def boundaryBox( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 1 )
	bd.enterChunkVizMode()
def normalMode( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 0 )
	bd.enterChunkVizMode()