Пример #1
0
 public void UnloadContent()
 {
     BokuGame.Release(ref backgroundTexture);
     BokuGame.Release(ref logoTexture);
     BokuGame.Release(ref dotTexture);
     BokuGame.Release(ref waitTexture);
 }   // end of TitleScreen RenderObj UnloadContent()
Пример #2
0
        }   // end of ThoughtBalloon Init()

        public void UnloadContent()
        {
            text = null;    // Force to not recycle.

            BokuGame.Release(ref contentTexture);
            BokuGame.Release(ref vbuf);
        }   // end of ThoughtBalloon UnloadContent()
        }   // end of TopLevelPalette LoadGraphicsContent()

        public void UnloadGraphicsContent()
        {
            BokuGame.Release(ref effect);
            BokuGame.Release(ref decl);

            BokuGame.Release(ref iconTexture);
            BokuGame.Release(ref screenTexture);
            BokuGame.Release(ref frameTexture);
        } // end of TopLevelPalette UnloadGraphicsContent()
Пример #4
0
        public void UnloadContent()
        {
            BokuGame.Release(ref blackHighlight);
            BokuGame.Release(ref whiteBottom);
            BokuGame.Release(ref whiteTop);
            BokuGame.Release(ref whiteTile);

            BokuGame.Unload(textLineEditor);
        }   // end of UnloadContent()
        public void UnloadContent()
        {
            brightnessSlider.UnloadContent();
            durationSlider.UnloadContent();
            ledGrid.UnloadContent();
            bar.UnloadContent();

            BokuGame.Release(ref leftStickTexture);
            BokuGame.Release(ref rightStickTexture);
        }
Пример #6
0
        public static void UnloadContent()
        {
            BokuGame.Release(ref effect);
            BokuGame.Release(ref vbuf);

            BokuGame.Release(ref textureTeam);
            BokuGame.Release(ref textureOptions);
            BokuGame.Release(ref textureOptionsKey);
            BokuGame.Release(ref textureWinner);
            BokuGame.Release(ref textureGameOver);
        }   // end of VictoryOverlay UnloadContent()
Пример #7
0
            public void UnloadContent()
            {
                BokuGame.Release(ref backgroundTexture);
                //BokuGame.Release(ref jplTexture);
                BokuGame.Release(ref blueArrowTexture);

                BokuGame.Unload(boku);
                BokuGame.Unload(menu);
                BokuGame.Unload(optionsMenu);
                BokuGame.Unload(liveFeed);
            }   // end of MainMenu Shared UnloadContent()
Пример #8
0
            }   // end of RenderObj Init()

            public void UnloadContent()
            {
                effectCache.UnLoad();
                BokuGame.Release(ref effect);
                BokuGame.Release(ref texture);
                BokuGame.Release(ref ibuf[0]);
                BokuGame.Release(ref vbuf[0]);
                BokuGame.Release(ref ibuf[1]);
                BokuGame.Release(ref vbuf[1]);

                RunSimCursor.GetInstance().UnloadContent();
            }   // end of Cursor3D RenderObj UnloadContent()
Пример #9
0
        public void UnloadContent()
        {
            BokuGame.Unload(shared);
            BokuGame.Unload(shareSuccessMessage);
            BokuGame.Unload(noCommunityMessage);
            BokuGame.Unload(saveChangesMessage);
            BokuGame.Unload(saveChangesWithDiscardMessage);
            BokuGame.Unload(saveLevelDialog);
            BokuGame.Unload(newWorldDialog);

            BokuGame.Release(ref homeTexture);
        }   // end of MiniHub UnloadContent()
Пример #10
0
        }   // end of LiveFeedDisplay InitDeviceResources()

        public void UnloadContent()
        {
            //  BokuGame.Release(ref Header_bg);
            BokuGame.Release(ref cloudTR);
            BokuGame.Release(ref cloudBR);
            BokuGame.Release(ref cloudTL);
            BokuGame.Release(ref cloudBL);
            BokuGame.Release(ref cloudTC);
            BokuGame.Release(ref cloudBC);
            BokuGame.Release(ref cloudLC);
            BokuGame.Release(ref cloudRC);
            BokuGame.Release(ref cloudCenter);
        }   // end of LiveFeedDisplay UnloadContent()
