Example #1
0
        public BuildingScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1       = new Sky(demo, 1);
            quadInstance1      = new Quad(demo, 1);
            cursorInstance     = new Cursor(demo);
            shotInstance       = new Shot(demo);
            plant2Instance1    = new Plant2(demo, 1);
            building1Instance1 = new Building1(demo, 1);
            car1Instance1      = new Car1(demo, 1);
            ragdoll3Instance1  = new Ragdoll3(demo, 1);
            box1Instance1      = new Box1(demo, 1);
            lamp1Instance1     = new Lamp1(demo, 1);
            lamp1Instance2     = new Lamp1(demo, 2);
            camera2Instance1   = new Camera2(demo, 1);
            lightInstance      = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            car1Animation1Instance1    = new Car1Animation1(demo, 1);
            lamp1Animation1Instance1   = new Lamp1Animation1(demo, 1);
            lamp1Animation1Instance2   = new Lamp1Animation1(demo, 2);
            camera2Animation1Instance1 = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1      = new Camera2Draw1(demo, 1);
        }
Example #2
0
        public HelicoptersScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1         = new Sky(demo, 1);
            quadInstance1        = new Quad(demo, 1);
            cursorInstance       = new Cursor(demo);
            shotInstance         = new Shot(demo);
            helicopter1Instance1 = new Helicopter1(demo, 1);
            helicopter1Instance2 = new Helicopter1(demo, 2);
            helicopter1Instance3 = new Helicopter1(demo, 3);
            helicopter1Instance4 = new Helicopter1(demo, 4);
            camera2Instance1     = new Camera2(demo, 1);
            lightInstance        = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1              = new SkyDraw1(demo, 1);
            cursorDraw1Instance            = new CursorDraw1(demo);
            helicopter1Animation1Instance1 = new Helicopter1Animation1(demo, 1);
            helicopter1Animation1Instance2 = new Helicopter1Animation1(demo, 2);
            helicopter1Animation1Instance3 = new Helicopter1Animation1(demo, 3);
            helicopter1Animation1Instance4 = new Helicopter1Animation1(demo, 4);
            camera2Animation1Instance1     = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1          = new Camera2Draw1(demo, 1);
        }
Example #3
0
        public AIScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1        = new Sky(demo, 1);
            quadInstance1       = new Quad(demo, 1);
            cursorInstance      = new Cursor(demo);
            shotInstance        = new Shot(demo);
            plant1Instance1     = new Plant1(demo, 1);
            vehicle1Instance1   = new Vehicle1(demo, 1);
            amphibian1Instance1 = new Amphibian1(demo, 1);
            camera2Instance1    = new Camera2(demo, 1);
            lightInstance       = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1             = new SkyDraw1(demo, 1);
            cursorDraw1Instance           = new CursorDraw1(demo);
            vehicle1Animation1Instance1   = new Vehicle1Animation1(demo, 1);
            amphibian1Animation1Instance1 = new Amphibian1Animation1(demo, 1);
            camera2Animation1Instance1    = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1         = new Camera2Draw1(demo, 1);
        }
Example #4
0
        public ClothScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1        = new Sky(demo, 1);
            quadInstance1       = new Quad(demo, 1);
            cursorInstance      = new Cursor(demo);
            shotInstance        = new Shot(demo);
            columnInstance1     = new Column(demo, 1);
            cargoJackInstance1  = new CargoJack(demo, 1);
            pointClothInstance1 = new PointCloth(demo, 1);
            camera2Instance1    = new Camera2(demo, 1);
            lightInstance       = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1            = new SkyDraw1(demo, 1);
            cursorDraw1Instance          = new CursorDraw1(demo);
            cargoJackAnimation1Instance1 = new CargoJackAnimation1(demo, 1);
            camera2Animation1Instance1   = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1        = new Camera2Draw1(demo, 1);
        }
