;ò Z—0@c @sádZdkZdkZdkZdkTdkZdkZdkZdkZdk Z ddffddffddffd d d ffd d ddddfffZ dddfZ ga ga d„Zdfd„ƒYZdS(sgamemenu handler. main menuN(s*s DevelopersPete "ShredWheat" ShinnerssGraphicss Eero TamminensMusics"theGREENzebra"sProgramming HelpsAaron "APS" SchlaegelsMichael "MU" UrmansSpecial ThankssDavid "Futility" Clarks Shandy BrownsJohn "Jacius" CroisantsGuido "Python" van RossomsSam "SDL" Lantingas4This program is free software. You are encouraged tos/make copies and modify it, subject to the LGPL.s See "lgpl.txt" file for details.cCsýt}titi|dƒdddffƒtiti|dƒdddffƒtidƒ}|i ƒ}ti i |_ t i||fƒtidƒ}|i ƒid d ƒ}t i||fƒtid ƒ}|i ƒid d ƒ}t i||fƒtidƒ}|i ƒiddƒ}t i||fƒtidƒ}|i ƒid dƒ}t i||fƒtitdƒ}d}d}xPtD]H}|idd d f|||fƒ}||di7}t i|ƒq WtidƒdS(Nii2ixidi,iúsoldsolarfox.pngspygame_powered.gifiissdlpowered.pngivi–spythonpowered.gifiŠismenu_creds_on.pngiii0iis select_choose(sNonesfontnamesfontssappendstxtsFontsgfxsloadsimgsget_rectsrsrects bottomrightsimagessmovesfontstopsmids licenseinfoslstextstsheightssndspreload(sfontnamesfontsimgstopsmidsrstsl((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pysload_game_resourcess:(( $s GameCredscBsGtZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCs5||_d|_tiid|_g|_g|_t ddddƒ|_ d|_ xVtD]N}|i |ddƒx"|dD]}|i |dƒq„W|i d7_ q_Wd |_ d |_|iitƒd|_dd fd d fd dfddff|_ti|i iƒ|_|iid ƒdS(Niixi(iŒiôiiif0.0iiiiii(s prevhandlersselfsdonesgfxsrectscenterxscenterstextscreditssRectsareasoffsetscreds createtextspeops oldoffsetysextendsimagessfirstsfadespygamesSurfacessizesdarkpics set_alpha(sselfs prevhandlerspeopscred((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pys__init__Bs*         -cCsft|\}}|i|||idfƒ}|i |d_ |di d|_ |i i |ƒdS(Niii(sfontsssizesfscs textlinedstextsselfscenterstsoffsetstopsbottomscreditssappend(sselfstextssizescsfst((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pys createtextWs cCs?ti|itiƒƒ|it_d|_t i dƒdS(Nis select_choose( sgfxsdirtysselfs backgroundsrects prevhandlersgameshandlersdonessndsplay(sself((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pysquit_s  cCs|iƒdS(N(sselfsquit(sselfsi((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pysinputfscCsdS(N((sselfse((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pyseventiscCss|iotitiƒd|_ntid}t|dƒ} |i | d7_ |i i |i }tiiƒ} tii|i|i ƒti|itƒd}|i o‚x*|iD]\} }tii| |ƒq¿Wtii|i ƒxm|iD]b\} }ti|i d|ƒd}|d8}|i||ƒ}|i }tii| |ƒqÿWtii| ƒti|i ƒx‹|i!D]€\} } t$|i i%|i i&| |i i'| ƒ}|i|ƒt$|i i%|i i | | |i i'| ƒ}|i|ƒqW||i i&jo d|_ qon9x5|iD]*}|d}ti|i|dƒƒqAWdS( Niif1.0f0.0f0.040000000000000001f30.0f0.25i((sselfsfirstsgfxsdirtysrectsgames clocktickssratiosmaxs speedadjustsoffsetsareasbottomsoffsetyssurfacesget_clipsoldclipsblitsdarkpics updatestarss backgroundsitemsdonestextscredspossset_clipscreditssmathscossoffsetxsmovesrsfadesyshsRectsleftstopswidth(sselfsratiosbottomsoffsetxsoffsetyspossitemsrstexts speedadjustsyshscredsoldclip((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pysrunmsJ         + /  cCs tiidddf|ƒSdS(Ni(sgfxssurfacesfillsarea(sselfsarea((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pys background›s( s__name__s __module__s__init__s createtextsquitsinputseventsruns background(((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pys GameCredsAs      .(s__doc__smathsosspygames pygame.localssgamesgfxssndstxtsgameplayscreditss licenseinfosfontssimagessload_game_resourcess GameCreds( ssnds licenseinfosload_game_resourcessgameplaysgfxscreditssgamespygames GameCredsstxtsossmath((sG/mnt/gmirror/ports/games/solarwolf/work/solarwolf-1.5/code/gamecreds.pys?s $ Q &