aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-20 23:59:59 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-20 23:59:59 +0000
commita00122fe60de966751b637477ac8e0a4fdcfbf4b (patch)
treebcb8596b19d04a7d12bee6d667c3a0fee8fd4e38 /Game/Code/Menu
parentd808dde8310ecfd659d36bfe1ba77e76ea43b6c0 (diff)
downloadusdx-a00122fe60de966751b637477ac8e0a4fdcfbf4b.tar.gz
usdx-a00122fe60de966751b637477ac8e0a4fdcfbf4b.tar.xz
usdx-a00122fe60de966751b637477ac8e0a4fdcfbf4b.zip
removed a bunch of debugging from usdx startup.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@738 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Menu')
-rw-r--r--Game/Code/Menu/UMenu.pas15
1 files changed, 0 insertions, 15 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas
index 99f10c08..e6bb6b45 100644
--- a/Game/Code/Menu/UMenu.pas
+++ b/Game/Code/Menu/UMenu.pas
@@ -277,10 +277,6 @@ begin
//Button Collections are Created when the first ChildButton is Created
PrepareButtonCollections(ThemeBasic.ButtonCollection);
- {$ifdef fpc}
- writeln(' TMenu.LoadFromThem : '+ThemeBasic.Background.Tex );
- {$endif}
-
//Add Background
AddBackground(ThemeBasic.Background.Tex);
@@ -298,24 +294,13 @@ var
begin
if Name <> '' then
begin
-// BackImg := Texture.LoadTexture(false, PChar(Skin.SkinPath + FileName), 'JPG', 'Plain', 0); // new theme system
lFileName := Skin.GetTextureFileName(Name);
lFileName := AdaptFilePaths( lFileName );
- {$ifdef fpc}
- writeln(' TMenu.AddBackground : '+Name+ ' - '+ lFileName );
- {$endif}
-
-// if lFileName <> '' then
if fileexists( lFileName ) then
begin
BackImg := Texture.GetTexture( lFileName , 'Plain');
- {$ifdef fpc}
- writeln(' TMenu.AddBackground : '+ lFileName +' - LOADED');
- {$endif}
-
-
BackImg.W := 800;
BackImg.H := 600;
BackW := 1;