;ò _‰;c@s¹dZdkZdkZdkTdkZdkZeaeae ddddƒa ga ea d„Z d„Zd„Zd„Zd„Zed d „Zd „Zd „Zd „ZdS(s&graphics class, helps everyone to drawN(s*icCs y¼d}|o|tO}ntii||dƒ}tii|||ƒa t i ƒa ti i dƒt iƒdjodGHtƒntit it ifƒiƒatidƒWn8tij o)}dk}|id|idƒnXtitiƒadS(Niiisloading palettesCannot Initialize Graphics(sflagss fullscreens FULLSCREENspygamesdisplaysmode_okssizesdepthsset_modessurfacesget_rectsrectsmouses set_visibles get_bytesizes loadpalettesSurfaceswidthsheightsconverts backgroundsfillserrorsmsgs messageboxsargssstarssStarssgamesstarrectsstarobj(ssizes fullscreens messageboxsdepthsflagssmsg((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pys initializes$  ! cCsti|ƒdS(N(s dirtyrectssappendsrect(srect((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pysdirty-scCsa| oti|ƒnEti|ƒoti|i|ƒƒnti|ƒti|ƒdS(N(srect2s dirtyrectssappendsrect1srects colliderectsunion(srect1srect2((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pysdirty21s  cCsti||ƒdS(N(sstarobjserase_tick_drawsbgdsgfx(sbgdsgfx((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pys updatestars;scCstiitƒgadS(N(spygamesdisplaysupdates dirtyrects(((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pysupdate?sscentercCsãdddf}ydtiƒdjo,|i|d||ƒ}|i|t ƒn|i|d|ƒ}|i ƒ}Wn8t i j o)dG|G|GHt i ddfƒ}nX|iƒ}|ot|||ƒn||gSdS(Niis TEXTFAILEDi (sbgdssurfaces get_bytesizesfontsrenderstextscolorsimgs set_colorkeysRLEACCELsconvertspygameserrorsSurfacesget_rectsrscenterssetattrspos(sfontscolorstextscenterspossbgdsimgsr((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pystextEs  cCs‚ti|ƒ}tii|ƒ}ti ƒt @ oA|i ƒ}| o|i ddfƒ}n|i|tƒn|iƒSdS(Ni(sgames get_resourcesnamesfilespygamesimagesloadsimgssurfaces get_flagss HWSURFACEs get_colorkeysclearsget_ats set_colorkeysRLEACCELsconvert(snamesimgsclearsfile((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pysloadVs cCstidƒ}g}xX|iƒdD]F}gi}|iƒD]}|t |ƒƒq@~}|i|ƒq&Wt i |ƒdS(Nsstarblazer.pali(sgames get_resourcesfilespals readlinesslinesappends_[1]ssplitsxsintsvalsssurfaces set_palette(s_[1]sfilesvalssxslinespal((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pys loadpalettebs3cCs8tiƒtidƒttiƒƒtidƒdS(s3clear the screen- effect shows on the next update()iN(ssurfacesset_clipsfillsdirtysget_rects background(((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pys clearscreenks   (s__doc__spygames pygame.images pygame.localssgamesstarssNonessurfaces backgroundsRectsrects dirtyrectssstarobjs initializesdirtysdirty2s updatestarssupdatestextsloads loadpalettes clearscreen( sloadsdirty2sstarss clearscreenstexts updatestarssupdatesgamespygames initializes loadpalettesdirty((sA/mnt/gmirror/ports/games/farblazer/work/farblazer-0.7/code/gfx.pys?s"