From c7343fd2f574c651cce68b1b58c429192ecb9ea0 Mon Sep 17 00:00:00 2001 From: Wanne Date: Thu, 23 Aug 2012 18:22:28 +0000 Subject: [PATCH] - Updated the "LayoutMainMenu.xml" files to the new format git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1509 4f8fa57e-7814-0410-bad4-adc449f26b7c --- .../TableData/Layout/LayoutMainMenu.xml | 16 -------- .../TableData/Layout/LayoutMainMenu.xml | 39 +++++++------------ .../Data/TableData/Layout/LayoutMainMenu.xml | 16 -------- gamedir/Set JA2UB v1.13 Campaign.ini | 11 ------ 4 files changed, 13 insertions(+), 69 deletions(-) diff --git a/gamedir/Data-1.13/TableData/Layout/LayoutMainMenu.xml b/gamedir/Data-1.13/TableData/Layout/LayoutMainMenu.xml index c8f8892b2..632f9c035 100644 --- a/gamedir/Data-1.13/TableData/Layout/LayoutMainMenu.xml +++ b/gamedir/Data-1.13/TableData/Layout/LayoutMainMenu.xml @@ -19,11 +19,7 @@ all tags with resolution are now obsolete but not removed for compability with o 0 Menu Buttons 320 - 400 - 512 210 - 270 - 354 37 @@ -32,35 +28,23 @@ all tags with resolution are now obsolete but not removed for compability with o 1 BackGround LOADSCREENS\MainMenuBackground.sti - LOADSCREENS\MainMenuBackground_800x600.sti - LOADSCREENS\MainMenuBackground_1024x768.sti 1 0 0 0 0 0 - 0 - 0 - 0 - 0 2 1 Ja2LogoImage LOADSCREENS\Ja2Logo.sti - LOADSCREENS\Ja2Logo.sti - LOADSCREENS\Ja2Logo.sti 0 0 1 1 188 70 - 268 - 70 - 380 - 154 \ No newline at end of file diff --git a/gamedir/Data-UB/Data-Files/TableData/Layout/LayoutMainMenu.xml b/gamedir/Data-UB/Data-Files/TableData/Layout/LayoutMainMenu.xml index f78dbb45b..bb24a54a8 100644 --- a/gamedir/Data-UB/Data-Files/TableData/Layout/LayoutMainMenu.xml +++ b/gamedir/Data-UB/Data-Files/TableData/Layout/LayoutMainMenu.xml @@ -5,6 +5,13 @@ X800 Y600 ImagePositionXxxx = (X - 640) / 2 ImagePositionYyyy = (Y - 480) / 2 + +StretchImage if 1 the image is stretched to the screen size +CenterImage if 1 the image is centered in X +ImagePositionRelative if 0 the image is displayed on the same place on any resolution, ignored when StretchImage is active + +all tags with resolution are now obsolete but not removed for compability with older versions + --> @@ -12,40 +19,20 @@ ImagePositionYyyy = (Y - 480) / 2 0 Menu Buttons 320 - 400 - 512 210 - 270 - 354 37 - + 1 1 BackGround - Interface\MM24Background.sti - Interface\MM24Background_800x600.sti - Interface\MM24Background_1024x768.sti + LOADSCREENS\MainMenuBackground.sti + 1 + 0 + 0 + 0 0 0 - 0 - 0 - 0 - 0 - - - 2 - 1 - Ja2LogoImage - LOADSCREENS\Ja2Logo.sti - LOADSCREENS\Ja2Logo.sti - LOADSCREENS\Ja2Logo.sti - 188 - 10 - 268 - 70 - 380 - 154 \ No newline at end of file diff --git a/gamedir/Data/TableData/Layout/LayoutMainMenu.xml b/gamedir/Data/TableData/Layout/LayoutMainMenu.xml index c8f8892b2..632f9c035 100644 --- a/gamedir/Data/TableData/Layout/LayoutMainMenu.xml +++ b/gamedir/Data/TableData/Layout/LayoutMainMenu.xml @@ -19,11 +19,7 @@ all tags with resolution are now obsolete but not removed for compability with o 0 Menu Buttons 320 - 400 - 512 210 - 270 - 354 37 @@ -32,35 +28,23 @@ all tags with resolution are now obsolete but not removed for compability with o 1 BackGround LOADSCREENS\MainMenuBackground.sti - LOADSCREENS\MainMenuBackground_800x600.sti - LOADSCREENS\MainMenuBackground_1024x768.sti 1 0 0 0 0 0 - 0 - 0 - 0 - 0 2 1 Ja2LogoImage LOADSCREENS\Ja2Logo.sti - LOADSCREENS\Ja2Logo.sti - LOADSCREENS\Ja2Logo.sti 0 0 1 1 188 70 - 268 - 70 - 380 - 154 \ No newline at end of file diff --git a/gamedir/Set JA2UB v1.13 Campaign.ini b/gamedir/Set JA2UB v1.13 Campaign.ini index 7fefa7dd5..f33747f52 100644 --- a/gamedir/Set JA2UB v1.13 Campaign.ini +++ b/gamedir/Set JA2UB v1.13 Campaign.ini @@ -28,14 +28,3 @@ EXE_EDITOR=MapEditor_UB_5423.exe Name=None CONFIG_MOD1=None PROFIL_MOD=Profiles -;------------------ -; Campaigns -;------------------ - -[Addon1] -Name=Campaign : SOG Vietnam 69 -CONFIG_MOD1=Data-UB\Addons\Data-Old-UB -CONFIG_MOD2=Data-UB\Addons\Data-Mod-SOG69-Vietnam -PROFIL_MOD=Profiles\UserProfile_JA2113_SOG69-Vietnam -DIR=Data-UB\Addons\Data-Mod-SOG69-Vietnam -OLD_UB_ITEMS=1 \ No newline at end of file