0

Add support for 'alpha' option and change default

This commit is contained in:
Thomas Lake
2012-08-25 09:26:13 +01:00
parent c5a0687701
commit 06a7f6ebdc
2 changed files with 12 additions and 3 deletions

View File

@@ -212,6 +212,7 @@ class BiomeOverlay(Overlay):
name = "overlay-biomes"
options = {
'biomes' : ('a list of (biome, (r, g, b)) tuples for coloring biomes', None),
'alpha' : ('an integer value between 0 (transparent) and 255 (opaque)', None),
}
class Hide(RenderPrimitive):