Example #5
0
        public BuildingsScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1       = new Sky(demo, 1);
            quadInstance1      = new Quad(demo, 1);
            cursorInstance     = new Cursor(demo);
            shotInstance       = new Shot(demo);
            building1Instance1 = new Building1(demo, 1);
            building2Instance1 = new Building2(demo, 1);
            bridge2Instance1   = new Bridge2(demo, 1);
            camera2Instance1   = new Camera2(demo, 1);
            lightInstance      = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1             = new SkyDraw1(demo, 1);
            cursorDraw1Instance           = new CursorDraw1(demo);
            camera2Animation1Instance1    = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1         = new Camera2Draw1(demo, 1);
            pointLightAnimation1Instance1 = new PointLightAnimation1(demo, 12);
        }
Example #6
0
        public BridgesScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1      = new Sky(demo, 1);
            quadInstance1     = new Quad(demo, 1);
            cursorInstance    = new Cursor(demo);
            shotInstance      = new Shot(demo);
            car1Instance1     = new Car1(demo, 1);
            bridge1Instance1  = new Bridge1(demo, 1);
            bridge1Instance2  = new Bridge1(demo, 2);
            ragdoll1Instance1 = new Ragdoll1(demo, 1);
            camera1Instance1  = new Camera1(demo, 1);
            lightInstance     = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            car1Animation1Instance1    = new Car1Animation1(demo, 1);
            camera1Animation1Instance1 = new Camera1Animation1(demo, 1);
            camera1Draw1Instance1      = new Camera1Draw1(demo, 1);
        }
Example #7
0
        public RagdollsScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1      = new Sky(demo, 1);
            quadInstance1     = new Quad(demo, 1);
            cursorInstance    = new Cursor(demo);
            shotInstance      = new Shot(demo);
            ragdoll1Instance1 = new Ragdoll1(demo, 1);
            ragdoll2Instance1 = new Ragdoll2(demo, 1);
            ragdoll3Instance1 = new Ragdoll3(demo, 1);
            ragdoll1Instance2 = new Ragdoll1(demo, 2);
            ragdoll2Instance2 = new Ragdoll2(demo, 2);
            ragdoll3Instance2 = new Ragdoll3(demo, 2);
            ragdoll1Instance3 = new Ragdoll1(demo, 3);
            ragdoll2Instance3 = new Ragdoll2(demo, 3);
            ragdoll3Instance3 = new Ragdoll3(demo, 3);
            camera1Instance1  = new Camera1(demo, 1);
            camera1Instance2  = new Camera1(demo, 2);
            lightInstance     = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            camera1Animation1Instance1 = new Camera1Animation1(demo, 1);
            camera1Animation1Instance2 = new Camera1Animation1(demo, 2);
            camera1Draw1Instance1      = new Camera1Draw1(demo, 1);
            camera1Draw1Instance2      = new Camera1Draw1(demo, 2);

            oldKeyboardState = demo.GetKeyboardState();
        }
Example #8
0
        public UserShapesScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1        = new Sky(demo, 1);
            quadInstance1       = new Quad(demo, 1);
            cursorInstance      = new Cursor(demo);
            shotInstance        = new Shot(demo);
            userShapesInstance  = new UserShapes(demo);
            torusMesh1          = new TorusMesh(demo, 1);
            torusMesh2          = new TorusMesh(demo, 2);
            torusMesh3          = new TorusMesh(demo, 3);
            torusMesh4          = new TorusMesh(demo, 4);
            forceField1Instance = new ForceField1(demo);
            forceField2Instance = new ForceField2(demo);
            switch1Instance     = new Switch1(demo);
            switch2Instance     = new Switch2(demo);
            camera1Instance1    = new Camera1(demo, 1);
            lightInstance       = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1             = new SkyDraw1(demo, 1);
            cursorDraw1Instance           = new CursorDraw1(demo);
            forceField1Animation1Instance = new ForceField1Animation1(demo, forceField1Instance);
            forceField2Animation1Instance = new ForceField2Animation1(demo, forceField2Instance);
            switch1Animation1Instance     = new Switch1Animation1(demo, switch1Instance);
            switch2Animation1Instance     = new Switch2Animation1(demo, switch2Instance);
            camera1Animation1Instance1    = new Camera1Animation1(demo, 1);
            camera1Draw1Instance1         = new Camera1Draw1(demo, 1);
        }
