コード例 #1
0
ファイル: GenLayer.cs プロジェクト: Nerketur/ForgeCraft
        public static GenLayer[] func_35019_a(long l)
        {
            GenLayer obj = new LayerIsland(1L);
            obj = new GenLayerZoomFuzzy(2000L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(1L, ((GenLayer)(obj)));
            obj = new GenLayerZoom(2001L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(2L, ((GenLayer)(obj)));
            obj = new GenLayerSnow(2L, ((GenLayer)(obj)));
            obj = new GenLayerZoom(2002L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(3L, ((GenLayer)(obj)));
            obj = new GenLayerZoom(2003L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(4L, ((GenLayer)(obj)));
            obj = new GenLayerMushroomIsland(5L, ((GenLayer)(obj)));
            byte byte0 = 4;
            GenLayer obj1 = obj;
            obj1 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj1)), 0);
            obj1 = new GenLayerRiverInit(100L, ((GenLayer)(obj1)));
            obj1 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj1)), byte0 + 2);
            obj1 = new GenLayerRiver(1L, ((GenLayer)(obj1)));
            obj1 = new GenLayerSmooth(1000L, ((GenLayer)(obj1)));
            GenLayer obj2 = obj;
            obj2 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj2)), 0);
            obj2 = new GenLayerVillageLandscape(200L, ((GenLayer)(obj2)));
            obj2 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj2)), 2);
            GenLayer obj3 = new GenLayerTemperature(((GenLayer)(obj2)));
            GenLayer obj4 = new GenLayerDownfall(((GenLayer)(obj2)));
            for (int i = 0; i < byte0; i++)
            {
                obj2 = new GenLayerZoom(1000 + i, ((GenLayer)(obj2)));
                if (i == 0)
                {
                    obj2 = new GenLayerIsland(3L, ((GenLayer)(obj2)));
                }
                if (i == 0)
                {
                    obj2 = new GenLayerShore(1000L, ((GenLayer)(obj2)));
                }
                obj3 = new GenLayerSmoothZoom(1000 + i, ((GenLayer)(obj3)));
                obj3 = new GenLayerTemperatureMix(((GenLayer)(obj3)), ((GenLayer)(obj2)), i);
                obj4 = new GenLayerSmoothZoom(1000 + i, ((GenLayer)(obj4)));
                obj4 = new GenLayerDownfallMix(((GenLayer)(obj4)), ((GenLayer)(obj2)), i);
            }

            obj2 = new GenLayerSmooth(1000L, ((GenLayer)(obj2)));
            obj2 = new GenLayerRiverMix(100L, ((GenLayer)(obj2)), ((GenLayer)(obj1)));
            GenLayerRiverMix genlayerrivermix = ((GenLayerRiverMix)(obj2));
            obj3 = GenLayerSmoothZoom.func_35030_a(1000L, ((GenLayer)(obj3)), 2);
            obj4 = GenLayerSmoothZoom.func_35030_a(1000L, ((GenLayer)(obj4)), 2);
            GenLayerZoomVoronoi genlayerzoomvoronoi = new GenLayerZoomVoronoi(10L, ((GenLayer)(obj2)));
            ((GenLayer)(obj2)).func_35015_b(l);
            ((GenLayer)(obj3)).func_35015_b(l);
            ((GenLayer)(obj4)).func_35015_b(l);
            genlayerzoomvoronoi.func_35015_b(l);
            return (new GenLayer[] {
                obj2, genlayerzoomvoronoi, obj3, obj4, genlayerrivermix
            });
        }
コード例 #2
0
ファイル: GenLayerZoom.cs プロジェクト: Nerketur/ForgeCraft
        public static GenLayer func_35025_a(long l, GenLayer genlayer, int i)
        {
            object obj = genlayer;
            for (int j = 0; j < i; j++)
            {
                obj = new GenLayerZoom(l + (long)j, ((GenLayer)(obj)));
            }

            return ((GenLayer)(obj));
        }
