12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345 |
- <?xml version='1.0' encoding='utf-8'?>
- <!--
- Copyright (c) 2003-onwards Shaven Puppy Ltd
- All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of 'Shaven Puppy' nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- -->
- <!-- GUI resources -->
- <resources>
- <include resource="tags.xml" />
- <include resource="gui-keys.xml" />
- <include resource="keys.xml" />
- <animation name="hud.phase.20%.animation">
- <label id="loop"/>
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+3" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+2" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+1" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-3" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-2" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+-1" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <animcolor a="+0" d="2" />
- <goto id="loop"/>
- </animation>
- <!-- standard widgety bits -->
- <area name="titlescreen.spec"
- size="320,320"
- scale="0.625"
- position="=$SCREEN_X,$SCREEN_Y"
- noClick="true"
- layer="-3"
- >
- <anchor x="mid" y="mid" d="0"/>
- <mouseOff>
- <animation>
- <scale xscale="1.35" yscale="0.625" d="0"/>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.hud.titlescreen.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="titlescreen-middle.spec"
- size="240,240"
- scale="0.46875"
- position="=$SCREEN_X-120,63"
- noClick="true"
- layer="-3"
- >
- <anchor x="mid" d="-120" /><anchor y="mid" d="-97" />
- <mouseOff>
- <animation>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.titlescreen.middle.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="titlescreen-left.spec"
- inherit="titlescreen-middle.spec"
- >
- <anchor x="mid" d="-360" /><anchor y="mid" d="-97" />
- <mouseOff>
- <animation>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.titlescreen.left.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="titlescreen-right.spec"
- inherit="titlescreen-middle.spec"
- position="=$SCREEN_X+120,63"
- >
- <anchor x="mid" d="120" /><anchor y="mid" d="-97" />
- <mouseOff>
- <animation>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.titlescreen.right.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="titlescreen-logo.spec"
- inherit="titlescreen-middle.spec"
- position="=$SCREEN_X-99,115"
- size="186,60"
- mouseOff="spriteimage.titlescreen.logo.01"
- layer="-2"
- >
- <anchor x="mid" d="-93" /><anchor y="mid" d="-65" />
- </area>
- <area
- name="dialog.background.spec"
- noClick="true"
- layer="-1"
- bglayer="-2"
- textLayer="11"
- position="=$SCREEN_X-160,0"
- size="320,320"
- >
- <anchor x="left" y="bottom" w="right" h="top" d="0"/>
- <background>
- <widgetbackground
- inherit="dialog-dim.background"
- topColor="0,0,0,200"
- bottomColor="0,0,0,150"
- />
- </background>
- </area>
- <area
- name="dialog.ingame.background.spec"
- inherit="dialog.background.spec"
- >
- <anchor x="left" y="bottom" w="right" h="top" d="0"/>
- <background>
- <widgetbackground
- inherit="dialog-dim.background"
- topColor="0,0,0,170"
- bottomColor="0,0,0,170"
- />
- </background>
- </area>
- <area
- name="dialog.background.glow.spec"
- noClick="true"
- layer="-1"
- position="=$SCREEN_X-160,$SCREEN_Y-160+$dialog_y_offset"
- size="320,320"
- scale="0.625"
- >
- <anchor x="mid" d="-160"/>
- <anchor y="mid" d="=$dialog_y_offset-160" />
- <mouseOff>
- <animation>
- <animcolor a="150" d="0"/>
- <frame i="spriteimage.hud.titlescreen.overlay.01" d="0"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area
- name="dialog.ingame.background.glow.spec"
- inherit="dialog.background.glow.spec"
- position="=$SCREEN_X,$SCREEN_Y+$dialog_y_offset+50"
- size="8,8"
- scale="0.625"
- >
- <anchor x="mid" d="0"/>
- <anchor y="mid" d="=$dialog_y_offset+50" />
- </area>
- <area
- name="dialog.spec"
- noClick="true"
- layer="0"
- bglayer="0"
- textLayer="11"
- font="tinyfont.glfont"
- halign="centered"
- valign="top"
- color="dialog-title"
- textOffset="=0,$dialog_title_offset"
- >
- <background>
- <widgetbackground inherit="hud_background"
- color="dialog-top"
- />
- </background>
- </area>
- <area
- name="dialog.glow.spec"
- inherit="dialog.spec"
- bglayer="1"
- >
- <background>
- <widgetbackground inherit="hud_background_glow"
- color="dialog-glow"
- insets="13,22,17,9"
- />
- </background>
- </area>
- <area
- name="dialog.closeable.spec"
- inherit="dialog.spec"
- >
- <background>
- <widgetbackground inherit="hud_background_closeable"
- color="dialog-top"
- />
- </background>
- </area>
- <area
- name="dialog.red.spec"
- inherit="dialog.spec"
- >
- <background>
- <widgetbackground inherit="hud_background"
- color="250,0,0"
- />
- </background>
- </area>
- <area
- name="dialog.ingame.spec"
- inherit="dialog.spec"
- bglayer="10"
- textLayer="11"
- >
- <background>
- <widgetbackground inherit="hud_background_status"
- color="dialog-top"
- />
- </background>
- </area>
- <area
- name="dialog.ingame.glow.spec"
- inherit="dialog.spec"
- bglayer="9"
- >
- <background>
- <widgetbackground inherit="hud_background_glow"
- color="dialog-glow"
- insets="13,22,17,9"
- />
- </background>
- </area>
- <area
- name="dialog.title.spec"
- noClick="true"
- textLayer="11"
- bglayer="10"
- font="tinyfont.glfont"
- valign="centered"
- halign="centered"
- color="dialog-title"
- />
- <area
- name="dialog.message.spec"
- noClick="true"
- textLayer="11"
- font="tinyfont.glfont"
- valign="centered"
- halign="centered"
- color="text"
- />
- <area
- name="textfield.spec"
- nextfocus="ok"
- prevfocus="cancel"
- color="0,0,0"
- font="tinyfont.glfont"
- bglayer="11"
- textLayer="12"
- >
- <background>
- <widgetbackground inherit="textfield_background"
- color="text"
- />
- </background>
- </area>
- <area
- name="options.item.bar.spec"
- font="tinyfont.glfont"
- textLayer="12"
- halign="left"
- valign="centered"
- textOffset="=$options_bar_label_offset,0"
- size="=$options_bar_label_w,$options_item_h"
- color="text"
- leading="-3"
- />
- <area
- name="options.item.button.spec"
- inherit="options.item.bar.spec"
- halign="left"
- textOffset="=$options_button_label_offset,0"
- size="=$options_button_label_w,$options_item_h"
- color="text"
- />
- <area
- name="options.item.instruction.spec"
- inherit="options.item.button.spec"
- halign="centered"
- textOffset="0,0"
- size="=$options_instruction_w,$options_item_h"
- color="text"
- />
- <area
- name="options.widget.spec"
- offset="-1,-1"
- size="=$options_item_h,$options_item_h"
- layer="12"
- scale="0.4"
- />
- <area
- name="options.radiobutton.off.spec"
- inherit="options.widget.spec"
- disabled="spriteimage.hud.radiobutton.off.disabled.01"
- mouseoff="spriteimage.hud.radiobutton.off.off.01"
- mouseon="widget.radiobutton.off.on.animation"
- />
- <area
- name="options.radiobutton.on.spec"
- inherit="options.widget.spec"
- noClick="true"
- disabled="spriteimage.hud.radiobutton.on.disabled.01"
- mouseoff="spriteimage.hud.radiobutton.on.off.01"
- mouseon="widget.radiobutton.on.on.animation"
- />
- <area
- name="options.checkbox.off.spec"
- inherit="options.radiobutton.off.spec"
- mouseon="widget.cross.on.animation"
- />
- <area
- name="options.checkbox.on.spec"
- inherit="options.checkbox.off.spec"
- disabled="spriteimage.hud.checkbox.tick.disabled.01"
- mouseoff="spriteimage.hud.checkbox.tick.off.01"
- mouseon="widget.tick.on.animation"
- />
- <powerdisplay
- name="dialog.powerdisplay.spec"
- gap="=$options_bar_dit_w"
- layer="12"
- />
- <!-- buttons -->
- <area
- name="button.spec"
- bglayer="11"
- layer="12"
- textLayer="12"
- size="=$button_w,$button_h"
- font="tinyfont.glfont"
- color="button-text"
- mouseOnColor="button-text-on"
- disabledColor="button-text-disabled"
- valign="centered"
- halign="centered"
- >
- <background>
- <widgetbackground inherit="button_background"
- color="button"
- />
- </background>
- <mouseOnBackground>
- <widgetbackground inherit="button_background"
- color="button-on"
- />
- </mouseOnBackground>
- <disabledBackground>
- <widgetbackground inherit="button_background"
- color="button-disabled"
- />
- </disabledBackground>
- </area>
- <area
- name="button.red.spec"
- inherit="button.spec"
- color="button-red-text"
- >
- <background>
- <widgetbackground inherit="button_background"
- color="button-red"
- />
- </background>
- <mouseOnBackground>
- <widgetbackground inherit="button_background"
- color="button-red-on"
- />
- </mouseOnBackground>
- </area>
- <area
- name="titlescreen.menu.button.spec"
- textLayer="11"
- font="tinyfont.glfont"
- color="!114,255,120"
- mouseOnColor="!114,255,96,100"
- valign="centered"
- halign="centered"
- />
- <area
- name="button.gamescreen.spec"
- inherit="button.spec"
- color="button-text"
- mouseOnColor="button-text-on"
- >
- <background>
- <widgetbackground inherit="button_background"
- color="button"
- />
- </background>
- <mouseOnBackground>
- <widgetbackground inherit="button_background"
- color="button-on"
- />
- </mouseOnBackground>
- </area>
- <area name="button.continue.spec"
- inherit="button.gamescreen.spec"
- text="=$generic.button.continue"
- size="=$continue_button_w,$button_h"
- position="=$continue_button_x,$continue_button_y"
- >
- <anchor x="right" d="=0-$continue_button_w-$continue_button_offset"/>
- </area>
- <area name="button.back.spec"
- inherit="button.gamescreen.spec"
- text="=$generic.button.back"
- size="=$back_button_w,$button_h"
- position="=$back_button_x,$back_button_y"
- >
- <anchor x="left" d="=$back_button_offset"/>
- </area>
- <area name="button.abort.spec"
- inherit="button.red.spec"
- text="=$generic.button.abort"
- position="=$abort_button_x,$abort_button_y"
- >
- <anchor x="left" d="=$abort_button_x"/>
- </area>
- <area name="button.nag.buy.spec"
- inherit="button.gamescreen.spec"
- size="=$nag_buy_button_w,$nag_buy_button_h"
- font="smallfont.glfont"
- />
- <animation name="menu.button.off.animation">
- <color c="button-on" d="0"/>
- <frame i="menu.button.nocolor.off.animation" d="0"/>
- </animation>
- <animation name="menu.button.on.animation">
- <color c="button-on" d="0"/>
- <frame i="menu.button.nocolor.on.animation" d="0"/>
- </animation>
- <animation name="menu.button.disabled.animation">
- <color c="button-disabled" d="0"/>
- <frame i="menu.button.nocolor.disabled.animation" d="0"/>
- </animation>
- <animation name="menu.button.red.off.animation">
- <color c="titles.colormap:button-red-text" d="0"/>
- <frame i="menu.button.nocolor.off.animation" d="0"/>
- </animation>
- <animation name="menu.button.red.on.animation">
- <color c="titles.colormap:button-red-on" d="0"/>
- <frame i="menu.button.nocolor.on.animation" d="0"/>
- </animation>
- <animation name="menu.button.red.disabled.animation">
- <color c="button-red-disabled" d="0"/>
- <frame i="menu.button.nocolor.disabled.animation" d="0"/>
- </animation>
- <animation name="menu.button.nocolor.off.animation">
- <scale scale="0.5" d="0"/>
- </animation>
- <animation name="menu.button.nocolor.on.animation">
- <scale scale="0.505" d="1"/>
- <scale scale="0.52" d="2"/>
- <scale scale="0.55" d="2"/>
- </animation>
- <animation name="menu.button.nocolor.disabled.animation">
- <scale scale="0.5" d="0"/>
- </animation>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <!-- Options screen widgets -->
- <animation name="volume.off.animation">
- <frame i="spriteimage.hud.dit.01" d="1"/>
- </animation>
- <animation name="volume.on.01.animation">
- <frame i="spriteimage.hud.dit.02" d="32"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="32"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.02.animation">
- <frame i="spriteimage.hud.dit.02" d="34"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="30"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.03.animation">
- <frame i="spriteimage.hud.dit.02" d="36"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="28"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.04.animation">
- <frame i="spriteimage.hud.dit.02" d="38"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="26"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.05.animation">
- <frame i="spriteimage.hud.dit.02" d="40"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="24"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.06.animation">
- <frame i="spriteimage.hud.dit.02" d="42"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="22"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.07.animation">
- <frame i="spriteimage.hud.dit.02" d="44"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="20"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.08.animation">
- <frame i="spriteimage.hud.dit.02" d="46"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="18"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.09.animation">
- <frame i="spriteimage.hud.dit.02" d="48"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="16"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="volume.on.10.animation">
- <frame i="spriteimage.hud.dit.02" d="50"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.06" d="14"/>
- <frame i="spriteimage.hud.dit.05" d="2"/>
- <frame i="spriteimage.hud.dit.04" d="2"/>
- <frame i="spriteimage.hud.dit.03" d="2"/>
- <goto seq="0"/>
- </animation>
- <animation name="widget.tick.on.animation">
- <frame i="spriteimage.hud.checkbox.tick.off.01" d="1"/>
- <frame i="spriteimage.hud.checkbox.tick.on.01" d="2"/>
- <frame i="spriteimage.hud.checkbox.tick.on.02" d="2"/>
- <frame i="spriteimage.hud.checkbox.tick.on.03" d="0"/>
- </animation>
- <animation name="widget.cross.on.animation">
- <frame i="spriteimage.hud.checkbox.cross.off.01" d="1"/>
- <frame i="spriteimage.hud.checkbox.cross.on.01" d="2"/>
- <frame i="spriteimage.hud.checkbox.cross.on.02" d="2"/>
- <frame i="spriteimage.hud.checkbox.cross.on.03" d="0"/>
- </animation>
- <animation name="widget.radiobutton.off.on.animation">
- <frame i="spriteimage.hud.radiobutton.off.on.01" d="2"/>
- <frame i="spriteimage.hud.radiobutton.off.on.02" d="2"/>
- <frame i="spriteimage.hud.radiobutton.off.on.03" d="0"/>
- </animation>
- <animation name="widget.radiobutton.on.on.animation">
- <frame i="spriteimage.hud.radiobutton.on.off.01" d="1"/>
- <frame i="spriteimage.hud.radiobutton.on.on.01" d="2"/>
- <frame i="spriteimage.hud.radiobutton.on.on.02" d="2"/>
- <frame i="spriteimage.hud.radiobutton.on.on.03" d="0"/>
- </animation>
- <animation name="icon.small.fade.animation">
- <scale scale="0.775" d="3"/>
- <scale scale="0.75" d="2"/>
- <scale scale="0.725" d="1"/>
- <scale scale="0.7" d="1"/>
- <scale scale="0.675" d="1"/>
- <scale scale="0.65" d="1"/>
- </animation>
- <animation name="icon.fade.animation">
- <scale scale="1.15" d="3"/>
- <scale scale="1.12" d="2"/>
- <scale scale="1.09" d="1"/>
- <scale scale="1.06" d="1"/>
- <scale scale="1.03" d="1"/>
- <scale scale="1" d="1"/>
- </animation>
- <animation name="menu.smiley.on.animation">
- <frame i="spriteimage.menu.smiley.off.01" d="1"/>
- <scale scale="1.06" d="1"/>
- <scale scale="1.12" d="2"/>
- <frame i="spriteimage.menu.smiley.on.01" d="1"/>
- <scale scale="1.18" d="2"/>
- <frame i="spriteimage.menu.smiley.on.02" d="2"/>
- <frame i="spriteimage.menu.smiley.on.03" d="4"/>
- <frame i="icon.fade.animation" d="1"/>
- </animation>
- <animation name="menu.smiley.off.animation">
- <scale scale="1"/>
- <frame i="spriteimage.menu.smiley.on.02" d="1"/>
- <frame i="spriteimage.menu.smiley.on.01" d="1"/>
- <frame i="spriteimage.menu.smiley.off.01" d="1"/>
- </animation>
- <animation name="menu.later.on.animation">
- <frame i="spriteimage.menu.later.off.01" d="1"/>
- <scale scale="1.06" d="1"/>
- <scale scale="1.12" d="2"/>
- <frame i="spriteimage.menu.later.on.01" d="1"/>
- <scale scale="1.18" d="2"/>
- <frame i="spriteimage.menu.later.on.02" d="2"/>
- <frame i="spriteimage.menu.later.on.03" d="4"/>
- <frame i="icon.fade.animation" d="1"/>
- </animation>
- <animation name="menu.later.off.animation">
- <scale scale="1"/>
- <frame i="spriteimage.menu.later.on.02" d="1"/>
- <frame i="spriteimage.menu.later.on.01" d="1"/>
- <frame i="spriteimage.menu.later.off.01" d="1"/>
- </animation>
- <animation name="menu.text.later.on.animation">
- <frame i="spriteimage.menu.text.later.on.01" d="6"/>
- <frame i="spriteimage.menu.text.later.on.02" d="6"/>
- <frame i="spriteimage.menu.text.later.on.03" d="1"/>
- </animation>
- <animation name="menu.text.later.off.animation">
- <frame i="spriteimage.menu.text.later.off.01" d="1"/>
- </animation>
- <animation name="logo.animation">
- <frame i="spriteimage.logo.01" d="0"/>
- <animcolor a="0"/>
- <loop count="30"/>
- <animcolor a="+5" d="1"/>
- <repeat seq="3"/>
- <animcolor a="160" d="1"/>
- <animcolor a="180" d="1"/>
- <animcolor a="210" d="1"/>
- <animcolor a="255" d="1"/>
- </animation>
- <animation name="mini.arrow.up.anim">
- <color c="titles.colormap:text-darker" d="0"/>
- <frame i="spriteimage.mini.arrow.up.01" d="0"/>
- </animation>
- <!-- COMMON BUTTONS ============================================================================================================================ -->
- <area
- name="buy.button.spec"
- disabled="spriteimage.hud.icon.buy.disabled.01"
- size="=$buy_but_w,$text_button_icon_large_h"
- offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
- layer="10"
- rightFocus="moregames"
- upFocus="help"
- nextFocus="moregames"
- prevFocus="credits"
- scale="0.5"
- group="DEMO_AREAS"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.icon.buy.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.icon.buy.on.01" d="1"/>
- <frame i="spriteimage.hud.icon.buy.on.02" d="1"/>
- <frame i="spriteimage.hud.icon.buy.on.03" d="1"/>
- <frame i="spriteimage.hud.icon.buy.on.04" d="8"/>
- <frame i="spriteimage.hud.icon.buy.on.03" d="5"/>
- <frame i="spriteimage.hud.icon.buy.on.02" d="3"/>
- <frame i="spriteimage.hud.icon.buy.on.01" d="1"/>
- </animation>
- </mouseOn>
- </area>
- <area
- name="play.button.spec"
- disabled="spriteimage.hud.icon.play.disabled.01"
- size="=$play_but_w,$text_button_icon_large_h"
- offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
- layer="11"
- leftFocus="moregames"
- upFocus="credits"
- nextFocus="help"
- prevFocus="moregames"
- scale="0.5"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.icon.play.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.icon.play.on.01" d="1"/>
- <frame i="spriteimage.hud.icon.play.on.02" d="1"/>
- <frame i="spriteimage.hud.icon.play.on.03" d="1"/>
- <frame i="spriteimage.hud.icon.play.on.04" d="8"/>
- <frame i="spriteimage.hud.icon.play.on.03" d="5"/>
- <frame i="spriteimage.hud.icon.play.on.02" d="3"/>
- <frame i="spriteimage.hud.icon.play.on.01" d="1"/>
- </animation>
- </mouseOn>
- </area>
- <area
- name="help.button.spec"
- disabled="spriteimage.hud.icon.help.disabled.01"
- layer="11"
- rightFocus="options"
- downFocus="buy"
- nextFocus="options"
- prevFocus="play"
- scale="0.5"
- size="=$help_but_w,$text_button_icon_h"
- offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.icon.help.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.icon.help.on.01" d="1"/>
- <frame i="spriteimage.hud.icon.help.on.02" d="1"/>
- <frame i="spriteimage.hud.icon.help.on.03" d="1"/>
- <frame i="spriteimage.hud.icon.help.on.04" d="8"/>
- <frame i="spriteimage.hud.icon.help.on.03" d="5"/>
- <frame i="spriteimage.hud.icon.help.on.02" d="3"/>
- <frame i="spriteimage.hud.icon.help.on.01" d="1"/>
- </animation>
- </mouseOn>
- </area>
- <area
- name="options.button.spec"
- disabled="spriteimage.hud.icon.options.disabled.01"
- layer="11"
- leftFocus="buy"
- rightFocus="play"
- upFocus="hiscores"
- nextFocus="play"
- prevFocus="buy"
- scale="0.5"
- size="=$options_but_w,$text_button_icon_h"
- offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.icon.options.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.icon.options.on.01" d="1"/>
- <frame i="spriteimage.hud.icon.options.on.02" d="1"/>
- <frame i="spriteimage.hud.icon.options.on.03" d="1"/>
- <frame i="spriteimage.hud.icon.options.on.04" d="8"/>
- <frame i="spriteimage.hud.icon.options.on.03" d="5"/>
- <frame i="spriteimage.hud.icon.options.on.02" d="3"/>
- <frame i="spriteimage.hud.icon.options.on.01" d="1"/>
- </animation>
- </mouseOn>
- </area>
- <area
- name="credits.button.spec"
- disabled="spriteimage.hud.icon.credits.disabled.01"
- layer="11"
- leftFocus="buy"
- rightFocus="play"
- upFocus="hiscores"
- nextFocus="play"
- prevFocus="buy"
- scale="0.5"
- size="=$credits_but_w,$text_button_icon_h"
- offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.icon.credits.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.icon.credits.on.01" d="1"/>
- <frame i="spriteimage.hud.icon.credits.on.02" d="1"/>
- <frame i="spriteimage.hud.icon.credits.on.03" d="1"/>
- <frame i="spriteimage.hud.icon.credits.on.04" d="8"/>
- <frame i="spriteimage.hud.icon.credits.on.03" d="5"/>
- <frame i="spriteimage.hud.icon.credits.on.02" d="3"/>
- <frame i="spriteimage.hud.icon.credits.on.01" d="1"/>
- </animation>
- </mouseOn>
- </area>
- <area
- name="moregames.button.spec"
- disabled="spriteimage.hud.icon.www.disabled.01"
- layer="11"
- leftFocus="buy"
- rightFocus="play"
- upFocus="hiscores"
- nextFocus="play"
- prevFocus="buy"
- scale="0.5"
- size="=$moregames_but_w,$text_button_icon_h"
- offset="=$titlescreen_buttons_offset_x,$titlescreen_buttons_offset_y"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.icon.www.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.icon.www.on.01" d="1"/>
- <frame i="spriteimage.hud.icon.www.on.02" d="1"/>
- <frame i="spriteimage.hud.icon.www.on.03" d="1"/>
- <frame i="spriteimage.hud.icon.www.on.04" d="8"/>
- <frame i="spriteimage.hud.icon.www.on.03" d="5"/>
- <frame i="spriteimage.hud.icon.www.on.02" d="3"/>
- <frame i="spriteimage.hud.icon.www.on.01" d="1"/>
- </animation>
- </mouseOn>
- </area>
- <!-- Button positions -->
- <area name="help.default.button.spec" inherit="help.button.spec"
- position="=$titlescreen_buttons_x,$titlescreen_buttons_y" >
- <anchor x="left" d="=$titlescreen_buttons_x"/>
- </area>
- <area name="options.default.button.spec" inherit="options.button.spec"
- position="=$titlescreen_buttons_x+$help_but_w,$titlescreen_buttons_y" >
- <anchor x="left" d="=$titlescreen_buttons_x+$help_but_w"/>
- </area>
- <area name="credits.default.button.spec" inherit="credits.button.spec"
- position="=$titlescreen_buttons_x+$help_but_w+$options_but_w,$titlescreen_buttons_y" >
- <anchor x="left" d="=$titlescreen_buttons_x+$help_but_w+$options_but_w"/>
- </area>
- <area name="moregames.default.button.spec" inherit="moregames.button.spec"
- position="=$titlescreen_buttons_x+$help_but_w+$options_but_w+$credits_but_w,$titlescreen_buttons_y" >
- <anchor x="left" d="=$titlescreen_buttons_x+$help_but_w+$options_but_w+$credits_but_w"/>
- </area>
- <area name="buy.default.button.spec" inherit="buy.button.spec"
- position="=$SCREEN_W-$titlescreen_buttons_x-$buy_but_w-$play_but_w,$titlescreen_buttons_y+1" >
- <anchor x="right" d="=0-$titlescreen_buttons_x-$buy_but_w-$play_but_w"/>
- </area>
- <area name="play.default.button.spec" inherit="play.button.spec"
- position="=$SCREEN_W-$titlescreen_buttons_x-$play_but_w,$titlescreen_buttons_y+1" >
- <anchor x="right" d="=0-$titlescreen_buttons_x-$play_but_w"/>
- </area>
- <area name="slot.spec"
- inherit="button.spec" position="=$titlescreen_slot_x,$titlescreen_slot_y" size="=$titlescreen_slot_w,$titlescreen_slot_h"
- >
- <anchor x="left" d="=$titlescreen_slot_x"/>
- <anchor y="top" d="=0-$titlescreen_slot_h"/>
- <anchor w="right" d="=0-320+$titlescreen_slot_x+$titlescreen_slot_w"/>
- <background>
- <widgetbackground inherit="button_background"
- color="titles.colormap:slot-off"
- />
- </background>
- <mouseOnBackground>
- <widgetbackground inherit="button_background"
- color="titles.colormap:slot-hover"
- />
- </mouseOnBackground>
- </area>
- <area
- name="close.default.button.spec"
- position="0, 300"
- size="17, 14"
- scale="0.5"
- nextfocus="play"
- prevfocus="buy"
- leftfocus="buy"
- rightfocus="play"
- upfocus="play"
- downfocus="play"
- layer="12"
- >
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.button.close.on.02" d="1"/>
- <frame i="spriteimage.hud.button.close.on.01" d="1"/>
- <frame i="spriteimage.hud.button.close.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.button.close.off.01" d="1"/>
- <frame i="spriteimage.hud.button.close.on.01" d="1"/>
- <frame i="spriteimage.hud.button.close.on.02" d="2"/>
- <frame i="spriteimage.hud.button.close.on.03" d="4"/>
- </animation>
- </mouseOn>
- </area>
- <area
- name="shutdown.default.button.spec"
- size="19, 20"
- scale="0.5"
- nextfocus="play"
- prevfocus="buy"
- leftfocus="buy"
- rightfocus="play"
- upfocus="play"
- downfocus="play"
- layer="12"
- position="=1,$SCREEN_H-21"
- >
- <anchor y="top" d="-21"/>
- <disabled>
- <animation>
- <frame i="spriteimage.hud.button.shutdown.disabled.01" d="1"/>
- </animation>
- </disabled>
- <mouseOff>
- <animation>
- <frame i="spriteimage.hud.button.shutdown.off.01" d="1"/>
- </animation>
- </mouseOff>
- <mouseOn>
- <animation>
- <frame i="spriteimage.hud.button.shutdown.off.01" d="1"/>
- <frame i="spriteimage.hud.button.shutdown.on.01" d="1"/>
- <frame i="spriteimage.hud.button.shutdown.on.02" d="2"/>
- <frame i="spriteimage.hud.button.shutdown.on.03" d="4"/>
- </animation>
- </mouseOn>
- </area>
- <!-- buttons turned off when active -->
- <area name="help.active.button.spec" inherit="help.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.help.on.01" noClick="true" />
- <area name="options.active.button.spec" inherit="options.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.options.on.01" noClick="true" />
- <area name="credits.active.button.spec" inherit="credits.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.credits.on.01" noClick="true" />
- <area name="moregames.active.button.spec" inherit="moregames.default.button.spec" mouseOn="-" mouseOff="spriteimage.hud.icon.www.on.01" noClick="true" />
- <!-- XMAS titlescreen -->
- <area name="xmas.titlescreen-middle.spec" inherit="titlescreen-middle.spec" layer="-3" mouseoff="spriteimage.titlescreen.xmas.middle.01">
- <anchor x="mid" d="-120" /><anchor y="mid" d="-97" />
- </area>
- <area name="xmas.titlescreen-left.spec" inherit="xmas.titlescreen-middle.spec" mouseoff="spriteimage.titlescreen.xmas.left.01">
- <anchor x="mid" d="-360" /><anchor y="mid" d="-97" />
- </area>
- <area name="xmas.titlescreen-right.spec" inherit="xmas.titlescreen-middle.spec" mouseoff="spriteimage.titlescreen.xmas.right.01">
- <anchor x="mid" d="120" /><anchor y="mid" d="-97" />
- </area>
- <area name="xmas.titlescreen-middle-back.spec" inherit="titlescreen-middle.spec" layer="-5">
- <anchor x="mid" d="-120" /><anchor y="mid" d="-97" />
- <mouseOff>
- <animation>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.titlescreen.xmas.middle.back.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="xmas.titlescreen-left-back.spec" inherit="xmas.titlescreen-middle-back.spec">
- <anchor x="mid" d="-360" /><anchor y="mid" d="-97" />
- <mouseOff>
- <animation>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.titlescreen.xmas.left.back.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="xmas.titlescreen-right-back.spec" inherit="xmas.titlescreen-middle-back.spec">
- <anchor x="mid" d="120" /><anchor y="mid" d="-97" />
- <mouseOff>
- <animation>
- <animcolor a="255" d="0"/>
- <frame i="spriteimage.titlescreen.xmas.right.back.01" d="1"/>
- <frame i="hud.phase.20%.animation" d="1"/>
- </animation>
- </mouseOff>
- </area>
- <area name="xmas.titlescreen-special.spec" inherit="titlescreen-logo.spec" layer="-1">
- <anchor x="mid" d="-60" /><anchor y="mid" d="-110" />
- <mouseOff>
- <animation>
- <animcolor a="15" d="10"/>
- <frame i="spriteimage.titlescreen.xmas.special.01" d="0"/>
- <angle angle="1500" d="0"/>
- <scale scale="5.7" d="2"/>
- <animcolor a="45" d="0"/>
- <scale scale="5.4" d="2"/>
- <animcolor a="75" d="0"/>
- <scale scale="5.0" d="2"/>
- <animcolor a="105" d="0"/>
- <scale scale="4.5" d="2"/>
- <animcolor a="135" d="0"/>
- <scale scale="3.9" d="2"/>
- <animcolor a="165" d="0"/>
- <scale scale="3.2" d="2"/>
- <animcolor a="195" d="0"/>
- <scale scale="2.4" d="2"/>
- <animcolor a="225" d="0"/>
- <scale scale="1.5" d="2"/>
- <animcolor a="255" d="0"/>
- <scale scale="0.5" d="2"/>
- </animation>
- </mouseOff>
- </area>
- <area name="xmas.titlescreen-special.static.spec" inherit="xmas.titlescreen-special.spec">
- <mouseOff>
- <animation>
- <frame i="spriteimage.titlescreen.xmas.special.01" d="0"/>
- <angle angle="1500" d="0"/>
- <scale scale="0.5" d="0"/>
- </animation>
- </mouseOff>
- </area>
- <area name="titlescreen-snow-front.spec" emitter="a.snow.titles.front.emitter" group="xmas" noclick="true" layer="0" position="-140,320">
- <anchor x="mid" d="-300" /><anchor y="top" d="0" />
- </area>
- <area name="titlescreen-snow-back.spec" inherit="titlescreen-snow-front.spec" emitter="a.snow.titles.back.emitter"/>
- <!-- TITLE SCREEN ============================================================================================================================ -->
- <instance
- name="instant.transition"
- class="net.puppygames.applet.InstantTransition"
- />
- <instance
- name="title.screen"
- class="worm.screens.TitleScreen"
- autocreated="true"
- slotbounds="=$titlescreen_slot_x,$titlescreen_slot_y,$titlescreen_slot_w,$titlescreen_slot_h"
- keyboardnavigation="false"
- stream="title.stream"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="exit"/>
- <!-- standard titlescreen stuff -->
- <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">
- <anchor x="mid" d="-110" /><anchor y="bottom" d="30" />
- </area>
-
- <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">
- <anchor x="mid" d="-91" /><anchor y="mid" d="-78" />
- </area>
- <area id="titlescreen-logo" group="not-xmas" inherit="titlescreen-logo.spec"/>
- <area id="titlescreen-left" group="not-xmas" inherit="titlescreen-left.spec"/>
- <area id="titlescreen-middle" group="not-xmas" inherit="titlescreen-middle.spec"/>
- <area id="titlescreen-right" group="not-xmas" inherit="titlescreen-right.spec"/>
- <!-- xmas titlescreen stuff -->
- <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">
- <anchor x="mid" d="-175" /><anchor y="bottom" d="11" />
- </area>
- <area id="version-xmas" group="xmas" position="69,82" size="182,12" noclick="true" font="tinyfont.glfont" color="!0,255,200,255" halign="left">
- <anchor x="mid" d="-110" /><anchor y="mid" d="-85" />
- </area>
- <area id="titlescreen-special" group="xmas" inherit="xmas.titlescreen-special.spec"/>
- <area id="titlescreen-left" group="xmas" inherit="xmas.titlescreen-left.spec"/>
- <area id="titlescreen-middle" group="xmas" inherit="xmas.titlescreen-middle.spec"/>
- <area id="titlescreen-right" group="xmas" inherit="xmas.titlescreen-right.spec"/>
- <area id="titlescreen-left-back" group="xmas" inherit="xmas.titlescreen-left-back.spec"/>
- <area id="titlescreen-middle-back" group="xmas" inherit="xmas.titlescreen-middle-back.spec"/>
- <area id="titlescreen-right-back" group="xmas" inherit="xmas.titlescreen-right-back.spec"/>
- <area id="titlescreen-snow-front" group="xmas" inherit="titlescreen-snow-front.spec"/>
- <area id="titlescreen-snow-back" group="xmas" inherit="titlescreen-snow-back.spec"/>
- <!-- <area id="titlescreen_top" inherit="titlescreen_top.spec"/> -->
- <area id="credits" inherit="credits.default.button.spec" />
- <area id="options" inherit="options.default.button.spec" />
- <area id="slot" inherit="slot.spec" />
- <area id="buy" inherit="buy.default.button.spec" />
- <area id="play" inherit="play.default.button.spec" />
- <area id="help" inherit="help.default.button.spec" />
- <!--<area id="profiles" inherit="profiles.default.button.spec" />-->
- <area id="moregames" inherit="moregames.default.button.spec" />
- <area id="exit" inherit="shutdown.default.button.spec" />
- </instance>
- <!-- OPTIONS SCREEN ============================================================================================================================ -->
- <instance
- name="options.screen"
- class="worm.screens.OptionsScreen"
- autocreated="true"
- keyboardnavigation="false"
- stream="title.stream"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="close"/>
- <musicVolumePowerDisplay>
- <powerdisplay inherit="dialog.powerdisplay.spec" scale="0.5"
- location="=$options_bar_x,$musicvolume_y" bounds="=$options_bar_x,$musicvolume_y,$options_bar_w,$options_item_h">
- <bar on="volume.on.01.animation" off="volume.off.animation"/>
- <bar on="volume.on.02.animation" off="volume.off.animation"/>
- <bar on="volume.on.03.animation" off="volume.off.animation"/>
- <bar on="volume.on.04.animation" off="volume.off.animation"/>
- <bar on="volume.on.05.animation" off="volume.off.animation"/>
- <bar on="volume.on.06.animation" off="volume.off.animation"/>
- <bar on="volume.on.07.animation" off="volume.off.animation"/>
- <bar on="volume.on.08.animation" off="volume.off.animation"/>
- <bar on="volume.on.09.animation" off="volume.off.animation"/>
- <bar on="volume.on.10.animation" off="volume.off.animation"/>
- </powerdisplay>
- </musicVolumePowerDisplay>
- <sfxVolumePowerDisplay>
- <powerdisplay inherit="dialog.powerdisplay.spec" scale="0.5"
- location="=$options_bar_x,$sfxvolume_y" bounds="=$options_bar_x,$sfxvolume_y,$options_bar_w,$options_item_h">
- <bar on="volume.on.01.animation" off="volume.off.animation"/>
- <bar on="volume.on.02.animation" off="volume.off.animation"/>
- <bar on="volume.on.03.animation" off="volume.off.animation"/>
- <bar on="volume.on.04.animation" off="volume.off.animation"/>
- <bar on="volume.on.05.animation" off="volume.off.animation"/>
- <bar on="volume.on.06.animation" off="volume.off.animation"/>
- <bar on="volume.on.07.animation" off="volume.off.animation"/>
- <bar on="volume.on.08.animation" off="volume.off.animation"/>
- <bar on="volume.on.09.animation" off="volume.off.animation"/>
- <bar on="volume.on.10.animation" off="volume.off.animation"/>
- </powerdisplay>
- </sfxVolumePowerDisplay>
- <area id="musicvolume" text="=$options.musicvolume" inherit="options.item.bar.spec" position="=$options_bar_x,$musicvolume_y" />
- <area id="sfxvolume" text="=$options.sfxvolume" inherit="options.item.bar.spec" position="=$options_bar_x,$sfxvolume_y" />
- <area id="fullscreen" inherit="options.item.button.spec" text="=$options.fullscreen" position="=$options_button_x,$fullscreen_y" />
- <area id="fullscreen_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$fullscreen_y" />
- <area id="fullscreen_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$fullscreen_y" />
- <area id="show_tooltips" inherit="options.item.button.spec" text="=$options.show_tooltips" position="=$options_button_x,$show_tooltips_y" />
- <area id="show_tooltips_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$show_tooltips_y" />
- <area id="show_tooltips_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$show_tooltips_y" />
- <area id="show_info" inherit="options.item.button.spec" text="=$options.show_info" position="=$options_button_x,$show_info_y" />
- <area id="show_info_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$show_info_y" />
- <area id="show_info_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$show_info_y" />
- <area id="show_hints" inherit="options.item.button.spec" text="=$options.show_hints" position="=$options_button_x,$show_hints_y" />
- <area id="show_hints_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$show_hints_y" />
- <area id="show_hints_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$show_hints_y" />
- <area id="auto_difficulty" inherit="options.item.button.spec" text="=$options.auto_difficulty" position="=$options_button_x,$auto_difficulty_y" />
- <area id="auto_difficulty_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$auto_difficulty_y" />
- <area id="auto_difficulty_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$auto_difficulty_y" />
- <area id="online_hiscores" inherit="options.item.button.spec" text="=$options.online_hiscores" position="=$options_button_x,$online_hiscores_y" />
- <area id="online_hiscores_on" inherit="options.checkbox.on.spec" position="=$options_button_x,$online_hiscores_y" />
- <area id="online_hiscores_off" inherit="options.checkbox.off.spec" position="=$options_button_x,$online_hiscores_y" />
- <area id="dialog_background" text="=$options.dialog_background" inherit="dialog.closeable.spec" position="=$options_x,$options_y" size="=$options_w,$options_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$options_x,$options_y" size="=$options_w,$options_h" />
- <area id="close" inherit="close.default.button.spec" position="=$options_x+$options_w+$close_x_offset,$options_y+$options_h+$close_y_offset" />
- <!-- standard titlescreen stuff -->
- <area id="titlescreen-logo" group="not-xmas" inherit="titlescreen-logo.spec"/>
- <area id="titlescreen-left" group="not-xmas" inherit="titlescreen-left.spec"/>
- <area id="titlescreen-middle" group="not-xmas" inherit="titlescreen-middle.spec"/>
- <area id="titlescreen-right" group="not-xmas" inherit="titlescreen-right.spec"/>
- <!-- xmas titlescreen stuff -->
- <area id="titlescreen-special" group="xmas" inherit="xmas.titlescreen-special.static.spec"/>
- <area id="titlescreen-left" group="xmas" inherit="xmas.titlescreen-left.spec"/>
- <area id="titlescreen-middle" group="xmas" inherit="xmas.titlescreen-middle.spec"/>
- <area id="titlescreen-right" group="xmas" inherit="xmas.titlescreen-right.spec"/>
- <area id="titlescreen-left-back" group="xmas" inherit="xmas.titlescreen-left-back.spec"/>
- <area id="titlescreen-middle-back" group="xmas" inherit="xmas.titlescreen-middle-back.spec"/>
- <area id="titlescreen-right-back" group="xmas" inherit="xmas.titlescreen-right-back.spec"/>
- <area id="titlescreen-snow-front" group="xmas" inherit="titlescreen-snow-front.spec"/>
- <area id="titlescreen-snow-back" group="xmas" inherit="titlescreen-snow-back.spec"/>
- <area id="credits" inherit="credits.default.button.spec" />
- <area id="options" inherit="options.active.button.spec" />
- <area id="buy" inherit="buy.default.button.spec" />
- <area id="play" inherit="play.default.button.spec" />
- <area id="help" inherit="help.default.button.spec" />
- <area id="moregames" inherit="moregames.default.button.spec" />
- <area id="exit" inherit="shutdown.default.button.spec" enabled="false"/>
- </instance>
- <!-- CREDITS ============================================================================================================================ -->
- <instance
- name="credits.screen"
- class="worm.screens.CreditsScreen"
- autocreated="true"
- keyboardnavigation="false"
- stream="title.stream"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="close"/>
- <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"/>
- <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">
- <text>=credits.text</text>
- </area>
- <area id="dialog_background" text="=$credits.about" inherit="dialog.closeable.spec" position="=$credits_x,$credits_y" size="=$credits_w,$credits_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$credits_x,$credits_y" size="=$credits_w,$credits_h" />
- <area id="close" inherit="close.default.button.spec" position="=$credits_x+$credits_w+$close_x_offset,$credits_y+$credits_h+$close_y_offset" />
- <!-- standard titlescreen stuff -->
- <area id="titlescreen-logo" group="not-xmas" inherit="titlescreen-logo.spec"/>
- <area id="titlescreen-left" group="not-xmas" inherit="titlescreen-left.spec"/>
- <area id="titlescreen-middle" group="not-xmas" inherit="titlescreen-middle.spec"/>
- <area id="titlescreen-right" group="not-xmas" inherit="titlescreen-right.spec"/>
- <!-- xmas titlescreen stuff -->
- <area id="titlescreen-special" group="xmas" inherit="xmas.titlescreen-special.static.spec"/>
- <area id="titlescreen-left" group="xmas" inherit="xmas.titlescreen-left.spec"/>
- <area id="titlescreen-middle" group="xmas" inherit="xmas.titlescreen-middle.spec"/>
- <area id="titlescreen-right" group="xmas" inherit="xmas.titlescreen-right.spec"/>
- <area id="titlescreen-left-back" group="xmas" inherit="xmas.titlescreen-left-back.spec"/>
- <area id="titlescreen-middle-back" group="xmas" inherit="xmas.titlescreen-middle-back.spec"/>
- <area id="titlescreen-right-back" group="xmas" inherit="xmas.titlescreen-right-back.spec"/>
- <area id="titlescreen-snow-front" group="xmas" inherit="titlescreen-snow-front.spec"/>
- <area id="titlescreen-snow-back" group="xmas" inherit="titlescreen-snow-back.spec"/>
- <area id="credits" inherit="credits.active.button.spec" />
- <area id="options" inherit="options.default.button.spec" />
- <area id="buy" inherit="buy.default.button.spec" />
- <area id="play" inherit="play.default.button.spec" />
- <area id="help" inherit="help.default.button.spec" />
- <area id="moregames" inherit="moregames.default.button.spec" />
- <area id="exit" inherit="shutdown.default.button.spec" enabled="false"/>
- </instance>
- <animation name="registered.animation">
- <scale scale="0.5"/>
- <frame i="spriteimage.star" d="1"/>
- </animation>
- <!-- DIALOGS ============================================================================================================================ -->
- <!-- RESTORE GAME -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="restore_game.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- >
- <!-- All dialogs have these hotkeys... -->
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="ok"/>
- <hotkey key="=$key.yes" area="yes"/>
- <hotkey key="=$key.no" area="no"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
- <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_y" size="=$dialog_w,$dialog_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_y" size="=$dialog_w,$dialog_h" />
- <area id="yes" text="=$yes.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X-$button_w-$button_gap,$dialog_y+$dialog_padding" />
- <area id="no" text="=$no.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$dialog_y+$dialog_padding" />
- <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X+$button_w+$button_gap,$dialog_y+$dialog_padding" />
- </instance>
- <!-- YES/CANCEL SCREEN .... restore game, quit from game etc. -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="yescancel.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allcaps="true"
- >
- <!-- All dialogs have these hotkeys... -->
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="ok"/>
- <hotkey key="=$key.yes" area="yes"/>
- <hotkey key="=$key.no" area="no"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y+20" size="=$dialog_msg_w,$dialog_msg_h" />
- <area id="title" inherit="dialog.spec" position="=$dialog_small_x,$dialog_small_y+20" size="=$dialog_small_w,$dialog_small_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_small_x,$dialog_small_y+20" size="=$dialog_small_w,$dialog_small_h" />
- <area id="ok" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_small_y+$dialog_padding+20" />
- <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_small_y+$dialog_padding+20" />
- </instance>
- <!-- YES/CANCEL SCREEN .... delete profile dialog -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="deleteyescancel.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allcaps="true"
- >
- <!-- All dialogs have these hotkeys... -->
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="ok"/>
- <hotkey key="=$key.yes" area="yes"/>
- <hotkey key="=$key.no" area="no"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
- <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
- <area id="ok" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_large_y+$dialog_padding" />
- <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_large_y+$dialog_padding" />
- </instance>
- <!-- PLAYER NAME SCREEN -->
- <instance class="net.puppygames.applet.screens.EnterNameDialog"
- name="entername.screen"
- name_x="4"
- name_y="4"
- titleText="PLEASE ENTER YOUR NAME"
- keyboardnavigation="false"
- dialog="true"
- autocreated="true"
- transition="instant.transition"
- color="0,0,0,255"
- allcaps="true"
- centre="both"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="ok"/>
- <hotkey modifier="LCONTROL" key="Z" area="cancel"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="instructions" text="=$entername.instructions" inherit="dialog.message.spec" position="=$dialog_msg_x,$input_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
- <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
- <area id="ok" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_large_y+$dialog_padding" />
- <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_large_y+$dialog_padding" />
- <area id="name" color="0,0,0" inherit="textfield.spec" position="=70,$input_y" size="180,16" />
- </instance>
- <!-- ERROR DIALOG -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="error.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allcaps="true"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="cancel"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="title" inherit="dialog.spec" position="=$dialog_x-10,$dialog_large_y+10" size="=$dialog_w+20,$dialog_large_h" />
- <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x-10,$dialog_msg_y+10" size="=$dialog_msg_w+20,$dialog_msg_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x-10,$dialog_large_y+10" size="=$dialog_w+20,$dialog_large_h" />
- <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$dialog_large_y+$dialog_padding+10" />
- </instance>
- <!-- SLOT MANAGEMENT -->
- <widgetbackground
- name="slot.background"
- inherit="button_background"
- color="titles.colormap:slot-off"
- />
- <widgetbackground
- name="slot.selected.background"
- inherit="button_background"
- color="titles.colormap:slot-on"
- />
- <widgetbackground
- name="slot.hovered.background"
- inherit="button_background"
- color="titles.colormap:slot-hover"
- />
- <instance class="net.puppygames.applet.screens.SlotScreen"
- name="slot.dialog"
- dialog="true"
- keyboardnavigation="false"
- slotclass="worm.effects.WormSlotEffect"
- gap="=$slots_gap"
- color="255,0,0"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="cancel"/>
- <area id="slot_origin" noclick="true" position="=$slots_slot_x,$slots_button_y+$slots_y_offset" />
- <area id="slots_background" inherit="dialog.spec" text="=$slot.slots_background" position="=$slots_x,$slots_y" size="=$slots_w,$slots_h" />
- <area id="slots_background_glow" inherit="dialog.glow.spec" position="=$slots_x,$slots_y" size="=$slots_w,$slots_h" />
- <area id="message" inherit="dialog.message.spec" text="=$slot.message" position="=$slots_x,$slots_y+$slots_h-38" size="=$slots_w,12" />
- <area id="new" text="=$slot.new" inherit="button.spec" size="=$slots_button_w,$button_h" position="=$slots_button_x,$slots_button_y"/>
- <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" />
- <area id="cancel" text="=$ok.label" inherit="button.spec" size="=$slots_button_w,$button_h" position="=$slots_button_x,$slots_y+$dialog_padding" />
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- </instance>
- <instance class="worm.screens.NagScreen"
- name="nag.screen"
- autocreated="true"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="later"/>
- <hotkey key="RETURN" area="buy"/>
- <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-50"/><anchor x="mid" d="0"/></area>
- <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="">
- <background>
- <widgetbackground inherit="human-speech-top-left-info.background"
- color="dialog-glow"
- insets="24,40,24,22"
- />
- </background>
- </area>
- <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"/>
- <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"/>
- <area id="later" text="=$nag.later" inherit="button.red.spec" size="=$nag_later_button_w,$button_h"
- position="=$continue_button_x,$continue_button_y"
- ><anchor x="right" d="=0-$nag_later_button_w-$continue_button_offset"/></area>
- <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" />
- <area id="spotlight" layer="-1" position="=$nag_x+190,$nag_y+10" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
- </instance>
- <!-- Sandbox Nag Screen -->
- <instance class="worm.screens.SandboxNagScreen"
- name="sandbox.nag.screen"
- autocreated="true"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="later"/>
- <hotkey key="RETURN" area="buy"/>
- <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-50"/><anchor x="mid" d="0"/></area>
- <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">
- <background>
- <widgetbackground inherit="human-speech-top-left-info.background"
- color="dialog-glow"
- insets="24,40,24,22"
- />
- </background>
- </area>
- <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"/>
- <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"/>
- <area id="later" text="=$nag.later" inherit="button.red.spec" size="=$nag_later_button_w,$button_h"
- position="=$continue_button_x,$continue_button_y"
- ><anchor x="right" d="=0-$nag_later_button_w-$continue_button_offset"/></area>
- <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" />
- <area id="spotlight" layer="-1" position="=$nag_x+190,$nag_y+10" scale="0.7" mouseOff="spriteimage.story.spotlight.earth.01" noClick="true"/>
- </instance>
- <!-- register screen -->
- <instance class="net.puppygames.applet.screens.RegisterScreen"
- name="register.screen"
- keyboardnavigation="false"
- transition="instant.transition"
- color="0,0,0,255"
- centre="both"
- emailInsets="4,4,12,0"
- font="tinyfont.glfont"
- >
- <hotkey key="ESCAPE" area="later"/>
- <hotkey key="RETURN" area="register"/>
- <area id="titlescreen" inherit="titlescreen.spec"/>
- <area id="instructions" text="=$register.instructions"
- inherit="dialog.message.spec"
- position="=$reg_msg_x,$reg_msg1_y" size="=$reg_msg_w,$reg_msg1_h" />
- <area id="instructions2" text="=$register.instructions2" inherit="dialog.message.spec"
- position="=$reg_msg_x,$reg_msg2_y" size="=$reg_msg_w,$reg_msg2_h" />
- <area id="title" text="=$register.title" inherit="dialog.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
- <area id="register" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$reg_y+$dialog_padding" />
- <area id="later" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$reg_y+$dialog_padding" />
- <area id="email" color="0,0,0" inherit="textfield.spec" position="=70,$reg_input_y" size="180,16" />
- <area id="registerscreen" inherit="titlescreen.spec"/>
- </instance>
- <!-- Sandbox Mode register screen -->
- <instance class="worm.screens.SandboxRegisterScreen"
- name="sandbox.register.screen"
- keyboardnavigation="false"
- transition="instant.transition"
- color="0,0,0,255"
- centre="both"
- emailInsets="4,4,12,0"
- font="tinyfont.glfont"
- >
- <hotkey key="ESCAPE" area="later"/>
- <hotkey key="RETURN" area="register"/>
- <area id="titlescreen" inherit="titlescreen.spec"/>
- <area id="instructions" text="=$sandbox.register.instructions"
- inherit="dialog.message.spec"
- position="=$reg_msg_x,$reg_msg1_y" size="=$reg_msg_w,$reg_msg1_h" />
- <area id="instructions2" text="=$sandbox.register.instructions2" inherit="dialog.message.spec"
- position="=$reg_msg_x,$reg_msg2_y" size="=$reg_msg_w,$reg_msg2_h" />
- <area id="title" text="=$sandbox.register.title" inherit="dialog.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_x,$reg_y" size="=$reg_w,$reg_h" />
- <area id="register" text="=$ok.label" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$reg_y+$dialog_padding" />
- <area id="later" text="=$cancel.label" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$reg_y+$dialog_padding" />
- <area id="email" color="0,0,0" inherit="textfield.spec" position="=70,$reg_input_y" size="180,16" />
- <area id="sandboxregisterscreen" inherit="titlescreen.spec"/>
- </instance>
- <!-- sign up for newsletter screen -->
- <instance class="net.puppygames.applet.screens.SignUpScreen"
- name="signup.screen"
- autocreated="true"
- keyboardnavigation="false"
- transition="instant.transition"
- color="0,0,0,255"
- centre="both"
- emailInsets="4,4,12,0"
- font="tinyfont.glfont"
- >
- <hotkey key="ESCAPE" area="later"/>
- <hotkey key="RETURN" area="register"/>
- <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-50"/><anchor x="mid" d="0"/></area>
- <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"
- text="SIGN UP FOR THE {color:titles.colormap:text-bold}PUPPYGAMES NEWSLETTER{color:titles.colormap:text}
- TO GET NEWS OF NEW UPDATES AND RELEASES, AND GET
- \n{font:bigfont.glfont}{color:titles.colormap:text-bold}$5000!{font:tinyfont.glfont}{color:titles.colormap:text-darker}*
- \n* NOT REAL MONEY OBVIOUSLY :)"
- >
- <background>
- <widgetbackground inherit="human-speech-top-left-info.background"
- color="dialog-glow"
- insets="24,40,24,22"
- />
- </background>
- </area>
- <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" />
- <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" />
- <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" />
- <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"/>
- <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"/>
- <area id="later" text="=$signup.later" inherit="button.red.spec" size="=$b_nag_later_button_w,$button_h"
- position="=$continue_button_x,$continue_button_y"
- ><anchor x="right" d="=0-$b_nag_later_button_w-$continue_button_offset"/></area>
- <area id="dontShowAgain" inherit="options.item.button.spec" text="=$signup.dontshowagain" textOffset="19,0" position="=$continue_button_x,$continue_button_y+3">
- <anchor x="left" d="=$abort_button_x+2"/></area>
- <area id="dontShowAgain_on" inherit="options.radiobutton.on.spec" position="=$continue_button_x,$continue_button_y+3">
- <anchor x="left" d="=$abort_button_x+2"/></area>
- <area id="dontShowAgain_off" inherit="options.radiobutton.off.spec" position="=$continue_button_x,$continue_button_y+3">
- <anchor x="left" d="=$abort_button_x+2"/></area>
- </instance>
- <!-- enter bonus code -->
- <instance class="net.puppygames.applet.screens.UnlockBonusScreen"
- name="unlockbonus.screen"
- autocreated="true"
- keyboardnavigation="false"
- transition="instant.transition"
- color="0,0,0,255"
- centre="both"
- codeInsets="4,4,12,0"
- font="tinyfont.glfont"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="ok"/>
- <area id="titlescreen" inherit="titlescreen.spec"><anchor y="mid" d="-30"/><anchor x="mid" d="0"/></area>
- <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">
- <text>=unlockbonus.message.text</text>
- <background>
- <widgetbackground inherit="speechbubble-right-2.background.spec"
- color="dialog-glow"
- insets="40,22,24,22"
- />
- </background>
- </area>
- <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" />
- <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" />
- <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" />
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <area id="cancel" text="=$unlockbonus.cancel" inherit="button.red.spec" size="=$unlock_bonus_later_button_w,$button_h"
- position="=$continue_button_x,$continue_button_y"
- ><anchor x="right" d="=0-$unlock_bonus_later_button_w-$continue_button_offset"/></area>
- <area id="dontShowAgain" group="checkboxes" inherit="options.item.button.spec" text="=$unlockbonus.dontShowAgain" textOffset="19,0" position="=$continue_button_x,$continue_button_y+3">
- <anchor x="left" d="=$abort_button_x+2"/></area>
- <area id="dontShowAgain_on" group="checkboxes" inherit="options.radiobutton.on.spec" position="=$continue_button_x,$continue_button_y+3">
- <anchor x="left" d="=$abort_button_x+2"/></area>
- <area id="dontShowAgain_off" group="checkboxes" inherit="options.radiobutton.off.spec" position="=$continue_button_x,$continue_button_y+3">
- <anchor x="left" d="=$abort_button_x+2"/></area>
- <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" />
- </instance>
- <!-- register dialogs -->
- <!-- CANCEL SCREEN .... allow player to cancel registration -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="cancel.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allCaps="true"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <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" />
- <area id="title" inherit="dialog.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
- <area id="cancel" text="=$cancel.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$reg_info_y+$dialog_padding" />
- </instance>
- <!-- INFO SCREEN .... just has an ok button -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="info.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allCaps="true"
- >
- <hotkey key="RETURN" area="cancel"/>
- <hotkey key="ESCAPE" area="cancel"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <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" />
- <area id="title" inherit="dialog.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$reg_info_x,$reg_info_y" size="=$reg_info_w,$reg_info_h" />
- <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$reg_info_y+$dialog_padding" />
- </instance>
- <!-- IN-GAME INFO SCREEN - RESEARCH HINT etc. .... just has an ok button -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="ingame.info.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allCaps="true"
- >
- <hotkey key="RETURN" area="cancel"/>
- <hotkey key="ESCAPE" area="cancel"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <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" />
- <area id="title" inherit="dialog.spec" position="=$info_dialog_x,$info_dialog_y" size="=$info_dialog_w,$info_dialog_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$info_dialog_x,$info_dialog_y" size="=$info_dialog_w,$info_dialog_h" />
- <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$info_dialog_y+$dialog_padding" />
- </instance>
-
- <!-- RESEARCH NAG SCREEN -->
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="research-nag.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allcaps="true"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="RETURN" area="ok"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="message" inherit="dialog.message.spec" position="=$dialog_msg_x,$dialog_msg_y" size="=$dialog_msg_w,$dialog_msg_h" />
- <area id="title" inherit="dialog.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_x,$dialog_large_y" size="=$dialog_w,$dialog_large_h" />
- <area id="ok" text="=$researchnag.ok" inherit="button.spec" position="=$button_gap/-2-$button_w+$SCREEN_X,$dialog_large_y+$dialog_padding" />
- <area id="cancel" text="=$researchnag.cancel" inherit="button.spec" position="=$button_gap/2+$SCREEN_X,$dialog_large_y+$dialog_padding" />
- </instance>
- <!-- Choose game mode screen -->
- <area
- name="mode.menu.button.spec"
- size="=$mode_button_w,$mode_button_h"
- offset="=$mode_button_w/2,$mode_button_h/2"
- layer="12"
- scale="0.5"
- />
- <area
- name="mode.menu.button.title.spec"
- inherit="esc.menu.button.title.spec"
- position="=$dialog_wide_x+($mode_dialog_padding*1.5),$mode_button_text_y"
- size="=$dialog_wide_w-($mode_dialog_padding*3),$mode_button_text_h"
- font="smallfont.glfont"
- />
- <area
- name="mode.menu.button.desc.spec"
- inherit="mode.menu.button.title.spec"
- textOffset="0,0"
- halign="centered"
- color="text"
- size="=$dialog_wide_w-($mode_dialog_padding*3),$mode_button_text_h-17"
- font="tinyfont.glfont"
- />
- <!-- Live Version -->
- <instance class="worm.screens.ChooseGameModeScreen"
- name="choose-game-mode.screen"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="=$key.campaign" area="mode_campaign"/>
- <hotkey key="=$key.endless" area="mode_endless"/>
- <hotkey key="=$key.survival" area="mode_survival"/>
- <hotkey key="=$key.sandbox" area="mode_sandbox"/>
-
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="title" inherit="dialog.ingame.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
- <area id="mode_campaign" inherit="mode.menu.button.spec" position="=$mode_button_1of3_x,$mode_buttons_y"
- mouseoff="menu.campaign.off.animation" mouseon="menu.campaign.on.animation" disabled="menu.campaign.disabled.animation"/>
- <area id="mode_campaign_title" text="=$choosegamemode.mode_campaign_title" mouseoff="=$key.campaign.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_campaign_o_x,0" offset="=$mode_title_campaign_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_campaign_desc" text="=$choosegamemode.mode_campaign_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_endless" inherit="mode.menu.button.spec" position="=$mode_button_2of3_x,$mode_buttons_y"
- mouseoff="menu.endless.off.animation" mouseon="menu.endless.on.animation" disabled="menu.endless.disabled.animation"/>
- <area id="mode_endless_title" text="=$choosegamemode.mode_endless_title" mouseoff="=$key.endless.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_endless_o_x,0" offset="=$mode_title_endless_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_endless_desc" text="=$choosegamemode.mode_endless_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_survival" inherit="mode.menu.button.spec" position="=$mode_button_3of3_x,$mode_buttons_y"
- mouseoff="menu.survival.off.animation" mouseon="menu.survival.on.animation" disabled="menu.survival.disabled.animation"/>
- <area id="mode_survival_title" text="=$choosegamemode.mode_survival_title" mouseoff="=$key.survival.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_survival_o_x,0" offset="=$mode_title_survival_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_survival_desc" text="=$choosegamemode.mode_survival_desc" inherit="mode.menu.button.desc.spec" />
- <area id="cancel" text="=$cancel.label" inherit="button.red.spec"
- position="=$SCREEN_X-($button_w/2),$mode_dialog_y+$mode_dialog_padding" />
- <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" />
- </instance>
- <!-- Xmas version! -->
- <instance class="worm.screens.ChooseGameModeScreen"
- name="choose-game-mode-xmas.screen"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="=$key.campaign" area="mode_campaign"/>
- <hotkey key="=$key.endless" area="mode_endless"/>
- <hotkey key="=$key.survival" area="mode_survival"/>
- <hotkey key="=$key.sandbox" area="mode_sandbox"/>
- <hotkey key="=$key.xmas" area="mode_xmas"/>
-
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="title" inherit="dialog.ingame.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_wide_x,$mode_dialog_y" size="=$dialog_wide_w,$mode_dialog_h" />
- <area id="mode_campaign" inherit="mode.menu.button.spec" position="=$mode_button_1of4_x,$mode_buttons_y"
- mouseoff="menu.campaign.off.animation" mouseon="menu.campaign.on.animation" disabled="menu.campaign.disabled.animation"/>
- <area id="mode_campaign_title" text="=$choosegamemode.mode_campaign_title" mouseoff="=$key.campaign.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_campaign_o_x,0" offset="=$mode_title_campaign_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_campaign_desc" text="=$choosegamemode.mode_campaign_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_endless" inherit="mode.menu.button.spec" position="=$mode_button_2of4_x,$mode_buttons_y"
- mouseoff="menu.endless.off.animation" mouseon="menu.endless.on.animation" disabled="menu.endless.disabled.animation"/>
- <area id="mode_endless_title" text="=$choosegamemode.mode_endless_title" mouseoff="=$key.endless.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_endless_o_x,0" offset="=$mode_title_endless_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_endless_desc" text="=$choosegamemode.mode_endless_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_survival" inherit="mode.menu.button.spec" position="=$mode_button_3of4_x,$mode_buttons_y"
- mouseoff="menu.survival.off.animation" mouseon="menu.survival.on.animation" disabled="menu.survival.disabled.animation"/>
- <area id="mode_survival_title" text="=$choosegamemode.mode_survival_title" mouseoff="=$key.survival.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_survival_o_x,0" offset="=$mode_title_survival_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_survival_desc" text="=$choosegamemode.mode_survival_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_xmas" inherit="mode.menu.button.spec" position="=$mode_button_4of4_x,$mode_buttons_y"
- mouseoff="menu.xmas.off.animation" mouseon="menu.xmas.on.animation" disabled="menu.xmas.disabled.animation"/>
- <area id="mode_xmas_title" text="=$choosegamemode.mode_xmas_title" mouseoff="=$key.xmas.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_xmas_o_x,0" offset="=$mode_title_xmas_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_xmas_desc" text="=$choosegamemode.mode_xmas_desc" inherit="mode.menu.button.desc.spec" />
- <area id="cancel" text="=$cancel.label" inherit="button.red.spec"
- position="=$SCREEN_X-($button_w/2),$mode_dialog_y+$mode_dialog_padding" />
- <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" />
- </instance>
- <!-- Development Version -->
- <instance class="worm.screens.ChooseGameModeScreen"
- name="choose-game-mode.screen.debug"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- >
- <hotkey key="ESCAPE" area="cancel"/>
- <hotkey key="=$key.campaign" area="mode_campaign"/>
- <hotkey key="=$key.endless" area="mode_endless"/>
- <hotkey key="=$key.survival" area="mode_survival"/>
- <hotkey key="=$key.sandbox" area="mode_sandbox"/>
- <hotkey key="=$key.xmas" area="mode_xmas"/>
-
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <area id="title" inherit="dialog.ingame.spec" position="=$dialog_wider_x,$mode_dialog_y" size="=$dialog_wider_w,$mode_dialog_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$dialog_wider_x,$mode_dialog_y" size="=$dialog_wider_w,$mode_dialog_h" />
- <area id="mode_campaign" inherit="mode.menu.button.spec" position="=$mode_button_1of5_x,$mode_buttons_y"
- mouseoff="menu.campaign.off.animation" mouseon="menu.campaign.on.animation" disabled="menu.campaign.disabled.animation"/>
- <area id="mode_campaign_title" text="=$choosegamemode.mode_campaign_title" mouseoff="=$key.campaign.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_campaign_o_x,0" offset="=$mode_title_campaign_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_campaign_desc" text="=$choosegamemode.mode_campaign_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_endless" inherit="mode.menu.button.spec" position="=$mode_button_2of5_x,$mode_buttons_y"
- mouseoff="menu.endless.off.animation" mouseon="menu.endless.on.animation" disabled="menu.endless.disabled.animation"/>
- <area id="mode_endless_title" text="=$choosegamemode.mode_endless_title" mouseoff="=$key.endless.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_endless_o_x,0" offset="=$mode_title_endless_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_endless_desc" text="=$choosegamemode.mode_endless_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_survival" inherit="mode.menu.button.spec" position="=$mode_button_3of5_x,$mode_buttons_y"
- mouseoff="menu.survival.off.animation" mouseon="menu.survival.on.animation" disabled="menu.survival.disabled.animation"/>
- <area id="mode_survival_title" text="=$choosegamemode.mode_survival_title" mouseoff="=$key.survival.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_survival_o_x,0" offset="=$mode_title_survival_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_survival_desc" text="=$choosegamemode.mode_survival_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_sandbox" inherit="mode.menu.button.spec" position="=$mode_button_4of5_x,$mode_buttons_y"
- mouseoff="menu.sandbox.off.animation" mouseon="menu.sandbox.on.animation" disabled="menu.sandbox.disabled.animation"/>
- <area id="mode_sandbox_title" text="=$choosegamemode.mode_sandbox_title" mouseoff="=$key.sandbox.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_sandbox_o_x,0" offset="=$mode_title_sandbox_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_sandbox_desc" text="=$choosegamemode.mode_sandbox_desc" inherit="mode.menu.button.desc.spec" />
- <area id="mode_xmas" inherit="mode.menu.button.spec" position="=$mode_button_5of5_x,$mode_buttons_y"
- mouseoff="menu.xmas.off.animation" mouseon="menu.xmas.on.animation" disabled="menu.xmas.disabled.animation"/>
- <area id="mode_xmas_title" text="=$choosegamemode.mode_xmas_title" mouseoff="=$key.xmas.icon" inherit="mode.menu.button.title.spec"
- textOffset="=$mode_title_xmas_o_x,0" offset="=$mode_title_xmas_o_x-$mode_title_shortcut_o_x,$mode_title_shortcut_o_y"/>
- <area id="mode_xmas_desc" text="=$choosegamemode.mode_xmas_desc" inherit="mode.menu.button.desc.spec" />
- <area id="cancel" text="=$cancel.label" inherit="button.red.spec"
- position="=$SCREEN_X-($button_w/2),$mode_dialog_y+$mode_dialog_padding" />
- <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" />
- </instance>
- <instance class="net.puppygames.applet.screens.DialogScreen"
- name="mode-locked.dialog"
- keyboardnavigation="false"
- dialog="true"
- transition="instant.transition"
- centre="both"
- allCaps="true"
- >
- <hotkey key="RETURN" area="cancel"/>
- <hotkey key="ESCAPE" area="cancel"/>
- <area id="background" inherit="dialog.background.spec"/>
- <area id="background_glow" inherit="dialog.background.glow.spec"/>
- <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" />
- <area id="title" inherit="dialog.spec" position="=$mode_locked_x,$mode_locked_y" size="=$mode_locked_w,$mode_locked_h" />
- <area id="dialog_background_glow" inherit="dialog.glow.spec" position="=$mode_locked_x,$mode_locked_y" size="=$mode_locked_w,$mode_locked_h" />
- <area id="cancel" text="=$ok.label" inherit="button.spec" position="=$button_w/-2+$SCREEN_X,$mode_locked_y+$dialog_padding" />
- </instance>
- </resources>
|