예제 #1
0
        private void SetOceanData()
        {
            SADXOceanData.Initialize();
            switch (Act)
            {
            case 0:
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center     = new Vertex(-3000.0f, 0.0f, -1000.0f),
                    WrapX      = 90,
                    WrapXZ     = 128.0f,
                    WrapZ      = 35,
                    TextureSea = 15,
                });
                SADXOceanData.InitWaterSurface(0);
                break;

            case 1:
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center     = new Vertex(700.0f, -1.5f, -4850.0f),
                    WrapX      = 90,
                    WrapXZ     = 128.0f,
                    WrapZ      = 35,
                    TextureSea = 15,
                });
                SADXOceanData.InitWaterSurface(0);
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center     = new Vertex(-630.0f, 540.0f, -2160.0f),
                    WrapX      = 27,
                    WrapXZ     = 64.0f,
                    WrapZ      = 23,
                    TextureSea = 16,
                });
                SADXOceanData.InitWaterSurface(1);
                break;

            case 2:
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center     = new Vertex(3500.0f, -1.5f, -500.0f),
                    WrapX      = 30,
                    WrapXZ     = 128.0f,
                    WrapZ      = 30,
                    TextureSea = 15,
                });
                SADXOceanData.InitWaterSurface(0);
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center     = new Vertex(5845.0f, -105.0f, 2050.0f),
                    WrapX      = 10,
                    WrapXZ     = 64.0f,
                    WrapZ      = 10,
                    TextureSea = 16,
                });
                SADXOceanData.InitWaterSurface(1);
                break;
            }
        }
예제 #2
0
        private void SetOceanData()
        {
            ushort texsea   = 71;
            ushort texwaves = 70;

            SADXOceanData.Initialize();
            switch (Act)
            {
            case 0:
            default:
                return;

            case 1:
                texsea   = 71;
                texwaves = 70;
                break;

            case 2:
                texsea   = 86;
                texwaves = 85;
                break;
            }
            SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
            {
                Center       = new Vertex(-2800.0f, -220.0f, -500.0f),
                WrapX        = 40,
                WrapZ        = 23,
                WrapXZ       = 128.0f,
                TextureSea   = texsea,
                TextureWaves = texwaves
            });
            SADXOceanData.InitWaterSurface(0);
        }
예제 #3
0
 private void SetOceanData()
 {
     SADXOceanData.Initialize();
     SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
     {
         Center       = new Vertex(-4000.0f, -418.5f, 0.0f),
         WrapX        = 90,
         WrapZ        = 20,
         WrapXZ       = 256.0f,
         TextureSea   = 101,
         TextureWaves = 100
     });
     SADXOceanData.InitWaterSurface(0);
 }
예제 #4
0
 private void SetOceanData()
 {
     SADXOceanData.Initialize();
     SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
     {
         Center       = new Vertex(-4000.0f, 415.0f, -4000.0f),
         WrapX        = 30,
         WrapZ        = 30,
         WrapXZ       = 512.0f,
         TextureSea   = 79,
         TextureWaves = 78
     });
     SADXOceanData.InitWaterSurface(0);
 }
예제 #5
0
        private void SetOceanData()
        {
            if (Act > 2 || TimeOfDay != 0)
            {
                return;
            }
            ushort textureSea;
            ushort textureWaves;

            switch (Act)
            {
            case 0:
                textureWaves = 96;
                textureSea   = 97;
                break;

            case 1:
                textureWaves = 89;
                textureSea   = 90;
                break;

            case 2:
                textureWaves = 64;
                textureSea   = 65;
                break;

            default:
                return;
            }
            SADXOceanData.Initialize();
            SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
            {
                Center       = new Vertex(-4000.0f, 415.0f, -4000.0f),
                WrapX        = 30,
                WrapZ        = 30,
                WrapXZ       = 512.0f,
                TextureSea   = textureSea,
                TextureWaves = textureWaves
            });
            SADXOceanData.InitWaterSurface(0);
        }
예제 #6
0
        private void SetOceanData()
        {
            Vertex center     = new Vertex(-260.0f, 0.6f, -160.0f);
            int    textureSea = 11;

            if (IsMRGarden)
            {
                center     = new Vertex(-180.0f, -0.4f, -130.0f);
                textureSea = 43;
            }
            SADXOceanData.Initialize();
            SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
            {
                Center     = center,
                WrapX      = 10,
                WrapZ      = 10,
                WrapXZ     = 32.0f,
                TextureSea = (ushort)textureSea
            });
            SADXOceanData.InitWaterSurface(0);
        }
예제 #7
0
        private void SetOceanData()
        {
            SADXOceanData.Initialize();
            switch (Act)
            {
            case 0:

                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center       = new Vertex(-4174.0f, -418.5f, -2166.0f),
                    WrapX        = 60,
                    WrapZ        = 30,
                    WrapXZ       = 256.0f,
                    TextureSea   = 128,
                    TextureWaves = 127
                });
                SADXOceanData.InitWaterSurface(0);
                break;

            default:
                break;
            }
        }
예제 #8
0
        private void SetOceanData()
        {
            ushort textureWaves;
            ushort textureSea;
            ushort textureSewer = 175;

            SADXOceanData.Initialize();
            switch (Act)
            {
            case 3:
                textureWaves = 172;
                switch (TimeOfDay)
                {
                case 1:
                    textureSea = 176;
                    break;

                case 0:
                case 2:
                default:
                    textureSea = 173;
                    break;
                }
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center       = new Vertex(-1500.0f, -19.0f, 1660.0f),
                    WrapX        = 50,
                    WrapZ        = 35,
                    WrapXZ       = 64.0f,
                    TextureSea   = textureSea,
                    TextureWaves = textureWaves
                });
                SADXOceanData.InitWaterSurface(0);
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center       = new Vertex(442.0f, -18.0f, 1152.0f),
                    WrapX        = 16,
                    WrapZ        = 16,
                    WrapXZ       = 32.0f,
                    TextureWaves = textureWaves,
                    TextureSea   = textureSewer,
                });
                SADXOceanData.InitWaterSurface(1);
                break;

            case 4:
                textureWaves = 79;
                switch (TimeOfDay)
                {
                case 1:
                    textureSea = 82;
                    break;

                case 0:
                case 2:
                default:
                    textureSea = 80;
                    break;
                }
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center       = new Vertex(-2000.0f, -16.0f, 1500.0f),
                    WrapX        = 50,
                    WrapZ        = 35,
                    WrapXZ       = 64.0f,
                    TextureSea   = textureSea,
                    TextureWaves = textureWaves
                });
                SADXOceanData.InitWaterSurface(0);
                SADXOceanData.WaterSurfaces.Add(new SADXOceanData.WaterSurfaceData()
                {
                    Center       = new Vertex(-446.0f, -2.5f, 1869.0f),
                    WrapX        = 20,
                    WrapZ        = 10,
                    WrapXZ       = 16.0f,
                    TextureWaves = textureWaves,
                    TextureSea   = textureSea,
                });
                SADXOceanData.InitWaterSurface(1);
                break;

            default:
                break;
            }
        }