- Timestamp:
- 08/01/11 02:41:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml
r9616 r9947 23 23 onTick(); 24 24 </action> 25 26 <!--27 ==========================================28 - MAIN MENU - PRE-RELEASE WARNING29 ==========================================30 -->31 32 <object33 style="fancyTextHeadWhite"34 type="text"35 sprite="bkTranslucent"36 textcolor="255 255 0"37 size="4 24 220 230"38 >[font="serif-bold-16"]Alpha version[/font]39 Warning: This is an early development version of the game and many features have not been added yet, but we hope this gives you a glimpse of the game’s vision.40 41 Watch for updates or get involved in the development: http://wildfiregames.com/0ad/42 </object>43 25 44 26 <!-- … … 58 40 </object> 59 41 42 43 60 44 <!-- 61 45 ========================================== 62 - MAIN MENU - RANDOMBUTTONS46 - MAIN PANEL MENU - PARCHMENT BUTTONS 63 47 ========================================== 64 48 --> 65 49 66 <object size="100%-400 0 100% 30"> 67 <object type="button" style="wheatButton" size="0 0 100 30"> 68 Manual 69 <action on="Press"><![CDATA[ 70 Engine.PushGuiPage("page_manual.xml", { "page": "intro" }); 71 ]]></action> 72 </object> 73 74 <object type="button" style="wheatButton" size="100 0 200 30"> 75 Website 76 <action on="Press"><![CDATA[ 77 var url = "http://wildfiregames.com/0ad/"; 78 Engine.OpenURL(url); 79 messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2); 80 ]]></action> 81 </object> 82 83 <object type="button" style="wheatButton" size="200 0 300 30"> 84 IRC 85 <action on="Press"><![CDATA[ 86 var url = "http://webchat.quakenet.org/?channels=0ad"; 87 Engine.OpenURL(url); 88 messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2); 89 ]]></action> 90 </object> 91 92 <!-- MAIN MENU - EXIT BUTTON --> 93 <object type="button" style="wheatButton" name="pgExit" size="300 0 400 30"> 94 Quit 95 <action on="Press"><![CDATA[ 96 var btCaptions = ["Yes", "No"]; 97 var btCode = [exit, null]; 98 messageBox (400, 200, "Are you sure you want to quit [icon=iconProduct] A.D.?", "Confirmation", 0, btCaptions, btCode); 99 ]]></action> 100 </object> 101 </object> 102 103 <!-- 104 ========================================== 105 - MAIN MENU - PARCHMENT BUTTONS 106 ========================================== 107 --> 108 50 51 <object 52 type="image" 53 sprite="bkTranslucent" 54 size="60 0 310 100%" 55 > 56 <object name="pgProductLogo" 57 style="pgButton" 58 type="button" 59 ghost="true" 60 size="20 40 240 140" 61 sprite="pgProductLogo" 62 > 63 </object> 64 65 <object 66 size="0 170 100% 400" 67 type="image" 68 sprite="bkTranslucent" 69 > 70 71 <object name="pgLearnToPlayBt" 72 type="button" 73 style="wheatButton" 74 size="4 4 100%-4 36" 75 tooltip_style="pgToolTip" 76 tooltip="The 0 A.D. Game Manual" 77 > 78 Learn To Play 79 <action on="Press"><![CDATA[ 80 Engine.PushGuiPage("page_manual.xml", { "page": "intro" }); 81 ]]></action> 82 </object> 83 84 85 <object name="pgSinglePlayerBt" 86 style="wheatButton" 87 type="button" 88 size="4 36 100%-4 68" 89 tooltip_style="pgToolTip" 90 tooltip="Click here to start a new single player game. (A very basic computer opponent is available for testing purposes.)" 91 > 92 Single Player 93 <action on="Press"><![CDATA[ 94 // Open Session Setup window. 95 Engine.PushGuiPage("page_gamesetup.xml", { type: "offline" }); 96 ]]></action> 97 </object> 98 99 <object name="pgMultiPlayerBt" 100 style="wheatButton" 101 type="button" 102 size="4 68 100%-4 100" 103 tooltip_style="pgToolTip" 104 tooltip="Tired of playing with yourself? Fight against one or more human players in a multiplayer game." 105 > 106 Multiplayer 107 <action on="Press"><![CDATA[ 108 // Open Multiplayer connection window. 109 Engine.PushGuiPage("page_gamesetup_mp.xml"); 110 ]]></action> 111 </object> 112 113 <object name="pgEditorBt" 114 style="wheatButton" 115 type="button" 116 size="4 100 100%-4 132" 117 tooltip_style="pgToolTip" 118 tooltip="Open the Atlas Scenario Editor in a new window. You can run this more reliably by starting the game with the command-line argument "-editor"." 119 > 120 Scenario Editor 121 <action on="Press"><![CDATA[ 122 if (Engine.AtlasIsAvailable()) 123 Engine.RestartInAtlas(); 124 else 125 messageBox(400, 200, "The scenario editor is not available or failed to load.", "Error", 2); 126 ]]></action> 127 </object> 128 129 <object name="pgOptionsBt" 130 style="wheatButton" 131 type="button" 132 size="4 132 100%-4 164" 133 tooltip_style="pgToolTip" 134 tooltip="This will take you to the options menu. It does not work now, but someday it will." 135 enabled="false" 136 > 137 Options 138 <action on="Press"><![CDATA[ 139 // Open Options window. 140 openMainMenuSubWindow ("pgOptions"); 141 ]]></action> 142 </object> 143 144 <!-- EXIT BUTTON --> 145 <object name="pgExit" 146 type="button" 147 style="wheatButton" 148 size="4 164 100%-4 196" 149 tooltip_style="pgToolTip" 150 tooltip="Exit Game" 151 > 152 Quit 153 <action on="Press"><![CDATA[ 154 var btCaptions = ["Yes", "No"]; 155 var btCode = [exit, null]; 156 messageBox (400, 200, "Are you sure you want to quit [icon=iconProduct] A.D.?", "Confirmation", 0, btCaptions, btCode); 157 ]]></action> 158 </object> 159 160 <!-- <object name="pgCampaignsBt" 161 style="wheatButton" 162 type="button" 163 size="4 36 100%-4 68" 164 tooltip_style="pgToolTip" 165 tooltip="Want to play a campaign? Unfortunately you'll have to wait as they're not yet implemented." 166 enabled="false" 167 > 168 Historical Campaigns 169 <action on="Press"><![CDATA[ 170 openMainMenuSubWindow ("pgCampaigns"); 171 ]]></action> 172 </object> 173 --> 174 <!-- <object name="pgHistoryBt" 175 style="wheatButton" 176 type="button" 177 size="4 36 100%-4 68" 178 tooltip_style="pgToolTip" 179 tooltip="One day you will click this button and learn more about ancient history than any history teacher ever taught you." 180 enabled="false" 181 > 182 History 183 <action on="Press"><![CDATA[ 184 openMainMenuSubWindow ("pgHistory"); 185 ]]></action> 186 </object> 187 --> 188 </object> 189 190 <!-- CONTACT METHODS --> 191 <object size="0 100%-340 100% 100%-300"> 192 <object type="button" 193 style="wheatButton" 194 size="4 0 50%-2 36" 195 > 196 Website 197 <action on="Press"><![CDATA[ 198 var url = "http://wildfiregames.com/0ad/"; 199 Engine.OpenURL(url); 200 messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2); 201 ]]></action> 202 </object> 203 204 <object type="button" 205 style="wheatButton" 206 size="50%+2 0 100%-4 36" 207 > 208 IRC 209 <action on="Press"><![CDATA[ 210 var url = "http://webchat.quakenet.org/?channels=0ad"; 211 Engine.OpenURL(url); 212 messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2); 213 ]]></action> 214 </object> 215 </object> 216 217 <!-- PRE-RELEASE WARNING --> 218 <object 219 style="fancyTextHeadWhite" 220 type="text" 221 sprite="bkTranslucent" 222 textcolor="255 255 0" 223 size="0 100%-280 100% 100%-64" 224 >[font="serif-bold-16"]Alpha version[/font] 225 Warning: This is an early development version of the game and many features have not been added yet, but we hope this gives you a glimpse of the game’s vision. 226 227 Watch for updates or get involved in the development: http://wildfiregames.com/0ad/ 228 </object> 229 230 <!-- VERSION --> 231 <object name="pgVersionNumber" 232 style="fancyTextHeadGold" 233 type="text" 234 ghost="true" 235 size="2 100%-64 100%-2 100%-2" 236 > 237 <action on="Load"><![CDATA[ 238 this.caption = "Build: " + buildTime(0) + " - " + buildTime(2); 239 ]]></action> 240 </object> 241 </object> 242 243 <!-- 109 244 <object name="pgCampaignsBt" 110 245 style="pgButton" … … 193 328 ]]></action> 194 329 </object> 330 --> 331 332 333 334 335 336 195 337 196 338 <!-- … … 199 341 ========================================== 200 342 --> 201 343 <!-- 202 344 <object name="pgProductLogo" 203 345 style="pgButton" … … 255 397 ]]></action> 256 398 </object> 257 399 --> 258 400 <!-- 259 401 ========================================== … … 261 403 ========================================== 262 404 --> 263 405 <!-- 264 406 <object name="pgCompanyLogo" 265 407 style="pgButton" … … 275 417 ]]></action> 276 418 </object> 277 419 --> 278 420 <!-- 279 421 ========================================== … … 284 426 <object 285 427 name="userReportDisabled" 286 size=" 4 300 304450"428 size="100%-300 300 100% 450" 287 429 type="image" 288 430 style="userReportPanel" … … 307 449 <object 308 450 name="userReportEnabled" 309 size=" 4 300 304 590"451 size="100%-304 300 100%-4 590" 310 452 type="image" 311 453 style="userReportPanel" … … 376 518 =============================================== 377 519 --> 378 520 <!-- 379 521 <object name="pgCampaigns" 380 522 style="wheatWindow" … … 397 539 ]]></action> 398 540 </object> 399 541 --> 400 542 <!-- Add campaign screen controls here later --> 401 543 <!-- 402 544 </object> 403 545 --> 404 546 <!-- 405 547 =============================================== … … 407 549 =============================================== 408 550 --> 409 551 <!-- 410 552 <object name="pgOptions" 411 553 style="wheatWindow" … … 429 571 ]]></action> 430 572 </object> 431 573 --> 432 574 <!-- 433 575 =============================================== … … 435 577 =============================================== 436 578 --> 437 579 <!-- 438 580 <object name="pgOptionsAudioWindow" 439 581 style="wheatBorderBlack" … … 466 608 ]]></action> 467 609 </object> 468 610 --> 469 611 <!-- 470 612 =============================================== … … 472 614 =============================================== 473 615 --> 474 616 <!-- 475 617 <object name="pgOptionsAudioMusicGainTitle" 476 618 style="wheatTextLabelBlack" … … 546 688 ]]></action> 547 689 </object> 548 690 --> 549 691 <!-- 550 692 =============================================== … … 552 694 =============================================== 553 695 --> 554 696 <!-- 555 697 <object name="pgOptionsAudioSoundGainTitle" 556 698 style="wheatTextLabelBlack" … … 622 764 ]]></action> 623 765 </object> 624 766 --> 625 767 <!-- 626 768 =============================================== … … 628 770 =============================================== 629 771 --> 630 772 <!-- 631 773 <object name="pgOptionsAudioAmbientGainTitle" 632 774 style="wheatTextLabelBlack" … … 698 840 ]]></action> 699 841 </object> 700 842 --> 701 843 <!-- 702 844 =============================================== … … 704 846 =============================================== 705 847 --> 706 848 <!-- 707 849 <object name="pgOptionsAudioVoiceGainTitle" 708 850 style="wheatTextLabelBlack" … … 775 917 776 918 </object> 777 919 --> 778 920 <!-- 779 921 =============================================== … … 781 923 =============================================== 782 924 --> 783 925 <!-- 784 926 <object name="pgOptionsVideoWindow" 785 927 style="wheatBorderBlack" … … 789 931 > 790 932 791 933 --> 792 934 <!-- 793 935 =============================================== … … 795 937 =============================================== 796 938 --> 797 939 <!-- 798 940 799 941 <object name="pgOptionsVideoResolutionTitle" … … 823 965 ]]></action> 824 966 </object> 825 967 --> 826 968 827 969 <!-- … … 830 972 =============================================== 831 973 --> 832 974 <!-- 833 975 834 976 <object name="pgOptionsVideoDetailTitle" … … 857 999 ]]></action> 858 1000 </object> 859 1001 --> 860 1002 <!-- 861 1003 =============================================== … … 863 1005 =============================================== 864 1006 --> 865 1007 <!-- 866 1008 <object name="pgOptionsVideoTextureTitle" 867 1009 style="wheatTextLabelBlack" … … 889 1031 ]]></action> 890 1032 </object> 891 1033 --> 892 1034 <!-- 893 1035 =============================================== … … 895 1037 =============================================== 896 1038 --> 897 1039 <!-- 898 1040 <object name="pgOptionsVideoAnimationTitle" 899 1041 style="wheatTextLabelBlack" … … 921 1063 ]]></action> 922 1064 </object> 923 1065 --> 924 1066 <!-- 925 1067 =============================================== … … 927 1069 =============================================== 928 1070 --> 929 1071 <!-- 930 1072 <object name="pgOptionsVideoEffectsTitle" 931 1073 style="wheatTextLabelBlack" … … 953 1095 ]]></action> 954 1096 </object> 955 1097 --> 956 1098 <!-- 957 1099 =============================================== … … 959 1101 =============================================== 960 1102 --> 961 1103 <!-- 962 1104 <object name="pgOptionsVideoWeatherTitle" 963 1105 style="wheatTextLabelBlack" … … 985 1127 ]]></action> 986 1128 </object> 987 1129 --> 988 1130 <!-- 989 1131 =============================================== … … 991 1133 =============================================== 992 1134 --> 993 1135 <!-- 994 1136 <object name="pgOptionsVideoWaterTitle" 995 1137 style="wheatTextLabelBlack" … … 1017 1159 ]]></action> 1018 1160 </object> 1019 1161 --> 1020 1162 <!-- 1021 1163 =============================================== … … 1023 1165 =============================================== 1024 1166 --> 1025 1167 <!-- 1026 1168 <object name="pgOptionsVideoWaterTerrain" 1027 1169 style="wheatTextLabelBlack" … … 1049 1191 ]]></action> 1050 1192 </object> 1051 1193 --> 1052 1194 <!-- 1053 1195 =============================================== … … 1055 1197 =============================================== 1056 1198 --> 1057 1199 <!-- 1058 1200 <object name="pgOptionsVideoShadowTitle" 1059 1201 style="wheatTextLabelBlack" … … 1081 1223 ]]></action> 1082 1224 </object> 1083 1225 --> 1084 1226 <!-- 1085 1227 =============================================== … … 1087 1229 =============================================== 1088 1230 --> 1089 1231 <!-- 1090 1232 <object name="pgOptionsVideoBloodTitle" 1091 1233 style="wheatTextLabelBlack" … … 1106 1248 > 1107 1249 </object> 1108 1250 --> 1109 1251 1110 1252 <!-- … … 1113 1255 =============================================== 1114 1256 --> 1115 1257 <!-- 1116 1258 <object name="pgOptionsVideoSystemInfoButton" 1117 1259 style="wheatButton" … … 1127 1269 1128 1270 </object> 1129 1271 --> 1130 1272 <!-- 1131 1273 =============================================== … … 1133 1275 =============================================== 1134 1276 --> 1135 1277 <!-- 1136 1278 <object name="pgOptionsGameWindow" 1137 1279 style="wheatBorderBlack" … … 1140 1282 size="1% 4% 99% 90%" 1141 1283 > 1142 1284 --> 1143 1285 <!-- 1144 1286 =============================================== … … 1146 1288 =============================================== 1147 1289 --> 1148 1290 <!-- 1149 1291 <object name="pgOptionsGameMouseTitle" 1150 1292 style="wheatTextLabelBlack" … … 1174 1316 1175 1317 </object> 1176 1318 --> 1177 1319 <!-- 1178 1320 =============================================== … … 1180 1322 =============================================== 1181 1323 --> 1182 1324 <!-- 1183 1325 <object name="pgOptionsAudioButton" 1184 1326 style="wheatButton" … … 1216 1358 ]]></action> 1217 1359 </object> 1218 1360 --> 1219 1361 <!-- 1220 1362 =============================================== … … 1222 1364 =============================================== 1223 1365 --> 1224 1366 <!-- 1225 1367 <object name="pgOptionsOKButton" 1226 1368 style="wheatButton" … … 1239 1381 ]]></action> 1240 1382 </object> 1241 1383 --> 1242 1384 <!-- 1243 1385 =============================================== … … 1245 1387 =============================================== 1246 1388 --> 1247 1389 <!-- 1248 1390 <object name="pgOptionsCancelButton" 1249 1391 style="wheatButton" … … 1260 1402 1261 1403 </object> 1262 1404 --> 1263 1405 <!-- 1264 1406 =============================================== … … 1266 1408 =============================================== 1267 1409 --> 1268 1410 <!-- 1269 1411 <object name="pgHistory" 1270 1412 style="wheatWindow" … … 1288 1430 </object> 1289 1431 </object> 1290 1432 --> 1291 1433 <!-- 1292 1434 =============================================== … … 1294 1436 =============================================== 1295 1437 --> 1296 1438 <!-- 1297 1439 <object name="pgCredits" 1298 1440 style="fancyTextHeadWhite" … … 1308 1450 ]]></action> 1309 1451 </object> 1310 1452 --> 1311 1453 </object> 1312 1454 </objects>
Note:
See TracChangeset
for help on using the changeset viewer.
