Give screens individual control over whether the style icon is displayed.

This commit is contained in:
Glenn Maynard
2003-09-27 04:28:13 +00:00
parent 3a0e7fc3df
commit f502c210db
2 changed files with 40 additions and 1 deletions
+38
View File
@@ -56,6 +56,7 @@ Name7=EXIT
Choice8=screen,ScreenTest Choice8=screen,ScreenTest
Name8=SANDBOX Name8=SANDBOX
TimerSeconds=-1 // none TimerSeconds=-1 // none
StyleIcon=0
LogoHomeOnCommand=x,320;y,240;zoomy,0;sleep,0.5;bounceend,0.5;zoomy,1;glowshift;effectperiod,2.5;effectcolor1,1,1,1,0.1;effectcolor2,1,1,1,0.3 LogoHomeOnCommand=x,320;y,240;zoomy,0;sleep,0.5;bounceend,0.5;zoomy,1;glowshift;effectperiod,2.5;effectcolor1,1,1,1,0.1;effectcolor2,1,1,1,0.3
LogoOnCommand=x,320;y,240;zoomy,0;sleep,0.5;bounceend,0.5;zoomy,1;glowshift;effectperiod,2.5;effectcolor1,1,1,1,0.1;effectcolor2,1,1,1,0.3 LogoOnCommand=x,320;y,240;zoomy,0;sleep,0.5;bounceend,0.5;zoomy,1;glowshift;effectperiod,2.5;effectcolor1,1,1,1,0.1;effectcolor2,1,1,1,0.3
VersionOnCommand=horizalign,right;x,620;y,20;diffuse,0.6,0.6,0.6,1;zoom,0.5;shadowlength,2 VersionOnCommand=horizalign,right;x,620;y,20;diffuse,0.6,0.6,0.6,1;zoom,0.5;shadowlength,2
@@ -95,6 +96,7 @@ JoinMessageP2X=520
JoinMessageP2Y=336 JoinMessageP2Y=336
HelpText=Press &DOWN; on the pad to join HelpText=Press &DOWN; on the pad to join
TimerSeconds=40 TimerSeconds=40
StyleIcon=1
NextScreen=ScreenSelectGroup NextScreen=ScreenSelectGroup
SilentWait=1 SilentWait=1
BounceJoinMessage=1 BounceJoinMessage=1
@@ -110,6 +112,7 @@ Choice4=Style,double;name,double
Choice5=Style,solo;name,solo Choice5=Style,solo;name,solo
HelpText=Use &LEFT; &RIGHT; to select, then press START HelpText=Use &LEFT; &RIGHT; to select, then press START
TimerSeconds=40 TimerSeconds=40
StyleIcon=1
NextScreen1=ScreenSelectDifficulty NextScreen1=ScreenSelectDifficulty
NextScreen2=ScreenSelectDifficulty NextScreen2=ScreenSelectDifficulty
NextScreen3=ScreenSelectDifficulty NextScreen3=ScreenSelectDifficulty
@@ -178,6 +181,7 @@ PictureOffCommand=linear,0.5;diffusealpha,0;glow,1,1,1,0
[ScreenSelectStyle5th] [ScreenSelectStyle5th]
HelpText=Use &LEFT; &RIGHT; to select, then press START HelpText=Use &LEFT; &RIGHT; to select, then press START
TimerSeconds=40 TimerSeconds=40
StyleIcon=1
NextScreen=ScreenSelectDifficulty NextScreen=ScreenSelectDifficulty
PadX1=70 PadX1=70
PadY1=300 PadY1=300
@@ -230,6 +234,7 @@ GuideX=320
GuideY=374 GuideY=374
HelpText=Press &DOWN; on the pad to join. Press &LEFT; &RIGHT; to change styles, then press START HelpText=Press &DOWN; on the pad to join. Press &LEFT; &RIGHT; to change styles, then press START
TimerSeconds=30 TimerSeconds=30
StyleIcon=1
NextScreen=ScreenSelectGroup NextScreen=ScreenSelectGroup
ScrollingListX=320 ScrollingListX=320
ScrollingListY=250 ScrollingListY=250
@@ -260,6 +265,7 @@ Choice8=PlayMode,rave;name,rave
NumChoicesOnPage1=4 NumChoicesOnPage1=4
HelpText=Use &LEFT; &RIGHT; to select, then press START HelpText=Use &LEFT; &RIGHT; to select, then press START
TimerSeconds=40 TimerSeconds=40
StyleIcon=1
NextScreen1=ScreenSelectGroup NextScreen1=ScreenSelectGroup
NextScreen2=ScreenSelectGroup NextScreen2=ScreenSelectGroup
NextScreen3=ScreenSelectGroup NextScreen3=ScreenSelectGroup
@@ -480,6 +486,7 @@ PictureYP2=245
SleepAfterChoiceSeconds=0.3 SleepAfterChoiceSeconds=0.3
SleepAfterTweenOffSeconds=0.8 SleepAfterTweenOffSeconds=0.8
TimerSeconds=60 TimerSeconds=60
StyleIcon=1
[ScreenSelectGroup] [ScreenSelectGroup]
@@ -516,6 +523,7 @@ MusicListOffCommand=
SleepAfterTweenOffSeconds=0.8 SleepAfterTweenOffSeconds=0.8
HelpText=Use &LEFT; &RIGHT; to select, then press START HelpText=Use &LEFT; &RIGHT; to select, then press START
TimerSeconds=40 TimerSeconds=40
StyleIcon=1
NextScreen=ScreenInstructions NextScreen=ScreenInstructions
[GroupList] [GroupList]
@@ -551,6 +559,7 @@ NextScreenBattle=ScreenSelectCharacter
NextScreenRave=ScreenSelectCharacter NextScreenRave=ScreenSelectCharacter
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=15 TimerSeconds=15
StyleIcon=1
[ScreenSelectMusic] [ScreenSelectMusic]
DefaultSort=GROUP DefaultSort=GROUP
@@ -686,6 +695,7 @@ CourseContentsX=160
CourseContentsY=336 CourseContentsY=336
HelpText=&LEFT; or &RIGHT; change music Hold &LEFT; and &RIGHT; then press START to change sort::&UP;&UP; easier difficulty &DOWN;&DOWN; harder difficulty::&UP;&DOWN;&UP;&DOWN; to change sort HelpText=&LEFT; or &RIGHT; change music Hold &LEFT; and &RIGHT; then press START to change sort::&UP;&UP; easier difficulty &DOWN;&DOWN; harder difficulty::&UP;&DOWN;&UP;&DOWN; to change sort
TimerSeconds=60 TimerSeconds=60
StyleIcon=1
SampleMusicDelay=0.25 SampleMusicDelay=0.25
PrevScreenArcade=ScreenTitleMenu PrevScreenArcade=ScreenTitleMenu
PrevScreenNonstop=ScreenTitleMenu PrevScreenNonstop=ScreenTitleMenu
@@ -775,6 +785,8 @@ NextOptionsScreenOni=ScreenPlayerOptions
NextOptionsScreenEndless=ScreenPlayerOptions NextOptionsScreenEndless=ScreenPlayerOptions
NextOptionsScreenBattle=ScreenPlayerOptions NextOptionsScreenBattle=ScreenPlayerOptions
NextOptionsScreenRave=ScreenRaveOptions NextOptionsScreenRave=ScreenRaveOptions
TimerSeconds=60
StyleIcon=0
[ScreenSelectCourse] [ScreenSelectCourse]
ExplanationX=132 ExplanationX=132
@@ -800,6 +812,7 @@ ScoreP2Y=286
ScoreZoom=0.8 ScoreZoom=0.8
HelpText=Use &LEFT; &RIGHT; to select, then press START::&UP;&UP; easier difficulty &DOWN;&DOWN; harder difficulty HelpText=Use &LEFT; &RIGHT; to select, then press START::&UP;&UP; easier difficulty &DOWN;&DOWN; harder difficulty
TimerSeconds=60 TimerSeconds=60
StyleIcon=1
[ScreenStage] [ScreenStage]
NextScreen=ScreenGameplay NextScreen=ScreenGameplay
@@ -1395,6 +1408,7 @@ ShowScoreArea=1
ShowTimeArea=0 ShowTimeArea=0
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=15 TimerSeconds=15
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1426,6 +1440,7 @@ ShowScoreArea=1
ShowTimeArea=0 ShowTimeArea=0
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=30 TimerSeconds=30
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1457,6 +1472,7 @@ ShowScoreArea=1
ShowTimeArea=0 ShowTimeArea=0
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=30 TimerSeconds=30
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1488,6 +1504,7 @@ ShowScoreArea=0
ShowTimeArea=1 ShowTimeArea=1
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=30 TimerSeconds=30
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1519,6 +1536,7 @@ ShowScoreArea=0
ShowTimeArea=1 ShowTimeArea=1
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=30 TimerSeconds=30
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1550,6 +1568,7 @@ ShowScoreArea=1
ShowTimeArea=0 ShowTimeArea=0
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=15 TimerSeconds=15
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1581,6 +1600,7 @@ ShowScoreArea=1
ShowTimeArea=0 ShowTimeArea=0
HelpText=Press START to continue HelpText=Press START to continue
TimerSeconds=15 TimerSeconds=15
StyleIcon=1
JudgeSoundTimeMarvelous=-1 JudgeSoundTimeMarvelous=-1
JudgeSoundTimePerfect=-1 JudgeSoundTimePerfect=-1
JudgeSoundTimeGreat=-1 JudgeSoundTimeGreat=-1
@@ -1722,6 +1742,7 @@ EvenLineIn=addx,-640;decelerate,0.5;addx,640;
OddLineIn=addx,640;decelerate,0.5;addx,-640; OddLineIn=addx,640;decelerate,0.5;addx,-640;
EvenLineOut=stoptweening;accelerate,0.3;addx,-640; EvenLineOut=stoptweening;accelerate,0.3;addx,-640;
OddLineOut=stoptweening;accelerate,0.3;addx,640; OddLineOut=stoptweening;accelerate,0.3;addx,640;
StyleIcon=0
[HoldGhostArrow] [HoldGhostArrow]
WarmUpSeconds=0.25 WarmUpSeconds=0.25
@@ -1924,6 +1945,7 @@ AttackDurationSeconds=10
[ScreenSelectMaster] [ScreenSelectMaster]
TimerSeconds=20 TimerSeconds=20
StyleIcon=1
[ScreenInputOptions] [ScreenInputOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -1934,6 +1956,7 @@ AutoPlay=This option is useful for those who would like to play::without using a
BackDelayed=Turning this option ON will require that you hold the Back button::for 0.5 seconds before it will regiser. This is useful if you find::yourself accidentally pressing the Back button on your controller. BackDelayed=Turning this option ON will require that you hold the Back button::for 0.5 seconds before it will regiser. This is useful if you find::yourself accidentally pressing the Back button on your controller.
OptionsNavigation=When using &oq;SM style&cq;, the Start button will take::you to the next screen and Up/Down will switch option lines.::When using &oq;Arcade style&cq;, the Start button will move the cursor::to the next line and Up/Down will be ignored. OptionsNavigation=When using &oq;SM style&cq;, the Start button will take::you to the next screen and Up/Down will switch option lines.::When using &oq;Arcade style&cq;, the Start button will move the cursor::to the next line and Up/Down will be ignored.
WheelSpeed=Adjusts the speed of the DDR style music wheel. WheelSpeed=Adjusts the speed of the DDR style music wheel.
StyleIcon=0
[ScreenMachineOptions] [ScreenMachineOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -1950,6 +1973,7 @@ CoinMode=When set to HOME, options will be shown on the title screen.::When set
CoinsPerCredit=The number of coins that must be inserted before a player can join. CoinsPerCredit=The number of coins that must be inserted before a player can join.
JointPremium=When set to OFF, game styles that require both sides of the machine::will cost 2 credits. When set to ON game styles that require both sides::of the machine will cost only 1 credit. JointPremium=When set to OFF, game styles that require both sides of the machine::will cost 2 credits. When set to ON game styles that require both sides::of the machine will cost only 1 credit.
SongOptions=Select the availability of the Song Options screen.::When HIDE, it can not be accessed. When SHOW, it will always be shown.::When set to ASK, it can be accessed by pressing START a::second time after the Player Options screen. SongOptions=Select the availability of the Song Options screen.::When HIDE, it can not be accessed. When SHOW, it will always be shown.::When set to ASK, it can be accessed by pressing START a::second time after the Player Options screen.
StyleIcon=0
[ScreenGraphicOptions] [ScreenGraphicOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -1963,6 +1987,7 @@ MovieDecode=When a movie texture is being used, StepMania will spend this much t
WaitForVsync=Wait for the monitor's vertical retrace before displaying::the next frame. This option only has an effect when the::Display Mode is set to &oq;full screen&cq;. Turning this option off will not::cap your frame rate to the refresh rate, but may result in &oq;tearing&cq;. WaitForVsync=Wait for the monitor's vertical retrace before displaying::the next frame. This option only has an effect when the::Display Mode is set to &oq;full screen&cq;. Turning this option off will not::cap your frame rate to the refresh rate, but may result in &oq;tearing&cq;.
KeepTexturesInMemory=Set to ON hold textures in memory instead of::freeing them. This will eliminate the time needed to load::the texture next from disk next time this is needed. Do not set to ON::unless you have 128MB of memory or more. KeepTexturesInMemory=Set to ON hold textures in memory instead of::freeing them. This will eliminate the time needed to load::the texture next from disk next time this is needed. Do not set to ON::unless you have 128MB of memory or more.
ShowStats=Display Performance Statistics in the upper right corner::of the screen. FPS = frames per second.::TPF = triangles per frame. DPF = draws per frame. ShowStats=Display Performance Statistics in the upper right corner::of the screen. FPS = frames per second.::TPF = triangles per frame. DPF = draws per frame.
StyleIcon=0
[ScreenGameplayOptions] [ScreenGameplayOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -1972,6 +1997,7 @@ HiddenSongs=Some songs are only playable during Oni courses and::with roulette.
PickExtraStage=Instead of a set extra stage, this allows::the player to choose which song to play.::Difficulty and options are still locked. PickExtraStage=Instead of a set extra stage, this allows::the player to choose which song to play.::Difficulty and options are still locked.
SoloSingles=Turn this option &oq;ON&cq; to enable Solo-Style::for 4-panel single play. SoloSingles=Turn this option &oq;ON&cq; to enable Solo-Style::for 4-panel single play.
UnlockSystem=Enable or disable unlock system. UnlockSystem=Enable or disable unlock system.
StyleIcon=0
[ScreenBackgroundOptions] [ScreenBackgroundOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -1981,6 +2007,7 @@ Danger=Turn this option &oq;OFF&cq; to disable the flashing &oq;Danger&cq;::back
DancingCharacters=Turn this option &oq;OFF&cq; to disable the dancing characters::in the background. Even if this option is &oq;ON&cq;,::characters will only show if you have some installed. DancingCharacters=Turn this option &oq;OFF&cq; to disable the dancing characters::in the background. Even if this option is &oq;ON&cq;,::characters will only show if you have some installed.
ShowBeginnerHelper=Turn this on to enable a demonstration dancer during Beginner play. ShowBeginnerHelper=Turn this on to enable a demonstration dancer during Beginner play.
RandomBackgrounds=Choose the maximum number of random backgrounds to be loaded simultaneously. RandomBackgrounds=Choose the maximum number of random backgrounds to be loaded simultaneously.
StyleIcon=0
[ScreenAppearanceOptions] [ScreenAppearanceOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -1998,11 +2025,13 @@ Lyrics=Choose whether to show lyrics if a song::has them available (LRC File)
10+footInRed=Choose where 10 footers or higher are displayed::in red on the song select wheel. 10+footInRed=Choose where 10 footers or higher are displayed::in red on the song select wheel.
CourseSort=Determines how courses are sorted. CourseSort=Determines how courses are sorted.
RandomAtEnd=Determines if courses with random songs should be placed at the end::of the course select wheel. RandomAtEnd=Determines if courses with random songs should be placed at the end::of the course select wheel.
StyleIcon=0
[ScreenAutogenOptions] [ScreenAutogenOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
AutogenMissingTypes=Show steps for songs that were created by Autogen. AutogenMissingTypes=Show steps for songs that were created by Autogen.
AutogenGroupCourses=Show group Nonstop and Endless courses that::were created by Autogen. AutogenGroupCourses=Show group Nonstop and Endless courses that::were created by Autogen.
StyleIcon=0
[ScreenProfileOptions] [ScreenProfileOptions]
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::START to accept changes BACK to discard changes
@@ -2011,6 +2040,7 @@ Player2Profile=
CreateNew= CreateNew=
Delete= Delete=
Rename= Rename=
StyleIcon=0
[ScreenUnlock] [ScreenUnlock]
UseUnlocksDat=1 UseUnlocksDat=1
@@ -2185,6 +2215,7 @@ HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options::
MasterVolume= MasterVolume=
PreloadSounds=If YES, preload most sounds in advance. This increases load times,::and should normally be left OFF. PreloadSounds=If YES, preload most sounds in advance. This increases load times,::and should normally be left OFF.
ResamplingQuality=Advanced: Select the resampling quality to use. ResamplingQuality=Advanced: Select the resampling quality to use.
StyleIcon=0
[ScreenIntroMovie] [ScreenIntroMovie]
NextScreen=ScreenDemonstration NextScreen=ScreenDemonstration
@@ -2239,6 +2270,7 @@ NumCharsToDrawBehind=2
NumCharsToDrawTotal=10 NumCharsToDrawTotal=10
FakeBeatsPerSec=2.5 FakeBeatsPerSec=2.5
TimerSeconds=24 TimerSeconds=24
StyleIcon=1
[EditMenu] [EditMenu]
Arrows1X=190 Arrows1X=190
@@ -2330,6 +2362,7 @@ AutogenOptions=
BackgroundOptions= BackgroundOptions=
ProfileOptions= ProfileOptions=
ReloadSongs/Courses= ReloadSongs/Courses=
StyleIcon=0
[TextBanner] [TextBanner]
Width=180 Width=180
@@ -2388,11 +2421,13 @@ NextScreenBattle=ScreenSongOptions
NextScreenRave=ScreenSongOptions NextScreenRave=ScreenSongOptions
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes
TimerSeconds=30 TimerSeconds=30
StyleIcon=1
Beginner=BEGINNER Beginner=BEGINNER
Easy=LIGHT Easy=LIGHT
Medium=STANDARD Medium=STANDARD
Hard=HEAVY Hard=HEAVY
Challenge=CHALLENGE Challenge=CHALLENGE
StyleIcon=0
[ScreenRaveOptions] [ScreenRaveOptions]
PrevScreenArcade= // should never get here PrevScreenArcade= // should never get here
@@ -2409,6 +2444,7 @@ NextScreenBattle= // should never get here
NextScreenRave=ScreenStage NextScreenRave=ScreenStage
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes
TimerSeconds=30 TimerSeconds=30
StyleIcon=0
[ScreenSongOptions] [ScreenSongOptions]
PrevScreenArcade=ScreenPlayerOptions PrevScreenArcade=ScreenPlayerOptions
@@ -2426,6 +2462,7 @@ NextScreenRave=ScreenStage
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes
Game=Change the current game type with this option. Game=Change the current game type with this option.
TimerSeconds=30 TimerSeconds=30
StyleIcon=0
[ScreenCredits] [ScreenCredits]
BackgroundsBaseX=160 BackgroundsBaseX=160
@@ -2493,6 +2530,7 @@ IconsP2OffCommand=sleep,0.2;bouncebegin,0.5;addx,400
HelpText=Use &LEFT; &RIGHT; to select, then press START HelpText=Use &LEFT; &RIGHT; to select, then press START
SleepAfterTweenOffSeconds=0.8 SleepAfterTweenOffSeconds=0.8
TimerSeconds=40 TimerSeconds=40
StyleIcon=1
PrevScreenArcade=ScreenTitleMenu PrevScreenArcade=ScreenTitleMenu
PrevScreenNonstop=ScreenTitleMenu PrevScreenNonstop=ScreenTitleMenu
PrevScreenOni=ScreenTitleMenu PrevScreenOni=ScreenTitleMenu
+2 -1
View File
@@ -33,6 +33,7 @@
#define HELP_ON_COMMAND THEME->GetMetric("MenuElements","HelpOnCommand") #define HELP_ON_COMMAND THEME->GetMetric("MenuElements","HelpOnCommand")
#define HELP_OFF_COMMAND THEME->GetMetric("MenuElements","HelpOffCommand") #define HELP_OFF_COMMAND THEME->GetMetric("MenuElements","HelpOffCommand")
#define TIMER_SECONDS THEME->GetMetricI(m_sName,"TimerSeconds") #define TIMER_SECONDS THEME->GetMetricI(m_sName,"TimerSeconds")
#define STYLE_ICON THEME->GetMetricB(m_sName,"StyleIcon")
MenuElements::MenuElements() MenuElements::MenuElements()
@@ -54,7 +55,7 @@ void MenuElements::Load( CString sClassName, bool bEnableTimer, bool bLoadStyleI
m_sprHeader.Command( HEADER_ON_COMMAND ); m_sprHeader.Command( HEADER_ON_COMMAND );
this->AddChild( &m_sprHeader ); this->AddChild( &m_sprHeader );
if( bLoadStyleIcon && GAMESTATE->m_CurStyle != STYLE_INVALID ) if( STYLE_ICON && GAMESTATE->m_CurStyle != STYLE_INVALID )
{ {
CString sIconFileName = ssprintf("MenuElements icon %s", GAMESTATE->GetCurrentStyleDef()->m_szName ); CString sIconFileName = ssprintf("MenuElements icon %s", GAMESTATE->GetCurrentStyleDef()->m_szName );
m_sprStyleIcon.Load( THEME->GetPathToG(sIconFileName) ); m_sprStyleIcon.Load( THEME->GetPathToG(sIconFileName) );