Example #9
0
        public SimpleScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1          = new Sky(demo, 1);
            quadInstance1         = new Quad(demo, 1);
            shotInstance          = new Shot(demo);
            simpleCameraInstance1 = new SimpleCamera(demo, 1);

            // Create a new controllers in the scene
            skyDraw1Instance1 = new SkyDraw1(demo, 1);
            simpleCameraAnimation1Instance1 = new SimpleCameraAnimation1(demo, 1);
            simpleCameraDraw1Instance1      = new SimpleCameraDraw1(demo, 1);
        }
Example #10
0
        public StacksScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1     = new Sky(demo, 1);
            quadInstance1    = new Quad(demo, 1);
            cursorInstance   = new Cursor(demo);
            shotInstance     = new Shot(demo);
            jengaInstance1   = new Jenga(demo, 1);
            pyramidInstance1 = new Pyramid(demo, 1);
            wallInstance1    = new Wall(demo, 1);
            camera1Instance1 = new Camera1(demo, 1);
            lightInstance    = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            camera1Animation1Instance1 = new Camera1Animation1(demo, 1);
            camera1Draw1Instance1      = new Camera1Draw1(demo, 1);
        }
Example #11
0
        public TerrainWithWaterScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1          = new Sky(demo, 1);
            cursorInstance        = new Cursor(demo);
            shotInstance          = new Shot(demo);
            terrainInstance1      = new Terrain(demo, 1);
            lakeInstance1         = new Lake(demo, 1, 8, 8);
            defaultShapesInstance = new DefaultShapes(demo);
            columnInstance1       = new Column(demo, 1);
            columnInstance2       = new Column(demo, 2);
            pierInstance1         = new Pier(demo, 1);
            ragdoll2Instance1     = new Ragdoll2(demo, 1);
            boat1Instance1        = new Boat1(demo, 1);
            car1Instance1         = new Car1(demo, 1);
            box2Instance1         = new Box2(demo, 1);
            crab1Instance1        = new Crab1(demo, 1);
            torusMesh             = new TorusMesh(demo, 1);
            camera2Instance1      = new Camera2(demo, 1);
            lightInstance         = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            boat1Animation1Instance1   = new Boat1Animation1(demo, 1);
            car1Animation1Instance1    = new Car1Animation1(demo, 1);
            terrainDraw1Instance1      = new TerrainDraw1(demo, 1);
            lakeDraw1Instance1         = new LakeDraw1(demo, 1, 8, 8);
            camera2Animation1Instance1 = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1      = new Camera2Draw1(demo, 1);
        }
        public DefaultShapesScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1          = new Sky(demo, 1);
            quadInstance1         = new Quad(demo, 1);
            cursorInstance        = new Cursor(demo);
            shotInstance          = new Shot(demo);
            defaultShapesInstance = new DefaultShapes(demo);
            columnInstance1       = new Column(demo, 1);
            columnInstance2       = new Column(demo, 2);
            camera1Instance1      = new Camera1(demo, 1);
            lightInstance         = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            camera1Animation1Instance1 = new Camera1Animation1(demo, 1);
            camera1Draw1Instance1      = new Camera1Draw1(demo, 1);
        }
Example #13
0
        public MeshesScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1     = new Sky(demo, 1);
            cursorInstance   = new Cursor(demo);
            shotInstance     = new Shot(demo);
            columnInstance1  = new Column(demo, 1);
            triangleMesh1    = new TriangleMesh1(demo, 1);
            triangleMesh2    = new TriangleMesh2(demo, 1);
            torusMesh        = new TorusMesh(demo, 1);
            camera2Instance1 = new Camera2(demo, 1);
            lightInstance    = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            camera2Animation1Instance1 = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1      = new Camera2Draw1(demo, 1);
        }