Beispiel #1
0
 static MapGen()
 {
     SimpleGen.RegisterGenerators();
     fCraftMapGen.RegisterGenerators();
     AdvNoiseGen.RegisterGenerators();
     Register("Heightmap", GenType.Advanced, HeightmapGen.Generate,
              "&HSeed specifies the URL of the heightmap image");
 }
Beispiel #2
0
        static MapGen()
        {
            simpleGens = new Dictionary <string, Func <MapGenArgs, bool> >();
            advGens    = new Dictionary <string, Func <MapGenArgs, bool> >();
            SimpleGen.RegisterGenerators();
            fCraftMapGenerator.RegisterGenerators();

            AdvNoiseGen.RegisterGenerators();
            RegisterAdvancedGen("heightmap", HeightmapGen.Generate);
        }