Minor tweakings regarding multi-lined code for message boxes.
This was SVN commit r1369.
This commit is contained in:
parent
82fe6b675a
commit
dfec360d84
@ -13,15 +13,15 @@
|
||||
<object type="empty" name="pregame_gui" size="0 0 100% 100%" z="1" hidden="false">
|
||||
<action on="Load"><![CDATA[
|
||||
// Play main 0 A.D. theme when the main menu starts.
|
||||
curr_music = newRandomSound("music", "theme");
|
||||
curr_music.loop();
|
||||
curr_music.free(); // Close main theme when starting game session.
|
||||
curr_session_playlist_1 = newRandomSound("music", "peace");
|
||||
curr_session_playlist_1.play();
|
||||
curr_session_playlist_1.free();
|
||||
curr_session_playlist_2 = newRandomSound("music", "peace");
|
||||
curr_session_playlist_2.play();
|
||||
curr_session_playlist_2.free();
|
||||
curr_music = newRandomSound("music", "theme");
|
||||
curr_music.loop();
|
||||
curr_music.free(); // Close main theme when starting game session.
|
||||
curr_session_playlist_1 = newRandomSound("music", "peace");
|
||||
curr_session_playlist_1.play();
|
||||
curr_session_playlist_1.free();
|
||||
curr_session_playlist_2 = newRandomSound("music", "peace");
|
||||
curr_session_playlist_2.play();
|
||||
curr_session_playlist_2.free();
|
||||
]]></action>
|
||||
|
||||
<object type="image" name="pregame-mainmenu-background-image" sprite="pregame-mainmenu-background" size="0 0 100% 100%" z="100" hidden="false" />
|
||||
@ -30,6 +30,7 @@
|
||||
<action on="Press"><![CDATA[
|
||||
startGame();
|
||||
GUIObjectUnhide("session_gui");
|
||||
GUIObjectUnhide("End_Game_Button");
|
||||
GUIObjectHide("pregame_gui");
|
||||
FlipGUI(GUIType);
|
||||
]]></action>
|
||||
|
Loading…
Reference in New Issue
Block a user