gui.xml 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!--
  3. Copyright (c) 2003-onwards Shaven Puppy Ltd
  4. All rights reserved.
  5. Redistribution and use in source and binary forms, with or without
  6. modification, are permitted provided that the following conditions are
  7. met:
  8. * Redistributions of source code must retain the above copyright
  9. notice, this list of conditions and the following disclaimer.
  10. * Redistributions in binary form must reproduce the above copyright
  11. notice, this list of conditions and the following disclaimer in the
  12. documentation and/or other materials provided with the distribution.
  13. * Neither the name of 'Shaven Puppy' nor the names of its contributors
  14. may be used to endorse or promote products derived from this software
  15. without specific prior written permission.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  17. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  18. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  20. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  22. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  23. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  24. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  25. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. -->
  28. <!-- GUI resources -->
  29. <resources>
  30. <include resource="tags.xml" />
  31. <include resource="gui-keys.xml" />
  32. <include resource="keys.xml" />
  33. <animation name="hud.phase.20%.animation">
  34. <label id="loop"/>
  35. <animcolor a="+0" d="2" />
  36. <animcolor a="+0" d="2" />
  37. <animcolor a="+0" d="2" />
  38. <animcolor a="+0" d="2" />
  39. <animcolor a="+1" d="2" />
  40. <animcolor a="+1" d="2" />
  41. <animcolor a="+1" d="2" />
  42. <animcolor a="+1" d="2" />
  43. <animcolor a="+1" d="2" />
  44. <animcolor a="+2" d="2" />
  45. <animcolor a="+1" d="2" />
  46. <animcolor a="+2" d="2" />
  47. <animcolor a="+2" d="2" />
  48. <animcolor a="+2" d="2" />
  49. <animcolor a="+2" d="2" />
  50. <animcolor a="+1" d="2" />
  51. <animcolor a="+2" d="2" />
  52. <animcolor a="+2" d="2" />
  53. <animcolor a="+2" d="2" />
  54. <animcolor a="+3" d="2" />
  55. <animcolor a="+2" d="2" />
  56. <animcolor a="+2" d="2" />
  57. <animcolor a="+2" d="2" />
  58. <animcolor a="+2" d="2" />
  59. <animcolor a="+1" d="2" />
  60. <animcolor a="+2" d="2" />
  61. <animcolor a="+2" d="2" />
  62. <animcolor a="+2" d="2" />
  63. <animcolor a="+1" d="2" />
  64. <animcolor a="+2" d="2" />
  65. <animcolor a="+1" d="2" />
  66. <animcolor a="+1" d="2" />
  67. <animcolor a="+2" d="2" />
  68. <animcolor a="+0" d="2" />
  69. <animcolor a="+1" d="2" />
  70. <animcolor a="+1" d="2" />
  71. <animcolor a="+0" d="2" />
  72. <animcolor a="+0" d="2" />
  73. <animcolor a="+0" d="2" />
  74. <animcolor a="+0" d="2" />
  75. <animcolor a="+0" d="2" />
  76. <animcolor a="+-1" d="2" />
  77. <animcolor a="+-1" d="2" />
  78. <animcolor a="+0" d="2" />
  79. <animcolor a="+-2" d="2" />
  80. <animcolor a="+-1" d="2" />
  81. <animcolor a="+-1" d="2" />
  82. <animcolor a="+-2" d="2" />
  83. <animcolor a="+-1" d="2" />
  84. <animcolor a="+-2" d="2" />
  85. <animcolor a="+-2" d="2" />
  86. <animcolor a="+-2" d="2" />
  87. <animcolor a="+-1" d="2" />
  88. <animcolor a="+-2" d="2" />
  89. <animcolor a="+-2" d="2" />
  90. <animcolor a="+-2" d="2" />
  91. <animcolor a="+-2" d="2" />
  92. <animcolor a="+-3" d="2" />
  93. <animcolor a="+-2" d="2" />
  94. <animcolor a="+-2" d="2" />
  95. <animcolor a="+-2" d="2" />
  96. <animcolor a="+-1" d="2" />
  97. <animcolor a="+-2" d="2" />
  98. <animcolor a="+-2" d="2" />
  99. <animcolor a="+-2" d="2" />
  100. <animcolor a="+-2" d="2" />
  101. <animcolor a="+-1" d="2" />
  102. <animcolor a="+-2" d="2" />
  103. <animcolor a="+-1" d="2" />
  104. <animcolor a="+-1" d="2" />
  105. <animcolor a="+-1" d="2" />
  106. <animcolor a="+-1" d="2" />
  107. <animcolor a="+-1" d="2" />
  108. <animcolor a="+0" d="2" />
  109. <animcolor a="+0" d="2" />
  110. <animcolor a="+0" d="2" />
  111. <goto id="loop"/>
  112. </animation>
  113. <!-- standard widgety bits -->
  114. <area name="titlescreen.spec"
  115. size="320,320"
  116. scale="0.625"
  117. position="=$SCREEN_X,$SCREEN_Y"
  118. noClick="true"
  119. layer="-3"
  120. >
  121. <anchor x="mid" y="mid" d="0"/>
  122. <mouseOff>
  123. <animation>
  124. <scale xscale="1.35" yscale="0.625" d="0"/>
  125. <animcolor a="255" d="0"/>
  126. <frame i="spriteimage.hud.titlescreen.01" d="1"/>
  127. <frame i="hud.phase.20%.animation" d="1"/>
  128. </animation>
  129. </mouseOff>
  130. </area>
  131. <area name="titlescreen-middle.spec"
  132. size="240,240"
  133. scale="0.46875"
  134. position="=$SCREEN_X-120,63"
  135. noClick="true"
  136. layer="-3"
  137. >
  138. <anchor x="mid" d="-120" /><anchor y="mid" d="-97" />
  139. <mouseOff>
  140. <animation>
  141. <animcolor a="255" d="0"/>
  142. <frame i="spriteimage.titlescreen.middle.01" d="1"/>
  143. <frame i="hud.phase.20%.animation" d="1"/>
  144. </animation>
  145. </mouseOff>
  146. </area>
  147. <area name="titlescreen-left.spec"
  148. inherit="titlescreen-middle.spec"
  149. >
  150. <anchor x="mid" d="-360" /><anchor y="mid" d="-97" />
  151. <mouseOff>
  152. <animation>
  153. <animcolor a="255" d="0"/>
  154. <frame i="spriteimage.titlescreen.left.01" d="1"/>
  155. <frame i="hud.phase.20%.animation" d="1"/>
  156. </animation>
  157. </mouseOff>
  158. </area>
  159. <area name="titlescreen-right.spec"
  160. inherit="titlescreen-middle.spec"
  161. position="=$SCREEN_X+120,63"
  162. >
  163. <anchor x="mid" d="120" /><anchor y="mid" d="-97" />
  164. <mouseOff>
  165. <animation>
  166. <animcolor a="255" d="0"/>
  167. <frame i="spriteimage.titlescreen.right.01" d="1"/>
  168. <frame i="hud.phase.20%.animation" d="1"/>
  169. </animation>
  170. </mouseOff>
  171. </area>
  172. <area name="titlescreen-logo.spec"
  173. inherit="titlescreen-middle.spec"
  174. position="=$SCREEN_X-99,115"
  175. size="186,60"
  176. mouseOff="spriteimage.titlescreen.logo.01"
  177. layer="-2"
  178. >
  179. <anchor x="mid" d="-93" /><anchor y="mid" d="-65" />
  180. </area>
  181. <area
  182. name="dialog.background.spec"
  183. noClick="true"
  184. layer="-1"
  185. bglayer="-2"
  186. textLayer="11"
  187. position="=$SCREEN_X-160,0"
  188. size="320,320"
  189. >
  190. <anchor x="left" y="bottom" w="right" h="top" d="0"/>
  191. <background>
  192. <widgetbackground
  193. inherit="dialog-dim.background"
  194. topColor="0,0,0,200"
  195. bottomColor="0,0,0,150"
  196. />
  197. </background>
  198. </area>
  199. <area
  200. name="dialog.ingame.background.spec"
  201. inherit="dialog.background.spec"
  202. >
  203. <anchor x="left" y="bottom" w="right" h="top" d="0"/>
  204. <background>
  205. <widgetbackground
  206. inherit="dialog-dim.background"
  207. topColor="0,0,0,170"
  208. bottomColor="0,0,0,170"
  209. />
  210. </background>
  211. </area>
  212. <area
  213. name="dialog.background.glow.spec"
  214. noClick="true"
  215. layer="-1"
  216. position="=$SCREEN_X-160,$SCREEN_Y-160+$dialog_y_offset"
  217. size="320,320"
  218. scale="0.625"
  219. >
  220. <anchor x="mid" d="-160"/>
  221. <anchor y="mid" d="=$dialog_y_offset-160" />
  222. <mouseOff>
  223. <animation>
  224. <animcolor a="150" d="0"/>
  225. <frame i="spriteimage.hud.titlescreen.overlay.01" d="0"/>
  226. <frame i="hud.phase.20%.animation" d="1"/>
  227. </animation>
  228. </mouseOff>
  229. </area>
  230. <area
  231. name="dialog.ingame.background.glow.spec"
  232. inherit="dialog.background.glow.spec"
  233. position="=$SCREEN_X,$SCREEN_Y+$dialog_y_offset+50"
  234. size="8,8"
  235. scale="0.625"
  236. >
  237. <anchor x="mid" d="0"/>
  238. <anchor y="mid" d="=$dialog_y_offset+50" />
  239. </area>
  240. <area
  241. name="dialog.spec"
  242. noClick="true"
  243. layer="0"
  244. bglayer="0"
  245. textLayer="11"
  246. font="tinyfont.glfont"
  247. halign="centered"
  248. valign="top"
  249. color="dialog-title"
  250. textOffset="=0,$dialog_title_offset"
  251. >
  252. <background>
  253. <widgetbackground inherit="hud_background"
  254. color="dialog-top"
  255. />
  256. </background>
  257. </area>
  258. <area
  259. name="dialog.glow.spec"
  260. inherit="dialog.spec"
  261. bglayer="1"
  262. >
  263. <background>
  264. <widgetbackground inherit="hud_background_glow"
  265. color="dialog-glow"
  266. insets="13,22,17,9"
  267. />
  268. </background>
  269. </area>
  270. <area
  271. name="dialog.closeable.spec"
  272. inherit="dialog.spec"
  273. >
  274. <background>
  275. <widgetbackground inherit="hud_background_closeable"
  276. color="dialog-top"
  277. />
  278. </background>
  279. </area>
  280. <area
  281. name="dialog.red.spec"
  282. inherit="dialog.spec"
  283. >
  284. <background>
  285. <widgetbackground inherit="hud_background"
  286. color="250,0,0"
  287. />
  288. </background>
  289. </area>
  290. <area
  291. name="dialog.ingame.spec"
  292. inherit="dialog.spec"
  293. bglayer="10"
  294. textLayer="11"
  295. >
  296. <background>
  297. <widgetbackground inherit="hud_background_status"
  298. color="dialog-top"
  299. />
  300. </background>
  301. </area>
  302. <area
  303. name="dialog.ingame.glow.spec"
  304. inherit="dialog.spec"
  305. bglayer="9"
  306. >
  307. <background>
  308. <widgetbackground inherit="hud_background_glow"
  309. color="dialog-glow"
  310. insets="13,22,17,9"
  311. />
  312. </background>
  313. </area>
  314. <area
  315. name="dialog.title.spec"
  316. noClick="true"
  317. textLayer="11"
  318. bglayer="10"
  319. font="tinyfont.glfont"
  320. valign="centered"
  321. halign="centered"
  322. color="dialog-title"
  323. />
  324. <area
  325. name="dialog.message.spec"
  326. noClick="true"
  327. textLayer="11"
  328. font="tinyfont.glfont"
  329. valign="centered"
  330. halign="centered"
  331. color="text"
  332. />
  333. <area
  334. name="textfield.spec"
  335. nextfocus="ok"
  336. prevfocus="cancel"
  337. color="0,0,0"
  338. font="tinyfont.glfont"
  339. bglayer="11"
  340. textLayer="12"
  341. >
  342. <background>
  343. <widgetbackground inherit="textfield_background"
  344. color="text"
  345. />
  346. </background>
  347. </area>
  348. <area
  349. name="options.item.bar.spec"
  350. font="tinyfont.glfont"
  351. textLayer="12"
  352. halign="left"
  353. valign="centered"
  354. textOffset="=$options_bar_label_offset,0"
  355. size="=$options_bar_label_w,$options_item_h"
  356. color="text"
  357. leading="-3"
  358. />
  359. <area
  360. name="options.item.button.spec"
  361. inherit="options.item.bar.spec"
  362. halign="left"
  363. textOffset="=$options_button_label_offset,0"
  364. size="=$options_button_label_w,$options_item_h"
  365. color="text"
  366. />
  367. <area
  368. name="options.item.instruction.spec"
  369. inherit="options.item.button.spec"
  370. halign="centered"
  371. textOffset="0,0"
  372. size="=$options_instruction_w,$options_item_h"
  373. color="text"
  374. />
  375. <area
  376. name="options.widget.spec"
  377. offset="-1,-1"
  378. size="=$options_item_h,$options_item_h"
  379. layer="12"
  380. scale="0.4"
  381. />
  382. <area
  383. name="options.radiobutton.off.spec"
  384. inherit="options.widget.spec"
  385. disabled="spriteimage.hud.radiobutton.off.disabled.01"
  386. mouseoff="spriteimage.hud.radiobutton.off.off.01"
  387. mouseon="widget.radiobutton.off.on.animation"
  388. />
  389. <area
  390. name="options.radiobutton.on.spec"
  391. inherit="options.widget.spec"
  392. noClick="true"
  393. disabled="spriteimage.hud.radiobutton.on.disabled.01"
  394. mouseoff="spriteimage.hud.radiobutton.on.off.01"
  395. mouseon="widget.radiobutton.on.on.animation"
  396. />
  397. <area
  398. name="options.checkbox.off.spec"
  399. inherit="options.radiobutton.off.spec"
  400. mouseon="widget.cross.on.animation"
  401. />
  402. <area
  403. name="options.checkbox.on.spec"
  404. inherit="options.checkbox.off.spec"
  405. disabled="spriteimage.hud.checkbox.tick.disabled.01"
  406. mouseoff="spriteimage.hud.checkbox.tick.off.01"
  407. mouseon="widget.tick.on.animation"
  408. />
  409. <powerdisplay
  410. name="dialog.powerdisplay.spec"
  411. gap="=$options_bar_dit_w"
  412. layer="12"
  413. />
  414. <!-- buttons -->
  415. <area
  416. name="button.spec"
  417. bglayer="11"
  418. layer="12"
  419. textLayer="12"
  420. size="=$button_w,$button_h"
  421. font="tinyfont.glfont"
  422. color="button-text"
  423. mouseOnColor="button-text-on"
  424. disabledColor="button-text-disabled"
  425. valign="centered"
  426. halign="centered"
  427. >
  428. <background>
  429. <widgetbackground inherit="button_background"
  430. color="button"
  431. />
  432. </background>
  433. <mouseOnBackground>
  434. <widgetbackground inherit="button_background"
  435. color="button-on"
  436. />
  437. </mouseOnBackground>
  438. <disabledBackground>
  439. <widgetbackground inherit="button_background"
  440. color="button-disabled"
  441. />
  442. </disabledBackground>
  443. </area>
  444. <area
  445. name="button.red.spec"
  446. inherit="button.spec"
  447. color="button-red-text"
  448. >
  449. <background>
  450. <widgetbackground inherit="button_background"
  451. color="button-red"
  452. />
  453. </background>
  454. <mouseOnBackground>
  455. <widgetbackground inherit="button_background"
  456. color="button-red-on"
  457. />
  458. </mouseOnBackground>
  459. </area>
  460. <area
  461. name="titlescreen.menu.button.spec"
  462. textLayer="11"
  463. font="tinyfont.glfont"
  464. color="!114,255,120"
  465. mouseOnColor="!114,255,96,100"
  466. valign="centered"
  467. halign="centered"
  468. />
  469. <area
  470. name="button.gamescreen.spec"
  471. inherit="button.spec"
  472. color="button-text"
  473. mouseOnColor="button-text-on"
  474. >
  475. <background>
  476. <widgetbackground inherit="button_background"
  477. color="button"
  478. />
  479. </background>
  480. <mouseOnBackground>
  481. <widgetbackground inherit="button_background"
  482. color="button-on"
  483. />
  484. </mouseOnBackground>
  485. </area>
  486. <area name="button.continue.spec"
  487. inherit="button.gamescreen.spec"
  488. text="=$generic.button.continue"
  489. size="=$continue_button_w,$button_h"
  490. position="=$continue_button_x,$continue_button_y"
  491. >
  492. <anchor x="right" d="=0-$continue_button_w-$continue_button_offset"/>
  493. </area>
  494. <area name="button.back.spec"
  495. inherit="button.gamescreen.spec"
  496. text="=$generic.button.back"
  497. size="=$back_button_w,$button_h"
  498. position="=$back_button_x,$back_button_y"
  499. >
  500. <anchor x="left" d="=$back_button_offset"/>
  501. </area>
  502. <area name="button.abort.spec"
  503. inherit="button.red.spec"
  504. text="=$generic.button.abort"
  505. position="=$abort_button_x,$abort_button_y"
  506. >
  507. <anchor x="left" d="=$abort_button_x"/>
  508. </area>
  509. <area name="button.nag.buy.spec"
  510. inherit="button.gamescreen.spec"
  511. size="=$nag_buy_button_w,$nag_buy_button_h"
  512. font="smallfont.glfont"
  513. />
  514. <animation name="menu.button.off.animation">
  515. <color c="button-on" d="0"/>
  516. <frame i="menu.button.nocolor.off.animation" d="0"/>
  517. </animation>
  518. <animation name="menu.button.on.animation">
  519. <color c="button-on" d="0"/>
  520. <frame i="menu.button.nocolor.on.animation" d="0"/>
  521. </animation>
  522. <animation name="menu.button.disabled.animation">
  523. <color c="button-disabled" d="0"/>
  524. <frame i="menu.button.nocolor.disabled.animation" d="0"/>
  525. </animation>
  526. <animation name="menu.button.red.off.animation">
  527. <color c="titles.colormap:button-red-text" d="0"/>
  528. <frame i="menu.button.nocolor.off.animation" d="0"/>
  529. </animation>
  530. <animation name="menu.button.red.on.animation">
  531. <color c="titles.colormap:button-red-on" d="0"/>
  532. <frame i="menu.button.nocolor.on.animation" d="0"/>
  533. </animation>
  534. <animation name="menu.button.red.disabled.animation">
  535. <color c="button-red-disabled" d="0"/>
  536. <frame i="menu.button.nocolor.disabled.animation" d="0"/>
  537. </animation>
  538. <animation name="menu.button.nocolor.off.animation">
  539. <scale scale="0.5" d="0"/>
  540. </animation>
  541. <animation name="menu.button.nocolor.on.animation">
  542. <scale scale="0.505" d="1"/>
  543. <scale scale="0.52" d="2"/>
  544. <scale scale="0.55" d="2"/>
  545. </animation>
  546. <animation name="menu.button.nocolor.disabled.animation">
  547. <scale scale="0.5" d="0"/>
  548. </animation>
  549. <animation name="menu.medals.off.animation"> <frame i="spriteimage.menu.button.medals.off.01" d="0"/><frame i="menu.button.off.animation" d="0"/></animation>
  550. <animation name="menu.medals.on.animation"> <frame i="spriteimage.menu.button.medals.on.01" d="0"/><frame i="menu.button.on.animation" d="0"/></animation>
  551. <animation name="menu.medals.disabled.animation"> <frame i="spriteimage.menu.button.medals.disabled.01" d="0"/><frame i="menu.button.disabled.animation" d="0"/></animation>
  552. <animation name="menu.restart.off.animation"> <frame i="spriteimage.menu.button.restart.off.01" d="0"/><frame i="menu.button.red.off.animation" d="0"/></animation>
  553. <animation name="menu.restart.on.animation"> <frame i="spriteimage.menu.button.restart.on.01" d="0"/><frame i="menu.button.red.on.animation" d="0"/></animation>
  554. <animation name="menu.restart.disabled.animation"> <frame i="spriteimage.menu.button.restart.disabled.01" d="0"/><frame i="menu.button.red.disabled.animation" d="0"/></animation>
  555. <animation name="menu.newlevel.off.animation"> <frame i="spriteimage.menu.button.newlevel.off.01" d="0"/><frame i="menu.button.red.off.animation" d="0"/></animation>
  556. <animation name="menu.newlevel.on.animation"> <frame i="spriteimage.menu.button.newlevel.on.01" d="0"/><frame i="menu.button.red.on.animation" d="0"/></animation>
  557. <animation name="menu.newlevel.disabled.animation"> <frame i="spriteimage.menu.button.newlevel.disabled.01" d="0"/><frame i="menu.button.red.disabled.animation" d="0"/></animation>
  558. <animation name="menu.levelselect.off.animation"> <frame i="spriteimage.menu.button.levelselect.off.01" d="0"/><frame i="menu.button.red.off.animation" d="0"/></animation>
  559. <animation name="menu.levelselect.on.animation"> <frame i="spriteimage.menu.button.levelselect.on.01" d="0"/><frame i="menu.button.red.on.animation" d="0"/></animation>
  560. <animation name="menu.levelselect.disabled.animation"> <frame i="spriteimage.menu.button.levelselect.disabled.01" d="0"/><frame i="menu.button.red.disabled.animation" d="0"/></animation>
  561. <animation name="menu.quit.off.animation"> <frame i="spriteimage.menu.button.quit.off.01" d="0"/><frame i="menu.button.red.off.animation" d="0"/></animation>
  562. <animation name="menu.quit.on.animation"> <frame i="spriteimage.menu.button.quit.on.01" d="0"/><frame i="menu.button.red.on.animation" d="0"/></animation>
  563. <animation name="menu.quit.disabled.animation"> <frame i="spriteimage.menu.button.quit.disabled.01" d="0"/><frame i="menu.button.red.disabled.animation" d="0"/></animation>
  564. <animation name="menu.saveandquit.off.animation"> <frame i="spriteimage.menu.button.saveandquit.off.01" d="0"/><frame i="menu.button.red.off.animation" d="0"/></animation>
  565. <animation name="menu.saveandquit.on.animation"> <frame i="spriteimage.menu.button.saveandquit.on.01" d="0"/><frame i="menu.button.red.on.animation" d="0"/></animation>
  566. <animation name="menu.saveandquit.disabled.animation"> <frame i="spriteimage.menu.button.saveandquit.disabled.01" d="0"/><frame i="menu.button.red.disabled.animation" d="0"/></animation>
  567. <animation name="menu.campaign.off.animation"> <frame i="spriteimage.menu.button.campaign.off.01" d="0"/><frame i="menu.button.off.animation" d="0"/></animation>
  568. <animation name="menu.campaign.on.animation"> <frame i="spriteimage.menu.button.campaign.on.01" d="0"/><frame i="menu.button.on.animation" d="0"/></animation>
  569. <animation name="menu.campaign.disabled.animation"> <frame i="spriteimage.menu.button.campaign.disabled.01" d="0"/><frame i="menu.button.disabled.animation" d="0"/></animation>
  570. <animation name="menu.endless.off.animation"> <frame i="spriteimage.menu.button.endless.off.01" d="0"/><frame i="menu.button.off.animation" d="0"/></animation>
  571. <animation name="menu.endless.on.animation"> <frame i="spriteimage.menu.button.endless.on.01" d="0"/><frame i="menu.button.on.animation" d="0"/></animation>
  572. <animation name="menu.endless.disabled.animation"> <frame i="spriteimage.menu.button.endless.disabled.01" d="0"/><frame i="menu.button.disabled.animation" d="0"/></animation>
  573. <animation name="menu.survival.off.animation"> <frame i="spriteimage.menu.button.survival.off.01" d="0"/><frame i="menu.button.off.animation" d="0"/></animation>
  574. <animation name="menu.survival.on.animation"> <frame i="spriteimage.menu.button.survival.on.01" d="0"/><frame i="menu.button.on.animation" d="0"/></animation>
  575. <animation name="menu.survival.disabled.animation"> <frame i="spriteimage.menu.button.survival.disabled.01" d="0"/><frame i="menu.button.disabled.animation" d="0"/></animation>
  576. <animation name="menu.sandbox.off.animation"> <frame i="spriteimage.menu.button.sandbox.off.01" d="0"/><frame i="menu.button.off.animation" d="0"/></animation>
  577. <animation name="menu.sandbox.on.animation"> <frame i="spriteimage.menu.button.sandbox.on.01" d="0"/><frame i="menu.button.on.animation" d="0"/></animation>
  578. <animation name="menu.sandbox.disabled.animation"> <frame i="spriteimage.menu.button.sandbox.disabled.01" d="0"/><frame i="menu.button.disabled.animation" d="0"/></animation>
  579. <animation name="menu.xmas.off.animation"> <frame i="spriteimage.menu.button.xmas.off.01" d="0"/><frame i="menu.button.off.animation" d="0"/></animation>
  580. <animation name="menu.xmas.on.animation"> <frame i="spriteimage.menu.button.xmas.on.01" d="0"/><frame i="menu.button.on.animation" d="0"/></animation>
  581. <animation name="menu.xmas.disabled.animation"> <frame i="spriteimage.menu.button.xmas.disabled.01" d="0"/><frame i="menu.button.disabled.animation" d="0"/></animation>
  582. <!-- Options screen widgets -->
  583. <animation name="volume.off.animation">
  584. <frame i="spriteimage.hud.dit.01" d="1"/>
  585. </animation>
  586. <animation name="volume.on.01.animation">
  587. <frame i="spriteimage.hud.dit.02" d="32"/>
  588. <frame i="spriteimage.hud.dit.03" d="2"/>
  589. <frame i="spriteimage.hud.dit.04" d="2"/>
  590. <frame i="spriteimage.hud.dit.05" d="2"/>
  591. <frame i="spriteimage.hud.dit.06" d="32"/>
  592. <frame i="spriteimage.hud.dit.05" d="2"/>
  593. <frame i="spriteimage.hud.dit.04" d="2"/>
  594. <frame i="spriteimage.hud.dit.03" d="2"/>
  595. <goto seq="0"/>
  596. </animation>
  597. <animation name="volume.on.02.animation">
  598. <frame i="spriteimage.hud.dit.02" d="34"/>
  599. <frame i="spriteimage.hud.dit.03" d="2"/>
  600. <frame i="spriteimage.hud.dit.04" d="2"/>
  601. <frame i="spriteimage.hud.dit.05" d="2"/>
  602. <frame i="spriteimage.hud.dit.06" d="30"/>
  603. <frame i="spriteimage.hud.dit.05" d="2"/>
  604. <frame i="spriteimage.hud.dit.04" d="2"/>
  605. <frame i="spriteimage.hud.dit.03" d="2"/>
  606. <goto seq="0"/>
  607. </animation>
  608. <animation name="volume.on.03.animation">
  609. <frame i="spriteimage.hud.dit.02" d="36"/>
  610. <frame i="spriteimage.hud.dit.03" d="2"/>
  611. <frame i="spriteimage.hud.dit.04" d="2"/>
  612. <frame i="spriteimage.hud.dit.05" d="2"/>
  613. <frame i="spriteimage.hud.dit.06" d="28"/>
  614. <frame i="spriteimage.hud.dit.05" d="2"/>
  615. <frame i="spriteimage.hud.dit.04" d="2"/>
  616. <frame i="spriteimage.hud.dit.03" d="2"/>
  617. <goto seq="0"/>
  618. </animation>
  619. <animation name="volume.on.04.animation">
  620. <frame i="spriteimage.hud.dit.02" d="38"/>
  621. <frame i="spriteimage.hud.dit.03" d="2"/>
  622. <frame i="spriteimage.hud.dit.04" d="2"/>
  623. <frame i="spriteimage.hud.dit.05" d="2"/>
  624. <frame i="spriteimage.hud.dit.06" d="26"/>
  625. <frame i="spriteimage.hud.dit.05" d="2"/>
  626. <frame i="spriteimage.hud.dit.04" d="2"/>
  627. <frame i="spriteimage.hud.dit.03" d="2"/>
  628. <goto seq="0"/>
  629. </animation>
  630. <animation name="volume.on.05.animation">
  631. <frame i="spriteimage.hud.dit.02" d="40"/>
  632. <frame i="spriteimage.hud.dit.03" d="2"/>
  633. <frame i="spriteimage.hud.dit.04" d="2"/>
  634. <frame i="spriteimage.hud.dit.05" d="2"/>
  635. <frame i="spriteimage.hud.dit.06" d="24"/>
  636. <frame i="spriteimage.hud.dit.05" d="2"/>
  637. <frame i="spriteimage.hud.dit.04" d="2"/>
  638. <frame i="spriteimage.hud.dit.03" d="2"/>
  639. <goto seq="0"/>
  640. </animation>
  641. <animation name="volume.on.06.animation">
  642. <frame i="spriteimage.hud.dit.02" d="42"/>
  643. <frame i="spriteimage.hud.dit.03" d="2"/>
  644. <frame i="spriteimage.hud.dit.04" d="2"/>
  645. <frame i="spriteimage.hud.dit.05" d="2"/>
  646. <frame i="spriteimage.hud.dit.06" d="22"/>
  647. <frame i="spriteimage.hud.dit.05" d="2"/>
  648. <frame i="spriteimage.hud.dit.04" d="2"/>
  649. <frame i="spriteimage.hud.dit.03" d="2"/>
  650. <goto seq="0"/>
  651. </animation>
  652. <animation name="volume.on.07.animation">
  653. <frame i="spriteimage.hud.dit.02" d="44"/>
  654. <frame i="spriteimage.hud.dit.03" d="2"/>
  655. <frame i="spriteimage.hud.dit.04" d="2"/>
  656. <frame i="spriteimage.hud.dit.05" d="2"/>
  657. <frame i="spriteimage.hud.dit.06" d="20"/>
  658. <frame i="spriteimage.hud.dit.05" d="2"/>
  659. <frame i="spriteimage.hud.dit.04" d="2"/>
  660. <frame i="spriteimage.hud.dit.03" d="2"/>
  661. <goto seq="0"/>
  662. </animation>
  663. <animation name="volume.on.08.animation">
  664. <frame i="spriteimage.hud.dit.02" d="46"/>
  665. <frame i="spriteimage.hud.dit.03" d="2"/>
  666. <frame i="spriteimage.hud.dit.04" d="2"/>
  667. <frame i="spriteimage.hud.dit.05" d="2"/>
  668. <frame i="spriteimage.hud.dit.06" d="18"/>
  669. <frame i="spriteimage.hud.dit.05" d="2"/>
  670. <frame i="spriteimage.hud.dit.04" d="2"/>
  671. <frame i="spriteimage.hud.dit.03" d="2"/>
  672. <goto seq="0"/>
  673. </animation>
  674. <animation name="volume.on.09.animation">
  675. <frame i="spriteimage.hud.dit.02" d="48"/>
  676. <frame i="spriteimage.hud.dit.03" d="2"/>
  677. <frame i="spriteimage.hud.dit.04" d="2"/>
  678. <frame i="spriteimage.hud.dit.05" d="2"/>
  679. <frame i="spriteimage.hud.dit.06" d="16"/>
  680. <frame i="spriteimage.hud.dit.05" d="2"/>
  681. <frame i="spriteimage.hud.dit.04" d="2"/>
  682. <frame i="spriteimage.hud.dit.03" d="2"/>
  683. <goto seq="0"/>
  684. </animation>
  685. <animation name="volume.on.10.animation">
  686. <frame i="spriteimage.hud.dit.02" d="50"/>
  687. <frame i="spriteimage.hud.dit.03" d="2"/>
  688. <frame i="spriteimage.hud.dit.04" d="2"/>
  689. <frame i="spriteimage.hud.dit.05" d="2"/>
  690. <frame i="spriteimage.hud.dit.06" d="14"/>
  691. <frame i="spriteimage.hud.dit.05" d="2"/>
  692. <frame i="spriteimage.hud.dit.04" d="2"/>
  693. <frame i="spriteimage.hud.dit.03" d="2"/>
  694. <goto seq="0"/>
  695. </animation>
  696. <animation name="widget.tick.on.animation">
  697. <frame i="spriteimage.hud.checkbox.tick.off.01" d="1"/>
  698. <frame i="spriteimage.hud.checkbox.tick.on.01" d="2"/>
  699. <frame i="spriteimage.hud.checkbox.tick.on.02" d="2"/>
  700. <frame i="spriteimage.hud.checkbox.tick.on.03" d="0"/>
  701. </animation>
  702. <animation name="widget.cross.on.animation">
  703. <frame i="spriteimage.hud.checkbox.cross.off.01" d="1"/>
  704. <frame i="spriteimage.hud.checkbox.cross.on.01" d="2"/>
  705. <frame i="spriteimage.hud.checkbox.cross.on.02" d="2"/>
  706. <frame i="spriteimage.hud.checkbox.cross.on.03" d="0"/>
  707. </animation>
  708. <animation name="widget.radiobutton.off.on.animation">
  709. <frame i="spriteimage.hud.radiobutton.off.on.01" d="2"/>
  710. <frame i="spriteimage.hud.radiobutton.off.on.02" d="2"/>
  711. <frame i="spriteimage.hud.radiobutton.off.on.03" d="0"/>
  712. </animation>
  713. <animation name="widget.radiobutton.on.on.animation">
  714. <frame i="spriteimage.hud.radiobutton.on.off.01" d="1"/>
  715. <frame i="spriteimage.hud.radiobutton.on.on.01" d="2"/>
  716. <frame i="spriteimage.hud.radiobutton.on.on.02" d="2"/>
  717. <frame i="spriteimage.hud.radiobutton.on.on.03" d="0"/>
  718. </animation>
  719. <animation name="icon.small.fade.animation">
  720. <scale scale="0.775" d="3"/>
  721. <scale scale="0.75" d="2"/>
  722. <scale scale="0.725" d="1"/>
  723. <scale scale="0.7" d="1"/>
  724. <scale scale="0.675" d="1"/>
  725. <scale scale="0.65" d="1"/>
  726. </animation>
  727. <animation name="icon.fade.animation">
  728. <scale scale="1.15" d="3"/>
  729. <scale scale="1.12" d="2"/>
  730. <scale scale="1.09" d="1"/>
  731. <scale scale="1.06" d="1"/>
  732. <scale scale="1.03" d="1"/>
  733. <scale scale="1" d="1"/>
  734. </animation>
  735. <animation name="menu.smiley.on.animation">
  736. <frame i="spriteimage.menu.smiley.off.01" d="1"/>
  737. <scale scale="1.06" d="1"/>
  738. <scale scale="1.12" d="2"/>
  739. <frame i="spriteimage.menu.smiley.on.01" d="1"/>
  740. <scale scale="1.18" d="2"/>
  741. <frame i="spriteimage.menu.smiley.on.02" d="2"/>
  742. <frame i="spriteimage.menu.smiley.on.03" d="4"/>
  743. <frame i="icon.fade.animation" d="1"/>
  744. </animation>
  745. <animation name="menu.smiley.off.animation">
  746. <scale scale="1"/>
  747. <frame i="spriteimage.menu.smiley.on.02" d="1"/>
  748. <frame i="spriteimage.menu.smiley.on.01" d="1"/>
  749. <frame i="spriteimage.menu.smiley.off.01" d="1"/>
  750. </animation>
  751. <animation name="menu.later.on.animation">
  752. <frame i="spriteimage.menu.later.off.01" d="1"/>
  753. <scale scale="1.06" d="1"/>
  754. <scale scale="1.12" d="2"/>
  755. <frame i="spriteimage.menu.later.on.01" d="1"/>
  756. <scale scale="1.18" d="2"/>
  757. <frame i="spriteimage.menu.later.on.02" d="2"/>
  758. <frame i="spriteimage.menu.later.on.03" d="4"/>
  759. <frame i="icon.fade.animation" d="1"/>
  760. </animation>
  761. <animation name="menu.later.off.animation">
  762. <scale scale="1"/>
  763. <frame i="spriteimage.menu.later.on.02" d="1"/>
  764. <frame i="spriteimage.menu.later.on.01" d="1"/>
  765. <frame i="spriteimage.menu.later.off.01" d="1"/>
  766. </animation>
  767. <animation name="menu.text.later.on.animation">
  768. <frame i="spriteimage.menu.text.later.on.01" d="6"/>
  769. <frame i="spriteimage.menu.text.later.on.02" d="6"/>
  770. <frame i="spriteimage.menu.text.later.on.03" d="1"/>
  771. </animation>
  772. <animation name="menu.text.later.off.animation">
  773. <frame i="spriteimage.menu.text.later.off.01" d="1"/>
  774. </animation>
  775. <animation name="logo.animation">
  776. <frame i="spriteimage.logo.01" d="0"/>
  777. <animcolor a="0"/>
  778. <loop count="30"/>
  779. <animcolor a="+5" d="1"/>
  780. <repeat seq="3"/>
  781. <animcolor a="160" d="1"/>
  782. <animcolor a="180" d="1"/>
  783. <animcolor a="210" d="1"/>
  784. <animcolor a="255" d="1"/>
  785. </animation>
  786. <animation name="mini.arrow.up.anim">
  787. <color c="titles.colormap:text-darker" d="0"/>
  788. <frame i="spriteimage.mini.arrow.up.01" d="0"/>
  789. </animation>
  790. <!-- COMMON BUTTONS ============================================================================================================================ -->
  791. <area
  792. name="buy.button.spec"
  793. disabled="spriteimage.hud.icon.buy.disabled.01"
  794. size="=$buy_but_w,$text_button_icon_large_h"
  795. offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
  796. layer="10"
  797. rightFocus="moregames"
  798. upFocus="help"
  799. nextFocus="moregames"
  800. prevFocus="credits"
  801. scale="0.5"
  802. group="DEMO_AREAS"
  803. >
  804. <mouseOff>
  805. <animation>
  806. <frame i="spriteimage.hud.icon.buy.off.01" d="1"/>
  807. </animation>
  808. </mouseOff>
  809. <mouseOn>
  810. <animation>
  811. <frame i="spriteimage.hud.icon.buy.on.01" d="1"/>
  812. <frame i="spriteimage.hud.icon.buy.on.02" d="1"/>
  813. <frame i="spriteimage.hud.icon.buy.on.03" d="1"/>
  814. <frame i="spriteimage.hud.icon.buy.on.04" d="8"/>
  815. <frame i="spriteimage.hud.icon.buy.on.03" d="5"/>
  816. <frame i="spriteimage.hud.icon.buy.on.02" d="3"/>
  817. <frame i="spriteimage.hud.icon.buy.on.01" d="1"/>
  818. </animation>
  819. </mouseOn>
  820. </area>
  821. <area
  822. name="play.button.spec"
  823. disabled="spriteimage.hud.icon.play.disabled.01"
  824. size="=$play_but_w,$text_button_icon_large_h"
  825. offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
  826. layer="11"
  827. leftFocus="moregames"
  828. upFocus="credits"
  829. nextFocus="help"
  830. prevFocus="moregames"
  831. scale="0.5"
  832. >
  833. <mouseOff>
  834. <animation>
  835. <frame i="spriteimage.hud.icon.play.off.01" d="1"/>
  836. </animation>
  837. </mouseOff>
  838. <mouseOn>
  839. <animation>
  840. <frame i="spriteimage.hud.icon.play.on.01" d="1"/>
  841. <frame i="spriteimage.hud.icon.play.on.02" d="1"/>
  842. <frame i="spriteimage.hud.icon.play.on.03" d="1"/>
  843. <frame i="spriteimage.hud.icon.play.on.04" d="8"/>
  844. <frame i="spriteimage.hud.icon.play.on.03" d="5"/>
  845. <frame i="spriteimage.hud.icon.play.on.02" d="3"/>
  846. <frame i="spriteimage.hud.icon.play.on.01" d="1"/>
  847. </animation>
  848. </mouseOn>
  849. </area>
  850. <area
  851. name="help.button.spec"
  852. disabled="spriteimage.hud.icon.help.disabled.01"
  853. layer="11"
  854. rightFocus="options"
  855. downFocus="buy"
  856. nextFocus="options"
  857. prevFocus="play"
  858. scale="0.5"
  859. size="=$help_but_w,$text_button_icon_h"
  860. offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
  861. >
  862. <mouseOff>
  863. <animation>
  864. <frame i="spriteimage.hud.icon.help.off.01" d="1"/>
  865. </animation>
  866. </mouseOff>
  867. <mouseOn>
  868. <animation>
  869. <frame i="spriteimage.hud.icon.help.on.01" d="1"/>
  870. <frame i="spriteimage.hud.icon.help.on.02" d="1"/>
  871. <frame i="spriteimage.hud.icon.help.on.03" d="1"/>
  872. <frame i="spriteimage.hud.icon.help.on.04" d="8"/>
  873. <frame i="spriteimage.hud.icon.help.on.03" d="5"/>
  874. <frame i="spriteimage.hud.icon.help.on.02" d="3"/>
  875. <frame i="spriteimage.hud.icon.help.on.01" d="1"/>
  876. </animation>
  877. </mouseOn>
  878. </area>
  879. <area
  880. name="options.button.spec"
  881. disabled="spriteimage.hud.icon.options.disabled.01"
  882. layer="11"
  883. leftFocus="buy"
  884. rightFocus="play"
  885. upFocus="hiscores"
  886. nextFocus="play"
  887. prevFocus="buy"
  888. scale="0.5"
  889. size="=$options_but_w,$text_button_icon_h"
  890. offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
  891. >
  892. <mouseOff>
  893. <animation>
  894. <frame i="spriteimage.hud.icon.options.off.01" d="1"/>
  895. </animation>
  896. </mouseOff>
  897. <mouseOn>
  898. <animation>
  899. <frame i="spriteimage.hud.icon.options.on.01" d="1"/>
  900. <frame i="spriteimage.hud.icon.options.on.02" d="1"/>
  901. <frame i="spriteimage.hud.icon.options.on.03" d="1"/>
  902. <frame i="spriteimage.hud.icon.options.on.04" d="8"/>
  903. <frame i="spriteimage.hud.icon.options.on.03" d="5"/>
  904. <frame i="spriteimage.hud.icon.options.on.02" d="3"/>
  905. <frame i="spriteimage.hud.icon.options.on.01" d="1"/>
  906. </animation>
  907. </mouseOn>
  908. </area>
  909. <area
  910. name="credits.button.spec"
  911. disabled="spriteimage.hud.icon.credits.disabled.01"
  912. layer="11"
  913. leftFocus="buy"
  914. rightFocus="play"
  915. upFocus="hiscores"
  916. nextFocus="play"
  917. prevFocus="buy"
  918. scale="0.5"
  919. size="=$credits_but_w,$text_button_icon_h"
  920. offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
  921. >
  922. <mouseOff>
  923. <animation>
  924. <frame i="spriteimage.hud.icon.credits.off.01" d="1"/>
  925. </animation>
  926. </mouseOff>
  927. <mouseOn>
  928. <animation>
  929. <frame i="spriteimage.hud.icon.credits.on.01" d="1"/>
  930. <frame i="spriteimage.hud.icon.credits.on.02" d="1"/>
  931. <frame i="spriteimage.hud.icon.credits.on.03" d="1"/>
  932. <frame i="spriteimage.hud.icon.credits.on.04" d="8"/>
  933. <frame i="spriteimage.hud.icon.credits.on.03" d="5"/>
  934. <frame i="spriteimage.hud.icon.credits.on.02" d="3"/>
  935. <frame i="spriteimage.hud.icon.credits.on.01" d="1"/>
  936. </animation>
  937. </mouseOn>
  938. </area>
  939. <area
  940. name="moregames.button.spec"
  941. disabled="spriteimage.hud.icon.www.disabled.01"
  942. layer="11"
  943. leftFocus="buy"
  944. rightFocus="play"
  945. upFocus="hiscores"
  946. nextFocus="play"
  947. prevFocus="buy"
  948. scale="0.5"
  949. size="=$moregames_but_w,$text_button_icon_h"
  950. offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
  951. >
  952. <mouseOff>
  953. <animation>
  954. <frame i="spriteimage.hud.icon.www.off.01" d="1"/>
  955. </animation>
  956. </mouseOff>
  957. <mouseOn>
  958. <animation>
  959. <frame i="spriteimage.hud.icon.www.on.01" d="1"/>
  960. <frame i="spriteimage.hud.icon.www.on.02" d="1"/>
  961. <frame i="spriteimage.hud.icon.www.on.03" d="1"/>
  962. <frame i="spriteimage.hud.icon.www.on.04" d="8"/>
  963. <frame i="spriteimage.hud.icon.www.on.03" d="5"/>
  964. <frame i="spriteimage.hud.icon.www.on.02" d="3"/>
  965. <frame i="spriteimage.hud.icon.www.on.01" d="1"/>
  966. </animation>
  967. </mouseOn>
  968. </area>
  969. <!-- Button positions -->
  970. <area name="help.default.button.spec" inherit="help.button.spec"
  971. position="=$titlescreen_buttons_x,$titlescreen_buttons_y" >
  972. <anchor x="left" d="=$titlescreen_buttons_x"/>
  973. </area>
  974. <area name="options.default.button.spec" inherit="options.button.spec"
  975. position="=$titlescreen_buttons_x+$help_but_w,$titlescreen_buttons_y" >
  976. <anchor x="left" d="=$titlescreen_buttons_x+$help_but_w"/>
  977. </area>
  978. <area name="credits.default.button.spec" inherit="credits.button.spec"
  979. position="=$titlescreen_buttons_x+$help_but_w+$options_but_w,$titlescreen_buttons_y" >
  980. <anchor x="left" d="=$titlescreen_buttons_x+$help_but_w+$options_but_w"/>
  981. </area>
  982. <area name="moregames.default.button.spec" inherit="moregames.button.spec"
  983. position="=$titlescreen_buttons_x+$help_but_w+$options_but_w+$credits_but_w,$titlescreen_buttons_y" >
  984. <anchor x="left" d="=$titlescreen_buttons_x+$help_but_w+$options_but_w+$credits_but_w"/>
  985. </area>
  986. <area name="buy.default.button.spec" inherit="buy.button.spec"
  987. position="=$SCREEN_W-$titlescreen_buttons_x-$buy_but_w-$play_but_w,$titlescreen_buttons_y+1" >
  988. <anchor x="right" d="=0-$titlescreen_buttons_x-$buy_but_w-$play_but_w"/>
  989. </area>
  990. <area name="play.default.button.spec" inherit="play.button.spec"
  991. position="=$SCREEN_W-$titlescreen_buttons_x-$play_but_w,$titlescreen_buttons_y+1" >
  992. <anchor x="right" d="=0-$titlescreen_buttons_x-$play_but_w"/>
  993. </area>
  994. <area name="slot.spec"
  995. inherit="button.spec" position="=$titlescreen_slot_x,$titlescreen_slot_y" size="=$titlescreen_slot_w,$titlescreen_slot_h"
  996. >
  997. <anchor x="left" d="=$titlescreen_slot_x"/>
  998. <anchor y="top" d="=0-$titlescreen_slot_h"/>
  999. <anchor w="right" d="=0-320+$titlescreen_slot_x+$titlescreen_slot_w"/>
  1000. <background>
  1001. <widgetbackground inherit="button_background"
  1002. color="titles.colormap:slot-off"
  1003. />
  1004. </background>
  1005. <mouseOnBackground>
  1006. <widgetbackground inherit="button_background"
  1007. color="titles.colormap:slot-hover"
  1008. />
  1009. </mouseOnBackground>
  1010. </area>
  1011. <area
  1012. name="close.default.button.spec"
  1013. position="0, 300"
  1014. size="17, 14"
  1015. scale="0.5"
  1016. nextfocus="play"
  1017. prevfocus="buy"
  1018. leftfocus="buy"
  1019. rightfocus="play"
  1020. upfocus="play"
  1021. downfocus="play"
  1022. layer="12"
  1023. >
  1024. <mouseOff>
  1025. <animation>
  1026. <frame i="spriteimage.hud.button.close.on.02" d="1"/>
  1027. <frame i="spriteimage.hud.button.close.on.01" d="1"/>
  1028. <frame i="spriteimage.hud.button.close.off.01" d="1"/>
  1029. </animation>
  1030. </mouseOff>
  1031. <mouseOn>
  1032. <animation>
  1033. <frame i="spriteimage.hud.button.close.off.01" d="1"/>
  1034. <frame i="spriteimage.hud.button.close.on.01" d="1"/>
  1035. <frame i="spriteimage.hud.button.close.on.02" d="2"/>
  1036. <frame i="spriteimage.hud.button.close.on.03" d="4"/>
  1037. </animation>
  1038. </mouseOn>
  1039. </area>
  1040. <area
  1041. name="shutdown.default.button.spec"
  1042. size="19, 20"
  1043. scale="0.5"
  1044. nextfocus="play"
  1045. prevfocus="buy"
  1046. leftfocus="buy"
  1047. rightfocus="play"
  1048. upfocus="play"
  1049. downfocus="play"
  1050. layer="12"
  1051. position="=1,$SCREEN_H-21"
  1052. >
  1053. <anchor y="top" d="-21"/>
  1054. <disabled>
  1055. <animation>
  1056. <frame i="spriteimage.hud.button.shutdown.disabled.01" d="1"/>
  1057. </animation>
  1058. </disabled>
  1059. <mouseOff>
  1060. <animation>
  1061. <frame i="spriteimage.hud.button.shutdown.off.01" d="1"/>
  1062. </animation>
  1063. </mouseOff>
  1064. <mouseOn>
  1065. <animation>
  1066. <frame i="spriteimage.hud.button.shutdown.off.01" d="1"/>
  1067. <frame i="spriteimage.hud.button.shutdown.on.01" d="1"/>
  1068. <frame i="spriteimage.hud.button.shutdown.on.02" d="2"/>
  1069. <frame i="spriteimage.hud.button.shutdown.on.03" d="4"/>
  1070. </animation>
  1071. </mouseOn>
  1072. </area>
  1073. <!-- buttons turned off when active -->
  1074. <area name="help.active.button.spec" inherit="help.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.help.on.01" noClick="true" />
  1075. <area name="options.active.button.spec" inherit="options.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.options.on.01" noClick="true" />
  1076. <area name="credits.active.button.spec" inherit="credits.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.credits.on.01" noClick="true" />
  1077. <area name="moregames.active.button.spec" inherit="moregames.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.www.on.01" noClick="true" />
  1078. <!-- XMAS titlescreen -->
  1079. <area name="xmas.titlescreen-middle.spec" inherit="titlescreen-middle.spec" layer="-3" mouseoff="spriteimage.titlescreen.xmas.middle.01">
  1080. <anchor x="mid" d="-120" /><anchor y="mid" d="-97" />
  1081. </area>
  1082. <area name="xmas.titlescreen-left.spec" inherit="xmas.titlescreen-middle.spec" mouseoff="spriteimage.titlescreen.xmas.left.01">
  1083. <anchor x="mid" d="-360" /><anchor y="mid" d="-97" />
  1084. </area>
  1085. <area name="xmas.titlescreen-right.spec" inherit="xmas.titlescreen-middle.spec" mouseoff="spriteimage.titlescreen.xmas.right.01">
  1086. <anchor x="mid" d="120" /><anchor y="mid" d="-97" />
  1087. </area>
  1088. <area name="xmas.titlescreen-middle-back.spec" inherit="titlescreen-middle.spec" layer="-5">
  1089. <anchor x="mid" d="-120" /><anchor y="mid" d="-97" />
  1090. <mouseOff>
  1091. <animation>
  1092. <animcolor a="255" d="0"/>
  1093. <frame i="spriteimage.titlescreen.xmas.middle.back.01" d="1"/>
  1094. <frame i="hud.phase.20%.animation" d="1"/>
  1095. </animation>
  1096. </mouseOff>
  1097. </area>
  1098. <area name="xmas.titlescreen-left-back.spec" inherit="xmas.titlescreen-middle-back.spec">
  1099. <anchor x="mid" d="-360" /><anchor y="mid" d="-97" />
  1100. <mouseOff>
  1101. <animation>
  1102. <animcolor a="255" d="0"/>
  1103. <frame i="spriteimage.titlescreen.xmas.left.back.01" d="1"/>
  1104. <frame i="hud.phase.20%.animation" d="1"/>
  1105. </animation>
  1106. </mouseOff>
  1107. </area>
  1108. <area name="xmas.titlescreen-right-back.spec" inherit="xmas.titlescreen-middle-back.spec">
  1109. <anchor x="mid" d="120" /><anchor y="mid" d="-97" />
  1110. <mouseOff>
  1111. <animation>
  1112. <animcolor a="255" d="0"/>
  1113. <frame i="spriteimage.titlescreen.xmas.right.back.01" d="1"/>
  1114. <frame i="hud.phase.20%.animation" d="1"/>
  1115. </animation>
  1116. </mouseOff>
  1117. </area>
  1118. <area name="xmas.titlescreen-special.spec" inherit="titlescreen-logo.spec" layer="-1">
  1119. <anchor x="mid" d="-60" /><anchor y="mid" d="-110" />
  1120. <mouseOff>
  1121. <animation>
  1122. <animcolor a="15" d="10"/>
  1123. <frame i="spriteimage.titlescreen.xmas.special.01" d="0"/>
  1124. <angle angle="1500" d="0"/>
  1125. <scale scale="5.7" d="2"/>
  1126. <animcolor a="45" d="0"/>
  1127. <scale scale="5.4" d="2"/>
  1128. <animcolor a="75" d="0"/>
  1129. <scale scale="5.0" d="2"/>
  1130. <animcolor a="105" d="0"/>
  1131. <scale scale="4.5" d="2"/>
  1132. <animcolor a="135" d="0"/>
  1133. <scale scale="3.9" d="2"/>
  1134. <animcolor a="165" d="0"/>
  1135. <scale scale="3.2" d="2"/>
  1136. <animcolor a="195" d="0"/>
  1137. <scale scale="2.4" d="2"/>
  1138. <animcolor a="225" d="0"/>
  1139. <scale scale="1.5" d="2"/>
  1140. <animcolor a="255" d="0"/>
  1141. <scale scale="0.5" d="2"/>
  1142. </animation>
  1143. </mouseOff>
  1144. </area>
  1145. <area name="xmas.titlescreen-special.static.spec" inherit="xmas.titlescreen-special.spec">
  1146. <mouseOff>
  1147. <animation>
  1148. <frame i="spriteimage.titlescreen.xmas.special.01" d="0"/>
  1149. <angle angle="1500" d="0"/>
  1150. <scale scale="0.5" d="0"/>
  1151. </animation>
  1152. </mouseOff>
  1153. </area>
  1154. <area name="titlescreen-snow-front.spec" emitter="a.snow.titles.front.emitter" group="xmas" noclick="true" layer="0" position="-140,320">
  1155. <anchor x="mid" d="-300" /><anchor y="top" d="0" />
  1156. </area>
  1157. <area name="titlescreen-snow-back.spec" inherit="titlescreen-snow-front.spec" emitter="a.snow.titles.back.emitter"/>
  1158. <!-- TITLE SCREEN ============================================================================================================================ -->
  1159. <instance
  1160. name="instant.transition"
  1161. class="net.puppygames.applet.InstantTransition"
  1162. />
  1163. <instance
  1164. name="title.screen"
  1165. class="worm.screens.TitleScreen"
  1166. autocreated="true"
  1167. slotbounds="=$titlescreen_slot_x,$titlescreen_slot_y,$titlescreen_slot_w,$titlescreen_slot_h"
  1168. keyboardnavigation="false"
  1169. stream="title.stream"
  1170. transition="instant.transition"
  1171. centre="both"
  1172. >
  1173. <hotkey key="ESCAPE" area="exit"/>
  1174. <!-- standard titlescreen stuff -->
  1175. <area id="registration-not-xmas" group="not-xmas" position="50,30" size="220,50" noclick="true" font="tinyfont.glfont" halign="centered" valign="centered" color="!114,255,255,255">
  1176. <anchor x="mid" d="-110" /><anchor y="bottom" d="30" />
  1177. </area>
  1178. <area id="version-not-xmas" group="not-xmas" position="69,82" size="182,12" noclick="true" font="tinyfont.glfont" color="!0,255,200,255" halign="right">
  1179. <anchor x="mid" d="-91" /><anchor y="mid" d="-78" />
  1180. </area>
  1181. <area id="titlescreen-logo" group="not-xmas" inherit="titlescreen-logo.spec"/>
  1182. <area id="titlescreen-left" group="not-xmas" inherit="titlescreen-left.spec"/>
  1183. <area id="titlescreen-middle" group="not-xmas" inherit="titlescreen-middle.spec"/>
  1184. <area id="titlescreen-right" group="not-xmas" inherit="titlescreen-right.spec"/>
  1185. <!-- xmas titlescreen stuff -->
  1186. <area id="registration-xmas" group="xmas" position="50,10" size="350,50" noclick="true" font="tinyfont.glfont" halign="centered" valign="centered" color="!114,255,128,128">
  1187. <anchor x="mid" d="-175" /><anchor y="bottom" d="11" />
  1188. </area>
  1189. <area id="version-xmas" group="xmas" position="69,82" size="182,12" noclick="true" font="tinyfont.glfont" color="!0,255,200,255" halign="left">
  1190. <anchor x="mid" d="-110" /><anchor y="mid" d="-85" />
  1191. </area>
  1192. <area id="titlescreen-special" group="xmas" inherit="xmas.titlescreen-special.spec"/>
  1193. <area id="titlescreen-left" group="xmas" inherit="xmas.titlescreen-left.spec"/>
  1194. <area id="titlescreen-middle" group="xmas" inherit="xmas.titlescreen-middle.spec"/>
  1195. <area id="titlescreen-right" group="xmas" inherit="xmas.titlescreen-right.spec"/>
  1196. <area id="titlescreen-left-back" group="xmas" inherit="xmas.titlescreen-left-back.spec"/>
  1197. <area id="titlescreen-middle-back" group="xmas" inherit="xmas.titlescreen-middle-back.spec"/>
  1198. <area id="titlescreen-right-back" group="xmas" inherit="xmas.titlescreen-right-back.spec"/>
  1199. <area id="titlescreen-snow-front" group="xmas" inherit="titlescreen-snow-front.spec"/>
  1200. <area id="titlescreen-snow-back" group="xmas" inherit="titlescreen-snow-back.spec"/>
  1201. <!-- <area id="titlescreen_top" inherit="titlescreen_top.spec"/> -->
  1202. <area id="credits" inherit="credits.default.button.spec" />
  1203. <area id="options" inherit="options.default.button.spec" />
  1204. <area id="slot" inherit="slot.spec" />
  1205. <area id="buy" inherit="buy.default.button.spec" />
  1206. <area id="play" inherit="play.default.button.spec" />
  1207. <area id="help" inherit="help.default.button.spec" />
  1208. <!--<area id="profiles" inherit="profiles.default.button.spec" />-->
  1209. <area id="moregames" inherit="moregames.default.button.spec" />
  1210. <area id="exit" inherit="shutdown.default.button.spec" />
  1211. </instance>
  1212. <!-- OPTIONS SCREEN ============================================================================================================================ -->
  1213. <instance
  1214. name="options.screen"
  1215. class="worm.screens.OptionsScreen"
  1216. autocreated="true"
  1217. keyboardnavigation="false"
  1218. stream="title.stream"
  1219. transition="instant.transition"
  1220. centre="both"
  1221. >
  1222. <hotkey key="ESCAPE" area="close"/>
  1223. <musicVolumePowerDisplay>
  1224. <powerdisplay inherit="dialog.powerdisplay.spec" scale="0.5"
  1225. location="=$options_bar_x,$musicvolume_y" bounds="=$options_bar_x,$musicvolume_y,$options_bar_w,$options_item_h">
  1226. <bar on="volume.on.01.animation" off="volume.off.animation"/>
  1227. <bar on="volume.on.02.animation" off="volume.off.animation"/>
  1228. <bar on="volume.on.03.animation" off="volume.off.animation"/>
  1229. <bar on="volume.on.04.animation" off="volume.off.animation"/>
  1230. <bar on="volume.on.05.animation" off="volume.off.animation"/>
  1231. <bar on="volume.on.06.animation" off="volume.off.animation"/>
  1232. <bar on="volume.on.07.animation" off="volume.off.animation"/>
  1233. <bar on="volume.on.08.animation" off="volume.off.animation"/>
  1234. <bar on="volume.on.09.animation" off="volume.off.animation"/>
  1235. <bar on="volume.on.10.animation" off="volume.off.animation"/>
  1236. </powerdisplay>
  1237. </musicVolumePowerDisplay>
  1238. <sfxVolumePowerDisplay>
  1239. <powerdisplay inherit="dialog.powerdisplay.spec" scale="0.5"
  1240. location="=$options_bar_x,$sfxvolume_y" bounds="=$options_bar_x,$sfxvolume_y,$options_bar_w,$options_item_h">
  1241. <bar on="volume.on.01.animation" off="volume.off.animation"/>
  1242. <bar on="volume.on.02.animation" off="volume.off.animation"/>
  1243. <bar on="volume.on.03.animation" off="volume.off.animation"/>
  1244. <bar on="volume.on.04.animation" off="volume.off.animation"/>
  1245. <bar on="volume.on.05.animation" off="volume.off.animation"/>
  1246. <bar on="volume.on.06.animation" off="volume.off.animation"/>
  1247. <bar on="volume.on.07.animation" off="volume.off.animation"/>
  1248. <bar on="volume.on.08.animation" off="volume.off.animation"/>
  1249. <bar on="volume.on.09.animation" off="volume.off.animation"/>
  1250. <bar on="volume.on.10.animation" off="volume.off.animation"/>
  1251. </powerdisplay>
  1252. </sfxVolumePowerDisplay>
  1253. <area id="musicvolume" text="=$options.musicvolume" inherit="options.item.bar.spec" position="=$options_bar_x,$musicvolume_y" />
  1254. <area id="sfxvolume" text="=$options.sfxvolume" inherit="options.item.bar.spec" position="=$options_bar_x,$sfxvolume_y" />
  1255. <area id="fullscreen" inherit="options.item.button.spec" text="=$options.fullscreen" position="=$options_button_x,$fullscreen_y" />
  1256. <area id="fullscreen_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$fullscreen_y" />
  1257. <area id="fullscreen_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$fullscreen_y" />
  1258. <area id="show_tooltips" inherit="options.item.button.spec" text="=$options.show_tooltips" position="=$options_button_x,$show_tooltips_y" />
  1259. <area id="show_tooltips_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$show_tooltips_y" />
  1260. <area id="show_tooltips_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$show_tooltips_y" />
  1261. <area id="show_info" inherit="options.item.button.spec" text="=$options.show_info" position="=$options_button_x,$show_info_y" />
  1262. <area id="show_info_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$show_info_y" />
  1263. <area id="show_info_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$show_info_y" />
  1264. <area id="show_hints" inherit="options.item.button.spec" text="=$options.show_hints" position="=$options_button_x,$show_hints_y" />
  1265. <area id="show_hints_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$show_hints_y" />
  1266. <area id="show_hints_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$show_hints_y" />
  1267. <area id="auto_difficulty" inherit="options.item.button.spec" text="=$options.auto_difficulty" position="=$options_button_x,$auto_difficulty_y" />
  1268. <area id="auto_difficulty_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$auto_difficulty_y" />
  1269. <area id="auto_difficulty_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$auto_difficulty_y" />
  1270. <area id="online_hiscores" inherit="options.item.button.spec" text="=$options.online_hiscores" position="=$options_button_x,$online_hiscores_y" />
  1271. <area id="online_hiscores_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$online_hiscores_y" />
  1272. <area id="online_hiscores_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$online_hiscores_y" />
  1273. <area id="dialog_background" text="=$options.dialog_background" inherit="dialog.closeable.spec" position="=$options_x,$options_y" size="=$options_w,$options_h" />
  1274. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$options_x,$options_y" size="=$options_w,$options_h" />
  1275. <area id="close" inherit="close.default.button.spec" position="=$options_x+$options_w+$close_x_offset,$options_y+$options_h+$close_y_offset" />
  1276. <!-- standard titlescreen stuff -->
  1277. <area id="titlescreen-logo" group="not-xmas" inherit="titlescreen-logo.spec"/>
  1278. <area id="titlescreen-left" group="not-xmas" inherit="titlescreen-left.spec"/>
  1279. <area id="titlescreen-middle" group="not-xmas" inherit="titlescreen-middle.spec"/>
  1280. <area id="titlescreen-right" group="not-xmas" inherit="titlescreen-right.spec"/>
  1281. <!-- xmas titlescreen stuff -->
  1282. <area id="titlescreen-special" group="xmas" inherit="xmas.titlescreen-special.static.spec"/>
  1283. <area id="titlescreen-left" group="xmas" inherit="xmas.titlescreen-left.spec"/>
  1284. <area id="titlescreen-middle" group="xmas" inherit="xmas.titlescreen-middle.spec"/>
  1285. <area id="titlescreen-right" group="xmas" inherit="xmas.titlescreen-right.spec"/>
  1286. <area id="titlescreen-left-back" group="xmas" inherit="xmas.titlescreen-left-back.spec"/>
  1287. <area id="titlescreen-middle-back" group="xmas" inherit="xmas.titlescreen-middle-back.spec"/>
  1288. <area id="titlescreen-right-back" group="xmas" inherit="xmas.titlescreen-right-back.spec"/>
  1289. <area id="titlescreen-snow-front" group="xmas" inherit="titlescreen-snow-front.spec"/>
  1290. <area id="titlescreen-snow-back" group="xmas" inherit="titlescreen-snow-back.spec"/>
  1291. <area id="credits" inherit="credits.default.button.spec" />
  1292. <area id="options" inherit="options.active.button.spec" />
  1293. <area id="buy" inherit="buy.default.button.spec" />
  1294. <area id="play" inherit="play.default.button.spec" />
  1295. <area id="help" inherit="help.default.button.spec" />
  1296. <area id="moregames" inherit="moregames.default.button.spec" />
  1297. <area id="exit" inherit="shutdown.default.button.spec" enabled="false"/>
  1298. </instance>
  1299. <!-- CREDITS ============================================================================================================================ -->
  1300. <instance
  1301. name="credits.screen"
  1302. class="worm.screens.CreditsScreen"
  1303. autocreated="true"
  1304. keyboardnavigation="false"
  1305. stream="title.stream"
  1306. transition="instant.transition"
  1307. centre="both"
  1308. >
  1309. <hotkey key="ESCAPE" area="close"/>
  1310. <area id="about" position="=$credits_x+180,$credits_y+71" size="32,32" mouseOff="spriteimage.about.puppy.01" scale="0.5" layer="12" noClick="true"/>
  1311. <area id="about-text" inherit="dialog.message.spec" position="=$credits_x+36,$credits_y+23" size="=$credits_w,100" halign="left" mouseoff="spriteimage.about.copyright.01" offset="-6, 92" scale="0.5">
  1312. <text>=credits.text</text>
  1313. </area>
  1314. <area id="dialog_background" text="=$credits.about" inherit="dialog.closeable.spec" position="=$credits_x,$credits_y" size="=$credits_w,$credits_h" />
  1315. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$credits_x,$credits_y" size="=$credits_w,$credits_h" />
  1316. <area id="close" inherit="close.default.button.spec" position="=$credits_x+$credits_w+$close_x_offset,$credits_y+$credits_h+$close_y_offset" />
  1317. <!-- standard titlescreen stuff -->
  1318. <area id="titlescreen-logo" group="not-xmas" inherit="titlescreen-logo.spec"/>
  1319. <area id="titlescreen-left" group="not-xmas" inherit="titlescreen-left.spec"/>
  1320. <area id="titlescreen-middle" group="not-xmas" inherit="titlescreen-middle.spec"/>
  1321. <area id="titlescreen-right" group="not-xmas" inherit="titlescreen-right.spec"/>
  1322. <!-- xmas titlescreen stuff -->
  1323. <area id="titlescreen-special" group="xmas" inherit="xmas.titlescreen-special.static.spec"/>
  1324. <area id="titlescreen-left" group="xmas" inherit="xmas.titlescreen-left.spec"/>
  1325. <area id="titlescreen-middle" group="xmas" inherit="xmas.titlescreen-middle.spec"/>
  1326. <area id="titlescreen-right" group="xmas" inherit="xmas.titlescreen-right.spec"/>
  1327. <area id="titlescreen-left-back" group="xmas" inherit="xmas.titlescreen-left-back.spec"/>
  1328. <area id="titlescreen-middle-back" group="xmas" inherit="xmas.titlescreen-middle-back.spec"/>
  1329. <area id="titlescreen-right-back" group="xmas" inherit="xmas.titlescreen-right-back.spec"/>
  1330. <area id="titlescreen-snow-front" group="xmas" inherit="titlescreen-snow-front.spec"/>
  1331. <area id="titlescreen-snow-back" group="xmas" inherit="titlescreen-snow-back.spec"/>
  1332. <area id="credits" inherit="credits.active.button.spec" />
  1333. <area id="options" inherit="options.default.button.spec" />
  1334. <area id="buy" inherit="buy.default.button.spec" />
  1335. <area id="play" inherit="play.default.button.spec" />
  1336. <area id="help" inherit="help.default.button.spec" />
  1337. <area id="moregames" inherit="moregames.default.button.spec" />
  1338. <area id="exit" inherit="shutdown.default.button.spec" enabled="false"/>
  1339. </instance>
  1340. <animation name="registered.animation">
  1341. <scale scale="0.5"/>
  1342. <frame i="spriteimage.star" d="1"/>
  1343. </animation>
  1344. <!-- DIALOGS ============================================================================================================================ -->
  1345. <!-- RESTORE GAME -->
  1346. <instance class="net.puppygames.applet.screens.DialogScreen"
  1347. name="restore_game.dialog"
  1348. keyboardnavigation="false"
  1349. dialog="true"
  1350. transition="instant.transition"
  1351. centre="both"
  1352. >
  1353. <!-- All dialogs have these hotkeys... -->
  1354. <hotkey key="ESCAPE" area="cancel"/>
  1355. <hotkey key="RETURN" area="ok"/>
  1356. <hotkey key="=$key.yes" area="yes"/>
  1357. <hotkey key="=$key.no" area="no"/>
  1358. <area id="background" inherit="dialog.background.spec"/>
  1359. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1360. <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
  1361. <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_y" size="=$dialog_w,$dialog_h" />
  1362. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_y" size="=$dialog_w,$dialog_h" />
  1363. <area id="yes" text="=$yes.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X-$button_w-$button_gap,$dialog_y+$dialog_padding" />
  1364. <area id="no" text="=$no.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$dialog_y+$dialog_padding" />
  1365. <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X+$button_w+$button_gap,$dialog_y+$dialog_padding" />
  1366. </instance>
  1367. <!-- YES/CANCEL SCREEN .... restore game, quit from game etc. -->
  1368. <instance class="net.puppygames.applet.screens.DialogScreen"
  1369. name="yescancel.dialog"
  1370. keyboardnavigation="false"
  1371. dialog="true"
  1372. transition="instant.transition"
  1373. centre="both"
  1374. allcaps="true"
  1375. >
  1376. <!-- All dialogs have these hotkeys... -->
  1377. <hotkey key="ESCAPE" area="cancel"/>
  1378. <hotkey key="RETURN" area="ok"/>
  1379. <hotkey key="=$key.yes" area="yes"/>
  1380. <hotkey key="=$key.no" area="no"/>
  1381. <area id="background" inherit="dialog.background.spec"/>
  1382. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1383. <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y+20" size="=$dialog_msg_w,$dialog_msg_h" />
  1384. <area id="title" inherit="dialog.spec" position="=$dialog_small_x,$dialog_small_y+20" size="=$dialog_small_w,$dialog_small_h" />
  1385. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_small_x,$dialog_small_y+20" size="=$dialog_small_w,$dialog_small_h" />
  1386. <area id="ok" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_small_y+$dialog_padding+20" />
  1387. <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_small_y+$dialog_padding+20" />
  1388. </instance>
  1389. <!-- YES/CANCEL SCREEN .... delete profile dialog -->
  1390. <instance class="net.puppygames.applet.screens.DialogScreen"
  1391. name="deleteyescancel.dialog"
  1392. keyboardnavigation="false"
  1393. dialog="true"
  1394. transition="instant.transition"
  1395. centre="both"
  1396. allcaps="true"
  1397. >
  1398. <!-- All dialogs have these hotkeys... -->
  1399. <hotkey key="ESCAPE" area="cancel"/>
  1400. <hotkey key="RETURN" area="ok"/>
  1401. <hotkey key="=$key.yes" area="yes"/>
  1402. <hotkey key="=$key.no" area="no"/>
  1403. <area id="background" inherit="dialog.background.spec"/>
  1404. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1405. <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
  1406. <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
  1407. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
  1408. <area id="ok" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_large_y+$dialog_padding" />
  1409. <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_large_y+$dialog_padding" />
  1410. </instance>
  1411. <!-- PLAYER NAME SCREEN -->
  1412. <instance class="net.puppygames.applet.screens.EnterNameDialog"
  1413. name="entername.screen"
  1414. name_x="4"
  1415. name_y="4"
  1416. titleText="PLEASE ENTER YOUR NAME"
  1417. keyboardnavigation="false"
  1418. dialog="true"
  1419. autocreated="true"
  1420. transition="instant.transition"
  1421. color="0,0,0,255"
  1422. allcaps="true"
  1423. centre="both"
  1424. >
  1425. <hotkey key="ESCAPE" area="cancel"/>
  1426. <hotkey key="RETURN" area="ok"/>
  1427. <hotkey modifier="LCONTROL" key="Z" area="cancel"/>
  1428. <area id="background" inherit="dialog.background.spec"/>
  1429. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1430. <area id="instructions" text="=$entername.instructions" inherit="dialog.message.spec" position="=$dialog_msg_x,$input_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
  1431. <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
  1432. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
  1433. <area id="ok" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_large_y+$dialog_padding" />
  1434. <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_large_y+$dialog_padding" />
  1435. <area id="name" color="0,0,0" inherit="textfield.spec" position="=70,$input_y" size="180,16" />
  1436. </instance>
  1437. <!-- ERROR DIALOG -->
  1438. <instance class="net.puppygames.applet.screens.DialogScreen"
  1439. name="error.dialog"
  1440. keyboardnavigation="false"
  1441. dialog="true"
  1442. transition="instant.transition"
  1443. centre="both"
  1444. allcaps="true"
  1445. >
  1446. <hotkey key="ESCAPE" area="cancel"/>
  1447. <hotkey key="RETURN" area="cancel"/>
  1448. <area id="background" inherit="dialog.background.spec"/>
  1449. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1450. <area id="title" inherit="dialog.spec" position="=$dialog_x-10,$dialog_large_y+10" size="=$dialog_w+20,$dialog_large_h" />
  1451. <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x-10,$dialog_msg_y+10" size="=$dialog_msg_w+20,$dialog_msg_h" />
  1452. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x-10,$dialog_large_y+10" size="=$dialog_w+20,$dialog_large_h" />
  1453. <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$dialog_large_y+$dialog_padding+10" />
  1454. </instance>
  1455. <!-- SLOT MANAGEMENT -->
  1456. <widgetbackground
  1457. name="slot.background"
  1458. inherit="button_background"
  1459. color="titles.colormap:slot-off"
  1460. />
  1461. <widgetbackground
  1462. name="slot.selected.background"
  1463. inherit="button_background"
  1464. color="titles.colormap:slot-on"
  1465. />
  1466. <widgetbackground
  1467. name="slot.hovered.background"
  1468. inherit="button_background"
  1469. color="titles.colormap:slot-hover"
  1470. />
  1471. <instance class="net.puppygames.applet.screens.SlotScreen"
  1472. name="slot.dialog"
  1473. dialog="true"
  1474. keyboardnavigation="false"
  1475. slotclass="worm.effects.WormSlotEffect"
  1476. gap="=$slots_gap"
  1477. color="255,0,0"
  1478. transition="instant.transition"
  1479. centre="both"
  1480. >
  1481. <hotkey key="ESCAPE" area="cancel"/>
  1482. <hotkey key="RETURN" area="cancel"/>
  1483. <area id="slot_origin" noclick="true" position="=$slots_slot_x,$slots_button_y+$slots_y_offset" />
  1484. <area id="slots_background" inherit="dialog.spec" text="=$slot.slots_background" position="=$slots_x,$slots_y" size="=$slots_w,$slots_h" />
  1485. <area id="slots_background_glow" inherit="dialog.glow.spec" position="=$slots_x,$slots_y" size="=$slots_w,$slots_h" />
  1486. <area id="message" inherit="dialog.message.spec" text="=$slot.message" position="=$slots_x,$slots_y+$slots_h-38" size="=$slots_w,12" />
  1487. <area id="new" text="=$slot.new" inherit="button.spec" size="=$slots_button_w,$button_h" position="=$slots_button_x,$slots_button_y"/>
  1488. <area id="delete" text="=$slot.delete" inherit="button.red.spec" size="=$slots_button_w,$button_h" position="=$slots_button_x,1*-$slots_button_gap+$slots_button_y" />
  1489. <area id="cancel" text="=$ok.label" inherit="button.spec" size="=$slots_button_w,$button_h" position="=$slots_button_x,$slots_y+$dialog_padding" />
  1490. <area id="background" inherit="dialog.background.spec"/>
  1491. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1492. </instance>
  1493. <instance class="worm.screens.NagScreen"
  1494. name="nag.screen"
  1495. autocreated="true"
  1496. transition="instant.transition"
  1497. centre="both"
  1498. >
  1499. <hotkey key="ESCAPE" area="later"/>
  1500. <hotkey key="RETURN" area="buy"/>
  1501. <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-50"/><anchor x="mid" d="0"/></area>
  1502. <area id="nag-text" inherit="dialog.message.spec" leading="-1" position="=$b_nag_x+$b_nag_msg_x,$b_nag_y+$b_nag_msg_y" size="=$b_nag_msg_w,$b_nag_msg_h" valign="top" halign="left" text="">
  1503. <background>
  1504. <widgetbackground inherit="human-speech-top-left-info.background"
  1505. color="dialog-glow"
  1506. insets="24,40,24,22"
  1507. />
  1508. </background>
  1509. </area>
  1510. <area id="signupscreen" layer="0" position="=$b_nag_x+115,$b_nag_y-60" size="32,64" scale="0.5" mouseOff="spriteimage.nag.preorder.gid.01" noClick="true"/>
  1511. <area id="spotlight" layer="-1" position="=$b_nag_x+120,$b_nag_y-60" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
  1512. <area id="later" text="=$nag.later" inherit="button.red.spec" size="=$nag_later_button_w,$button_h"
  1513. position="=$continue_button_x,$continue_button_y"
  1514. ><anchor x="right" d="=0-$nag_later_button_w-$continue_button_offset"/></area>
  1515. <area id="buy" text="=$nag.buy" inherit="button.nag.buy.spec" position="=$nag_x+$nag_msg_x+$nag_msg_w-$nag_later_button_w,$nag_y+$nag_msg_y" />
  1516. <area id="spotlight" layer="-1" position="=$nag_x+190,$nag_y+10" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
  1517. </instance>
  1518. <!-- Sandbox Nag Screen -->
  1519. <instance class="worm.screens.SandboxNagScreen"
  1520. name="sandbox.nag.screen"
  1521. autocreated="true"
  1522. transition="instant.transition"
  1523. centre="both"
  1524. >
  1525. <hotkey key="ESCAPE" area="later"/>
  1526. <hotkey key="RETURN" area="buy"/>
  1527. <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-50"/><anchor x="mid" d="0"/></area>
  1528. <area id="sandbox.register.nag" inherit="dialog.message.spec" leading="-1" position="=$b_nag_x+$b_nag_msg_x,$b_nag_y+$b_nag_msg_y" size="=$b_nag_msg_w,$b_nag_msg_h" valign="top" halign="left" text="=$sandbox.nag.message">
  1529. <background>
  1530. <widgetbackground inherit="human-speech-top-left-info.background"
  1531. color="dialog-glow"
  1532. insets="24,40,24,22"
  1533. />
  1534. </background>
  1535. </area>
  1536. <area id="signupscreen" layer="0" position="=$b_nag_x+115,$b_nag_y-60" size="32,64" scale="0.5" mouseOff="spriteimage.nag.preorder.gid.01" noClick="true"/>
  1537. <area id="spotlight" layer="-1" position="=$b_nag_x+120,$b_nag_y-60" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
  1538. <area id="later" text="=$nag.later" inherit="button.red.spec" size="=$nag_later_button_w,$button_h"
  1539. position="=$continue_button_x,$continue_button_y"
  1540. ><anchor x="right" d="=0-$nag_later_button_w-$continue_button_offset"/></area>
  1541. <area id="buy" text="=$nag.buy" inherit="button.nag.buy.spec" position="=$nag_x+$nag_msg_x+$nag_msg_w-$nag_later_button_w,$nag_y+$nag_msg_y" />
  1542. <area id="spotlight" layer="-1" position="=$nag_x+190,$nag_y+10" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
  1543. </instance>
  1544. <!-- register screen -->
  1545. <instance class="net.puppygames.applet.screens.RegisterScreen"
  1546. name="register.screen"
  1547. keyboardnavigation="false"
  1548. transition="instant.transition"
  1549. color="0,0,0,255"
  1550. centre="both"
  1551. emailInsets="4,4,12,0"
  1552. font="tinyfont.glfont"
  1553. >
  1554. <hotkey key="ESCAPE" area="later"/>
  1555. <hotkey key="RETURN" area="register"/>
  1556. <area id="titlescreen" inherit="titlescreen.spec"/>
  1557. <area id="instructions" text="=$register.instructions"
  1558. inherit="dialog.message.spec"
  1559. position="=$reg_msg_x,$reg_msg1_y" size="=$reg_msg_w,$reg_msg1_h" />
  1560. <area id="instructions2" text="=$register.instructions2" inherit="dialog.message.spec"
  1561. position="=$reg_msg_x,$reg_msg2_y" size="=$reg_msg_w,$reg_msg2_h" />
  1562. <area id="title" text="=$register.title" inherit="dialog.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
  1563. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
  1564. <area id="register" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$reg_y+$dialog_padding" />
  1565. <area id="later" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$reg_y+$dialog_padding" />
  1566. <area id="email" color="0,0,0" inherit="textfield.spec" position="=70,$reg_input_y" size="180,16" />
  1567. <area id="registerscreen" inherit="titlescreen.spec"/>
  1568. </instance>
  1569. <!-- Sandbox Mode register screen -->
  1570. <instance class="worm.screens.SandboxRegisterScreen"
  1571. name="sandbox.register.screen"
  1572. keyboardnavigation="false"
  1573. transition="instant.transition"
  1574. color="0,0,0,255"
  1575. centre="both"
  1576. emailInsets="4,4,12,0"
  1577. font="tinyfont.glfont"
  1578. >
  1579. <hotkey key="ESCAPE" area="later"/>
  1580. <hotkey key="RETURN" area="register"/>
  1581. <area id="titlescreen" inherit="titlescreen.spec"/>
  1582. <area id="instructions" text="=$sandbox.register.instructions"
  1583. inherit="dialog.message.spec"
  1584. position="=$reg_msg_x,$reg_msg1_y" size="=$reg_msg_w,$reg_msg1_h" />
  1585. <area id="instructions2" text="=$sandbox.register.instructions2" inherit="dialog.message.spec"
  1586. position="=$reg_msg_x,$reg_msg2_y" size="=$reg_msg_w,$reg_msg2_h" />
  1587. <area id="title" text="=$sandbox.register.title" inherit="dialog.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
  1588. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
  1589. <area id="register" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$reg_y+$dialog_padding" />
  1590. <area id="later" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$reg_y+$dialog_padding" />
  1591. <area id="email" color="0,0,0" inherit="textfield.spec" position="=70,$reg_input_y" size="180,16" />
  1592. <area id="sandboxregisterscreen" inherit="titlescreen.spec"/>
  1593. </instance>
  1594. <!-- sign up for newsletter screen -->
  1595. <instance class="net.puppygames.applet.screens.SignUpScreen"
  1596. name="signup.screen"
  1597. autocreated="true"
  1598. keyboardnavigation="false"
  1599. transition="instant.transition"
  1600. color="0,0,0,255"
  1601. centre="both"
  1602. emailInsets="4,4,12,0"
  1603. font="tinyfont.glfont"
  1604. >
  1605. <hotkey key="ESCAPE" area="later"/>
  1606. <hotkey key="RETURN" area="register"/>
  1607. <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-50"/><anchor x="mid" d="0"/></area>
  1608. <area id="signup-nag" inherit="dialog.message.spec" leading="-1" position="=$b_nag_x+$b_nag_msg_x,$b_nag_y+$b_nag_msg_y" size="=$b_nag_msg_w,$b_nag_msg_h" valign="top" halign="left"
  1609. text="SIGN UP FOR THE {color:titles.colormap:text-bold}PUPPYGAMES NEWSLETTER{color:titles.colormap:text}
  1610. TO GET NEWS OF NEW UPDATES AND RELEASES, AND GET
  1611. \n{font:bigfont.glfont}{color:titles.colormap:text-bold}$5000!{font:tinyfont.glfont}{color:titles.colormap:text-darker}*
  1612. \n* NOT REAL MONEY OBVIOUSLY :)"
  1613. >
  1614. <background>
  1615. <widgetbackground inherit="human-speech-top-left-info.background"
  1616. color="dialog-glow"
  1617. insets="24,40,24,22"
  1618. />
  1619. </background>
  1620. </area>
  1621. <area id="email" color="0,0,0" inherit="textfield.spec" position="=$b_nag_x+$b_nag_msg_x,$b_nag_y+$b_nag_msg_y+28" size="=$b_nag_msg_w,16" />
  1622. <area id="instruction" scale="0.5" textOffset="12,0" offset="2,4" mouseoff="mini.arrow.up.anim" inherit="dialog.message.spec" halign="left" valign="bottom" text="{color:titles.colormap:text-darker}E-MAIL" position="=$b_nag_x+$b_nag_msg_x,$b_nag_y+$b_nag_msg_y+9" size="=$b_nag_msg_w,12" />
  1623. <area id="signup" text="=$signup.signup" inherit="button.nag.buy.spec" position="=$b_nag_x+$b_nag_msg_x+$b_nag_msg_w-$b_nag_later_button_w-2,$b_nag_y+$b_nag_msg_y-5" />
  1624. <area id="signupscreen" layer="0" position="=$b_nag_x+115,$b_nag_y-60" size="32,64" scale="0.5" mouseOff="spriteimage.nag.preorder.gid.01" noClick="true"/>
  1625. <area id="spotlight" layer="-1" position="=$b_nag_x+120,$b_nag_y-60" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
  1626. <area id="later" text="=$signup.later" inherit="button.red.spec" size="=$b_nag_later_button_w,$button_h"
  1627. position="=$continue_button_x,$continue_button_y"
  1628. ><anchor x="right" d="=0-$b_nag_later_button_w-$continue_button_offset"/></area>
  1629. <area id="dontShowAgain" inherit="options.item.button.spec" text="=$signup.dontshowagain" textOffset="19,0" position="=$continue_button_x,$continue_button_y+3">
  1630. <anchor x="left" d="=$abort_button_x+2"/></area>
  1631. <area id="dontShowAgain_on" inherit="options.radiobutton.on.spec" position="=$continue_button_x,$continue_button_y+3">
  1632. <anchor x="left" d="=$abort_button_x+2"/></area>
  1633. <area id="dontShowAgain_off" inherit="options.radiobutton.off.spec" position="=$continue_button_x,$continue_button_y+3">
  1634. <anchor x="left" d="=$abort_button_x+2"/></area>
  1635. </instance>
  1636. <!-- enter bonus code -->
  1637. <instance class="net.puppygames.applet.screens.UnlockBonusScreen"
  1638. name="unlockbonus.screen"
  1639. autocreated="true"
  1640. keyboardnavigation="false"
  1641. transition="instant.transition"
  1642. color="0,0,0,255"
  1643. centre="both"
  1644. codeInsets="4,4,12,0"
  1645. font="tinyfont.glfont"
  1646. >
  1647. <hotkey key="ESCAPE" area="cancel"/>
  1648. <hotkey key="RETURN" area="ok"/>
  1649. <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-30"/><anchor x="mid" d="0"/></area>
  1650. <area id="message" inherit="dialog.message.spec" leading="-1" position="=$unlock_bonus_x+$unlock_bonus_msg_x,$unlock_bonus_y+$unlock_bonus_msg_y" size="=$unlock_bonus_msg_w,$unlock_bonus_msg_h" valign="top" halign="left">
  1651. <text>=unlockbonus.message.text</text>
  1652. <background>
  1653. <widgetbackground inherit="speechbubble-right-2.background.spec"
  1654. color="dialog-glow"
  1655. insets="40,22,24,22"
  1656. />
  1657. </background>
  1658. </area>
  1659. <area id="code" color="0,0,0" inherit="textfield.spec" position="=$unlock_bonus_x+$unlock_bonus_msg_x-1,$unlock_bonus_y+$unlock_bonus_msg_y+25" size="=$unlock_bonus_msg_w,16" />
  1660. <area id="instruction" scale="0.5" textOffset="12,0" offset="2,4" mouseoff="mini.arrow.up.anim" inherit="dialog.message.spec" halign="left" valign="bottom" text="{color:titles.colormap:text-darker}HEX CODE" position="=$unlock_bonus_x+$unlock_bonus_msg_x,$unlock_bonus_y+$unlock_bonus_msg_y+6" size="=$unlock_bonus_msg_w,12" />
  1661. <area id="ok" text="=$unlockbonus.ok" inherit="button.spec" size="=$unlock_bonus_button_w,$button_h" position="=$unlock_bonus_x+$unlock_bonus_msg_x+$unlock_bonus_msg_w-$unlock_bonus_button_w,$unlock_bonus_y+$unlock_bonus_msg_y" />
  1662. <area layer="5" scale="0.5" position="=$unlock_bonus_x+$unlock_bonus_bot_x,$unlock_bonus_y+$unlock_bonus_bot_y" mouseoff="spriteimage.character.statbot.earth.01" noClick="true"/>
  1663. <area layer="1" scale="0.5" position="=$unlock_bonus_x+$unlock_bonus_bot_x,$unlock_bonus_y+$unlock_bonus_bot_y" mouseoff="spriteimage.character.ground.01" noClick="true"/>
  1664. <area layer="4" scale="0.5" position="=$unlock_bonus_x+$unlock_bonus_bot_x,$unlock_bonus_y+$unlock_bonus_bot_y" mouseoff="statbot.earth.body.idle.anim" noClick="true"/>
  1665. <area layer="6" scale="0.5" position="=$unlock_bonus_x+$unlock_bonus_bot_x,$unlock_bonus_y+$unlock_bonus_bot_y" mouseoff="statbot.earth.glow.anim" noClick="true"/>
  1666. <area layer="0" scale="0.5" position="=$unlock_bonus_x+$unlock_bonus_bot_x,$unlock_bonus_y+$unlock_bonus_bot_y" mouseoff="spriteimage.story.spotlight.earth.01" noClick="true"/>
  1667. <area layer="7" scale="0.5" position="=$unlock_bonus_x+$unlock_bonus_bot_x,$unlock_bonus_y+$unlock_bonus_bot_y" mouseoff="spriteimage.character.statbot.earth.top.06" noClick="true"/>
  1668. <area id="cancel" text="=$unlockbonus.cancel" inherit="button.red.spec" size="=$unlock_bonus_later_button_w,$button_h"
  1669. position="=$continue_button_x,$continue_button_y"
  1670. ><anchor x="right" d="=0-$unlock_bonus_later_button_w-$continue_button_offset"/></area>
  1671. <area id="dontShowAgain" group="checkboxes" inherit="options.item.button.spec" text="=$unlockbonus.dontShowAgain" textOffset="19,0" position="=$continue_button_x,$continue_button_y+3">
  1672. <anchor x="left" d="=$abort_button_x+2"/></area>
  1673. <area id="dontShowAgain_on" group="checkboxes" inherit="options.radiobutton.on.spec" position="=$continue_button_x,$continue_button_y+3">
  1674. <anchor x="left" d="=$abort_button_x+2"/></area>
  1675. <area id="dontShowAgain_off" group="checkboxes" inherit="options.radiobutton.off.spec" position="=$continue_button_x,$continue_button_y+3">
  1676. <anchor x="left" d="=$abort_button_x+2"/></area>
  1677. <area id="continue" text="=$generic.button.continue" inherit="button.spec" size="=$unlock_bonus_button_w,$button_h" position="=$unlock_bonus_x+$unlock_bonus_msg_x,$unlock_bonus_y+$unlock_bonus_msg_y" />
  1678. </instance>
  1679. <!-- register dialogs -->
  1680. <!-- CANCEL SCREEN .... allow player to cancel registration -->
  1681. <instance class="net.puppygames.applet.screens.DialogScreen"
  1682. name="cancel.dialog"
  1683. keyboardnavigation="false"
  1684. dialog="true"
  1685. transition="instant.transition"
  1686. centre="both"
  1687. allCaps="true"
  1688. >
  1689. <hotkey key="ESCAPE" area="cancel"/>
  1690. <area id="background" inherit="dialog.background.spec"/>
  1691. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1692. <area id="message" inherit="dialog.message.spec" position="=$reg_info_msg_x,$reg_info_msg_y" size="=$reg_info_msg_w,$reg_info_msg_h" />
  1693. <area id="title" inherit="dialog.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
  1694. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
  1695. <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$reg_info_y+$dialog_padding" />
  1696. </instance>
  1697. <!-- INFO SCREEN .... just has an ok button -->
  1698. <instance class="net.puppygames.applet.screens.DialogScreen"
  1699. name="info.dialog"
  1700. keyboardnavigation="false"
  1701. dialog="true"
  1702. transition="instant.transition"
  1703. centre="both"
  1704. allCaps="true"
  1705. >
  1706. <hotkey key="RETURN" area="cancel"/>
  1707. <hotkey key="ESCAPE" area="cancel"/>
  1708. <area id="background" inherit="dialog.background.spec"/>
  1709. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1710. <area id="message" inherit="dialog.message.spec" position="=$reg_info_msg_x,$reg_info_msg_y" size="=$reg_info_msg_w,$reg_info_msg_h" />
  1711. <area id="title" inherit="dialog.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
  1712. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
  1713. <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$reg_info_y+$dialog_padding" />
  1714. </instance>
  1715. <!-- IN-GAME INFO SCREEN - RESEARCH HINT etc. .... just has an ok button -->
  1716. <instance class="net.puppygames.applet.screens.DialogScreen"
  1717. name="ingame.info.dialog"
  1718. keyboardnavigation="false"
  1719. dialog="true"
  1720. transition="instant.transition"
  1721. centre="both"
  1722. allCaps="true"
  1723. >
  1724. <hotkey key="RETURN" area="cancel"/>
  1725. <hotkey key="ESCAPE" area="cancel"/>
  1726. <area id="background" inherit="dialog.background.spec"/>
  1727. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1728. <area id="message" inherit="dialog.message.spec" position="=$info_dialog_msg_x,$info_dialog_msg_y" size="=$info_dialog_msg_w,$info_dialog_msg_h" />
  1729. <area id="title" inherit="dialog.spec" position="=$info_dialog_x,$info_dialog_y" size="=$info_dialog_w,$info_dialog_h" />
  1730. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$info_dialog_x,$info_dialog_y" size="=$info_dialog_w,$info_dialog_h" />
  1731. <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$info_dialog_y+$dialog_padding" />
  1732. </instance>
  1733. <!-- RESEARCH NAG SCREEN -->
  1734. <instance class="net.puppygames.applet.screens.DialogScreen"
  1735. name="research-nag.dialog"
  1736. keyboardnavigation="false"
  1737. dialog="true"
  1738. transition="instant.transition"
  1739. centre="both"
  1740. allcaps="true"
  1741. >
  1742. <hotkey key="ESCAPE" area="cancel"/>
  1743. <hotkey key="RETURN" area="ok"/>
  1744. <area id="background" inherit="dialog.background.spec"/>
  1745. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1746. <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
  1747. <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
  1748. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
  1749. <area id="ok" text="=$researchnag.ok" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_large_y+$dialog_padding" />
  1750. <area id="cancel" text="=$researchnag.cancel" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_large_y+$dialog_padding" />
  1751. </instance>
  1752. <!-- Choose game mode screen -->
  1753. <area
  1754. name="mode.menu.button.spec"
  1755. size="=$mode_button_w,$mode_button_h"
  1756. offset="=$mode_button_w/2,$mode_button_h/2"
  1757. layer="12"
  1758. scale="0.5"
  1759. />
  1760. <area
  1761. name="mode.menu.button.title.spec"
  1762. inherit="esc.menu.button.title.spec"
  1763. position="=$dialog_wide_x+($mode_dialog_padding*1.5),$mode_button_text_y"
  1764. size="=$dialog_wide_w-($mode_dialog_padding*3),$mode_button_text_h"
  1765. font="smallfont.glfont"
  1766. />
  1767. <area
  1768. name="mode.menu.button.desc.spec"
  1769. inherit="mode.menu.button.title.spec"
  1770. textOffset="0,0"
  1771. halign="centered"
  1772. color="text"
  1773. size="=$dialog_wide_w-($mode_dialog_padding*3),$mode_button_text_h-17"
  1774. font="tinyfont.glfont"
  1775. />
  1776. <!-- Live Version -->
  1777. <instance class="worm.screens.ChooseGameModeScreen"
  1778. name="choose-game-mode.screen"
  1779. keyboardnavigation="false"
  1780. dialog="true"
  1781. transition="instant.transition"
  1782. centre="both"
  1783. >
  1784. <hotkey key="ESCAPE" area="cancel"/>
  1785. <hotkey key="=$key.campaign" area="mode_campaign"/>
  1786. <hotkey key="=$key.endless" area="mode_endless"/>
  1787. <hotkey key="=$key.survival" area="mode_survival"/>
  1788. <hotkey key="=$key.sandbox" area="mode_sandbox"/>
  1789. <area id="background" inherit="dialog.background.spec"/>
  1790. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1791. <area id="title" inherit="dialog.ingame.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
  1792. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
  1793. <area id="mode_campaign" inherit="mode.menu.button.spec" position="=$mode_button_1of3_x,$mode_buttons_y"
  1794. mouseoff="menu.campaign.off.animation" mouseon="menu.campaign.on.animation" disabled="menu.campaign.disabled.animation"/>
  1795. <area id="mode_campaign_title" text="=$choosegamemode.mode_campaign_title" mouseoff="=$key.campaign.icon" inherit="mode.menu.button.title.spec"
  1796. textOffset="=$mode_title_campaign_o_x,0" offset="=$mode_title_campaign_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1797. <area id="mode_campaign_desc" text="=$choosegamemode.mode_campaign_desc" inherit="mode.menu.button.desc.spec" />
  1798. <area id="mode_endless" inherit="mode.menu.button.spec" position="=$mode_button_2of3_x,$mode_buttons_y"
  1799. mouseoff="menu.endless.off.animation" mouseon="menu.endless.on.animation" disabled="menu.endless.disabled.animation"/>
  1800. <area id="mode_endless_title" text="=$choosegamemode.mode_endless_title" mouseoff="=$key.endless.icon" inherit="mode.menu.button.title.spec"
  1801. textOffset="=$mode_title_endless_o_x,0" offset="=$mode_title_endless_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1802. <area id="mode_endless_desc" text="=$choosegamemode.mode_endless_desc" inherit="mode.menu.button.desc.spec" />
  1803. <area id="mode_survival" inherit="mode.menu.button.spec" position="=$mode_button_3of3_x,$mode_buttons_y"
  1804. mouseoff="menu.survival.off.animation" mouseon="menu.survival.on.animation" disabled="menu.survival.disabled.animation"/>
  1805. <area id="mode_survival_title" text="=$choosegamemode.mode_survival_title" mouseoff="=$key.survival.icon" inherit="mode.menu.button.title.spec"
  1806. textOffset="=$mode_title_survival_o_x,0" offset="=$mode_title_survival_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1807. <area id="mode_survival_desc" text="=$choosegamemode.mode_survival_desc" inherit="mode.menu.button.desc.spec" />
  1808. <area id="cancel" text="=$cancel.label" inherit="button.red.spec"
  1809. position="=$SCREEN_X-($button_w/2),$mode_dialog_y+$mode_dialog_padding" />
  1810. <area id="default_msg" text="=$choosegamemode.default_msg" group="default_msg" inherit="mode.menu.button.title.spec" color="text-darkest" textOffset="0,-5" halign="centered" font="bigfont.glfont" />
  1811. </instance>
  1812. <!-- Xmas version! -->
  1813. <instance class="worm.screens.ChooseGameModeScreen"
  1814. name="choose-game-mode-xmas.screen"
  1815. keyboardnavigation="false"
  1816. dialog="true"
  1817. transition="instant.transition"
  1818. centre="both"
  1819. >
  1820. <hotkey key="ESCAPE" area="cancel"/>
  1821. <hotkey key="=$key.campaign" area="mode_campaign"/>
  1822. <hotkey key="=$key.endless" area="mode_endless"/>
  1823. <hotkey key="=$key.survival" area="mode_survival"/>
  1824. <hotkey key="=$key.sandbox" area="mode_sandbox"/>
  1825. <hotkey key="=$key.xmas" area="mode_xmas"/>
  1826. <area id="background" inherit="dialog.background.spec"/>
  1827. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1828. <area id="title" inherit="dialog.ingame.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
  1829. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
  1830. <area id="mode_campaign" inherit="mode.menu.button.spec" position="=$mode_button_1of4_x,$mode_buttons_y"
  1831. mouseoff="menu.campaign.off.animation" mouseon="menu.campaign.on.animation" disabled="menu.campaign.disabled.animation"/>
  1832. <area id="mode_campaign_title" text="=$choosegamemode.mode_campaign_title" mouseoff="=$key.campaign.icon" inherit="mode.menu.button.title.spec"
  1833. textOffset="=$mode_title_campaign_o_x,0" offset="=$mode_title_campaign_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1834. <area id="mode_campaign_desc" text="=$choosegamemode.mode_campaign_desc" inherit="mode.menu.button.desc.spec" />
  1835. <area id="mode_endless" inherit="mode.menu.button.spec" position="=$mode_button_2of4_x,$mode_buttons_y"
  1836. mouseoff="menu.endless.off.animation" mouseon="menu.endless.on.animation" disabled="menu.endless.disabled.animation"/>
  1837. <area id="mode_endless_title" text="=$choosegamemode.mode_endless_title" mouseoff="=$key.endless.icon" inherit="mode.menu.button.title.spec"
  1838. textOffset="=$mode_title_endless_o_x,0" offset="=$mode_title_endless_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1839. <area id="mode_endless_desc" text="=$choosegamemode.mode_endless_desc" inherit="mode.menu.button.desc.spec" />
  1840. <area id="mode_survival" inherit="mode.menu.button.spec" position="=$mode_button_3of4_x,$mode_buttons_y"
  1841. mouseoff="menu.survival.off.animation" mouseon="menu.survival.on.animation" disabled="menu.survival.disabled.animation"/>
  1842. <area id="mode_survival_title" text="=$choosegamemode.mode_survival_title" mouseoff="=$key.survival.icon" inherit="mode.menu.button.title.spec"
  1843. textOffset="=$mode_title_survival_o_x,0" offset="=$mode_title_survival_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1844. <area id="mode_survival_desc" text="=$choosegamemode.mode_survival_desc" inherit="mode.menu.button.desc.spec" />
  1845. <area id="mode_xmas" inherit="mode.menu.button.spec" position="=$mode_button_4of4_x,$mode_buttons_y"
  1846. mouseoff="menu.xmas.off.animation" mouseon="menu.xmas.on.animation" disabled="menu.xmas.disabled.animation"/>
  1847. <area id="mode_xmas_title" text="=$choosegamemode.mode_xmas_title" mouseoff="=$key.xmas.icon" inherit="mode.menu.button.title.spec"
  1848. textOffset="=$mode_title_xmas_o_x,0" offset="=$mode_title_xmas_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1849. <area id="mode_xmas_desc" text="=$choosegamemode.mode_xmas_desc" inherit="mode.menu.button.desc.spec" />
  1850. <area id="cancel" text="=$cancel.label" inherit="button.red.spec"
  1851. position="=$SCREEN_X-($button_w/2),$mode_dialog_y+$mode_dialog_padding" />
  1852. <area id="default_msg" text="=$choosegamemode.default_msg" group="default_msg" inherit="mode.menu.button.title.spec" color="text-darkest" textOffset="0,-5" halign="centered" font="bigfont.glfont" />
  1853. </instance>
  1854. <!-- Development Version -->
  1855. <instance class="worm.screens.ChooseGameModeScreen"
  1856. name="choose-game-mode.screen.debug"
  1857. keyboardnavigation="false"
  1858. dialog="true"
  1859. transition="instant.transition"
  1860. centre="both"
  1861. >
  1862. <hotkey key="ESCAPE" area="cancel"/>
  1863. <hotkey key="=$key.campaign" area="mode_campaign"/>
  1864. <hotkey key="=$key.endless" area="mode_endless"/>
  1865. <hotkey key="=$key.survival" area="mode_survival"/>
  1866. <hotkey key="=$key.sandbox" area="mode_sandbox"/>
  1867. <hotkey key="=$key.xmas" area="mode_xmas"/>
  1868. <area id="background" inherit="dialog.background.spec"/>
  1869. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1870. <area id="title" inherit="dialog.ingame.spec" position="=$dialog_wider_x,$mode_dialog_y" size="=$dialog_wider_w,$mode_dialog_h" />
  1871. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_wider_x,$mode_dialog_y" size="=$dialog_wider_w,$mode_dialog_h" />
  1872. <area id="mode_campaign" inherit="mode.menu.button.spec" position="=$mode_button_1of5_x,$mode_buttons_y"
  1873. mouseoff="menu.campaign.off.animation" mouseon="menu.campaign.on.animation" disabled="menu.campaign.disabled.animation"/>
  1874. <area id="mode_campaign_title" text="=$choosegamemode.mode_campaign_title" mouseoff="=$key.campaign.icon" inherit="mode.menu.button.title.spec"
  1875. textOffset="=$mode_title_campaign_o_x,0" offset="=$mode_title_campaign_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1876. <area id="mode_campaign_desc" text="=$choosegamemode.mode_campaign_desc" inherit="mode.menu.button.desc.spec" />
  1877. <area id="mode_endless" inherit="mode.menu.button.spec" position="=$mode_button_2of5_x,$mode_buttons_y"
  1878. mouseoff="menu.endless.off.animation" mouseon="menu.endless.on.animation" disabled="menu.endless.disabled.animation"/>
  1879. <area id="mode_endless_title" text="=$choosegamemode.mode_endless_title" mouseoff="=$key.endless.icon" inherit="mode.menu.button.title.spec"
  1880. textOffset="=$mode_title_endless_o_x,0" offset="=$mode_title_endless_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1881. <area id="mode_endless_desc" text="=$choosegamemode.mode_endless_desc" inherit="mode.menu.button.desc.spec" />
  1882. <area id="mode_survival" inherit="mode.menu.button.spec" position="=$mode_button_3of5_x,$mode_buttons_y"
  1883. mouseoff="menu.survival.off.animation" mouseon="menu.survival.on.animation" disabled="menu.survival.disabled.animation"/>
  1884. <area id="mode_survival_title" text="=$choosegamemode.mode_survival_title" mouseoff="=$key.survival.icon" inherit="mode.menu.button.title.spec"
  1885. textOffset="=$mode_title_survival_o_x,0" offset="=$mode_title_survival_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1886. <area id="mode_survival_desc" text="=$choosegamemode.mode_survival_desc" inherit="mode.menu.button.desc.spec" />
  1887. <area id="mode_sandbox" inherit="mode.menu.button.spec" position="=$mode_button_4of5_x,$mode_buttons_y"
  1888. mouseoff="menu.sandbox.off.animation" mouseon="menu.sandbox.on.animation" disabled="menu.sandbox.disabled.animation"/>
  1889. <area id="mode_sandbox_title" text="=$choosegamemode.mode_sandbox_title" mouseoff="=$key.sandbox.icon" inherit="mode.menu.button.title.spec"
  1890. textOffset="=$mode_title_sandbox_o_x,0" offset="=$mode_title_sandbox_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1891. <area id="mode_sandbox_desc" text="=$choosegamemode.mode_sandbox_desc" inherit="mode.menu.button.desc.spec" />
  1892. <area id="mode_xmas" inherit="mode.menu.button.spec" position="=$mode_button_5of5_x,$mode_buttons_y"
  1893. mouseoff="menu.xmas.off.animation" mouseon="menu.xmas.on.animation" disabled="menu.xmas.disabled.animation"/>
  1894. <area id="mode_xmas_title" text="=$choosegamemode.mode_xmas_title" mouseoff="=$key.xmas.icon" inherit="mode.menu.button.title.spec"
  1895. textOffset="=$mode_title_xmas_o_x,0" offset="=$mode_title_xmas_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
  1896. <area id="mode_xmas_desc" text="=$choosegamemode.mode_xmas_desc" inherit="mode.menu.button.desc.spec" />
  1897. <area id="cancel" text="=$cancel.label" inherit="button.red.spec"
  1898. position="=$SCREEN_X-($button_w/2),$mode_dialog_y+$mode_dialog_padding" />
  1899. <area id="default_msg" text="=$choosegamemode.default_msg" group="default_msg" inherit="mode.menu.button.title.spec" color="text-darkest" textOffset="0,-5" halign="centered" font="bigfont.glfont" />
  1900. </instance>
  1901. <instance class="net.puppygames.applet.screens.DialogScreen"
  1902. name="mode-locked.dialog"
  1903. keyboardnavigation="false"
  1904. dialog="true"
  1905. transition="instant.transition"
  1906. centre="both"
  1907. allCaps="true"
  1908. >
  1909. <hotkey key="RETURN" area="cancel"/>
  1910. <hotkey key="ESCAPE" area="cancel"/>
  1911. <area id="background" inherit="dialog.background.spec"/>
  1912. <area id="background_glow" inherit="dialog.background.glow.spec"/>
  1913. <area id="message" inherit="dialog.message.spec" position="=$mode_locked_msg_x,$mode_locked_msg_y" size="=$mode_locked_msg_w,$mode_locked_msg_h" />
  1914. <area id="title" inherit="dialog.spec" position="=$mode_locked_x,$mode_locked_y" size="=$mode_locked_w,$mode_locked_h" />
  1915. <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$mode_locked_x,$mode_locked_y" size="=$mode_locked_w,$mode_locked_h" />
  1916. <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$mode_locked_y+$dialog_padding" />
  1917. </instance>
  1918. </resources>