Пример #11
0
            }   // end of LoadLevelMenu Shared LoadGraphicsContent()

            public void UnloadGraphicsContent()
            {
                BokuGame.Unload(missionsGrid);
                BokuGame.Unload(myWorldsGrid);
                BokuGame.Unload(starterWorldsGrid);
                BokuGame.Unload(downloadsGrid);

                BokuGame.Unload(missionsTab);
                BokuGame.Unload(myWorldsTab);
                BokuGame.Unload(starterWorldsTab);
                BokuGame.Unload(downloadsTab);

                BokuGame.Release(ref backgroundTexture);

                BokuGame.Unload(bottomBar);
            }   // end of LoadLevelMenu Shared UnloadGraphicsContent()
Пример #12
0
            }   // end of InitDeviceResources()

            public void UnloadContent()
            {
                BokuGame.Release(ref effect);

                BokuGame.Unload(glassTile);
                glassTile = null;
                BokuGame.Unload(descTile);
                descTile = null;
                BokuGame.Unload(examplesTile);
                examplesTile = null;

                BokuGame.Release(ref rightStickTexture);
                BokuGame.Release(ref leftStickTexture);
                BokuGame.Release(ref glassTileHighlight);
                BokuGame.Release(ref whiteHighlight);
                BokuGame.Release(ref blackHighlight);
                BokuGame.Release(ref normalMap);
            }   // end of AddItemHelpCard RenderObj UnloadContent()
Пример #13
0
        }   // end of VideoOutput Activate()

        override public void Deactivate()
        {
            if (state != States.Inactive)
            {
                // Release file list.
                shared.filenames    = null;
                shared.curFileIndex = 0;

                // Release the memeory buffer.
                shared.data = null;
                BokuGame.Release(ref shared.texture);
                shared.colors = null;

                // Do stack handling here.  If we do it in the update object we have no
                // clue which order things get pushed and popped and madness ensues.
                CommandStack.Pop(commandMap);

                pendingState             = States.Inactive;
                BokuGame.objectListDirty = true;
            }
        }   // end of VideoOutput Deactivate()
Пример #14
0
        }   // end of TextDisplay InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
        }   // end of TextDisplay UnloadContent()
Пример #15
0
        }   // end of InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
            BokuGame.Release(ref leftStick);
        }   // end of UnloadContent()
        }   // end of InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref background);
        }
Пример #17
0
            }   // end of InitDeviceResources()

            public void UnloadContent()
            {
                ReleaseRenderTargets();
                BokuGame.Release(ref effect);
                BokuGame.Release(ref background);
            }
Пример #18
0
        public void UnloadContent()
        {
            BokuGame.Unload(grid);

            BokuGame.Release(ref dropShadowTexture);
        }   // end of ToolMenu UnloadContent()
Пример #19
0
 private void ReleaseRenderTargets()
 {
     InGame.RelRT("TextDialog", diffuse);
     BokuGame.Release(ref diffuse);
 }
Пример #20
0
        }   // end of ScrollableTextDisplay InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
            BokuGame.Release(ref leftStick);
        }   // end of ScrollableTextDisplay UnloadContent()
Пример #21
0
 public void UnloadContent()
 {
     BokuGame.Release(ref backgroundTexture);
     BokuGame.Release(ref tile1);
     BokuGame.Release(ref tile2);
 }
Пример #22
0
        }   // end of LiveFeedDisplay InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref Header_bg);
            BokuGame.Release(ref cornerTR);
            BokuGame.Release(ref cornerBR);
        }   // end of LiveFeedDisplay UnloadContent()
Пример #23
0
            }   // end of InitDeviceResources()

            public void UnloadContent()
            {
                BokuGame.Release(ref backgroundTexture);
                BokuGame.Release(ref iconTexture);
            }   // end of TextInput RenderObj UnloadContent()
Пример #24
0
        }   // end of ModalHint InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
        }   // end of ModalHint UnloadContent()
Пример #25
0
        public virtual void UnloadContent()
        {
            BokuGame.Release(ref reticuleTexture);

            BokuGame.Unload(grid);
        }   // end of BasePicker UnloadContent()
Пример #26
0
 public void UnloadContent()
 {
     BokuGame.Release(ref leftArrowTexture);
     BokuGame.Release(ref rightArrowTexture);
     BokuGame.Release(ref backTexture);
 }   // end of HelpScreens Shared UnloadContent()