コード例 #3
0
        public static GenLayer func_35025_a(long l, GenLayer genlayer, int i)
        {
            object obj = genlayer;

            for (int j = 0; j < i; j++)
            {
                obj = new GenLayerZoom(l + (long)j, ((GenLayer)(obj)));
            }

            return((GenLayer)(obj));
        }
コード例 #4
0
ファイル: GenLayer.cs プロジェクト: MinedroidFTW/ForgeCraft
        public static GenLayer[] func_35019_a(long l)
        {
            GenLayer obj = new LayerIsland(1L);

            obj = new GenLayerZoomFuzzy(2000L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(1L, ((GenLayer)(obj)));
            obj = new GenLayerZoom(2001L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(2L, ((GenLayer)(obj)));
            obj = new GenLayerSnow(2L, ((GenLayer)(obj)));
            obj = new GenLayerZoom(2002L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(3L, ((GenLayer)(obj)));
            obj = new GenLayerZoom(2003L, ((GenLayer)(obj)));
            obj = new GenLayerIsland(4L, ((GenLayer)(obj)));
            obj = new GenLayerMushroomIsland(5L, ((GenLayer)(obj)));
            byte     byte0 = 4;
            GenLayer obj1  = obj;

            obj1 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj1)), 0);
            obj1 = new GenLayerRiverInit(100L, ((GenLayer)(obj1)));
            obj1 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj1)), byte0 + 2);
            obj1 = new GenLayerRiver(1L, ((GenLayer)(obj1)));
            obj1 = new GenLayerSmooth(1000L, ((GenLayer)(obj1)));
            GenLayer obj2 = obj;

            obj2 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj2)), 0);
            obj2 = new GenLayerVillageLandscape(200L, ((GenLayer)(obj2)));
            obj2 = GenLayerZoom.func_35025_a(1000L, ((GenLayer)(obj2)), 2);
            GenLayer obj3 = new GenLayerTemperature(((GenLayer)(obj2)));
            GenLayer obj4 = new GenLayerDownfall(((GenLayer)(obj2)));

            for (int i = 0; i < byte0; i++)
            {
                obj2 = new GenLayerZoom(1000 + i, ((GenLayer)(obj2)));
                if (i == 0)
                {
                    obj2 = new GenLayerIsland(3L, ((GenLayer)(obj2)));
                }
                if (i == 0)
                {
                    obj2 = new GenLayerShore(1000L, ((GenLayer)(obj2)));
                }
                obj3 = new GenLayerSmoothZoom(1000 + i, ((GenLayer)(obj3)));
                obj3 = new GenLayerTemperatureMix(((GenLayer)(obj3)), ((GenLayer)(obj2)), i);
                obj4 = new GenLayerSmoothZoom(1000 + i, ((GenLayer)(obj4)));
                obj4 = new GenLayerDownfallMix(((GenLayer)(obj4)), ((GenLayer)(obj2)), i);
            }

            obj2 = new GenLayerSmooth(1000L, ((GenLayer)(obj2)));
            obj2 = new GenLayerRiverMix(100L, ((GenLayer)(obj2)), ((GenLayer)(obj1)));
            GenLayerRiverMix genlayerrivermix = ((GenLayerRiverMix)(obj2));

            obj3 = GenLayerSmoothZoom.func_35030_a(1000L, ((GenLayer)(obj3)), 2);
            obj4 = GenLayerSmoothZoom.func_35030_a(1000L, ((GenLayer)(obj4)), 2);
            GenLayerZoomVoronoi genlayerzoomvoronoi = new GenLayerZoomVoronoi(10L, ((GenLayer)(obj2)));

            ((GenLayer)(obj2)).func_35015_b(l);
            ((GenLayer)(obj3)).func_35015_b(l);
            ((GenLayer)(obj4)).func_35015_b(l);
            genlayerzoomvoronoi.func_35015_b(l);
            return(new GenLayer[] {
                obj2, genlayerzoomvoronoi, obj3, obj4, genlayerrivermix
            });
        }