public void UnloadContent()
 {
     BokuGame.Release(ref backgroundTexture);
     BokuGame.Release(ref logoTexture);
     BokuGame.Release(ref dotTexture);
     BokuGame.Release(ref waitTexture);
 }   // end of TitleScreen RenderObj UnloadContent()
        }   // 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()
        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);
        }
        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()
Beispiel #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()
            }   // 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()
Beispiel #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()
Beispiel #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()
Beispiel #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()
            }   // 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()
Beispiel #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()
        }   // end of TextDisplay InitDeviceResources()

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
        }   // end of TextDisplay UnloadContent()
Beispiel #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);
        }
            }   // end of InitDeviceResources()

            public void UnloadContent()
            {
                ReleaseRenderTargets();
                BokuGame.Release(ref effect);
                BokuGame.Release(ref background);
            }
Beispiel #18
0
        public void UnloadContent()
        {
            BokuGame.Unload(grid);

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

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
            BokuGame.Release(ref leftStick);
        }   // end of ScrollableTextDisplay UnloadContent()
Beispiel #21
0
 public void UnloadContent()
 {
     BokuGame.Release(ref backgroundTexture);
     BokuGame.Release(ref tile1);
     BokuGame.Release(ref tile2);
 }
Beispiel #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()
            }   // end of InitDeviceResources()

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

        public void UnloadContent()
        {
            BokuGame.Release(ref backgroundTexture);
        }   // end of ModalHint UnloadContent()
        public virtual void UnloadContent()
        {
            BokuGame.Release(ref reticuleTexture);

            BokuGame.Unload(grid);
        }   // end of BasePicker UnloadContent()
 public void UnloadContent()
 {
     BokuGame.Release(ref leftArrowTexture);
     BokuGame.Release(ref rightArrowTexture);
     BokuGame.Release(ref backTexture);
 }   // end of HelpScreens Shared UnloadContent()