Added back/exit button to challenge-main.
This commit is contained in:
1 parent
cf237950a5
commit
f26de46dc5
10 files changed
+382
-10
No files matched your search
@@ -11,6 +11,9 @@
|
|||||||
<TR_BUTTON_NEXT>Weiter</TR_BUTTON_NEXT>
|
<TR_BUTTON_NEXT>Weiter</TR_BUTTON_NEXT>
|
||||||
<TR_BUTTON_BACK>Zurück</TR_BUTTON_BACK>
|
<TR_BUTTON_BACK>Zurück</TR_BUTTON_BACK>
|
||||||
<TR_BUTTON_START>Start</TR_BUTTON_START>
|
<TR_BUTTON_START>Start</TR_BUTTON_START>
|
||||||
|
<TR_BUTTON_EXIT>Exit</TR_BUTTON_EXIT>
|
||||||
|
<TR_BUTTON_YES>Ja</TR_BUTTON_YES>
|
||||||
|
<TR_BUTTON_NO>Nein</TR_BUTTON_NO>
|
||||||
<TR_BUTTON_NEXT_ROUND>Nächste Runde</TR_BUTTON_NEXT_ROUND>
|
<TR_BUTTON_NEXT_ROUND>Nächste Runde</TR_BUTTON_NEXT_ROUND>
|
||||||
<!--ScreenConfig-->
|
<!--ScreenConfig-->
|
||||||
<TR_SCREENCONFIG_TITLE>Challenge Modus: Einstellungen</TR_SCREENCONFIG_TITLE>
|
<TR_SCREENCONFIG_TITLE>Challenge Modus: Einstellungen</TR_SCREENCONFIG_TITLE>
|
||||||
@@ -27,5 +30,6 @@
|
|||||||
<TR_SCREENMAIN_TABLE_WON>Siege</TR_SCREENMAIN_TABLE_WON>
|
<TR_SCREENMAIN_TABLE_WON>Siege</TR_SCREENMAIN_TABLE_WON>
|
||||||
<TR_SCREENMAIN_TABLE_SINGPOINTS>Sing-Punkte</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
<TR_SCREENMAIN_TABLE_SINGPOINTS>Sing-Punkte</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
||||||
<TR_SCREENMAIN_TABLE_GAMEPOINTS>Punkte</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
<TR_SCREENMAIN_TABLE_GAMEPOINTS>Punkte</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
||||||
|
<TR_SCREENMAIN_POPUP_REALLYEXIT>Challenge-Mode wirklich beenden?</TR_SCREENMAIN_POPUP_REALLYEXIT>
|
||||||
</Texts>
|
</Texts>
|
||||||
</root>
|
</root>
|
||||||
@@ -11,6 +11,9 @@
|
|||||||
<TR_BUTTON_NEXT>Next</TR_BUTTON_NEXT>
|
<TR_BUTTON_NEXT>Next</TR_BUTTON_NEXT>
|
||||||
<TR_BUTTON_BACK>Back</TR_BUTTON_BACK>
|
<TR_BUTTON_BACK>Back</TR_BUTTON_BACK>
|
||||||
<TR_BUTTON_START>Start</TR_BUTTON_START>
|
<TR_BUTTON_START>Start</TR_BUTTON_START>
|
||||||
|
<TR_BUTTON_EXIT>Exit</TR_BUTTON_EXIT>
|
||||||
|
<TR_BUTTON_YES>Yes</TR_BUTTON_YES>
|
||||||
|
<TR_BUTTON_NO>No</TR_BUTTON_NO>
|
||||||
<TR_BUTTON_NEXT_ROUND>Next Round</TR_BUTTON_NEXT_ROUND>
|
<TR_BUTTON_NEXT_ROUND>Next Round</TR_BUTTON_NEXT_ROUND>
|
||||||
<!--ScreenConfig-->
|
<!--ScreenConfig-->
|
||||||
<TR_SCREENCONFIG_TITLE>Challenge Mode: Configuration</TR_SCREENCONFIG_TITLE>
|
<TR_SCREENCONFIG_TITLE>Challenge Mode: Configuration</TR_SCREENCONFIG_TITLE>
|
||||||
@@ -27,5 +30,6 @@
|
|||||||
<TR_SCREENMAIN_TABLE_WON>Wins</TR_SCREENMAIN_TABLE_WON>
|
<TR_SCREENMAIN_TABLE_WON>Wins</TR_SCREENMAIN_TABLE_WON>
|
||||||
<TR_SCREENMAIN_TABLE_SINGPOINTS>Sing Points</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
<TR_SCREENMAIN_TABLE_SINGPOINTS>Sing Points</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
||||||
<TR_SCREENMAIN_TABLE_GAMEPOINTS>Score</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
<TR_SCREENMAIN_TABLE_GAMEPOINTS>Score</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
||||||
|
<TR_SCREENMAIN_POPUP_REALLYEXIT>Do you really want to exit?</TR_SCREENMAIN_POPUP_REALLYEXIT>
|
||||||
</Texts>
|
</Texts>
|
||||||
</root>
|
</root>
|
||||||
@@ -11,6 +11,9 @@
|
|||||||
<TR_BUTTON_NEXT>TODO: Next</TR_BUTTON_NEXT>
|
<TR_BUTTON_NEXT>TODO: Next</TR_BUTTON_NEXT>
|
||||||
<TR_BUTTON_BACK>Retour</TR_BUTTON_BACK>
|
<TR_BUTTON_BACK>Retour</TR_BUTTON_BACK>
|
||||||
<TR_BUTTON_START>Démarrer</TR_BUTTON_START>
|
<TR_BUTTON_START>Démarrer</TR_BUTTON_START>
|
||||||
|
<TR_BUTTON_EXIT>Quitter</TR_BUTTON_EXIT>
|
||||||
|
<TR_BUTTON_YES>Oui</TR_BUTTON_YES>
|
||||||
|
<TR_BUTTON_NO>Non</TR_BUTTON_NO>
|
||||||
<TR_BUTTON_NEXT_ROUND>TODO: Next Round</TR_BUTTON_NEXT_ROUND>
|
<TR_BUTTON_NEXT_ROUND>TODO: Next Round</TR_BUTTON_NEXT_ROUND>
|
||||||
<!--ScreenConfig-->
|
<!--ScreenConfig-->
|
||||||
<TR_SCREENCONFIG_TITLE>TODO: Challenge Mode: Configuration</TR_SCREENCONFIG_TITLE>
|
<TR_SCREENCONFIG_TITLE>TODO: Challenge Mode: Configuration</TR_SCREENCONFIG_TITLE>
|
||||||
@@ -27,5 +30,6 @@
|
|||||||
<TR_SCREENMAIN_TABLE_WON>TODO: Wins</TR_SCREENMAIN_TABLE_WON>
|
<TR_SCREENMAIN_TABLE_WON>TODO: Wins</TR_SCREENMAIN_TABLE_WON>
|
||||||
<TR_SCREENMAIN_TABLE_SINGPOINTS>TODO: Sing Points</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
<TR_SCREENMAIN_TABLE_SINGPOINTS>TODO: Sing Points</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
||||||
<TR_SCREENMAIN_TABLE_GAMEPOINTS>TODO: Score</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
<TR_SCREENMAIN_TABLE_GAMEPOINTS>TODO: Score</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
||||||
|
<TR_SCREENMAIN_POPUP_REALLYEXIT>TODO: Do you really want to exit?</TR_SCREENMAIN_POPUP_REALLYEXIT>
|
||||||
</Texts>
|
</Texts>
|
||||||
</root>
|
</root>
|
||||||
@@ -11,6 +11,9 @@
|
|||||||
<TR_BUTTON_NEXT>TODO: Next</TR_BUTTON_NEXT>
|
<TR_BUTTON_NEXT>TODO: Next</TR_BUTTON_NEXT>
|
||||||
<TR_BUTTON_BACK>Volver</TR_BUTTON_BACK>
|
<TR_BUTTON_BACK>Volver</TR_BUTTON_BACK>
|
||||||
<TR_BUTTON_START>Comenzar</TR_BUTTON_START>
|
<TR_BUTTON_START>Comenzar</TR_BUTTON_START>
|
||||||
|
<TR_BUTTON_EXIT>Salir</TR_BUTTON_EXIT>
|
||||||
|
<TR_BUTTON_YES>Sí</TR_BUTTON_YES>
|
||||||
|
<TR_BUTTON_NO>No</TR_BUTTON_NO>
|
||||||
<TR_BUTTON_NEXT_ROUND>TODO: Next Round</TR_BUTTON_NEXT_ROUND>
|
<TR_BUTTON_NEXT_ROUND>TODO: Next Round</TR_BUTTON_NEXT_ROUND>
|
||||||
<!--ScreenConfig-->
|
<!--ScreenConfig-->
|
||||||
<TR_SCREENCONFIG_TITLE>TODO: Challenge Mode: Configuration</TR_SCREENCONFIG_TITLE>
|
<TR_SCREENCONFIG_TITLE>TODO: Challenge Mode: Configuration</TR_SCREENCONFIG_TITLE>
|
||||||
@@ -26,5 +29,6 @@
|
|||||||
<TR_SCREENMAIN_TABLE_WON>TODO: Wins</TR_SCREENMAIN_TABLE_WON>
|
<TR_SCREENMAIN_TABLE_WON>TODO: Wins</TR_SCREENMAIN_TABLE_WON>
|
||||||
<TR_SCREENMAIN_TABLE_SINGPOINTS>TODO: Sing Points</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
<TR_SCREENMAIN_TABLE_SINGPOINTS>TODO: Sing Points</TR_SCREENMAIN_TABLE_SINGPOINTS>
|
||||||
<TR_SCREENMAIN_TABLE_GAMEPOINTS>TODO: Score</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
<TR_SCREENMAIN_TABLE_GAMEPOINTS>TODO: Score</TR_SCREENMAIN_TABLE_GAMEPOINTS>
|
||||||
|
<TR_SCREENMAIN_POPUP_REALLYEXIT>TODO: Do you really want to exit?</TR_SCREENMAIN_POPUP_REALLYEXIT>
|
||||||
</Texts>
|
</Texts>
|
||||||
</root>
|
</root>
|
||||||
@@ -29,6 +29,22 @@
|
|||||||
<!-- <Space>: Reflection Space-->
|
<!-- <Space>: Reflection Space-->
|
||||||
<!-- <Height>: Reflection Height-->
|
<!-- <Height>: Reflection Height-->
|
||||||
</Static1>
|
</Static1>
|
||||||
|
<StaticPopupBG>
|
||||||
|
<!--<Skin>: Texture name-->
|
||||||
|
<Skin>PopupBG</Skin>
|
||||||
|
<!--<X>, <Y>, <Z>, <W>, <H>: Static position, width and height-->
|
||||||
|
<X>449</X>
|
||||||
|
<Y>261</Y>
|
||||||
|
<Z>-1,00</Z>
|
||||||
|
<W>382</W>
|
||||||
|
<H>198</H>
|
||||||
|
<!--<Color>: Static color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>StaticColor</Color>
|
||||||
|
<!--<Reflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space-->
|
||||||
|
<!-- <Height>: Reflection Height-->
|
||||||
|
</StaticPopupBG>
|
||||||
<Text1>
|
<Text1>
|
||||||
<!--<X>, <Y>: Text position-->
|
<!--<X>, <Y>: Text position-->
|
||||||
<X>640</X>
|
<X>640</X>
|
||||||
@@ -232,6 +248,36 @@
|
|||||||
<!-- <Space>: Reflection Space-->
|
<!-- <Space>: Reflection Space-->
|
||||||
<!-- <Height>: Reflection Height-->
|
<!-- <Height>: Reflection Height-->
|
||||||
</TextGamePoints>
|
</TextGamePoints>
|
||||||
|
<TextPopupReallyExit>
|
||||||
|
<!--<X>, <Y>: Text position-->
|
||||||
|
<X>640</X>
|
||||||
|
<Y>265</Y>
|
||||||
|
<!--<Z>: Text position-->
|
||||||
|
<Z>-1,01</Z>
|
||||||
|
<!--<H>: Text height-->
|
||||||
|
<H>37</H>
|
||||||
|
<!--<MaxW>: Maximum text width (if exists)-->
|
||||||
|
<MaxW>380</MaxW>
|
||||||
|
<!--<Color>: Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>StaticColor</Color>
|
||||||
|
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>TextSColor</SColor>
|
||||||
|
<!--<Align>: Text align horizontal: Left, Center, Right-->
|
||||||
|
<Align>Center</Align>
|
||||||
|
<!--<HAlign>: Text align vertical (on downsizing): Top, Center, Bottom-->
|
||||||
|
<HAlign>Center</HAlign>
|
||||||
|
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
|
||||||
|
<Style>Bold</Style>
|
||||||
|
<!--<Font>: Text font name-->
|
||||||
|
<Font>Outline</Font>
|
||||||
|
<!--<Text>: Nothing or translation tag-->
|
||||||
|
<Text>TR_SCREENMAIN_POPUP_REALLYEXIT</Text>
|
||||||
|
<!--<Reflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space-->
|
||||||
|
<!-- <Height>: Reflection Height-->
|
||||||
|
</TextPopupReallyExit>
|
||||||
<ButtonNextRound>
|
<ButtonNextRound>
|
||||||
<!--<Skin>: Texture name-->
|
<!--<Skin>: Texture name-->
|
||||||
<Skin>Button</Skin>
|
<Skin>Button</Skin>
|
||||||
@@ -289,5 +335,233 @@
|
|||||||
<Height>26</Height>
|
<Height>26</Height>
|
||||||
</SReflection>
|
</SReflection>
|
||||||
</ButtonNextRound>
|
</ButtonNextRound>
|
||||||
|
<ButtonBack>
|
||||||
|
<!--<Skin>: Texture name-->
|
||||||
|
<Skin>Button</Skin>
|
||||||
|
<!--<SkinSelected>: Texture name for selected button-->
|
||||||
|
<SkinSelected>Button</SkinSelected>
|
||||||
|
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
|
||||||
|
<X>145</X>
|
||||||
|
<Y>600</Y>
|
||||||
|
<Z>0,00</Z>
|
||||||
|
<W>150</W>
|
||||||
|
<H>50</H>
|
||||||
|
<!--<Color>: Button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonColor</Color>
|
||||||
|
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonSColor</SColor>
|
||||||
|
<Text>
|
||||||
|
<!--<X>, <Y>: Text position-->
|
||||||
|
<X>75</X>
|
||||||
|
<Y>10</Y>
|
||||||
|
<!--<H>: Text height-->
|
||||||
|
<H>32</H>
|
||||||
|
<!--<MaxW>: Maximum text width (if exists)-->
|
||||||
|
<MaxW>142</MaxW>
|
||||||
|
<!--<Color>: Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonTextColor</Color>
|
||||||
|
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonTextSColor</SColor>
|
||||||
|
<!--<Align>: Text align horizontal: Left, Center, Right-->
|
||||||
|
<Align>Center</Align>
|
||||||
|
<!--<HAlign>: Text align vertical (on downsizing): Top, Center, Bottom-->
|
||||||
|
<HAlign>Center</HAlign>
|
||||||
|
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
|
||||||
|
<Style>Bold</Style>
|
||||||
|
<!--<Font>: Text font name-->
|
||||||
|
<Font>Outline</Font>
|
||||||
|
<!--<Text>: Nothing or translation tag-->
|
||||||
|
<Text>TR_BUTTON_BACK</Text>
|
||||||
|
</Text>
|
||||||
|
<!--<Reflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space-->
|
||||||
|
<!-- <Height>: Reflection Height-->
|
||||||
|
<Reflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</Reflection>
|
||||||
|
<!--<SReflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space of selected button-->
|
||||||
|
<!-- <Height>: Reflection Height of selected button-->
|
||||||
|
<SReflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</SReflection>
|
||||||
|
</ButtonBack>
|
||||||
|
<ButtonExit>
|
||||||
|
<!--<Skin>: Texture name-->
|
||||||
|
<Skin>Button</Skin>
|
||||||
|
<!--<SkinSelected>: Texture name for selected button-->
|
||||||
|
<SkinSelected>Button</SkinSelected>
|
||||||
|
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
|
||||||
|
<X>145</X>
|
||||||
|
<Y>600</Y>
|
||||||
|
<Z>0,00</Z>
|
||||||
|
<W>150</W>
|
||||||
|
<H>50</H>
|
||||||
|
<!--<Color>: Button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonColor</Color>
|
||||||
|
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonSColor</SColor>
|
||||||
|
<Text>
|
||||||
|
<!--<X>, <Y>: Text position-->
|
||||||
|
<X>75</X>
|
||||||
|
<Y>10</Y>
|
||||||
|
<!--<H>: Text height-->
|
||||||
|
<H>32</H>
|
||||||
|
<!--<MaxW>: Maximum text width (if exists)-->
|
||||||
|
<MaxW>142</MaxW>
|
||||||
|
<!--<Color>: Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonTextColor</Color>
|
||||||
|
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonTextSColor</SColor>
|
||||||
|
<!--<Align>: Text align horizontal: Left, Center, Right-->
|
||||||
|
<Align>Center</Align>
|
||||||
|
<!--<HAlign>: Text align vertical (on downsizing): Top, Center, Bottom-->
|
||||||
|
<HAlign>Center</HAlign>
|
||||||
|
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
|
||||||
|
<Style>Bold</Style>
|
||||||
|
<!--<Font>: Text font name-->
|
||||||
|
<Font>Outline</Font>
|
||||||
|
<!--<Text>: Nothing or translation tag-->
|
||||||
|
<Text>TR_BUTTON_EXIT</Text>
|
||||||
|
</Text>
|
||||||
|
<!--<Reflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space-->
|
||||||
|
<!-- <Height>: Reflection Height-->
|
||||||
|
<Reflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</Reflection>
|
||||||
|
<!--<SReflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space of selected button-->
|
||||||
|
<!-- <Height>: Reflection Height of selected button-->
|
||||||
|
<SReflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</SReflection>
|
||||||
|
</ButtonExit>
|
||||||
|
<ButtonPopupYes>
|
||||||
|
<!--<Skin>: Texture name-->
|
||||||
|
<Skin>Button</Skin>
|
||||||
|
<!--<SkinSelected>: Texture name for selected button-->
|
||||||
|
<SkinSelected>Button</SkinSelected>
|
||||||
|
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
|
||||||
|
<X>665</X>
|
||||||
|
<Y>360</Y>
|
||||||
|
<Z>-1,01</Z>
|
||||||
|
<W>150</W>
|
||||||
|
<H>50</H>
|
||||||
|
<!--<Color>: Button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonColor</Color>
|
||||||
|
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonSColor</SColor>
|
||||||
|
<Text>
|
||||||
|
<!--<X>, <Y>: Text position-->
|
||||||
|
<X>75</X>
|
||||||
|
<Y>10</Y>
|
||||||
|
<!--<H>: Text height-->
|
||||||
|
<H>32</H>
|
||||||
|
<!--<MaxW>: Maximum text width (if exists)-->
|
||||||
|
<MaxW>142</MaxW>
|
||||||
|
<!--<Color>: Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonTextColor</Color>
|
||||||
|
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonTextSColor</SColor>
|
||||||
|
<!--<Align>: Text align horizontal: Left, Center, Right-->
|
||||||
|
<Align>Center</Align>
|
||||||
|
<!--<HAlign>: Text align vertical (on downsizing): Top, Center, Bottom-->
|
||||||
|
<HAlign>Center</HAlign>
|
||||||
|
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
|
||||||
|
<Style>Bold</Style>
|
||||||
|
<!--<Font>: Text font name-->
|
||||||
|
<Font>Outline</Font>
|
||||||
|
<!--<Text>: Nothing or translation tag-->
|
||||||
|
<Text>TR_BUTTON_YES</Text>
|
||||||
|
</Text>
|
||||||
|
<!--<Reflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space-->
|
||||||
|
<!-- <Height>: Reflection Height-->
|
||||||
|
<Reflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</Reflection>
|
||||||
|
<!--<SReflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space of selected button-->
|
||||||
|
<!-- <Height>: Reflection Height of selected button-->
|
||||||
|
<SReflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</SReflection>
|
||||||
|
</ButtonPopupYes>
|
||||||
|
<ButtonPopupNo>
|
||||||
|
<!--<Skin>: Texture name-->
|
||||||
|
<Skin>Button</Skin>
|
||||||
|
<!--<SkinSelected>: Texture name for selected button-->
|
||||||
|
<SkinSelected>Button</SkinSelected>
|
||||||
|
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
|
||||||
|
<X>465</X>
|
||||||
|
<Y>360</Y>
|
||||||
|
<Z>-1,01</Z>
|
||||||
|
<W>150</W>
|
||||||
|
<H>50</H>
|
||||||
|
<!--<Color>: Button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonColor</Color>
|
||||||
|
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonSColor</SColor>
|
||||||
|
<Text>
|
||||||
|
<!--<X>, <Y>: Text position-->
|
||||||
|
<X>75</X>
|
||||||
|
<Y>10</Y>
|
||||||
|
<!--<H>: Text height-->
|
||||||
|
<H>32</H>
|
||||||
|
<!--<MaxW>: Maximum text width (if exists)-->
|
||||||
|
<MaxW>142</MaxW>
|
||||||
|
<!--<Color>: Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <R>, <G>, <B>, <A> (lower priority)-->
|
||||||
|
<Color>ButtonTextColor</Color>
|
||||||
|
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
|
||||||
|
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
|
||||||
|
<SColor>ButtonTextSColor</SColor>
|
||||||
|
<!--<Align>: Text align horizontal: Left, Center, Right-->
|
||||||
|
<Align>Center</Align>
|
||||||
|
<!--<HAlign>: Text align vertical (on downsizing): Top, Center, Bottom-->
|
||||||
|
<HAlign>Center</HAlign>
|
||||||
|
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
|
||||||
|
<Style>Bold</Style>
|
||||||
|
<!--<Font>: Text font name-->
|
||||||
|
<Font>Outline</Font>
|
||||||
|
<!--<Text>: Nothing or translation tag-->
|
||||||
|
<Text>TR_BUTTON_NO</Text>
|
||||||
|
</Text>
|
||||||
|
<!--<Reflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space-->
|
||||||
|
<!-- <Height>: Reflection Height-->
|
||||||
|
<Reflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</Reflection>
|
||||||
|
<!--<SReflection> If exists:-->
|
||||||
|
<!-- <Space>: Reflection Space of selected button-->
|
||||||
|
<!-- <Height>: Reflection Height of selected button-->
|
||||||
|
<SReflection>
|
||||||
|
<Space>10</Space>
|
||||||
|
<Height>26</Height>
|
||||||
|
</SReflection>
|
||||||
|
</ButtonPopupNo>
|
||||||
</PartyScreenChallengeMain>
|
</PartyScreenChallengeMain>
|
||||||
</root>
|
</root>
|
||||||
@@ -336,6 +336,7 @@
|
|||||||
<Minus>Minus.png</Minus>
|
<Minus>Minus.png</Minus>
|
||||||
<Plus>Plus.png</Plus>
|
<Plus>Plus.png</Plus>
|
||||||
<Random>Random.png</Random>
|
<Random>Random.png</Random>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
</Skins>
|
</Skins>
|
||||||
<Videos>
|
<Videos>
|
||||||
<BG_Video>[Blue]BG_Video.mp4</BG_Video>
|
<BG_Video>[Blue]BG_Video.mp4</BG_Video>
|
||||||
|
|||||||
@@ -330,6 +330,7 @@
|
|||||||
<Minus>Minus.png</Minus>
|
<Minus>Minus.png</Minus>
|
||||||
<Plus>Plus.png</Plus>
|
<Plus>Plus.png</Plus>
|
||||||
<Random>Random.png</Random>
|
<Random>Random.png</Random>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
</Skins>
|
</Skins>
|
||||||
<Videos>
|
<Videos>
|
||||||
<BG_Video>[Green]BG_Video.mp4</BG_Video>
|
<BG_Video>[Green]BG_Video.mp4</BG_Video>
|
||||||
|
|||||||
@@ -330,6 +330,7 @@
|
|||||||
<Minus>Minus.png</Minus>
|
<Minus>Minus.png</Minus>
|
||||||
<Plus>Plus.png</Plus>
|
<Plus>Plus.png</Plus>
|
||||||
<Random>Random.png</Random>
|
<Random>Random.png</Random>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
</Skins>
|
</Skins>
|
||||||
<Videos>
|
<Videos>
|
||||||
<BG_Video>[Red]BG_Video.mp4</BG_Video>
|
<BG_Video>[Red]BG_Video.mp4</BG_Video>
|
||||||
|
|||||||
@@ -330,6 +330,7 @@
|
|||||||
<Minus>Minus.png</Minus>
|
<Minus>Minus.png</Minus>
|
||||||
<Plus>Plus.png</Plus>
|
<Plus>Plus.png</Plus>
|
||||||
<Random>Random.png</Random>
|
<Random>Random.png</Random>
|
||||||
|
<PopupBG>Popup.png</PopupBG>
|
||||||
</Skins>
|
</Skins>
|
||||||
<Videos>
|
<Videos>
|
||||||
<BG_Video>[Yellow]BG_Video.mp4</BG_Video>
|
<BG_Video>[Yellow]BG_Video.mp4</BG_Video>
|
||||||
|
|||||||
@@ -29,9 +29,17 @@ namespace Vocaluxe.PartyModes
|
|||||||
const string TextWon = "TextWon";
|
const string TextWon = "TextWon";
|
||||||
const string TextSingPoints = "TextSingPoints";
|
const string TextSingPoints = "TextSingPoints";
|
||||||
const string TextGamePoints = "TextGamePoints";
|
const string TextGamePoints = "TextGamePoints";
|
||||||
|
const string TextPopupReallyExit = "TextPopupReallyExit";
|
||||||
|
|
||||||
const string ButtonNextRound = "ButtonNextRound";
|
const string ButtonNextRound = "ButtonNextRound";
|
||||||
|
const string ButtonBack = "ButtonBack";
|
||||||
|
const string ButtonExit = "ButtonExit";
|
||||||
|
const string ButtonPopupYes = "ButtonPopupYes";
|
||||||
|
const string ButtonPopupNo = "ButtonPopupNo";
|
||||||
|
|
||||||
|
const string StaticPopupBG = "StaticPopupBG";
|
||||||
|
|
||||||
|
private bool ExitPopupVisible = false;
|
||||||
|
|
||||||
private DataFromScreen Data;
|
private DataFromScreen Data;
|
||||||
private DataToScreenMain GameState;
|
private DataToScreenMain GameState;
|
||||||
@@ -48,8 +56,9 @@ namespace Vocaluxe.PartyModes
|
|||||||
base.Init();
|
base.Init();
|
||||||
|
|
||||||
_ThemeName = "PartyScreenChallengeMain";
|
_ThemeName = "PartyScreenChallengeMain";
|
||||||
_ThemeTexts = new string[] { TextPosition, TextPlayerName, TextNumPlayed, TextWon, TextSingPoints, TextGamePoints };
|
_ThemeTexts = new string[] { TextPosition, TextPlayerName, TextNumPlayed, TextWon, TextSingPoints, TextGamePoints, TextPopupReallyExit };
|
||||||
_ThemeButtons = new string[] { "ButtonNextRound" };
|
_ThemeButtons = new string[] { ButtonNextRound, ButtonBack, ButtonExit, ButtonPopupYes, ButtonPopupNo };
|
||||||
|
_ThemeStatics = new string[] { StaticPopupBG };
|
||||||
_ScreenVersion = ScreenVersion;
|
_ScreenVersion = ScreenVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,12 +100,32 @@ namespace Vocaluxe.PartyModes
|
|||||||
{
|
{
|
||||||
case Keys.Back:
|
case Keys.Back:
|
||||||
case Keys.Escape:
|
case Keys.Escape:
|
||||||
EndParty();
|
if (!ExitPopupVisible)
|
||||||
|
if (GameState.CurrentRoundNr == 1)
|
||||||
|
Back();
|
||||||
|
else
|
||||||
|
ShowPopup(true);
|
||||||
|
else
|
||||||
|
ShowPopup(false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Keys.Enter:
|
case Keys.Enter:
|
||||||
if (Buttons[htButtons(ButtonNextRound)].Selected)
|
if (!ExitPopupVisible)
|
||||||
NextRound();
|
{
|
||||||
|
if (Buttons[htButtons(ButtonNextRound)].Selected)
|
||||||
|
NextRound();
|
||||||
|
if (Buttons[htButtons(ButtonBack)].Selected && GameState.CurrentRoundNr == 1)
|
||||||
|
ShowPopup(true); //Back();
|
||||||
|
if (Buttons[htButtons(ButtonExit)].Selected && GameState.CurrentRoundNr > 1)
|
||||||
|
ShowPopup(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (Buttons[htButtons(ButtonPopupYes)].Selected)
|
||||||
|
EndParty();
|
||||||
|
if (Buttons[htButtons(ButtonPopupNo)].Selected)
|
||||||
|
ShowPopup(false);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -109,13 +138,33 @@ namespace Vocaluxe.PartyModes
|
|||||||
|
|
||||||
if (MouseEvent.LB && IsMouseOver(MouseEvent))
|
if (MouseEvent.LB && IsMouseOver(MouseEvent))
|
||||||
{
|
{
|
||||||
if (Buttons[htButtons(ButtonNextRound)].Selected)
|
if (!ExitPopupVisible)
|
||||||
NextRound();
|
{
|
||||||
|
if (Buttons[htButtons(ButtonNextRound)].Selected)
|
||||||
|
NextRound();
|
||||||
|
if (Buttons[htButtons(ButtonBack)].Selected && GameState.CurrentRoundNr == 1)
|
||||||
|
Back();
|
||||||
|
if (Buttons[htButtons(ButtonExit)].Selected && GameState.CurrentRoundNr > 1)
|
||||||
|
ShowPopup(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (Buttons[htButtons(ButtonPopupYes)].Selected)
|
||||||
|
EndParty();
|
||||||
|
if (Buttons[htButtons(ButtonPopupNo)].Selected)
|
||||||
|
ShowPopup(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MouseEvent.RB)
|
if (MouseEvent.RB)
|
||||||
{
|
{
|
||||||
EndParty();
|
if (!ExitPopupVisible)
|
||||||
|
if (GameState.CurrentRoundNr == 1)
|
||||||
|
Back();
|
||||||
|
else
|
||||||
|
ShowPopup(true);
|
||||||
|
else
|
||||||
|
ShowPopup(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@@ -126,6 +175,19 @@ namespace Vocaluxe.PartyModes
|
|||||||
base.OnShow();
|
base.OnShow();
|
||||||
|
|
||||||
Updatetable();
|
Updatetable();
|
||||||
|
|
||||||
|
if (GameState.CurrentRoundNr == 1)
|
||||||
|
{
|
||||||
|
Buttons[htButtons(ButtonBack)].Visible = true;
|
||||||
|
Buttons[htButtons(ButtonExit)].Visible = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Buttons[htButtons(ButtonBack)].Visible = false;
|
||||||
|
Buttons[htButtons(ButtonExit)].Visible = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowPopup(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool UpdateGame()
|
public override bool UpdateGame()
|
||||||
@@ -152,7 +214,23 @@ namespace Vocaluxe.PartyModes
|
|||||||
|
|
||||||
private void EndParty()
|
private void EndParty()
|
||||||
{
|
{
|
||||||
//TODO
|
FadeTo(EScreens.ScreenParty);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ShowPopup(bool Visible)
|
||||||
|
{
|
||||||
|
ExitPopupVisible = Visible;
|
||||||
|
|
||||||
|
Statics[htStatics(StaticPopupBG)].Visible = ExitPopupVisible;
|
||||||
|
Texts[htTexts(TextPopupReallyExit)].Visible = ExitPopupVisible;
|
||||||
|
Buttons[htButtons(ButtonPopupYes)].Visible = ExitPopupVisible;
|
||||||
|
Buttons[htButtons(ButtonPopupNo)].Visible = ExitPopupVisible;
|
||||||
|
|
||||||
|
SetInteractionToButton(Buttons[htButtons(ButtonPopupNo)]);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Back()
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BuildTable()
|
private void BuildTable()
|
||||||
|
|||||||
Reference in new issue
Block a user