Home » Archimedes archive » Archimedes World » AW-1991-12.adf » December91 » !AWDec91/Goodies/Shanghai/!Shanghai/!RunImage
!AWDec91/Goodies/Shanghai/!Shanghai/!RunImage
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1991-12.adf » December91 |
Filename: | !AWDec91/Goodies/Shanghai/!Shanghai/!RunImage |
Read OK: | ✔ |
File size: | 2D62 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM> !RunImage Crunched working copy of Shanghai 30REM Version 2.00 LEN Archimedes World 1991 By Wynand Thompson 30 April 1991 40 190F%=0:ONERROR:PROCerror:END 230PROCinit:ONERROR:IFFNwimperror END 310REPEATSYS"Wimp_Poll",&1823,wblk%TOr%:CASEr%OF 340WHEN2:SYS"Wimp_OpenWindow",,wblk%:PROCrestrict(0) 350WHEN3:SYS"Wimp_CloseWindow",,wblk%:IF!wblk%=Sh% !wblk%=rules%:SYS"Wimp_CloseWindow",,wblk% 370WHEN4:PROCrestrict(1) 380WHEN6:PROCbuttons 390WHEN7:PROCDragSave 400WHEN8:IFNOTFNkey SYS"Wimp_ProcessKey",wblk%!24 410WHEN9:PROCdecode 420WHEN17,18:PROCreceive 430WHEN19:SYS"OS_File",6,wblk%+44:ERROR255,"Data transfer failed: receiver died" 450ENDCASE:UNTILquit%=TRUE:PROCclose:END 520DEFPROCreceive:CASEwblk%!16OF 540WHEN0:quit%=TRUE 550WHEN2:PROCsave 560WHEN3,5:IFwblk%!12=0ANDwblk%!40=&000 PROCload 570ENDCASE:ENDPROC 620DEFFNwimperror:IFF%>0CLOSE#F%:F%=0 640!wblk%=ERR:$(wblk%+4)=REPORT$+" (internal error code "+STR$ERL+")"+CHR$0:SYS"Wimp_ReportError",wblk%,3,"Shanghai"TO,r:IFr=2PROCclose:=TRUE ELSE:=FALSE 700DEFPROCclose:$wblk%="TASK":SYS"Wimp_CloseDown",task%,!wblk%:ENDPROC 770DEFPROCerror:ONERROROFF 790SYS"Wimp_CloseTemplate":SYS"Wimp_CloseDown":IFF%>0CLOSE#F%:F%=0 810REPORT:PRINT" at line ";ERL:ENDPROC 920DEFPROCinit:SYS"Wimp_Initialise",200,&4B534154,"Shanghai"TO,task%:DIMwblk% &1160,icn% &C04,sp% &C448,menu% 252,S%(144,5),H%(35,3),M%(71,1):sp%!0=&C448:sp%!4=0:sp%!8=16:sp%!12=16:SYS"OS_SpriteOp",265,sp% 970SYS"OS_SpriteOp",266,sp%,"<Shanghai$Dir>.Sprites":SYS"Wimp_OpenTemplate",,"<Shanghai$Dir>.Templates":x%=icn%:info%=FNwindow("info",0):Sh%=FNwindow("Shanghai",-1):rules%=FNwindow("rules",-1):status%=FNwindow("status",0) 1040replay%=FNwindow("replay",0):rep%=FALSE:file%=x%:save%=FNwindow("save",0):SYS"Wimp_CloseTemplate":OSCLI"LOAD <Shanghai$Dir>.Menus "+STR$~menu%:iblk%=wblk%+256:pblk%=wblk%+512:menu%!32=info%:menu%!184=status%:menu%!232=save% 1100hnt%=menu%+164:rply%=menu%+142:FORI%=0TO144:READS%(I%,0),S%(I%,1),S%(I%,2),S%(I%,3),S%(I%,4),S%(I%,5):NEXT:I%=1:FORY%=-1898TO-1998STEP-100:FORX%=150TO450STEP100:PROCicon(rules%,STR$I%,X%,Y%):I%+=1:NEXT:NEXT:FORX%=150TO350STEP100 1190PROCicon(rules%,STR$I%,X%,-2098):I%+=1:NEXT:FORX%=150TO450STEP100:PROCicon(rules%,STR$I%,X%,-2198):I%+=1:NEXT:FORY%=-2298TO-2498STEP-100:FORX%=150TO950STEP100:PROCicon(rules%,STR$I%,X%,Y%):I%+=1:NEXT:NEXT:PROCblank:new%=TRUE 1290SYS"OS_GetEnv"TOpath$:IFRIGHT$(path$,1)<>" "path$=MID$(path$,INSTR(path$,""" ")+2):PROCread(FALSE) ELSEPROCdeal(TRUE):move%=0 1310!iblk%=-1:iblk%!4=0:iblk%!8=0:iblk%!12=70:iblk%!16=68:iblk%!20=&3002:$(iblk%+24)="!shanghai":SYS"Wimp_CreateIcon",,iblk%:quit%=FALSE:ENDPROC 1390DEFFNwindow(w$,spr%):SYS"Wimp_LoadTemplate",,wblk%,x%,icn%+&C04,-1,w$,0TO,,x%:IFspr% wblk%!64=sp% 1420SYS"Wimp_CreateWindow",,wblk%TOh%:=h% 1470DEFPROCopen(w%):wblk%!0=w%:SYS"Wimp_GetWindowState",,wblk%:wblk%!28=-1:SYS"Wimp_OpenWindow",,wblk%:ENDPROC 1580DEFPROCrestrict(w%):IFrep%:IF!wblk%=replay%:IFw%=(W%AND1)SYS"Wimp_GetWindowState",,wblk%:MOUSERECTANGLEwblk%!4,wblk%!8,308,256 1600ENDPROC 1670DEFPROCblank:!iblk%=Sh%:iblk%!4=0:iblk%!8=-1:iblk%!12=1:iblk%!16=0:iblk%!20=1:$(iblk%+24)="":SYS"Wimp_CreateIcon",,iblk%:ENDPROC 1760DEFPROCbuttons:adj%=-1:IFwblk%!12=Sh% ANDshow%PROChint(0) 1790CASEwblk%!8OF 1800WHEN16,64:CASEwblk%!12OF 1820WHENreplay%:!wblk%=replay%:wblk%!4=1:SYS"Wimp_DragBox",,wblk% 1830WHENsave%:PROCdrag 1840ENDCASE 1850WHEN4:CASEwblk%!12OF 1870WHENSh%:PROCmove 1880WHENreplay%:CASEwblk%!16OF 1900WHEN1:PROCback 1910WHEN2:PROCforward 1920WHEN3,4,5:PROCcontinue(wblk%!16) 1930ENDCASE 1940WHENsave%:IFwblk%!16=2PROCButtSave 1950WHEN-2:PROCopen(Sh%) 1960ENDCASE 1970WHEN2:CASEwblk%!12OF 1990WHENSh%:IFfirst%>0PROCtoggle(first%):first%=0 2010!hnt%=FNfind_hint:?rply%=&40*-(move%=0):SYS"Wimp_CreateMenu",,menu%+80,!wblk%-64,wblk%!4:tree%=menu%+80 2030WHEN-2:SYS"Wimp_CreateMenu",,menu%,!wblk%-64,180:tree%=menu% 2050ENDCASE 2060WHEN1:CASEwblk%!12OF 2080WHENSh%:IFfirst%>0PROCtoggle(first%):first%=0 2090WHENreplay%:CASEwblk%!16OF 2110WHEN1:PROCforward 2120WHEN2:PROCback 2130WHEN3,4,5:PROCcontinue(wblk%!16) 2140ENDCASE 2150WHENsave%:IFwblk%!16=2adj%=tree%:PROCButtSave 2160ENDCASE 2170ENDCASE:ENDPROC 2220DEFPROCdecode:SYS"Wimp_DecodeMenu",,tree%,wblk%,wblk%+20:CASE$(wblk%+20)OF 2250WHEN"New game":PROCnew(TRUE) 2260WHEN"Replay":IFshow% PROChint(0) 2270PROCstatus(replay%,8,move%):M%=move%:PROCopen(replay%):MOUSERECTANGLEwblk%!4,wblk%!8,308,256:SYS"OS_Byte",161,197TO,,W%:rep%=TRUE 2320WHEN"Show moves":PROChint(show%) 2330WHEN"Rules":PROCopen(rules%) 2340WHEN"Quit":quit%=TRUE 2350ENDCASE:SYS"Wimp_GetPointerInfo",,wblk%:IFwblk%!8=1 ANDNOTrep% ?rply%=&40*-(move%=0):SYS"Wimp_CreateMenu",,tree% 2380ENDPROC 2450DEFPROCmove:IFfirst%<1THEN 2470first%=FNvalid:IFfirst%>0PROCtoggle(first%) 2480ELSE:second%=FNvalid:IFsecond%=first%PROCtoggle(first%):first%=0:second%=0 2500IFS%(second%,0)>0ANDS%(second%,0)<5ANDS%(first%,0)>4VDU7:second%=0 2510IFS%(second%,0)>4ANDS%(second%,0)<9AND(S%(first%,0)<5ORS%(first%,0)>8)VDU7:second%=0 2520IFS%(second%,0)>8ANDS%(second%,0)<>S%(first%,0)VDU7:second%=0 2530IFsecond%>0PROCdelete(first%):PROCdelete(second%):tiles%-=2:M%(move%,0)=first%:M%(move%,1)=second%:move%+=1:first%=0:second%=0 2540ENDIF:ENDPROC 2610DEFFNvalid:i%=wblk%!16:IFi%<0i%=0 2640IFi%=32ANDS%(31,0)>0AND(S%(33,0)>0ORS%(45,0)>0)i%=0 2650IFS%(S%(i%,3),0)>0OR(S%(S%(i%,4),0)>0ANDS%(S%(i%,5),0)>0)i%=0 2660IFi%=0VDU7 2670=i% 2710DEFPROCtoggle(i%):!iblk%=Sh%:iblk%!4=i%:iblk%!8=&2200000:iblk%!12=0:SYS"Wimp_SetIconState",,iblk%:ENDPROC 2780DEFPROCdelete(i%):!iblk%=Sh%:iblk%!4=i%:SYS"Wimp_DeleteIcon",,iblk%:SYS"Wimp_ForceRedraw",Sh%,S%(i%,1),-S%(i%,2),S%(i%,1)+96,-S%(i%,2)+96:S%(i%,0)=-S%(i%,0):ENDPROC 2870DEFPROCicon(w%,i$,x%,y%):!iblk%=w%:iblk%!4=x%:iblk%!8=y%:iblk%!12=x%+96:iblk%!16=y%+96:iblk%!20=&3002:$(iblk%+24)=i$:SYS"Wimp_CreateIcon",,iblk%:ENDPROC 2960DEFPROCstatus(w%,i%,x%):!iblk%=w%:iblk%!4=i%:SYS"Wimp_GetIconState",,iblk%:SYS"Wimp_DeleteIcon",,iblk%:$(iblk%+28)=STR$x%:iblk%!4=!iblk%:SYS"Wimp_CreateIcon",,iblk%+4:ENDPROC 3060DEFPROCdeal(i%):IFi% R%=RND(-TIME):FORI%=1TO144:R%=RND(144):SWAPS%(I%,0),S%(R%,0):NEXT 3130FORI%=1TO144:PROCicon(Sh%,STR$S%(I%,0),S%(I%,1),-S%(I%,2)):NEXT:IFnew% PROCblank:new%=FALSE 3170tiles%=144:first%=0:second%=0:show%=FALSE:ENDPROC 3230DEFPROCnew(i%):SYS"Hourglass_On":IFi% REPEAT$file%=LEFT$($file%,LEN$file%-1):UNTIL$file%=""ORRIGHT$($file%)=".":$file%=$file%+"Game_File" 3260FORI%=144TO1STEP-1:IFS%(I%,0)>0 !iblk%=Sh%:iblk%!4=I%:SYS"Wimp_DeleteIcon",,iblk% ELSES%(I%,0)=ABSS%(I%,0) 3280NEXT:PROCdeal(i%):!hnt%=FNfind_hint:move%=0:SYS"Wimp_ForceRedraw",Sh%,2,-718,1274,-34:SYS"Hourglass_Off":ENDPROC 3390DEFFNfind_hint:H%()=0:moves%=0:show%=FALSE:FORI%=1TO144:IFS%(I%,0)>0THEN 3430J%=S%(I%,0):IFI%=32ANDS%(31,0)>0AND(S%(33,0)>0ORS%(45,0)>0)J%=0 3450IFS%(S%(I%,3),0)>0OR(S%(S%(I%,4),0)>0ANDS%(S%(I%,5),0)>0)J%=0 3460IFJ%>0THEN 3470IFJ%<5J%=0 3480IFJ%>4ANDJ%<9J%=1 3490IFJ%>8J%-=7 3500L%=-1:REPEATL%+=1:UNTILH%(J%,L%)=0:H%(J%,L%)=I%:moves%+=L% 3510ENDIF 3520ENDIF:NEXT:L%=-1:REPEATL%+=1:UNTILH%(L%,1)>0ORL%=35:PROCstatus(status%,3,moves%):PROCstatus(status%,2,tiles%):IFH%(L%,1)>0hint%=L%:=&7000021 ELSE =&7400021 3610DEFPROChint(i%):IFNOTi% show%=NOTshow% 3630FORI%=0TO3:IFH%(hint%,I%)>0PROCtoggle(H%(hint%,I%)) 3640NEXT:IFi%THEN 3660L%=hint%:REPEATL%+=1:IFL%=36L%=0 3670UNTILH%(L%,1)>0:hint%=L%:FORI%=0TO3:IFH%(hint%,I%)>0PROCtoggle(H%(hint%,I%)) 3690NEXT 3700ENDIF:ENDPROC 3750DEFPROCback:IFM%>0THEN 3770M%-=1:FORI%=0TO1:!iblk%=Sh%:iblk%!4=M%(M%,I%):iblk%!8=0:iblk%!12=&2A00000:SYS"Wimp_SetIconState",,iblk%:S%(M%(M%,I%),0)=-S%(M%(M%,I%),0):NEXT:tiles%+=2:PROCstatus(replay%,8,M%) 3820SYS"Wimp_ForceRedraw",replay%,iblk%!8+4,iblk%!12+4,iblk%!16-4,iblk%!20-4 3830ELSEVDU7 3840ENDIF:ENDPROC 3890DEFPROCforward:IFM%<move%FORI%=0TO1:PROCdelete(M%(M%,I%)):NEXT:tiles%-=2:M%+=1:PROCstatus(replay%,8,M%):SYS"Wimp_ForceRedraw",replay%,iblk%!8+4,iblk%!12+4,iblk%!16-4,iblk%!20-4 ELSEVDU7 3930ENDPROC 3980DEFPROCcontinue(I%):CASEI%OF 4000WHEN3:IFM%=0move%=0 ELSEPROCnew(FALSE) 4010WHEN4:move%=M% 4020WHEN5:IFM%<move%PROCplay_on(M%):SYS"Wimp_ForceRedraw",Sh%,2,-718,1274,-34 4040ENDCASE:!pblk%=replay%:MOUSERECTANGLE0,0,1279,1023:SYS"Wimp_CloseWindow",,pblk%:rep%=FALSE:ENDPROC 4120DEFPROCplay_on(M%):FORI%=M%TOmove%-1:FORJ%=0TO1:!iblk%=Sh%:iblk%!4=M%(I%,J%):SYS"Wimp_DeleteIcon",,iblk%:S%(M%(I%,J%),0)=-S%(M%(I%,J%),0):NEXT:NEXT:tiles%=144-2*move%:ENDPROC 4260DEFPROCload:SYS"Hourglass_On":wblk%!12=wblk%!8:wblk%!16=4:!wblk%=64:SYS"Wimp_SendMessage",17,wblk%,wblk%!4:path$="":a%=0:b%=wblk%?44:WHILEb%<>0ANDb%<>13:path$+=CHR$b%:a%+=1:b%=wblk%?(44+a%):ENDWHILE:PROCread(TRUE):SYS"Hourglass_Off":ENDPROC 4430DEFPROCread(i%):IFi%THEN 4450FORI%=144TO1STEP-1:IFS%(I%,0)>0 !iblk%=Sh%:iblk%!4=I%:SYS"Wimp_DeleteIcon",,iblk% 4470NEXT 4480ENDIF:F%=OPENINpath$:FORI%=1TO144:INPUT#F%,S%(I%,0):NEXT:FORI%=0TO71:INPUT#F%,M%(I%,0),M%(I%,1):NEXT:INPUT#F%,move%:CLOSE#F%:F%=0:PROCdeal(FALSE):IFmove%>0PROCplay_on(0) 4550!hnt%=FNfind_hint:SYS"Wimp_ForceRedraw",Sh%,2,-718,1274,-34:SYS"Wimp_GetPointerInfo",,pblk%:IFpblk%!12<>Sh% !wblk%=Sh%:PROCopen(Sh%) 4580$file%=path$:ENDPROC 4640DEFFNkey:r%=(!wblk%=save% ANDwblk%!24=13):IFr% adj%=-1:PROCButtSave 4670=r% 4710DEFPROCdrag:IFwblk%!8=16adj%=tree% 4730!wblk%=save%:SYS"Wimp_GetWindowState",,wblk%:ox%=wblk%!4-wblk%!20:oy%=wblk%!16-wblk%!24:wblk%!4=0:SYS"Wimp_GetIconState",,wblk%:!wblk%=save%:wblk%!4=5:wblk%!8+=ox%:wblk%!12+=oy%:wblk%!16+=ox%:wblk%!20+=oy%:wblk%!24=0:wblk%!28=0 4780wblk%!32=&7FFFFFFF:wblk%!36=&7FFFFFFF:SYS"Wimp_DragBox",,wblk%:ENDPROC 4850DEFPROCDragSave:SYS"Wimp_GetPointerInfo",,wblk%:wblk%!20=wblk%!12:wblk%!24=wblk%!16:wblk%!28=wblk%!0:wblk%!32=wblk%!4:wblk%!36=&5A5:wblk%!0=64:wblk%!12=0:wblk%!16=1:wblk%!40=&000:leaf$=$file%:WHILEINSTR(leaf$,".") 4910leaf$=MID$(leaf$,INSTR(leaf$,".")+1):ENDWHILE:$(wblk%+44)=leaf$:SYS"Wimp_SendMessage",17,wblk%,wblk%!20,wblk%!24:ENDPROC 5010DEFPROCsave:path$="":a%=0:b%=wblk%?44:WHILEb%<>0:path$+=CHR$b%:a%+=1:b%=wblk%?(44+a%):ENDWHILE:PROCwrite(path$):IFwblk%!36>-1 $file%=path$ 5090wblk%!12=wblk%!8:wblk%!16=3:wblk%!0=256:SYS"Wimp_SendMessage",18,wblk%,wblk%!20,wblk%!24:ENDPROC 5160DEFPROCButtSave:IFINSTR($file%,".")PROCwrite($file%) ELSE$wblk%=" To save, drag the file icon to a directory viewer":SYS"Wimp_ReportError",wblk%,1,"Shanghai" 5230ENDPROC 5290DEFPROCwrite(f$):F%=OPENOUTf$:FORI%=1TO144:PRINT#F%,ABSS%(I%,0):NEXT:FORI%=0TO71:PRINT#F%,M%(I%,0),M%(I%,1):NEXT:PRINT#F%,move%:CLOSE#F%:F%=0:OSCLI"SetType "+f$+" 000":SYS"Wimp_CreateMenu",,adj%:ENDPROC 5410DATA-1,0,0,0,0,0,1,1010,130,0,0,0,2,926,130,0,1,3,3,842,130,0,2,4,4,758,130,0,3,5,5,674,130,0,4,6,6,590,130,0,5,7,7,506,130,0,6,8,8,422,130,0,7,9,9,338,130,0,8,10,9,254,130,0,9,11,9,170,130,0,10,12,9,86,130,0,0,0,10,842,214,0,0,0,10,758 5420DATA214,88,13,15,10,674,214,89,14,16,10,590,214,90,15,17,11,506,214,91,16,18,11,422,214,92,17,19,11,338,214,93,18,20,11,254,214,0,0,0,12,926,298,0,0,0,12,842,298,0,21,23,12,758,298,94,22,24,12,674,298,95,23,25,13,590,298,96,24,26,13,506 5430DATA298,97,25,27,13,422,298,98,26,28,13,338,298,99,27,29,14,254,298,0,28,30,14,170,298,0,0,0,14,1178,424,0,0,0,14,1094,424,0,0,0,15,1010,382,0,32,34,15,926,382,0,33,35,15,842,382,0,34,36,15,758,382,100,35,37,16,674,382,101,36,38,16,590 5440DATA382,102,37,39,16,506,382,103,38,40,16,422,382,104,39,41,17,338,382,105,40,42,17,254,382,0,41,43,17,170,382,0,42,44,17,86,382,0,43,57,18,1010,466,0,32,46,18,926,466,0,45,47,18,842,466,0,46,48,18,758,466,106,47,49,19,674,466,107,48,50 5450DATA19,590,466,108,49,51,19,506,466,109,50,52,19,422,466,110,51,53,20,338,466,111,52,54,20,254,466,0,53,55,20,170,466,0,54,56,20,86,466,0,55,57,21,2,424,0,0,0,21,926,550,0,0,0,21,842,550,0,58,60,21,758,550,112,59,61,22,674,550,113,60,62 5460DATA22,590,550,114,61,63,22,506,550,115,62,64,22,422,550,116,63,65,23,338,550,117,64,66,23,254,550,0,65,67,23,170,550,0,0,0,23,842,634,0,0,0,24,758,634,118,68,70,24,674,634,119,69,71,24,590,634,120,70,72,24,506,634,121,71,73,25,422,634 5470DATA122,72,74,25,338,634,123,73,75,25,254,634,0,0,0,25,1010,718,0,0,0,26,926,718,0,76,78,26,842,718,0,77,79,26,758,718,0,78,80,26,674,718,0,79,81,27,590,718,0,80,82,27,506,718,0,81,83,27,422,718,0,82,84,27,338,718,0,83,85,28,254,718,0,84 5480DATA86,28,170,718,0,85,87,28,86,718,0,0,0,28,766,206,0,0,0,29,682,206,0,88,90,29,598,206,0,89,91,29,514,206,0,90,92,29,430,206,0,91,93,30,346,206,0,0,0,30,766,290,0,0,0,30,682,290,124,94,96,30,598,290,125,95,97,31,514,290,126,96,98,31,430 5490DATA290,127,97,99,31,346,290,0,0,0,31,766,374,0,0,0,32,682,374,128,100,102,32,598,374,129,101,103,32,514,374,130,102,104,32,430,374,131,103,105,33,346,374,0,0,0,33,766,458,0,0,0,33,682,458,132,106,108,33,598,458,133,107,109,34,514,458,134 5500DATA108,110,34,430,458,135,109,111,34,346,458,0,0,0,34,766,542,0,0,0,35,682,542,136,112,114,35,598,542,137,113,115,35,514,542,138,114,116,35,430,542,139,115,117,36,346,542,0,0,0,36,766,626,0,0,0,36,682,626,0,118,120,36,598,626,0,119,121 5510DATA37,514,626,0,120,122,37,430,626,0,121,123,37,346,626,0,0,0,37,690,282,0,0,0,38,606,282,0,124,126,38,522,282,0,125,127,38,438,282,0,0,0,38,690,366,0,0,0,39,606,366,140,128,130,39,522,366,141,129,131,39,438,366,0,0,0,39,690,450,0,0,0,40 5520DATA606,450,142,132,134,40,522,450,143,133,135,40,438,450,0,0,0,40,690,534,0,0,0,41,606,534,0,136,138,41,522,534,0,137,139,41,438,534,0,0,0,41,614,358,144,0,0,42,530,358,144,0,0,42,614,442,144,0,0,42,530,442,144,0,0,42,580,392,0,0,0
3�> !RunImage Crunched working copy of Shanghai K� Version 2.00 � Archimedes World 1991 By Wynand Thompson 30 April 1991 ( �F%=0:�:�error:� ��init:�:�wimperror � 6'�ș"Wimp_Poll",&1823,wblk%�r%:Ȏr%� T.�2:ș"Wimp_OpenWindow",,wblk%:�restrict(0) ^X�3:ș"Wimp_CloseWindow",,wblk%:�!wblk%=Sh% !wblk%=rules%:ș"Wimp_CloseWindow",,wblk% r�4:�restrict(1) |�6:�buttons ��7:�DragSave �*�8:笤key ș"Wimp_ProcessKey",wblk%!24 ��9:�decode ��17,18:�receive �I�19:ș"OS_File",6,wblk%+44:�255,"Data transfer failed: receiver died" ��:�quit%=�:�close:� ��receive:Ȏwblk%!16� �0:quit%=� &�2:�save 0(�3,5:�wblk%!12=0�wblk%!40=&000 �load :�:� lݤwimperror:�F%>0�#F%:F%=0 �{!wblk%=�:$(wblk%+4)=�$+" (internal error code "+Þ+")"+�0:ș"Wimp_ReportError",wblk%,3,"Shanghai"�,r:�r=2�close:=� �:=� �;��close:$wblk%="TASK":ș"Wimp_CloseDown",task%,!wblk%:� ��error: <ș"Wimp_CloseTemplate":ș"Wimp_CloseDown":�F%>0�#F%:F%=0 *�:�" at line ";�:� ����init:ș"Wimp_Initialise",200,&4B534154,"Shanghai"�,task%:�wblk% &1160,icn% &C04,sp% &C448,menu% 252,S%(144,5),H%(35,3),M%(71,1):sp%!0=&C448:sp%!4=0:sp%!8=16:sp%!12=16:ș"OS_SpriteOp",265,sp% ��ș"OS_SpriteOp",266,sp%,"<Shanghai$Dir>.Sprites":ș"Wimp_OpenTemplate",,"<Shanghai$Dir>.Templates":x%=icn%:info%=�window("info",0):Sh%=�window("Shanghai",-1):rules%=�window("rules",-1):status%=�window("status",0) �replay%=�window("replay",0):rep%=�:file%=x%:save%=�window("save",0):ș"Wimp_CloseTemplate":�"LOAD <Shanghai$Dir>.Menus "+�~menu%:iblk%=wblk%+256:pblk%=wblk%+512:menu%!32=info%:menu%!184=status%:menu%!232=save% L�hnt%=menu%+164:rply%=menu%+142:�I%=0�144:�S%(I%,0),S%(I%,1),S%(I%,2),S%(I%,3),S%(I%,4),S%(I%,5):�:I%=1:�Y%=-1898�-1998�-100:�X%=150�450�100:�icon(rules%,�I%,X%,Y%):I%+=1:�:�:�X%=150�350�100 ���icon(rules%,�I%,X%,-2098):I%+=1:�:�X%=150�450�100:�icon(rules%,�I%,X%,-2198):I%+=1:�:�Y%=-2298�-2498�-100:�X%=150�950�100:�icon(rules%,�I%,X%,Y%):I%+=1:�:�:�blank:new%=� _ș"OS_GetEnv"�path$:��path$,1)<>" "path$=�path$,�path$,""" ")+2):�read(�) ��deal(�):move%=0 �!iblk%=-1:iblk%!4=0:iblk%!8=0:iblk%!12=70:iblk%!16=68:iblk%!20=&3002:$(iblk%+24)="!shanghai":ș"Wimp_CreateIcon",,iblk%:quit%=�:� n_ݤwindow(w$,spr%):ș"Wimp_LoadTemplate",,wblk%,x%,icn%+&C04,-1,w$,0�,,x%:�spr% wblk%!64=sp% �'ș"Wimp_CreateWindow",,wblk%�h%:=h% �a��open(w%):wblk%!0=w%:ș"Wimp_GetWindowState",,wblk%:wblk%!28=-1:ș"Wimp_OpenWindow",,wblk%:� ,m��restrict(w%):�rep%:�!wblk%=replay%:�w%=(W%�1)ș"Wimp_GetWindowState",,wblk%:ȗȓwblk%!4,wblk%!8,308,256 @� �x��blank:!iblk%=Sh%:iblk%!4=0:iblk%!8=-1:iblk%!12=1:iblk%!16=0:iblk%!20=1:$(iblk%+24)="":ș"Wimp_CreateIcon",,iblk%:� �2��buttons:adj%=-1:�wblk%!12=Sh% �show%�hint(0) �Ȏwblk%!8� �16,64:Ȏwblk%!12� =�replay%:!wblk%=replay%:wblk%!4=1:ș"Wimp_DragBox",,wblk% &�save%:�drag 0� :�4:Ȏwblk%!12� N�Sh%:�move X�replay%:Ȏwblk%!16� l�1:�back v�2:�forward ��3,4,5:�continue(wblk%!16) �� ��save%:�wblk%!16=2�ButtSave ��-2:�open(Sh%) �� ��2:Ȏwblk%!12� �*�Sh%:�first%>0�toggle(first%):first%=0 �i!hnt%=�find_hint:?rply%=&40*-(move%=0):ș"Wimp_CreateMenu",,menu%+80,!wblk%-64,wblk%!4:tree%=menu%+80 �<�-2:ș"Wimp_CreateMenu",,menu%,!wblk%-64,180:tree%=menu% � �1:Ȏwblk%!12� *�Sh%:�first%>0�toggle(first%):first%=0 *�replay%:Ȏwblk%!16� >�1:�forward H�2:�back R�3,4,5:�continue(wblk%!16) \� f*�save%:�wblk%!16=2adj%=tree%:�ButtSave p� z�:� �E��decode:ș"Wimp_DecodeMenu",,tree%,wblk%,wblk%+20:Ȏ$(wblk%+20)� ��"New game":�new(�) ��"Replay":�show% �hint(0) �p�status(replay%,8,move%):M%=move%:�open(replay%):ȗȓwblk%!4,wblk%!8,308,256:ș"OS_Byte",161,197�,,W%:rep%=� �"Show moves":�hint(show%) �"Rules":�open(rules%) $�"Quit":quit%=� .g�:ș"Wimp_GetPointerInfo",,wblk%:�wblk%!8=1 ��rep% ?rply%=&40*-(move%=0):ș"Wimp_CreateMenu",,tree% L� ���move:�first%<1� �*first%=�valid:�first%>0�toggle(first%) �F�:second%=�valid:�second%=first%�toggle(first%):first%=0:second%=0 �?�S%(second%,0)>0�S%(second%,0)<5�S%(first%,0)>4�7:second%=0 �P�S%(second%,0)>4�S%(second%,0)<9�(S%(first%,0)<5�S%(first%,0)>8)�7:second%=0 �<�S%(second%,0)>8�S%(second%,0)<>S%(first%,0)�7:second%=0 �{�second%>0�delete(first%):�delete(second%):tiles%-=2:M%(move%,0)=first%:M%(move%,1)=second%:move%+=1:first%=0:second%=0 ��:� 2!ݤvalid:i%=wblk%!16:�i%<0i%=0 P1�i%=32�S%(31,0)>0�(S%(33,0)>0�S%(45,0)>0)i%=0 Z=�S%(S%(i%,3),0)>0�(S%(S%(i%,4),0)>0�S%(S%(i%,5),0)>0)i%=0 d�i%=0�7 n=i% �a��toggle(i%):!iblk%=Sh%:iblk%!4=i%:iblk%!8=&2200000:iblk%!12=0:ș"Wimp_SetIconState",,iblk%:� ܛ��delete(i%):!iblk%=Sh%:iblk%!4=i%:ș"Wimp_DeleteIcon",,iblk%:ș"Wimp_ForceRedraw",Sh%,S%(i%,1),-S%(i%,2),S%(i%,1)+96,-S%(i%,2)+96:S%(i%,0)=-S%(i%,0):� 6���icon(w%,i$,x%,y%):!iblk%=w%:iblk%!4=x%:iblk%!8=y%:iblk%!12=x%+96:iblk%!16=y%+96:iblk%!20=&3002:$(iblk%+24)=i$:ș"Wimp_CreateIcon",,iblk%:� ����status(w%,i%,x%):!iblk%=w%:iblk%!4=i%:ș"Wimp_GetIconState",,iblk%:ș"Wimp_DeleteIcon",,iblk%:$(iblk%+28)=�x%:iblk%!4=!iblk%:ș"Wimp_CreateIcon",,iblk%+4:� �E��deal(i%):�i% R%=�(-�):�I%=1�144:R%=�(144):ȔS%(I%,0),S%(R%,0):� :K�I%=1�144:�icon(Sh%,�S%(I%,0),S%(I%,1),-S%(I%,2)):�:�new% �blank:new%=� b+tiles%=144:first%=0:second%=0:show%=�:� �o��new(i%):ș"Hourglass_On":�i% �$file%=�$file%,�$file%-1):�$file%=""��$file%)=".":$file%=$file%+"Game_File" �a�I%=144�1�-1:�S%(I%,0)>0 !iblk%=Sh%:iblk%!4=I%:ș"Wimp_DeleteIcon",,iblk% �S%(I%,0)=�S%(I%,0) �e�:�deal(i%):!hnt%=�find_hint:move%=0:ș"Wimp_ForceRedraw",Sh%,2,-718,1274,-34:ș"Hourglass_Off":� >>ݤfind_hint:H%()=0:moves%=0:show%=�:�I%=1�144:�S%(I%,0)>0� f=J%=S%(I%,0):�I%=32�S%(31,0)>0�(S%(33,0)>0�S%(45,0)>0)J%=0 z=�S%(S%(I%,3),0)>0�(S%(S%(I%,4),0)>0�S%(S%(I%,5),0)>0)J%=0 � �J%>0� � �J%<5J%=0 ��J%>4�J%<9J%=1 ��J%>8J%-=7 �5L%=-1:�L%+=1:�H%(J%,L%)=0:H%(J%,L%)=I%:moves%+=L% �� ���:�:L%=-1:�L%+=1:�H%(L%,1)>0�L%=35:�status(status%,3,moves%):�status(status%,2,tiles%):�H%(L%,1)>0hint%=L%:=&7000021 � =&7400021 ��hint(i%):�i% show%=�show% .0�I%=0�3:�H%(hint%,I%)>0�toggle(H%(hint%,I%)) 8 �:�i%� LL%=hint%:�L%+=1:�L%=36L%=0 VE�H%(L%,1)>0:hint%=L%:�I%=0�3:�H%(hint%,I%)>0�toggle(H%(hint%,I%)) j� t�:� ���back:�M%>0� ��M%-=1:�I%=0�1:!iblk%=Sh%:iblk%!4=M%(M%,I%):iblk%!8=0:iblk%!12=&2A00000:ș"Wimp_SetIconState",,iblk%:S%(M%(M%,I%),0)=-S%(M%(M%,I%),0):�:tiles%+=2:�status(replay%,8,M%) �Kș"Wimp_ForceRedraw",replay%,iblk%!8+4,iblk%!12+4,iblk%!16-4,iblk%!20-4 ���7 �:� 2���forward:�M%<move%�I%=0�1:�delete(M%(M%,I%)):�:tiles%-=2:M%+=1:�status(replay%,8,M%):ș"Wimp_ForceRedraw",replay%,iblk%!8+4,iblk%!12+4,iblk%!16-4,iblk%!20-4 ��7 Z� ���continue(I%):ȎI%� ��3:�M%=0move%=0 ��new(�) ��4:move%=M% �E�5:�M%<move%�play_on(M%):ș"Wimp_ForceRedraw",Sh%,2,-718,1274,-34 �K�:!pblk%=replay%:ȗȓ0,0,1279,1023:ș"Wimp_CloseWindow",,pblk%:rep%=�:� ���play_on(M%):�I%=M%�move%-1:�J%=0�1:!iblk%=Sh%:iblk%!4=M%(I%,J%):ș"Wimp_DeleteIcon",,iblk%:S%(M%(I%,J%),0)=-S%(M%(I%,J%),0):�:�:tiles%=144-2*move%:� ����load:ș"Hourglass_On":wblk%!12=wblk%!8:wblk%!16=4:!wblk%=64:ș"Wimp_SendMessage",17,wblk%,wblk%!4:path$="":a%=0:b%=wblk%?44:ȕb%<>0�b%<>13:path$+=�b%:a%+=1:b%=wblk%?(44+a%):�:�read(�):ș"Hourglass_Off":� N��read(i%):�i%� bM�I%=144�1�-1:�S%(I%,0)>0 !iblk%=Sh%:iblk%!4=I%:ș"Wimp_DeleteIcon",,iblk% v� �}�:F%=�path$:�I%=1�144:�#F%,S%(I%,0):�:�I%=0�71:�#F%,M%(I%,0),M%(I%,1):�:�#F%,move%:�#F%:F%=0:�deal(�):�move%>0�play_on(0) Ɓ!hnt%=�find_hint:ș"Wimp_ForceRedraw",Sh%,2,-718,1274,-34:ș"Wimp_GetPointerInfo",,pblk%:�pblk%!12<>Sh% !wblk%=Sh%:�open(Sh%) �$file%=path$:� >ݤkey:r%=(!wblk%=save% �wblk%!24=13):�r% adj%=-1:�ButtSave >=r% f ��drag:�wblk%!8=16adj%=tree% z�!wblk%=save%:ș"Wimp_GetWindowState",,wblk%:ox%=wblk%!4-wblk%!20:oy%=wblk%!16-wblk%!24:wblk%!4=0:ș"Wimp_GetIconState",,wblk%:!wblk%=save%:wblk%!4=5:wblk%!8+=ox%:wblk%!12+=oy%:wblk%!16+=ox%:wblk%!20+=oy%:wblk%!24=0:wblk%!28=0 �Cwblk%!32=&7FFFFFFF:wblk%!36=&7FFFFFFF:ș"Wimp_DragBox",,wblk%:� ����DragSave:ș"Wimp_GetPointerInfo",,wblk%:wblk%!20=wblk%!12:wblk%!24=wblk%!16:wblk%!28=wblk%!0:wblk%!32=wblk%!4:wblk%!36=&5A5:wblk%!0=64:wblk%!12=0:wblk%!16=1:wblk%!40=&000:leaf$=$file%:ȕ�leaf$,".") .eleaf$=�leaf$,�leaf$,".")+1):�:$(wblk%+44)=leaf$:ș"Wimp_SendMessage",17,wblk%,wblk%!20,wblk%!24:� �x��save:path$="":a%=0:b%=wblk%?44:ȕb%<>0:path$+=�b%:a%+=1:b%=wblk%?(44+a%):�:�write(path$):�wblk%!36>-1 $file%=path$ �]wblk%!12=wblk%!8:wblk%!16=3:wblk%!0=256:ș"Wimp_SendMessage",18,wblk%,wblk%!20,wblk%!24:� (���ButtSave:�$file%,".")�write($file%) �$wblk%=" To save, drag the file icon to a directory viewer":ș"Wimp_ReportError",wblk%,1,"Shanghai" n� ����write(f$):F%=�f$:�I%=1�144:�#F%,�S%(I%,0):�:�I%=0�71:�#F%,M%(I%,0),M%(I%,1):�:�#F%,move%:�#F%:F%=0:�"SetType "+f$+" 000":ș"Wimp_CreateMenu",,adj%:� "��-1,0,0,0,0,0,1,1010,130,0,0,0,2,926,130,0,1,3,3,842,130,0,2,4,4,758,130,0,3,5,5,674,130,0,4,6,6,590,130,0,5,7,7,506,130,0,6,8,8,422,130,0,7,9,9,338,130,0,8,10,9,254,130,0,9,11,9,170,130,0,10,12,9,86,130,0,0,0,10,842,214,0,0,0,10,758 ,��214,88,13,15,10,674,214,89,14,16,10,590,214,90,15,17,11,506,214,91,16,18,11,422,214,92,17,19,11,338,214,93,18,20,11,254,214,0,0,0,12,926,298,0,0,0,12,842,298,0,21,23,12,758,298,94,22,24,12,674,298,95,23,25,13,590,298,96,24,26,13,506 6��298,97,25,27,13,422,298,98,26,28,13,338,298,99,27,29,14,254,298,0,28,30,14,170,298,0,0,0,14,1178,424,0,0,0,14,1094,424,0,0,0,15,1010,382,0,32,34,15,926,382,0,33,35,15,842,382,0,34,36,15,758,382,100,35,37,16,674,382,101,36,38,16,590 @��382,102,37,39,16,506,382,103,38,40,16,422,382,104,39,41,17,338,382,105,40,42,17,254,382,0,41,43,17,170,382,0,42,44,17,86,382,0,43,57,18,1010,466,0,32,46,18,926,466,0,45,47,18,842,466,0,46,48,18,758,466,106,47,49,19,674,466,107,48,50 J��19,590,466,108,49,51,19,506,466,109,50,52,19,422,466,110,51,53,20,338,466,111,52,54,20,254,466,0,53,55,20,170,466,0,54,56,20,86,466,0,55,57,21,2,424,0,0,0,21,926,550,0,0,0,21,842,550,0,58,60,21,758,550,112,59,61,22,674,550,113,60,62 T��22,590,550,114,61,63,22,506,550,115,62,64,22,422,550,116,63,65,23,338,550,117,64,66,23,254,550,0,65,67,23,170,550,0,0,0,23,842,634,0,0,0,24,758,634,118,68,70,24,674,634,119,69,71,24,590,634,120,70,72,24,506,634,121,71,73,25,422,634 ^��122,72,74,25,338,634,123,73,75,25,254,634,0,0,0,25,1010,718,0,0,0,26,926,718,0,76,78,26,842,718,0,77,79,26,758,718,0,78,80,26,674,718,0,79,81,27,590,718,0,80,82,27,506,718,0,81,83,27,422,718,0,82,84,27,338,718,0,83,85,28,254,718,0,84 h��86,28,170,718,0,85,87,28,86,718,0,0,0,28,766,206,0,0,0,29,682,206,0,88,90,29,598,206,0,89,91,29,514,206,0,90,92,29,430,206,0,91,93,30,346,206,0,0,0,30,766,290,0,0,0,30,682,290,124,94,96,30,598,290,125,95,97,31,514,290,126,96,98,31,430 r��290,127,97,99,31,346,290,0,0,0,31,766,374,0,0,0,32,682,374,128,100,102,32,598,374,129,101,103,32,514,374,130,102,104,32,430,374,131,103,105,33,346,374,0,0,0,33,766,458,0,0,0,33,682,458,132,106,108,33,598,458,133,107,109,34,514,458,134 |��108,110,34,430,458,135,109,111,34,346,458,0,0,0,34,766,542,0,0,0,35,682,542,136,112,114,35,598,542,137,113,115,35,514,542,138,114,116,35,430,542,139,115,117,36,346,542,0,0,0,36,766,626,0,0,0,36,682,626,0,118,120,36,598,626,0,119,121 ���37,514,626,0,120,122,37,430,626,0,121,123,37,346,626,0,0,0,37,690,282,0,0,0,38,606,282,0,124,126,38,522,282,0,125,127,38,438,282,0,0,0,38,690,366,0,0,0,39,606,366,140,128,130,39,522,366,141,129,131,39,438,366,0,0,0,39,690,450,0,0,0,40 ���606,450,142,132,134,40,522,450,143,133,135,40,438,450,0,0,0,40,690,534,0,0,0,41,606,534,0,136,138,41,522,534,0,137,139,41,438,534,0,0,0,41,614,358,144,0,0,42,530,358,144,0,0,42,614,442,144,0,0,42,530,442,144,0,0,42,580,392,0,0,0 �
00000000 0d 00 0a 33 f4 3e 20 21 52 75 6e 49 6d 61 67 65 |...3.> !RunImage| 00000010 20 20 43 72 75 6e 63 68 65 64 20 77 6f 72 6b 69 | Crunched worki| 00000020 6e 67 20 63 6f 70 79 20 6f 66 20 53 68 61 6e 67 |ng copy of Shang| 00000030 68 61 69 0d 00 1e 4b f4 20 56 65 72 73 69 6f 6e |hai...K. Version| 00000040 20 32 2e 30 30 20 a9 20 41 72 63 68 69 6d 65 64 | 2.00 . Archimed| 00000050 65 73 20 57 6f 72 6c 64 20 31 39 39 31 20 42 79 |es World 1991 By| 00000060 20 57 79 6e 61 6e 64 20 54 68 6f 6d 70 73 6f 6e | Wynand Thompson| 00000070 20 33 30 20 41 70 72 69 6c 20 31 39 39 31 0d 00 | 30 April 1991..| 00000080 28 05 20 0d 00 be 14 46 25 3d 30 3a ee 85 3a f2 |(. ....F%=0:..:.| 00000090 65 72 72 6f 72 3a e0 0d 00 e6 1a f2 69 6e 69 74 |error:......init| 000000a0 3a ee 85 3a e7 a4 77 69 6d 70 65 72 72 6f 72 20 |:..:..wimperror | 000000b0 e0 0d 01 36 27 f5 c8 99 22 57 69 6d 70 5f 50 6f |...6'..."Wimp_Po| 000000c0 6c 6c 22 2c 26 31 38 32 33 2c 77 62 6c 6b 25 b8 |ll",&1823,wblk%.| 000000d0 72 25 3a c8 8e 72 25 ca 0d 01 54 2e c9 32 3a c8 |r%:..r%...T..2:.| 000000e0 99 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f |."Wimp_OpenWindo| 000000f0 77 22 2c 2c 77 62 6c 6b 25 3a f2 72 65 73 74 72 |w",,wblk%:.restr| 00000100 69 63 74 28 30 29 0d 01 5e 58 c9 33 3a c8 99 22 |ict(0)..^X.3:.."| 00000110 57 69 6d 70 5f 43 6c 6f 73 65 57 69 6e 64 6f 77 |Wimp_CloseWindow| 00000120 22 2c 2c 77 62 6c 6b 25 3a e7 21 77 62 6c 6b 25 |",,wblk%:.!wblk%| 00000130 3d 53 68 25 20 21 77 62 6c 6b 25 3d 72 75 6c 65 |=Sh% !wblk%=rule| 00000140 73 25 3a c8 99 22 57 69 6d 70 5f 43 6c 6f 73 65 |s%:.."Wimp_Close| 00000150 57 69 6e 64 6f 77 22 2c 2c 77 62 6c 6b 25 0d 01 |Window",,wblk%..| 00000160 72 13 c9 34 3a f2 72 65 73 74 72 69 63 74 28 31 |r..4:.restrict(1| 00000170 29 0d 01 7c 0f c9 36 3a f2 62 75 74 74 6f 6e 73 |)..|..6:.buttons| 00000180 0d 01 86 10 c9 37 3a f2 44 72 61 67 53 61 76 65 |.....7:.DragSave| 00000190 0d 01 90 2a c9 38 3a e7 ac a4 6b 65 79 20 c8 99 |...*.8:...key ..| 000001a0 22 57 69 6d 70 5f 50 72 6f 63 65 73 73 4b 65 79 |"Wimp_ProcessKey| 000001b0 22 2c 77 62 6c 6b 25 21 32 34 0d 01 9a 0e c9 39 |",wblk%!24.....9| 000001c0 3a f2 64 65 63 6f 64 65 0d 01 a4 13 c9 31 37 2c |:.decode.....17,| 000001d0 31 38 3a f2 72 65 63 65 69 76 65 0d 01 ae 49 c9 |18:.receive...I.| 000001e0 31 39 3a c8 99 22 4f 53 5f 46 69 6c 65 22 2c 36 |19:.."OS_File",6| 000001f0 2c 77 62 6c 6b 25 2b 34 34 3a 85 32 35 35 2c 22 |,wblk%+44:.255,"| 00000200 44 61 74 61 20 74 72 61 6e 73 66 65 72 20 66 61 |Data transfer fa| 00000210 69 6c 65 64 3a 20 72 65 63 65 69 76 65 72 20 64 |iled: receiver d| 00000220 69 65 64 22 0d 01 c2 17 cb 3a fd 71 75 69 74 25 |ied".....:.quit%| 00000230 3d b9 3a f2 63 6c 6f 73 65 3a e0 0d 02 08 19 dd |=.:.close:......| 00000240 f2 72 65 63 65 69 76 65 3a c8 8e 77 62 6c 6b 25 |.receive:..wblk%| 00000250 21 31 36 ca 0d 02 1c 0e c9 30 3a 71 75 69 74 25 |!16......0:quit%| 00000260 3d b9 0d 02 26 0c c9 32 3a f2 73 61 76 65 0d 02 |=...&..2:.save..| 00000270 30 28 c9 33 2c 35 3a e7 77 62 6c 6b 25 21 31 32 |0(.3,5:.wblk%!12| 00000280 3d 30 80 77 62 6c 6b 25 21 34 30 3d 26 30 30 30 |=0.wblk%!40=&000| 00000290 20 f2 6c 6f 61 64 0d 02 3a 07 cb 3a e1 0d 02 6c | .load..:..:...l| 000002a0 1e dd a4 77 69 6d 70 65 72 72 6f 72 3a e7 46 25 |...wimperror:.F%| 000002b0 3e 30 d9 23 46 25 3a 46 25 3d 30 0d 02 80 7b 21 |>0.#F%:F%=0...{!| 000002c0 77 62 6c 6b 25 3d 9f 3a 24 28 77 62 6c 6b 25 2b |wblk%=.:$(wblk%+| 000002d0 34 29 3d f6 24 2b 22 20 28 69 6e 74 65 72 6e 61 |4)=.$+" (interna| 000002e0 6c 20 65 72 72 6f 72 20 63 6f 64 65 20 22 2b c3 |l error code "+.| 000002f0 9e 2b 22 29 22 2b bd 30 3a c8 99 22 57 69 6d 70 |.+")"+.0:.."Wimp| 00000300 5f 52 65 70 6f 72 74 45 72 72 6f 72 22 2c 77 62 |_ReportError",wb| 00000310 6c 6b 25 2c 33 2c 22 53 68 61 6e 67 68 61 69 22 |lk%,3,"Shanghai"| 00000320 b8 2c 72 3a e7 72 3d 32 f2 63 6c 6f 73 65 3a 3d |.,r:.r=2.close:=| 00000330 b9 20 8b 3a 3d a3 0d 02 bc 3b dd f2 63 6c 6f 73 |. .:=....;..clos| 00000340 65 3a 24 77 62 6c 6b 25 3d 22 54 41 53 4b 22 3a |e:$wblk%="TASK":| 00000350 c8 99 22 57 69 6d 70 5f 43 6c 6f 73 65 44 6f 77 |.."Wimp_CloseDow| 00000360 6e 22 2c 74 61 73 6b 25 2c 21 77 62 6c 6b 25 3a |n",task%,!wblk%:| 00000370 e1 0d 03 02 0f dd f2 65 72 72 6f 72 3a ee 85 87 |.......error:...| 00000380 0d 03 16 3c c8 99 22 57 69 6d 70 5f 43 6c 6f 73 |...<.."Wimp_Clos| 00000390 65 54 65 6d 70 6c 61 74 65 22 3a c8 99 22 57 69 |eTemplate":.."Wi| 000003a0 6d 70 5f 43 6c 6f 73 65 44 6f 77 6e 22 3a e7 46 |mp_CloseDown":.F| 000003b0 25 3e 30 d9 23 46 25 3a 46 25 3d 30 0d 03 2a 16 |%>0.#F%:F%=0..*.| 000003c0 f6 3a f1 22 20 61 74 20 6c 69 6e 65 20 22 3b 9e |.:." at line ";.| 000003d0 3a e1 0d 03 98 c4 dd f2 69 6e 69 74 3a c8 99 22 |:.......init:.."| 000003e0 57 69 6d 70 5f 49 6e 69 74 69 61 6c 69 73 65 22 |Wimp_Initialise"| 000003f0 2c 32 30 30 2c 26 34 42 35 33 34 31 35 34 2c 22 |,200,&4B534154,"| 00000400 53 68 61 6e 67 68 61 69 22 b8 2c 74 61 73 6b 25 |Shanghai".,task%| 00000410 3a de 77 62 6c 6b 25 20 26 31 31 36 30 2c 69 63 |:.wblk% &1160,ic| 00000420 6e 25 20 26 43 30 34 2c 73 70 25 20 26 43 34 34 |n% &C04,sp% &C44| 00000430 38 2c 6d 65 6e 75 25 20 32 35 32 2c 53 25 28 31 |8,menu% 252,S%(1| 00000440 34 34 2c 35 29 2c 48 25 28 33 35 2c 33 29 2c 4d |44,5),H%(35,3),M| 00000450 25 28 37 31 2c 31 29 3a 73 70 25 21 30 3d 26 43 |%(71,1):sp%!0=&C| 00000460 34 34 38 3a 73 70 25 21 34 3d 30 3a 73 70 25 21 |448:sp%!4=0:sp%!| 00000470 38 3d 31 36 3a 73 70 25 21 31 32 3d 31 36 3a c8 |8=16:sp%!12=16:.| 00000480 99 22 4f 53 5f 53 70 72 69 74 65 4f 70 22 2c 32 |."OS_SpriteOp",2| 00000490 36 35 2c 73 70 25 0d 03 ca d8 c8 99 22 4f 53 5f |65,sp%......"OS_| 000004a0 53 70 72 69 74 65 4f 70 22 2c 32 36 36 2c 73 70 |SpriteOp",266,sp| 000004b0 25 2c 22 3c 53 68 61 6e 67 68 61 69 24 44 69 72 |%,"<Shanghai$Dir| 000004c0 3e 2e 53 70 72 69 74 65 73 22 3a c8 99 22 57 69 |>.Sprites":.."Wi| 000004d0 6d 70 5f 4f 70 65 6e 54 65 6d 70 6c 61 74 65 22 |mp_OpenTemplate"| 000004e0 2c 2c 22 3c 53 68 61 6e 67 68 61 69 24 44 69 72 |,,"<Shanghai$Dir| 000004f0 3e 2e 54 65 6d 70 6c 61 74 65 73 22 3a 78 25 3d |>.Templates":x%=| 00000500 69 63 6e 25 3a 69 6e 66 6f 25 3d a4 77 69 6e 64 |icn%:info%=.wind| 00000510 6f 77 28 22 69 6e 66 6f 22 2c 30 29 3a 53 68 25 |ow("info",0):Sh%| 00000520 3d a4 77 69 6e 64 6f 77 28 22 53 68 61 6e 67 68 |=.window("Shangh| 00000530 61 69 22 2c 2d 31 29 3a 72 75 6c 65 73 25 3d a4 |ai",-1):rules%=.| 00000540 77 69 6e 64 6f 77 28 22 72 75 6c 65 73 22 2c 2d |window("rules",-| 00000550 31 29 3a 73 74 61 74 75 73 25 3d a4 77 69 6e 64 |1):status%=.wind| 00000560 6f 77 28 22 73 74 61 74 75 73 22 2c 30 29 0d 04 |ow("status",0)..| 00000570 10 d5 72 65 70 6c 61 79 25 3d a4 77 69 6e 64 6f |..replay%=.windo| 00000580 77 28 22 72 65 70 6c 61 79 22 2c 30 29 3a 72 65 |w("replay",0):re| 00000590 70 25 3d a3 3a 66 69 6c 65 25 3d 78 25 3a 73 61 |p%=.:file%=x%:sa| 000005a0 76 65 25 3d a4 77 69 6e 64 6f 77 28 22 73 61 76 |ve%=.window("sav| 000005b0 65 22 2c 30 29 3a c8 99 22 57 69 6d 70 5f 43 6c |e",0):.."Wimp_Cl| 000005c0 6f 73 65 54 65 6d 70 6c 61 74 65 22 3a ff 22 4c |oseTemplate":."L| 000005d0 4f 41 44 20 3c 53 68 61 6e 67 68 61 69 24 44 69 |OAD <Shanghai$Di| 000005e0 72 3e 2e 4d 65 6e 75 73 20 22 2b c3 7e 6d 65 6e |r>.Menus "+.~men| 000005f0 75 25 3a 69 62 6c 6b 25 3d 77 62 6c 6b 25 2b 32 |u%:iblk%=wblk%+2| 00000600 35 36 3a 70 62 6c 6b 25 3d 77 62 6c 6b 25 2b 35 |56:pblk%=wblk%+5| 00000610 31 32 3a 6d 65 6e 75 25 21 33 32 3d 69 6e 66 6f |12:menu%!32=info| 00000620 25 3a 6d 65 6e 75 25 21 31 38 34 3d 73 74 61 74 |%:menu%!184=stat| 00000630 75 73 25 3a 6d 65 6e 75 25 21 32 33 32 3d 73 61 |us%:menu%!232=sa| 00000640 76 65 25 0d 04 4c c1 68 6e 74 25 3d 6d 65 6e 75 |ve%..L.hnt%=menu| 00000650 25 2b 31 36 34 3a 72 70 6c 79 25 3d 6d 65 6e 75 |%+164:rply%=menu| 00000660 25 2b 31 34 32 3a e3 49 25 3d 30 b8 31 34 34 3a |%+142:.I%=0.144:| 00000670 f3 53 25 28 49 25 2c 30 29 2c 53 25 28 49 25 2c |.S%(I%,0),S%(I%,| 00000680 31 29 2c 53 25 28 49 25 2c 32 29 2c 53 25 28 49 |1),S%(I%,2),S%(I| 00000690 25 2c 33 29 2c 53 25 28 49 25 2c 34 29 2c 53 25 |%,3),S%(I%,4),S%| 000006a0 28 49 25 2c 35 29 3a ed 3a 49 25 3d 31 3a e3 59 |(I%,5):.:I%=1:.Y| 000006b0 25 3d 2d 31 38 39 38 b8 2d 31 39 39 38 88 2d 31 |%=-1898.-1998.-1| 000006c0 30 30 3a e3 58 25 3d 31 35 30 b8 34 35 30 88 31 |00:.X%=150.450.1| 000006d0 30 30 3a f2 69 63 6f 6e 28 72 75 6c 65 73 25 2c |00:.icon(rules%,| 000006e0 c3 49 25 2c 58 25 2c 59 25 29 3a 49 25 2b 3d 31 |.I%,X%,Y%):I%+=1| 000006f0 3a ed 3a ed 3a e3 58 25 3d 31 35 30 b8 33 35 30 |:.:.:.X%=150.350| 00000700 88 31 30 30 0d 04 a6 ae f2 69 63 6f 6e 28 72 75 |.100.....icon(ru| 00000710 6c 65 73 25 2c c3 49 25 2c 58 25 2c 2d 32 30 39 |les%,.I%,X%,-209| 00000720 38 29 3a 49 25 2b 3d 31 3a ed 3a e3 58 25 3d 31 |8):I%+=1:.:.X%=1| 00000730 35 30 b8 34 35 30 88 31 30 30 3a f2 69 63 6f 6e |50.450.100:.icon| 00000740 28 72 75 6c 65 73 25 2c c3 49 25 2c 58 25 2c 2d |(rules%,.I%,X%,-| 00000750 32 31 39 38 29 3a 49 25 2b 3d 31 3a ed 3a e3 59 |2198):I%+=1:.:.Y| 00000760 25 3d 2d 32 32 39 38 b8 2d 32 34 39 38 88 2d 31 |%=-2298.-2498.-1| 00000770 30 30 3a e3 58 25 3d 31 35 30 b8 39 35 30 88 31 |00:.X%=150.950.1| 00000780 30 30 3a f2 69 63 6f 6e 28 72 75 6c 65 73 25 2c |00:.icon(rules%,| 00000790 c3 49 25 2c 58 25 2c 59 25 29 3a 49 25 2b 3d 31 |.I%,X%,Y%):I%+=1| 000007a0 3a ed 3a ed 3a f2 62 6c 61 6e 6b 3a 6e 65 77 25 |:.:.:.blank:new%| 000007b0 3d b9 0d 05 0a 5f c8 99 22 4f 53 5f 47 65 74 45 |=...._.."OS_GetE| 000007c0 6e 76 22 b8 70 61 74 68 24 3a e7 c2 70 61 74 68 |nv".path$:..path| 000007d0 24 2c 31 29 3c 3e 22 20 22 70 61 74 68 24 3d c1 |$,1)<>" "path$=.| 000007e0 70 61 74 68 24 2c a7 70 61 74 68 24 2c 22 22 22 |path$,.path$,"""| 000007f0 20 22 29 2b 32 29 3a f2 72 65 61 64 28 a3 29 20 | ")+2):.read(.) | 00000800 8b f2 64 65 61 6c 28 b9 29 3a 6d 6f 76 65 25 3d |..deal(.):move%=| 00000810 30 0d 05 1e 85 21 69 62 6c 6b 25 3d 2d 31 3a 69 |0....!iblk%=-1:i| 00000820 62 6c 6b 25 21 34 3d 30 3a 69 62 6c 6b 25 21 38 |blk%!4=0:iblk%!8| 00000830 3d 30 3a 69 62 6c 6b 25 21 31 32 3d 37 30 3a 69 |=0:iblk%!12=70:i| 00000840 62 6c 6b 25 21 31 36 3d 36 38 3a 69 62 6c 6b 25 |blk%!16=68:iblk%| 00000850 21 32 30 3d 26 33 30 30 32 3a 24 28 69 62 6c 6b |!20=&3002:$(iblk| 00000860 25 2b 32 34 29 3d 22 21 73 68 61 6e 67 68 61 69 |%+24)="!shanghai| 00000870 22 3a c8 99 22 57 69 6d 70 5f 43 72 65 61 74 65 |":.."Wimp_Create| 00000880 49 63 6f 6e 22 2c 2c 69 62 6c 6b 25 3a 71 75 69 |Icon",,iblk%:qui| 00000890 74 25 3d a3 3a e1 0d 05 6e 5f dd a4 77 69 6e 64 |t%=.:...n_..wind| 000008a0 6f 77 28 77 24 2c 73 70 72 25 29 3a c8 99 22 57 |ow(w$,spr%):.."W| 000008b0 69 6d 70 5f 4c 6f 61 64 54 65 6d 70 6c 61 74 65 |imp_LoadTemplate| 000008c0 22 2c 2c 77 62 6c 6b 25 2c 78 25 2c 69 63 6e 25 |",,wblk%,x%,icn%| 000008d0 2b 26 43 30 34 2c 2d 31 2c 77 24 2c 30 b8 2c 2c |+&C04,-1,w$,0.,,| 000008e0 78 25 3a e7 73 70 72 25 20 77 62 6c 6b 25 21 36 |x%:.spr% wblk%!6| 000008f0 34 3d 73 70 25 0d 05 8c 27 c8 99 22 57 69 6d 70 |4=sp%...'.."Wimp| 00000900 5f 43 72 65 61 74 65 57 69 6e 64 6f 77 22 2c 2c |_CreateWindow",,| 00000910 77 62 6c 6b 25 b8 68 25 3a 3d 68 25 0d 05 be 61 |wblk%.h%:=h%...a| 00000920 dd f2 6f 70 65 6e 28 77 25 29 3a 77 62 6c 6b 25 |..open(w%):wblk%| 00000930 21 30 3d 77 25 3a c8 99 22 57 69 6d 70 5f 47 65 |!0=w%:.."Wimp_Ge| 00000940 74 57 69 6e 64 6f 77 53 74 61 74 65 22 2c 2c 77 |tWindowState",,w| 00000950 62 6c 6b 25 3a 77 62 6c 6b 25 21 32 38 3d 2d 31 |blk%:wblk%!28=-1| 00000960 3a c8 99 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e |:.."Wimp_OpenWin| 00000970 64 6f 77 22 2c 2c 77 62 6c 6b 25 3a e1 0d 06 2c |dow",,wblk%:...,| 00000980 6d dd f2 72 65 73 74 72 69 63 74 28 77 25 29 3a |m..restrict(w%):| 00000990 e7 72 65 70 25 3a e7 21 77 62 6c 6b 25 3d 72 65 |.rep%:.!wblk%=re| 000009a0 70 6c 61 79 25 3a e7 77 25 3d 28 57 25 80 31 29 |play%:.w%=(W%.1)| 000009b0 c8 99 22 57 69 6d 70 5f 47 65 74 57 69 6e 64 6f |.."Wimp_GetWindo| 000009c0 77 53 74 61 74 65 22 2c 2c 77 62 6c 6b 25 3a c8 |wState",,wblk%:.| 000009d0 97 c8 93 77 62 6c 6b 25 21 34 2c 77 62 6c 6b 25 |...wblk%!4,wblk%| 000009e0 21 38 2c 33 30 38 2c 32 35 36 0d 06 40 05 e1 0d |!8,308,256..@...| 000009f0 06 86 78 dd f2 62 6c 61 6e 6b 3a 21 69 62 6c 6b |..x..blank:!iblk| 00000a00 25 3d 53 68 25 3a 69 62 6c 6b 25 21 34 3d 30 3a |%=Sh%:iblk%!4=0:| 00000a10 69 62 6c 6b 25 21 38 3d 2d 31 3a 69 62 6c 6b 25 |iblk%!8=-1:iblk%| 00000a20 21 31 32 3d 31 3a 69 62 6c 6b 25 21 31 36 3d 30 |!12=1:iblk%!16=0| 00000a30 3a 69 62 6c 6b 25 21 32 30 3d 31 3a 24 28 69 62 |:iblk%!20=1:$(ib| 00000a40 6c 6b 25 2b 32 34 29 3d 22 22 3a c8 99 22 57 69 |lk%+24)="":.."Wi| 00000a50 6d 70 5f 43 72 65 61 74 65 49 63 6f 6e 22 2c 2c |mp_CreateIcon",,| 00000a60 69 62 6c 6b 25 3a e1 0d 06 e0 32 dd f2 62 75 74 |iblk%:....2..but| 00000a70 74 6f 6e 73 3a 61 64 6a 25 3d 2d 31 3a e7 77 62 |tons:adj%=-1:.wb| 00000a80 6c 6b 25 21 31 32 3d 53 68 25 20 80 73 68 6f 77 |lk%!12=Sh% .show| 00000a90 25 f2 68 69 6e 74 28 30 29 0d 06 fe 0e c8 8e 77 |%.hint(0)......w| 00000aa0 62 6c 6b 25 21 38 ca 0d 07 08 16 c9 31 36 2c 36 |blk%!8......16,6| 00000ab0 34 3a c8 8e 77 62 6c 6b 25 21 31 32 ca 0d 07 1c |4:..wblk%!12....| 00000ac0 3d c9 72 65 70 6c 61 79 25 3a 21 77 62 6c 6b 25 |=.replay%:!wblk%| 00000ad0 3d 72 65 70 6c 61 79 25 3a 77 62 6c 6b 25 21 34 |=replay%:wblk%!4| 00000ae0 3d 31 3a c8 99 22 57 69 6d 70 5f 44 72 61 67 42 |=1:.."Wimp_DragB| 00000af0 6f 78 22 2c 2c 77 62 6c 6b 25 0d 07 26 10 c9 73 |ox",,wblk%..&..s| 00000b00 61 76 65 25 3a f2 64 72 61 67 0d 07 30 05 cb 0d |ave%:.drag..0...| 00000b10 07 3a 12 c9 34 3a c8 8e 77 62 6c 6b 25 21 31 32 |.:..4:..wblk%!12| 00000b20 ca 0d 07 4e 0e c9 53 68 25 3a f2 6d 6f 76 65 0d |...N..Sh%:.move.| 00000b30 07 58 18 c9 72 65 70 6c 61 79 25 3a c8 8e 77 62 |.X..replay%:..wb| 00000b40 6c 6b 25 21 31 36 ca 0d 07 6c 0c c9 31 3a f2 62 |lk%!16...l..1:.b| 00000b50 61 63 6b 0d 07 76 0f c9 32 3a f2 66 6f 72 77 61 |ack..v..2:.forwa| 00000b60 72 64 0d 07 80 1e c9 33 2c 34 2c 35 3a f2 63 6f |rd.....3,4,5:.co| 00000b70 6e 74 69 6e 75 65 28 77 62 6c 6b 25 21 31 36 29 |ntinue(wblk%!16)| 00000b80 0d 07 8a 05 cb 0d 07 94 1f c9 73 61 76 65 25 3a |..........save%:| 00000b90 e7 77 62 6c 6b 25 21 31 36 3d 32 f2 42 75 74 74 |.wblk%!16=2.Butt| 00000ba0 53 61 76 65 0d 07 9e 12 c9 2d 32 3a f2 6f 70 65 |Save.....-2:.ope| 00000bb0 6e 28 53 68 25 29 0d 07 a8 05 cb 0d 07 b2 12 c9 |n(Sh%)..........| 00000bc0 32 3a c8 8e 77 62 6c 6b 25 21 31 32 ca 0d 07 c6 |2:..wblk%!12....| 00000bd0 2a c9 53 68 25 3a e7 66 69 72 73 74 25 3e 30 f2 |*.Sh%:.first%>0.| 00000be0 74 6f 67 67 6c 65 28 66 69 72 73 74 25 29 3a 66 |toggle(first%):f| 00000bf0 69 72 73 74 25 3d 30 0d 07 da 69 21 68 6e 74 25 |irst%=0...i!hnt%| 00000c00 3d a4 66 69 6e 64 5f 68 69 6e 74 3a 3f 72 70 6c |=.find_hint:?rpl| 00000c10 79 25 3d 26 34 30 2a 2d 28 6d 6f 76 65 25 3d 30 |y%=&40*-(move%=0| 00000c20 29 3a c8 99 22 57 69 6d 70 5f 43 72 65 61 74 65 |):.."Wimp_Create| 00000c30 4d 65 6e 75 22 2c 2c 6d 65 6e 75 25 2b 38 30 2c |Menu",,menu%+80,| 00000c40 21 77 62 6c 6b 25 2d 36 34 2c 77 62 6c 6b 25 21 |!wblk%-64,wblk%!| 00000c50 34 3a 74 72 65 65 25 3d 6d 65 6e 75 25 2b 38 30 |4:tree%=menu%+80| 00000c60 0d 07 ee 3c c9 2d 32 3a c8 99 22 57 69 6d 70 5f |...<.-2:.."Wimp_| 00000c70 43 72 65 61 74 65 4d 65 6e 75 22 2c 2c 6d 65 6e |CreateMenu",,men| 00000c80 75 25 2c 21 77 62 6c 6b 25 2d 36 34 2c 31 38 30 |u%,!wblk%-64,180| 00000c90 3a 74 72 65 65 25 3d 6d 65 6e 75 25 0d 08 02 05 |:tree%=menu%....| 00000ca0 cb 0d 08 0c 12 c9 31 3a c8 8e 77 62 6c 6b 25 21 |......1:..wblk%!| 00000cb0 31 32 ca 0d 08 20 2a c9 53 68 25 3a e7 66 69 72 |12... *.Sh%:.fir| 00000cc0 73 74 25 3e 30 f2 74 6f 67 67 6c 65 28 66 69 72 |st%>0.toggle(fir| 00000cd0 73 74 25 29 3a 66 69 72 73 74 25 3d 30 0d 08 2a |st%):first%=0..*| 00000ce0 18 c9 72 65 70 6c 61 79 25 3a c8 8e 77 62 6c 6b |..replay%:..wblk| 00000cf0 25 21 31 36 ca 0d 08 3e 0f c9 31 3a f2 66 6f 72 |%!16...>..1:.for| 00000d00 77 61 72 64 0d 08 48 0c c9 32 3a f2 62 61 63 6b |ward..H..2:.back| 00000d10 0d 08 52 1e c9 33 2c 34 2c 35 3a f2 63 6f 6e 74 |..R..3,4,5:.cont| 00000d20 69 6e 75 65 28 77 62 6c 6b 25 21 31 36 29 0d 08 |inue(wblk%!16)..| 00000d30 5c 05 cb 0d 08 66 2a c9 73 61 76 65 25 3a e7 77 |\....f*.save%:.w| 00000d40 62 6c 6b 25 21 31 36 3d 32 61 64 6a 25 3d 74 72 |blk%!16=2adj%=tr| 00000d50 65 65 25 3a f2 42 75 74 74 53 61 76 65 0d 08 70 |ee%:.ButtSave..p| 00000d60 05 cb 0d 08 7a 07 cb 3a e1 0d 08 ac 45 dd f2 64 |....z..:....E..d| 00000d70 65 63 6f 64 65 3a c8 99 22 57 69 6d 70 5f 44 65 |ecode:.."Wimp_De| 00000d80 63 6f 64 65 4d 65 6e 75 22 2c 2c 74 72 65 65 25 |codeMenu",,tree%| 00000d90 2c 77 62 6c 6b 25 2c 77 62 6c 6b 25 2b 32 30 3a |,wblk%,wblk%+20:| 00000da0 c8 8e 24 28 77 62 6c 6b 25 2b 32 30 29 ca 0d 08 |..$(wblk%+20)...| 00000db0 ca 17 c9 22 4e 65 77 20 67 61 6d 65 22 3a f2 6e |..."New game":.n| 00000dc0 65 77 28 b9 29 0d 08 d4 1d c9 22 52 65 70 6c 61 |ew(.)....."Repla| 00000dd0 79 22 3a e7 73 68 6f 77 25 20 f2 68 69 6e 74 28 |y":.show% .hint(| 00000de0 30 29 0d 08 de 70 f2 73 74 61 74 75 73 28 72 65 |0)...p.status(re| 00000df0 70 6c 61 79 25 2c 38 2c 6d 6f 76 65 25 29 3a 4d |play%,8,move%):M| 00000e00 25 3d 6d 6f 76 65 25 3a f2 6f 70 65 6e 28 72 65 |%=move%:.open(re| 00000e10 70 6c 61 79 25 29 3a c8 97 c8 93 77 62 6c 6b 25 |play%):....wblk%| 00000e20 21 34 2c 77 62 6c 6b 25 21 38 2c 33 30 38 2c 32 |!4,wblk%!8,308,2| 00000e30 35 36 3a c8 99 22 4f 53 5f 42 79 74 65 22 2c 31 |56:.."OS_Byte",1| 00000e40 36 31 2c 31 39 37 b8 2c 2c 57 25 3a 72 65 70 25 |61,197.,,W%:rep%| 00000e50 3d b9 0d 09 10 1e c9 22 53 68 6f 77 20 6d 6f 76 |=......"Show mov| 00000e60 65 73 22 3a f2 68 69 6e 74 28 73 68 6f 77 25 29 |es":.hint(show%)| 00000e70 0d 09 1a 1a c9 22 52 75 6c 65 73 22 3a f2 6f 70 |....."Rules":.op| 00000e80 65 6e 28 72 75 6c 65 73 25 29 0d 09 24 13 c9 22 |en(rules%)..$.."| 00000e90 51 75 69 74 22 3a 71 75 69 74 25 3d b9 0d 09 2e |Quit":quit%=....| 00000ea0 67 cb 3a c8 99 22 57 69 6d 70 5f 47 65 74 50 6f |g.:.."Wimp_GetPo| 00000eb0 69 6e 74 65 72 49 6e 66 6f 22 2c 2c 77 62 6c 6b |interInfo",,wblk| 00000ec0 25 3a e7 77 62 6c 6b 25 21 38 3d 31 20 80 ac 72 |%:.wblk%!8=1 ..r| 00000ed0 65 70 25 20 3f 72 70 6c 79 25 3d 26 34 30 2a 2d |ep% ?rply%=&40*-| 00000ee0 28 6d 6f 76 65 25 3d 30 29 3a c8 99 22 57 69 6d |(move%=0):.."Wim| 00000ef0 70 5f 43 72 65 61 74 65 4d 65 6e 75 22 2c 2c 74 |p_CreateMenu",,t| 00000f00 72 65 65 25 0d 09 4c 05 e1 0d 09 92 15 dd f2 6d |ree%..L........m| 00000f10 6f 76 65 3a e7 66 69 72 73 74 25 3c 31 8c 0d 09 |ove:.first%<1...| 00000f20 a6 2a 66 69 72 73 74 25 3d a4 76 61 6c 69 64 3a |.*first%=.valid:| 00000f30 e7 66 69 72 73 74 25 3e 30 f2 74 6f 67 67 6c 65 |.first%>0.toggle| 00000f40 28 66 69 72 73 74 25 29 0d 09 b0 46 cc 3a 73 65 |(first%)...F.:se| 00000f50 63 6f 6e 64 25 3d a4 76 61 6c 69 64 3a e7 73 65 |cond%=.valid:.se| 00000f60 63 6f 6e 64 25 3d 66 69 72 73 74 25 f2 74 6f 67 |cond%=first%.tog| 00000f70 67 6c 65 28 66 69 72 73 74 25 29 3a 66 69 72 73 |gle(first%):firs| 00000f80 74 25 3d 30 3a 73 65 63 6f 6e 64 25 3d 30 0d 09 |t%=0:second%=0..| 00000f90 c4 3f e7 53 25 28 73 65 63 6f 6e 64 25 2c 30 29 |.?.S%(second%,0)| 00000fa0 3e 30 80 53 25 28 73 65 63 6f 6e 64 25 2c 30 29 |>0.S%(second%,0)| 00000fb0 3c 35 80 53 25 28 66 69 72 73 74 25 2c 30 29 3e |<5.S%(first%,0)>| 00000fc0 34 ef 37 3a 73 65 63 6f 6e 64 25 3d 30 0d 09 ce |4.7:second%=0...| 00000fd0 50 e7 53 25 28 73 65 63 6f 6e 64 25 2c 30 29 3e |P.S%(second%,0)>| 00000fe0 34 80 53 25 28 73 65 63 6f 6e 64 25 2c 30 29 3c |4.S%(second%,0)<| 00000ff0 39 80 28 53 25 28 66 69 72 73 74 25 2c 30 29 3c |9.(S%(first%,0)<| 00001000 35 84 53 25 28 66 69 72 73 74 25 2c 30 29 3e 38 |5.S%(first%,0)>8| 00001010 29 ef 37 3a 73 65 63 6f 6e 64 25 3d 30 0d 09 d8 |).7:second%=0...| 00001020 3c e7 53 25 28 73 65 63 6f 6e 64 25 2c 30 29 3e |<.S%(second%,0)>| 00001030 38 80 53 25 28 73 65 63 6f 6e 64 25 2c 30 29 3c |8.S%(second%,0)<| 00001040 3e 53 25 28 66 69 72 73 74 25 2c 30 29 ef 37 3a |>S%(first%,0).7:| 00001050 73 65 63 6f 6e 64 25 3d 30 0d 09 e2 7b e7 73 65 |second%=0...{.se| 00001060 63 6f 6e 64 25 3e 30 f2 64 65 6c 65 74 65 28 66 |cond%>0.delete(f| 00001070 69 72 73 74 25 29 3a f2 64 65 6c 65 74 65 28 73 |irst%):.delete(s| 00001080 65 63 6f 6e 64 25 29 3a 74 69 6c 65 73 25 2d 3d |econd%):tiles%-=| 00001090 32 3a 4d 25 28 6d 6f 76 65 25 2c 30 29 3d 66 69 |2:M%(move%,0)=fi| 000010a0 72 73 74 25 3a 4d 25 28 6d 6f 76 65 25 2c 31 29 |rst%:M%(move%,1)| 000010b0 3d 73 65 63 6f 6e 64 25 3a 6d 6f 76 65 25 2b 3d |=second%:move%+=| 000010c0 31 3a 66 69 72 73 74 25 3d 30 3a 73 65 63 6f 6e |1:first%=0:secon| 000010d0 64 25 3d 30 0d 09 ec 07 cd 3a e1 0d 0a 32 21 dd |d%=0.....:...2!.| 000010e0 a4 76 61 6c 69 64 3a 69 25 3d 77 62 6c 6b 25 21 |.valid:i%=wblk%!| 000010f0 31 36 3a e7 69 25 3c 30 69 25 3d 30 0d 0a 50 31 |16:.i%<0i%=0..P1| 00001100 e7 69 25 3d 33 32 80 53 25 28 33 31 2c 30 29 3e |.i%=32.S%(31,0)>| 00001110 30 80 28 53 25 28 33 33 2c 30 29 3e 30 84 53 25 |0.(S%(33,0)>0.S%| 00001120 28 34 35 2c 30 29 3e 30 29 69 25 3d 30 0d 0a 5a |(45,0)>0)i%=0..Z| 00001130 3d e7 53 25 28 53 25 28 69 25 2c 33 29 2c 30 29 |=.S%(S%(i%,3),0)| 00001140 3e 30 84 28 53 25 28 53 25 28 69 25 2c 34 29 2c |>0.(S%(S%(i%,4),| 00001150 30 29 3e 30 80 53 25 28 53 25 28 69 25 2c 35 29 |0)>0.S%(S%(i%,5)| 00001160 2c 30 29 3e 30 29 69 25 3d 30 0d 0a 64 0b e7 69 |,0)>0)i%=0..d..i| 00001170 25 3d 30 ef 37 0d 0a 6e 07 3d 69 25 0d 0a 96 61 |%=0.7..n.=i%...a| 00001180 dd f2 74 6f 67 67 6c 65 28 69 25 29 3a 21 69 62 |..toggle(i%):!ib| 00001190 6c 6b 25 3d 53 68 25 3a 69 62 6c 6b 25 21 34 3d |lk%=Sh%:iblk%!4=| 000011a0 69 25 3a 69 62 6c 6b 25 21 38 3d 26 32 32 30 30 |i%:iblk%!8=&2200| 000011b0 30 30 30 3a 69 62 6c 6b 25 21 31 32 3d 30 3a c8 |000:iblk%!12=0:.| 000011c0 99 22 57 69 6d 70 5f 53 65 74 49 63 6f 6e 53 74 |."Wimp_SetIconSt| 000011d0 61 74 65 22 2c 2c 69 62 6c 6b 25 3a e1 0d 0a dc |ate",,iblk%:....| 000011e0 9b dd f2 64 65 6c 65 74 65 28 69 25 29 3a 21 69 |...delete(i%):!i| 000011f0 62 6c 6b 25 3d 53 68 25 3a 69 62 6c 6b 25 21 34 |blk%=Sh%:iblk%!4| 00001200 3d 69 25 3a c8 99 22 57 69 6d 70 5f 44 65 6c 65 |=i%:.."Wimp_Dele| 00001210 74 65 49 63 6f 6e 22 2c 2c 69 62 6c 6b 25 3a c8 |teIcon",,iblk%:.| 00001220 99 22 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 |."Wimp_ForceRedr| 00001230 61 77 22 2c 53 68 25 2c 53 25 28 69 25 2c 31 29 |aw",Sh%,S%(i%,1)| 00001240 2c 2d 53 25 28 69 25 2c 32 29 2c 53 25 28 69 25 |,-S%(i%,2),S%(i%| 00001250 2c 31 29 2b 39 36 2c 2d 53 25 28 69 25 2c 32 29 |,1)+96,-S%(i%,2)| 00001260 2b 39 36 3a 53 25 28 69 25 2c 30 29 3d 2d 53 25 |+96:S%(i%,0)=-S%| 00001270 28 69 25 2c 30 29 3a e1 0d 0b 36 90 dd f2 69 63 |(i%,0):...6...ic| 00001280 6f 6e 28 77 25 2c 69 24 2c 78 25 2c 79 25 29 3a |on(w%,i$,x%,y%):| 00001290 21 69 62 6c 6b 25 3d 77 25 3a 69 62 6c 6b 25 21 |!iblk%=w%:iblk%!| 000012a0 34 3d 78 25 3a 69 62 6c 6b 25 21 38 3d 79 25 3a |4=x%:iblk%!8=y%:| 000012b0 69 62 6c 6b 25 21 31 32 3d 78 25 2b 39 36 3a 69 |iblk%!12=x%+96:i| 000012c0 62 6c 6b 25 21 31 36 3d 79 25 2b 39 36 3a 69 62 |blk%!16=y%+96:ib| 000012d0 6c 6b 25 21 32 30 3d 26 33 30 30 32 3a 24 28 69 |lk%!20=&3002:$(i| 000012e0 62 6c 6b 25 2b 32 34 29 3d 69 24 3a c8 99 22 57 |blk%+24)=i$:.."W| 000012f0 69 6d 70 5f 43 72 65 61 74 65 49 63 6f 6e 22 2c |imp_CreateIcon",| 00001300 2c 69 62 6c 6b 25 3a e1 0d 0b 90 a1 dd f2 73 74 |,iblk%:.......st| 00001310 61 74 75 73 28 77 25 2c 69 25 2c 78 25 29 3a 21 |atus(w%,i%,x%):!| 00001320 69 62 6c 6b 25 3d 77 25 3a 69 62 6c 6b 25 21 34 |iblk%=w%:iblk%!4| 00001330 3d 69 25 3a c8 99 22 57 69 6d 70 5f 47 65 74 49 |=i%:.."Wimp_GetI| 00001340 63 6f 6e 53 74 61 74 65 22 2c 2c 69 62 6c 6b 25 |conState",,iblk%| 00001350 3a c8 99 22 57 69 6d 70 5f 44 65 6c 65 74 65 49 |:.."Wimp_DeleteI| 00001360 63 6f 6e 22 2c 2c 69 62 6c 6b 25 3a 24 28 69 62 |con",,iblk%:$(ib| 00001370 6c 6b 25 2b 32 38 29 3d c3 78 25 3a 69 62 6c 6b |lk%+28)=.x%:iblk| 00001380 25 21 34 3d 21 69 62 6c 6b 25 3a c8 99 22 57 69 |%!4=!iblk%:.."Wi| 00001390 6d 70 5f 43 72 65 61 74 65 49 63 6f 6e 22 2c 2c |mp_CreateIcon",,| 000013a0 69 62 6c 6b 25 2b 34 3a e1 0d 0b f4 45 dd f2 64 |iblk%+4:....E..d| 000013b0 65 61 6c 28 69 25 29 3a e7 69 25 20 52 25 3d b3 |eal(i%):.i% R%=.| 000013c0 28 2d 91 29 3a e3 49 25 3d 31 b8 31 34 34 3a 52 |(-.):.I%=1.144:R| 000013d0 25 3d b3 28 31 34 34 29 3a c8 94 53 25 28 49 25 |%=.(144):..S%(I%| 000013e0 2c 30 29 2c 53 25 28 52 25 2c 30 29 3a ed 0d 0c |,0),S%(R%,0):...| 000013f0 3a 4b e3 49 25 3d 31 b8 31 34 34 3a f2 69 63 6f |:K.I%=1.144:.ico| 00001400 6e 28 53 68 25 2c c3 53 25 28 49 25 2c 30 29 2c |n(Sh%,.S%(I%,0),| 00001410 53 25 28 49 25 2c 31 29 2c 2d 53 25 28 49 25 2c |S%(I%,1),-S%(I%,| 00001420 32 29 29 3a ed 3a e7 6e 65 77 25 20 f2 62 6c 61 |2)):.:.new% .bla| 00001430 6e 6b 3a 6e 65 77 25 3d a3 0d 0c 62 2b 74 69 6c |nk:new%=...b+til| 00001440 65 73 25 3d 31 34 34 3a 66 69 72 73 74 25 3d 30 |es%=144:first%=0| 00001450 3a 73 65 63 6f 6e 64 25 3d 30 3a 73 68 6f 77 25 |:second%=0:show%| 00001460 3d a3 3a e1 0d 0c 9e 6f dd f2 6e 65 77 28 69 25 |=.:....o..new(i%| 00001470 29 3a c8 99 22 48 6f 75 72 67 6c 61 73 73 5f 4f |):.."Hourglass_O| 00001480 6e 22 3a e7 69 25 20 f5 24 66 69 6c 65 25 3d c0 |n":.i% .$file%=.| 00001490 24 66 69 6c 65 25 2c a9 24 66 69 6c 65 25 2d 31 |$file%,.$file%-1| 000014a0 29 3a fd 24 66 69 6c 65 25 3d 22 22 84 c2 24 66 |):.$file%=""..$f| 000014b0 69 6c 65 25 29 3d 22 2e 22 3a 24 66 69 6c 65 25 |ile%)=".":$file%| 000014c0 3d 24 66 69 6c 65 25 2b 22 47 61 6d 65 5f 46 69 |=$file%+"Game_Fi| 000014d0 6c 65 22 0d 0c bc 61 e3 49 25 3d 31 34 34 b8 31 |le"...a.I%=144.1| 000014e0 88 2d 31 3a e7 53 25 28 49 25 2c 30 29 3e 30 20 |.-1:.S%(I%,0)>0 | 000014f0 21 69 62 6c 6b 25 3d 53 68 25 3a 69 62 6c 6b 25 |!iblk%=Sh%:iblk%| 00001500 21 34 3d 49 25 3a c8 99 22 57 69 6d 70 5f 44 65 |!4=I%:.."Wimp_De| 00001510 6c 65 74 65 49 63 6f 6e 22 2c 2c 69 62 6c 6b 25 |leteIcon",,iblk%| 00001520 20 8b 53 25 28 49 25 2c 30 29 3d 94 53 25 28 49 | .S%(I%,0)=.S%(I| 00001530 25 2c 30 29 0d 0c d0 65 ed 3a f2 64 65 61 6c 28 |%,0)...e.:.deal(| 00001540 69 25 29 3a 21 68 6e 74 25 3d a4 66 69 6e 64 5f |i%):!hnt%=.find_| 00001550 68 69 6e 74 3a 6d 6f 76 65 25 3d 30 3a c8 99 22 |hint:move%=0:.."| 00001560 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 |Wimp_ForceRedraw| 00001570 22 2c 53 68 25 2c 32 2c 2d 37 31 38 2c 31 32 37 |",Sh%,2,-718,127| 00001580 34 2c 2d 33 34 3a c8 99 22 48 6f 75 72 67 6c 61 |4,-34:.."Hourgla| 00001590 73 73 5f 4f 66 66 22 3a e1 0d 0d 3e 3e dd a4 66 |ss_Off":...>>..f| 000015a0 69 6e 64 5f 68 69 6e 74 3a 48 25 28 29 3d 30 3a |ind_hint:H%()=0:| 000015b0 6d 6f 76 65 73 25 3d 30 3a 73 68 6f 77 25 3d a3 |moves%=0:show%=.| 000015c0 3a e3 49 25 3d 31 b8 31 34 34 3a e7 53 25 28 49 |:.I%=1.144:.S%(I| 000015d0 25 2c 30 29 3e 30 8c 0d 0d 66 3d 4a 25 3d 53 25 |%,0)>0...f=J%=S%| 000015e0 28 49 25 2c 30 29 3a e7 49 25 3d 33 32 80 53 25 |(I%,0):.I%=32.S%| 000015f0 28 33 31 2c 30 29 3e 30 80 28 53 25 28 33 33 2c |(31,0)>0.(S%(33,| 00001600 30 29 3e 30 84 53 25 28 34 35 2c 30 29 3e 30 29 |0)>0.S%(45,0)>0)| 00001610 4a 25 3d 30 0d 0d 7a 3d e7 53 25 28 53 25 28 49 |J%=0..z=.S%(S%(I| 00001620 25 2c 33 29 2c 30 29 3e 30 84 28 53 25 28 53 25 |%,3),0)>0.(S%(S%| 00001630 28 49 25 2c 34 29 2c 30 29 3e 30 80 53 25 28 53 |(I%,4),0)>0.S%(S| 00001640 25 28 49 25 2c 35 29 2c 30 29 3e 30 29 4a 25 3d |%(I%,5),0)>0)J%=| 00001650 30 0d 0d 84 0a e7 4a 25 3e 30 8c 0d 0d 8e 0d e7 |0.....J%>0......| 00001660 4a 25 3c 35 4a 25 3d 30 0d 0d 98 12 e7 4a 25 3e |J%<5J%=0.....J%>| 00001670 34 80 4a 25 3c 39 4a 25 3d 31 0d 0d a2 0e e7 4a |4.J%<9J%=1.....J| 00001680 25 3e 38 4a 25 2d 3d 37 0d 0d ac 35 4c 25 3d 2d |%>8J%-=7...5L%=-| 00001690 31 3a f5 4c 25 2b 3d 31 3a fd 48 25 28 4a 25 2c |1:.L%+=1:.H%(J%,| 000016a0 4c 25 29 3d 30 3a 48 25 28 4a 25 2c 4c 25 29 3d |L%)=0:H%(J%,L%)=| 000016b0 49 25 3a 6d 6f 76 65 73 25 2b 3d 4c 25 0d 0d b6 |I%:moves%+=L%...| 000016c0 05 cd 0d 0d c0 84 cd 3a ed 3a 4c 25 3d 2d 31 3a |.......:.:L%=-1:| 000016d0 f5 4c 25 2b 3d 31 3a fd 48 25 28 4c 25 2c 31 29 |.L%+=1:.H%(L%,1)| 000016e0 3e 30 84 4c 25 3d 33 35 3a f2 73 74 61 74 75 73 |>0.L%=35:.status| 000016f0 28 73 74 61 74 75 73 25 2c 33 2c 6d 6f 76 65 73 |(status%,3,moves| 00001700 25 29 3a f2 73 74 61 74 75 73 28 73 74 61 74 75 |%):.status(statu| 00001710 73 25 2c 32 2c 74 69 6c 65 73 25 29 3a e7 48 25 |s%,2,tiles%):.H%| 00001720 28 4c 25 2c 31 29 3e 30 68 69 6e 74 25 3d 4c 25 |(L%,1)>0hint%=L%| 00001730 3a 3d 26 37 30 30 30 30 32 31 20 8b 20 3d 26 37 |:=&7000021 . =&7| 00001740 34 30 30 30 32 31 0d 0e 1a 20 dd f2 68 69 6e 74 |400021... ..hint| 00001750 28 69 25 29 3a e7 ac 69 25 20 73 68 6f 77 25 3d |(i%):..i% show%=| 00001760 ac 73 68 6f 77 25 0d 0e 2e 30 e3 49 25 3d 30 b8 |.show%...0.I%=0.| 00001770 33 3a e7 48 25 28 68 69 6e 74 25 2c 49 25 29 3e |3:.H%(hint%,I%)>| 00001780 30 f2 74 6f 67 67 6c 65 28 48 25 28 68 69 6e 74 |0.toggle(H%(hint| 00001790 25 2c 49 25 29 29 0d 0e 38 0a ed 3a e7 69 25 8c |%,I%))..8..:.i%.| 000017a0 0d 0e 4c 1e 4c 25 3d 68 69 6e 74 25 3a f5 4c 25 |..L.L%=hint%:.L%| 000017b0 2b 3d 31 3a e7 4c 25 3d 33 36 4c 25 3d 30 0d 0e |+=1:.L%=36L%=0..| 000017c0 56 45 fd 48 25 28 4c 25 2c 31 29 3e 30 3a 68 69 |VE.H%(L%,1)>0:hi| 000017d0 6e 74 25 3d 4c 25 3a e3 49 25 3d 30 b8 33 3a e7 |nt%=L%:.I%=0.3:.| 000017e0 48 25 28 68 69 6e 74 25 2c 49 25 29 3e 30 f2 74 |H%(hint%,I%)>0.t| 000017f0 6f 67 67 6c 65 28 48 25 28 68 69 6e 74 25 2c 49 |oggle(H%(hint%,I| 00001800 25 29 29 0d 0e 6a 05 ed 0d 0e 74 07 cd 3a e1 0d |%))..j....t..:..| 00001810 0e a6 11 dd f2 62 61 63 6b 3a e7 4d 25 3e 30 8c |.....back:.M%>0.| 00001820 0d 0e ba aa 4d 25 2d 3d 31 3a e3 49 25 3d 30 b8 |....M%-=1:.I%=0.| 00001830 31 3a 21 69 62 6c 6b 25 3d 53 68 25 3a 69 62 6c |1:!iblk%=Sh%:ibl| 00001840 6b 25 21 34 3d 4d 25 28 4d 25 2c 49 25 29 3a 69 |k%!4=M%(M%,I%):i| 00001850 62 6c 6b 25 21 38 3d 30 3a 69 62 6c 6b 25 21 31 |blk%!8=0:iblk%!1| 00001860 32 3d 26 32 41 30 30 30 30 30 3a c8 99 22 57 69 |2=&2A00000:.."Wi| 00001870 6d 70 5f 53 65 74 49 63 6f 6e 53 74 61 74 65 22 |mp_SetIconState"| 00001880 2c 2c 69 62 6c 6b 25 3a 53 25 28 4d 25 28 4d 25 |,,iblk%:S%(M%(M%| 00001890 2c 49 25 29 2c 30 29 3d 2d 53 25 28 4d 25 28 4d |,I%),0)=-S%(M%(M| 000018a0 25 2c 49 25 29 2c 30 29 3a ed 3a 74 69 6c 65 73 |%,I%),0):.:tiles| 000018b0 25 2b 3d 32 3a f2 73 74 61 74 75 73 28 72 65 70 |%+=2:.status(rep| 000018c0 6c 61 79 25 2c 38 2c 4d 25 29 0d 0e ec 4b c8 99 |lay%,8,M%)...K..| 000018d0 22 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 |"Wimp_ForceRedra| 000018e0 77 22 2c 72 65 70 6c 61 79 25 2c 69 62 6c 6b 25 |w",replay%,iblk%| 000018f0 21 38 2b 34 2c 69 62 6c 6b 25 21 31 32 2b 34 2c |!8+4,iblk%!12+4,| 00001900 69 62 6c 6b 25 21 31 36 2d 34 2c 69 62 6c 6b 25 |iblk%!16-4,iblk%| 00001910 21 32 30 2d 34 0d 0e f6 07 cc ef 37 0d 0f 00 07 |!20-4......7....| 00001920 cd 3a e1 0d 0f 32 a5 dd f2 66 6f 72 77 61 72 64 |.:...2...forward| 00001930 3a e7 4d 25 3c 6d 6f 76 65 25 e3 49 25 3d 30 b8 |:.M%<move%.I%=0.| 00001940 31 3a f2 64 65 6c 65 74 65 28 4d 25 28 4d 25 2c |1:.delete(M%(M%,| 00001950 49 25 29 29 3a ed 3a 74 69 6c 65 73 25 2d 3d 32 |I%)):.:tiles%-=2| 00001960 3a 4d 25 2b 3d 31 3a f2 73 74 61 74 75 73 28 72 |:M%+=1:.status(r| 00001970 65 70 6c 61 79 25 2c 38 2c 4d 25 29 3a c8 99 22 |eplay%,8,M%):.."| 00001980 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 |Wimp_ForceRedraw| 00001990 22 2c 72 65 70 6c 61 79 25 2c 69 62 6c 6b 25 21 |",replay%,iblk%!| 000019a0 38 2b 34 2c 69 62 6c 6b 25 21 31 32 2b 34 2c 69 |8+4,iblk%!12+4,i| 000019b0 62 6c 6b 25 21 31 36 2d 34 2c 69 62 6c 6b 25 21 |blk%!16-4,iblk%!| 000019c0 32 30 2d 34 20 8b ef 37 0d 0f 5a 05 e1 0d 0f 8c |20-4 ..7..Z.....| 000019d0 18 dd f2 63 6f 6e 74 69 6e 75 65 28 49 25 29 3a |...continue(I%):| 000019e0 c8 8e 49 25 ca 0d 0f a0 1c c9 33 3a e7 4d 25 3d |..I%......3:.M%=| 000019f0 30 6d 6f 76 65 25 3d 30 20 8b f2 6e 65 77 28 a3 |0move%=0 ..new(.| 00001a00 29 0d 0f aa 0f c9 34 3a 6d 6f 76 65 25 3d 4d 25 |).....4:move%=M%| 00001a10 0d 0f b4 45 c9 35 3a e7 4d 25 3c 6d 6f 76 65 25 |...E.5:.M%<move%| 00001a20 f2 70 6c 61 79 5f 6f 6e 28 4d 25 29 3a c8 99 22 |.play_on(M%):.."| 00001a30 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 |Wimp_ForceRedraw| 00001a40 22 2c 53 68 25 2c 32 2c 2d 37 31 38 2c 31 32 37 |",Sh%,2,-718,127| 00001a50 34 2c 2d 33 34 0d 0f c8 4b cb 3a 21 70 62 6c 6b |4,-34...K.:!pblk| 00001a60 25 3d 72 65 70 6c 61 79 25 3a c8 97 c8 93 30 2c |%=replay%:....0,| 00001a70 30 2c 31 32 37 39 2c 31 30 32 33 3a c8 99 22 57 |0,1279,1023:.."W| 00001a80 69 6d 70 5f 43 6c 6f 73 65 57 69 6e 64 6f 77 22 |imp_CloseWindow"| 00001a90 2c 2c 70 62 6c 6b 25 3a 72 65 70 25 3d a3 3a e1 |,,pblk%:rep%=.:.| 00001aa0 0d 10 18 9a dd f2 70 6c 61 79 5f 6f 6e 28 4d 25 |......play_on(M%| 00001ab0 29 3a e3 49 25 3d 4d 25 b8 6d 6f 76 65 25 2d 31 |):.I%=M%.move%-1| 00001ac0 3a e3 4a 25 3d 30 b8 31 3a 21 69 62 6c 6b 25 3d |:.J%=0.1:!iblk%=| 00001ad0 53 68 25 3a 69 62 6c 6b 25 21 34 3d 4d 25 28 49 |Sh%:iblk%!4=M%(I| 00001ae0 25 2c 4a 25 29 3a c8 99 22 57 69 6d 70 5f 44 65 |%,J%):.."Wimp_De| 00001af0 6c 65 74 65 49 63 6f 6e 22 2c 2c 69 62 6c 6b 25 |leteIcon",,iblk%| 00001b00 3a 53 25 28 4d 25 28 49 25 2c 4a 25 29 2c 30 29 |:S%(M%(I%,J%),0)| 00001b10 3d 2d 53 25 28 4d 25 28 49 25 2c 4a 25 29 2c 30 |=-S%(M%(I%,J%),0| 00001b20 29 3a ed 3a ed 3a 74 69 6c 65 73 25 3d 31 34 34 |):.:.:tiles%=144| 00001b30 2d 32 2a 6d 6f 76 65 25 3a e1 0d 10 a4 d1 dd f2 |-2*move%:.......| 00001b40 6c 6f 61 64 3a c8 99 22 48 6f 75 72 67 6c 61 73 |load:.."Hourglas| 00001b50 73 5f 4f 6e 22 3a 77 62 6c 6b 25 21 31 32 3d 77 |s_On":wblk%!12=w| 00001b60 62 6c 6b 25 21 38 3a 77 62 6c 6b 25 21 31 36 3d |blk%!8:wblk%!16=| 00001b70 34 3a 21 77 62 6c 6b 25 3d 36 34 3a c8 99 22 57 |4:!wblk%=64:.."W| 00001b80 69 6d 70 5f 53 65 6e 64 4d 65 73 73 61 67 65 22 |imp_SendMessage"| 00001b90 2c 31 37 2c 77 62 6c 6b 25 2c 77 62 6c 6b 25 21 |,17,wblk%,wblk%!| 00001ba0 34 3a 70 61 74 68 24 3d 22 22 3a 61 25 3d 30 3a |4:path$="":a%=0:| 00001bb0 62 25 3d 77 62 6c 6b 25 3f 34 34 3a c8 95 62 25 |b%=wblk%?44:..b%| 00001bc0 3c 3e 30 80 62 25 3c 3e 31 33 3a 70 61 74 68 24 |<>0.b%<>13:path$| 00001bd0 2b 3d bd 62 25 3a 61 25 2b 3d 31 3a 62 25 3d 77 |+=.b%:a%+=1:b%=w| 00001be0 62 6c 6b 25 3f 28 34 34 2b 61 25 29 3a ce 3a f2 |blk%?(44+a%):.:.| 00001bf0 72 65 61 64 28 b9 29 3a c8 99 22 48 6f 75 72 67 |read(.):.."Hourg| 00001c00 6c 61 73 73 5f 4f 66 66 22 3a e1 0d 11 4e 13 dd |lass_Off":...N..| 00001c10 f2 72 65 61 64 28 69 25 29 3a e7 69 25 8c 0d 11 |.read(i%):.i%...| 00001c20 62 4d e3 49 25 3d 31 34 34 b8 31 88 2d 31 3a e7 |bM.I%=144.1.-1:.| 00001c30 53 25 28 49 25 2c 30 29 3e 30 20 21 69 62 6c 6b |S%(I%,0)>0 !iblk| 00001c40 25 3d 53 68 25 3a 69 62 6c 6b 25 21 34 3d 49 25 |%=Sh%:iblk%!4=I%| 00001c50 3a c8 99 22 57 69 6d 70 5f 44 65 6c 65 74 65 49 |:.."Wimp_DeleteI| 00001c60 63 6f 6e 22 2c 2c 69 62 6c 6b 25 0d 11 76 05 ed |con",,iblk%..v..| 00001c70 0d 11 80 7d cd 3a 46 25 3d 8e 70 61 74 68 24 3a |...}.:F%=.path$:| 00001c80 e3 49 25 3d 31 b8 31 34 34 3a e8 23 46 25 2c 53 |.I%=1.144:.#F%,S| 00001c90 25 28 49 25 2c 30 29 3a ed 3a e3 49 25 3d 30 b8 |%(I%,0):.:.I%=0.| 00001ca0 37 31 3a e8 23 46 25 2c 4d 25 28 49 25 2c 30 29 |71:.#F%,M%(I%,0)| 00001cb0 2c 4d 25 28 49 25 2c 31 29 3a ed 3a e8 23 46 25 |,M%(I%,1):.:.#F%| 00001cc0 2c 6d 6f 76 65 25 3a d9 23 46 25 3a 46 25 3d 30 |,move%:.#F%:F%=0| 00001cd0 3a f2 64 65 61 6c 28 a3 29 3a e7 6d 6f 76 65 25 |:.deal(.):.move%| 00001ce0 3e 30 f2 70 6c 61 79 5f 6f 6e 28 30 29 0d 11 c6 |>0.play_on(0)...| 00001cf0 81 21 68 6e 74 25 3d a4 66 69 6e 64 5f 68 69 6e |.!hnt%=.find_hin| 00001d00 74 3a c8 99 22 57 69 6d 70 5f 46 6f 72 63 65 52 |t:.."Wimp_ForceR| 00001d10 65 64 72 61 77 22 2c 53 68 25 2c 32 2c 2d 37 31 |edraw",Sh%,2,-71| 00001d20 38 2c 31 32 37 34 2c 2d 33 34 3a c8 99 22 57 69 |8,1274,-34:.."Wi| 00001d30 6d 70 5f 47 65 74 50 6f 69 6e 74 65 72 49 6e 66 |mp_GetPointerInf| 00001d40 6f 22 2c 2c 70 62 6c 6b 25 3a e7 70 62 6c 6b 25 |o",,pblk%:.pblk%| 00001d50 21 31 32 3c 3e 53 68 25 20 21 77 62 6c 6b 25 3d |!12<>Sh% !wblk%=| 00001d60 53 68 25 3a f2 6f 70 65 6e 28 53 68 25 29 0d 11 |Sh%:.open(Sh%)..| 00001d70 e4 12 24 66 69 6c 65 25 3d 70 61 74 68 24 3a e1 |..$file%=path$:.| 00001d80 0d 12 20 3e dd a4 6b 65 79 3a 72 25 3d 28 21 77 |.. >..key:r%=(!w| 00001d90 62 6c 6b 25 3d 73 61 76 65 25 20 80 77 62 6c 6b |blk%=save% .wblk| 00001da0 25 21 32 34 3d 31 33 29 3a e7 72 25 20 61 64 6a |%!24=13):.r% adj| 00001db0 25 3d 2d 31 3a f2 42 75 74 74 53 61 76 65 0d 12 |%=-1:.ButtSave..| 00001dc0 3e 07 3d 72 25 0d 12 66 20 dd f2 64 72 61 67 3a |>.=r%..f ..drag:| 00001dd0 e7 77 62 6c 6b 25 21 38 3d 31 36 61 64 6a 25 3d |.wblk%!8=16adj%=| 00001de0 74 72 65 65 25 0d 12 7a e5 21 77 62 6c 6b 25 3d |tree%..z.!wblk%=| 00001df0 73 61 76 65 25 3a c8 99 22 57 69 6d 70 5f 47 65 |save%:.."Wimp_Ge| 00001e00 74 57 69 6e 64 6f 77 53 74 61 74 65 22 2c 2c 77 |tWindowState",,w| 00001e10 62 6c 6b 25 3a 6f 78 25 3d 77 62 6c 6b 25 21 34 |blk%:ox%=wblk%!4| 00001e20 2d 77 62 6c 6b 25 21 32 30 3a 6f 79 25 3d 77 62 |-wblk%!20:oy%=wb| 00001e30 6c 6b 25 21 31 36 2d 77 62 6c 6b 25 21 32 34 3a |lk%!16-wblk%!24:| 00001e40 77 62 6c 6b 25 21 34 3d 30 3a c8 99 22 57 69 6d |wblk%!4=0:.."Wim| 00001e50 70 5f 47 65 74 49 63 6f 6e 53 74 61 74 65 22 2c |p_GetIconState",| 00001e60 2c 77 62 6c 6b 25 3a 21 77 62 6c 6b 25 3d 73 61 |,wblk%:!wblk%=sa| 00001e70 76 65 25 3a 77 62 6c 6b 25 21 34 3d 35 3a 77 62 |ve%:wblk%!4=5:wb| 00001e80 6c 6b 25 21 38 2b 3d 6f 78 25 3a 77 62 6c 6b 25 |lk%!8+=ox%:wblk%| 00001e90 21 31 32 2b 3d 6f 79 25 3a 77 62 6c 6b 25 21 31 |!12+=oy%:wblk%!1| 00001ea0 36 2b 3d 6f 78 25 3a 77 62 6c 6b 25 21 32 30 2b |6+=ox%:wblk%!20+| 00001eb0 3d 6f 79 25 3a 77 62 6c 6b 25 21 32 34 3d 30 3a |=oy%:wblk%!24=0:| 00001ec0 77 62 6c 6b 25 21 32 38 3d 30 0d 12 ac 43 77 62 |wblk%!28=0...Cwb| 00001ed0 6c 6b 25 21 33 32 3d 26 37 46 46 46 46 46 46 46 |lk%!32=&7FFFFFFF| 00001ee0 3a 77 62 6c 6b 25 21 33 36 3d 26 37 46 46 46 46 |:wblk%!36=&7FFFF| 00001ef0 46 46 46 3a c8 99 22 57 69 6d 70 5f 44 72 61 67 |FFF:.."Wimp_Drag| 00001f00 42 6f 78 22 2c 2c 77 62 6c 6b 25 3a e1 0d 12 f2 |Box",,wblk%:....| 00001f10 cb dd f2 44 72 61 67 53 61 76 65 3a c8 99 22 57 |...DragSave:.."W| 00001f20 69 6d 70 5f 47 65 74 50 6f 69 6e 74 65 72 49 6e |imp_GetPointerIn| 00001f30 66 6f 22 2c 2c 77 62 6c 6b 25 3a 77 62 6c 6b 25 |fo",,wblk%:wblk%| 00001f40 21 32 30 3d 77 62 6c 6b 25 21 31 32 3a 77 62 6c |!20=wblk%!12:wbl| 00001f50 6b 25 21 32 34 3d 77 62 6c 6b 25 21 31 36 3a 77 |k%!24=wblk%!16:w| 00001f60 62 6c 6b 25 21 32 38 3d 77 62 6c 6b 25 21 30 3a |blk%!28=wblk%!0:| 00001f70 77 62 6c 6b 25 21 33 32 3d 77 62 6c 6b 25 21 34 |wblk%!32=wblk%!4| 00001f80 3a 77 62 6c 6b 25 21 33 36 3d 26 35 41 35 3a 77 |:wblk%!36=&5A5:w| 00001f90 62 6c 6b 25 21 30 3d 36 34 3a 77 62 6c 6b 25 21 |blk%!0=64:wblk%!| 00001fa0 31 32 3d 30 3a 77 62 6c 6b 25 21 31 36 3d 31 3a |12=0:wblk%!16=1:| 00001fb0 77 62 6c 6b 25 21 34 30 3d 26 30 30 30 3a 6c 65 |wblk%!40=&000:le| 00001fc0 61 66 24 3d 24 66 69 6c 65 25 3a c8 95 a7 6c 65 |af$=$file%:...le| 00001fd0 61 66 24 2c 22 2e 22 29 0d 13 2e 65 6c 65 61 66 |af$,".")...eleaf| 00001fe0 24 3d c1 6c 65 61 66 24 2c a7 6c 65 61 66 24 2c |$=.leaf$,.leaf$,| 00001ff0 22 2e 22 29 2b 31 29 3a ce 3a 24 28 77 62 6c 6b |".")+1):.:$(wblk| 00002000 25 2b 34 34 29 3d 6c 65 61 66 24 3a c8 99 22 57 |%+44)=leaf$:.."W| 00002010 69 6d 70 5f 53 65 6e 64 4d 65 73 73 61 67 65 22 |imp_SendMessage"| 00002020 2c 31 37 2c 77 62 6c 6b 25 2c 77 62 6c 6b 25 21 |,17,wblk%,wblk%!| 00002030 32 30 2c 77 62 6c 6b 25 21 32 34 3a e1 0d 13 92 |20,wblk%!24:....| 00002040 78 dd f2 73 61 76 65 3a 70 61 74 68 24 3d 22 22 |x..save:path$=""| 00002050 3a 61 25 3d 30 3a 62 25 3d 77 62 6c 6b 25 3f 34 |:a%=0:b%=wblk%?4| 00002060 34 3a c8 95 62 25 3c 3e 30 3a 70 61 74 68 24 2b |4:..b%<>0:path$+| 00002070 3d bd 62 25 3a 61 25 2b 3d 31 3a 62 25 3d 77 62 |=.b%:a%+=1:b%=wb| 00002080 6c 6b 25 3f 28 34 34 2b 61 25 29 3a ce 3a f2 77 |lk%?(44+a%):.:.w| 00002090 72 69 74 65 28 70 61 74 68 24 29 3a e7 77 62 6c |rite(path$):.wbl| 000020a0 6b 25 21 33 36 3e 2d 31 20 24 66 69 6c 65 25 3d |k%!36>-1 $file%=| 000020b0 70 61 74 68 24 0d 13 e2 5d 77 62 6c 6b 25 21 31 |path$...]wblk%!1| 000020c0 32 3d 77 62 6c 6b 25 21 38 3a 77 62 6c 6b 25 21 |2=wblk%!8:wblk%!| 000020d0 31 36 3d 33 3a 77 62 6c 6b 25 21 30 3d 32 35 36 |16=3:wblk%!0=256| 000020e0 3a c8 99 22 57 69 6d 70 5f 53 65 6e 64 4d 65 73 |:.."Wimp_SendMes| 000020f0 73 61 67 65 22 2c 31 38 2c 77 62 6c 6b 25 2c 77 |sage",18,wblk%,w| 00002100 62 6c 6b 25 21 32 30 2c 77 62 6c 6b 25 21 32 34 |blk%!20,wblk%!24| 00002110 3a e1 0d 14 28 92 dd f2 42 75 74 74 53 61 76 65 |:...(...ButtSave| 00002120 3a e7 a7 24 66 69 6c 65 25 2c 22 2e 22 29 f2 77 |:..$file%,".").w| 00002130 72 69 74 65 28 24 66 69 6c 65 25 29 20 8b 24 77 |rite($file%) .$w| 00002140 62 6c 6b 25 3d 22 20 20 20 20 54 6f 20 73 61 76 |blk%=" To sav| 00002150 65 2c 20 64 72 61 67 20 74 68 65 20 66 69 6c 65 |e, drag the file| 00002160 20 69 63 6f 6e 20 74 6f 20 61 20 64 69 72 65 63 | icon to a direc| 00002170 74 6f 72 79 20 76 69 65 77 65 72 22 3a c8 99 22 |tory viewer":.."| 00002180 57 69 6d 70 5f 52 65 70 6f 72 74 45 72 72 6f 72 |Wimp_ReportError| 00002190 22 2c 77 62 6c 6b 25 2c 31 2c 22 53 68 61 6e 67 |",wblk%,1,"Shang| 000021a0 68 61 69 22 0d 14 6e 05 e1 0d 14 aa 9a dd f2 77 |hai"..n........w| 000021b0 72 69 74 65 28 66 24 29 3a 46 25 3d ae 66 24 3a |rite(f$):F%=.f$:| 000021c0 e3 49 25 3d 31 b8 31 34 34 3a f1 23 46 25 2c 94 |.I%=1.144:.#F%,.| 000021d0 53 25 28 49 25 2c 30 29 3a ed 3a e3 49 25 3d 30 |S%(I%,0):.:.I%=0| 000021e0 b8 37 31 3a f1 23 46 25 2c 4d 25 28 49 25 2c 30 |.71:.#F%,M%(I%,0| 000021f0 29 2c 4d 25 28 49 25 2c 31 29 3a ed 3a f1 23 46 |),M%(I%,1):.:.#F| 00002200 25 2c 6d 6f 76 65 25 3a d9 23 46 25 3a 46 25 3d |%,move%:.#F%:F%=| 00002210 30 3a ff 22 53 65 74 54 79 70 65 20 22 2b 66 24 |0:."SetType "+f$| 00002220 2b 22 20 30 30 30 22 3a c8 99 22 57 69 6d 70 5f |+" 000":.."Wimp_| 00002230 43 72 65 61 74 65 4d 65 6e 75 22 2c 2c 61 64 6a |CreateMenu",,adj| 00002240 25 3a e1 0d 15 22 ed dc 2d 31 2c 30 2c 30 2c 30 |%:..."..-1,0,0,0| 00002250 2c 30 2c 30 2c 31 2c 31 30 31 30 2c 31 33 30 2c |,0,0,1,1010,130,| 00002260 30 2c 30 2c 30 2c 32 2c 39 32 36 2c 31 33 30 2c |0,0,0,2,926,130,| 00002270 30 2c 31 2c 33 2c 33 2c 38 34 32 2c 31 33 30 2c |0,1,3,3,842,130,| 00002280 30 2c 32 2c 34 2c 34 2c 37 35 38 2c 31 33 30 2c |0,2,4,4,758,130,| 00002290 30 2c 33 2c 35 2c 35 2c 36 37 34 2c 31 33 30 2c |0,3,5,5,674,130,| 000022a0 30 2c 34 2c 36 2c 36 2c 35 39 30 2c 31 33 30 2c |0,4,6,6,590,130,| 000022b0 30 2c 35 2c 37 2c 37 2c 35 30 36 2c 31 33 30 2c |0,5,7,7,506,130,| 000022c0 30 2c 36 2c 38 2c 38 2c 34 32 32 2c 31 33 30 2c |0,6,8,8,422,130,| 000022d0 30 2c 37 2c 39 2c 39 2c 33 33 38 2c 31 33 30 2c |0,7,9,9,338,130,| 000022e0 30 2c 38 2c 31 30 2c 39 2c 32 35 34 2c 31 33 30 |0,8,10,9,254,130| 000022f0 2c 30 2c 39 2c 31 31 2c 39 2c 31 37 30 2c 31 33 |,0,9,11,9,170,13| 00002300 30 2c 30 2c 31 30 2c 31 32 2c 39 2c 38 36 2c 31 |0,0,10,12,9,86,1| 00002310 33 30 2c 30 2c 30 2c 30 2c 31 30 2c 38 34 32 2c |30,0,0,0,10,842,| 00002320 32 31 34 2c 30 2c 30 2c 30 2c 31 30 2c 37 35 38 |214,0,0,0,10,758| 00002330 0d 15 2c ed dc 32 31 34 2c 38 38 2c 31 33 2c 31 |..,..214,88,13,1| 00002340 35 2c 31 30 2c 36 37 34 2c 32 31 34 2c 38 39 2c |5,10,674,214,89,| 00002350 31 34 2c 31 36 2c 31 30 2c 35 39 30 2c 32 31 34 |14,16,10,590,214| 00002360 2c 39 30 2c 31 35 2c 31 37 2c 31 31 2c 35 30 36 |,90,15,17,11,506| 00002370 2c 32 31 34 2c 39 31 2c 31 36 2c 31 38 2c 31 31 |,214,91,16,18,11| 00002380 2c 34 32 32 2c 32 31 34 2c 39 32 2c 31 37 2c 31 |,422,214,92,17,1| 00002390 39 2c 31 31 2c 33 33 38 2c 32 31 34 2c 39 33 2c |9,11,338,214,93,| 000023a0 31 38 2c 32 30 2c 31 31 2c 32 35 34 2c 32 31 34 |18,20,11,254,214| 000023b0 2c 30 2c 30 2c 30 2c 31 32 2c 39 32 36 2c 32 39 |,0,0,0,12,926,29| 000023c0 38 2c 30 2c 30 2c 30 2c 31 32 2c 38 34 32 2c 32 |8,0,0,0,12,842,2| 000023d0 39 38 2c 30 2c 32 31 2c 32 33 2c 31 32 2c 37 35 |98,0,21,23,12,75| 000023e0 38 2c 32 39 38 2c 39 34 2c 32 32 2c 32 34 2c 31 |8,298,94,22,24,1| 000023f0 32 2c 36 37 34 2c 32 39 38 2c 39 35 2c 32 33 2c |2,674,298,95,23,| 00002400 32 35 2c 31 33 2c 35 39 30 2c 32 39 38 2c 39 36 |25,13,590,298,96| 00002410 2c 32 34 2c 32 36 2c 31 33 2c 35 30 36 0d 15 36 |,24,26,13,506..6| 00002420 ec dc 32 39 38 2c 39 37 2c 32 35 2c 32 37 2c 31 |..298,97,25,27,1| 00002430 33 2c 34 32 32 2c 32 39 38 2c 39 38 2c 32 36 2c |3,422,298,98,26,| 00002440 32 38 2c 31 33 2c 33 33 38 2c 32 39 38 2c 39 39 |28,13,338,298,99| 00002450 2c 32 37 2c 32 39 2c 31 34 2c 32 35 34 2c 32 39 |,27,29,14,254,29| 00002460 38 2c 30 2c 32 38 2c 33 30 2c 31 34 2c 31 37 30 |8,0,28,30,14,170| 00002470 2c 32 39 38 2c 30 2c 30 2c 30 2c 31 34 2c 31 31 |,298,0,0,0,14,11| 00002480 37 38 2c 34 32 34 2c 30 2c 30 2c 30 2c 31 34 2c |78,424,0,0,0,14,| 00002490 31 30 39 34 2c 34 32 34 2c 30 2c 30 2c 30 2c 31 |1094,424,0,0,0,1| 000024a0 35 2c 31 30 31 30 2c 33 38 32 2c 30 2c 33 32 2c |5,1010,382,0,32,| 000024b0 33 34 2c 31 35 2c 39 32 36 2c 33 38 32 2c 30 2c |34,15,926,382,0,| 000024c0 33 33 2c 33 35 2c 31 35 2c 38 34 32 2c 33 38 32 |33,35,15,842,382| 000024d0 2c 30 2c 33 34 2c 33 36 2c 31 35 2c 37 35 38 2c |,0,34,36,15,758,| 000024e0 33 38 32 2c 31 30 30 2c 33 35 2c 33 37 2c 31 36 |382,100,35,37,16| 000024f0 2c 36 37 34 2c 33 38 32 2c 31 30 31 2c 33 36 2c |,674,382,101,36,| 00002500 33 38 2c 31 36 2c 35 39 30 0d 15 40 ed dc 33 38 |38,16,590..@..38| 00002510 32 2c 31 30 32 2c 33 37 2c 33 39 2c 31 36 2c 35 |2,102,37,39,16,5| 00002520 30 36 2c 33 38 32 2c 31 30 33 2c 33 38 2c 34 30 |06,382,103,38,40| 00002530 2c 31 36 2c 34 32 32 2c 33 38 32 2c 31 30 34 2c |,16,422,382,104,| 00002540 33 39 2c 34 31 2c 31 37 2c 33 33 38 2c 33 38 32 |39,41,17,338,382| 00002550 2c 31 30 35 2c 34 30 2c 34 32 2c 31 37 2c 32 35 |,105,40,42,17,25| 00002560 34 2c 33 38 32 2c 30 2c 34 31 2c 34 33 2c 31 37 |4,382,0,41,43,17| 00002570 2c 31 37 30 2c 33 38 32 2c 30 2c 34 32 2c 34 34 |,170,382,0,42,44| 00002580 2c 31 37 2c 38 36 2c 33 38 32 2c 30 2c 34 33 2c |,17,86,382,0,43,| 00002590 35 37 2c 31 38 2c 31 30 31 30 2c 34 36 36 2c 30 |57,18,1010,466,0| 000025a0 2c 33 32 2c 34 36 2c 31 38 2c 39 32 36 2c 34 36 |,32,46,18,926,46| 000025b0 36 2c 30 2c 34 35 2c 34 37 2c 31 38 2c 38 34 32 |6,0,45,47,18,842| 000025c0 2c 34 36 36 2c 30 2c 34 36 2c 34 38 2c 31 38 2c |,466,0,46,48,18,| 000025d0 37 35 38 2c 34 36 36 2c 31 30 36 2c 34 37 2c 34 |758,466,106,47,4| 000025e0 39 2c 31 39 2c 36 37 34 2c 34 36 36 2c 31 30 37 |9,19,674,466,107| 000025f0 2c 34 38 2c 35 30 0d 15 4a ed dc 31 39 2c 35 39 |,48,50..J..19,59| 00002600 30 2c 34 36 36 2c 31 30 38 2c 34 39 2c 35 31 2c |0,466,108,49,51,| 00002610 31 39 2c 35 30 36 2c 34 36 36 2c 31 30 39 2c 35 |19,506,466,109,5| 00002620 30 2c 35 32 2c 31 39 2c 34 32 32 2c 34 36 36 2c |0,52,19,422,466,| 00002630 31 31 30 2c 35 31 2c 35 33 2c 32 30 2c 33 33 38 |110,51,53,20,338| 00002640 2c 34 36 36 2c 31 31 31 2c 35 32 2c 35 34 2c 32 |,466,111,52,54,2| 00002650 30 2c 32 35 34 2c 34 36 36 2c 30 2c 35 33 2c 35 |0,254,466,0,53,5| 00002660 35 2c 32 30 2c 31 37 30 2c 34 36 36 2c 30 2c 35 |5,20,170,466,0,5| 00002670 34 2c 35 36 2c 32 30 2c 38 36 2c 34 36 36 2c 30 |4,56,20,86,466,0| 00002680 2c 35 35 2c 35 37 2c 32 31 2c 32 2c 34 32 34 2c |,55,57,21,2,424,| 00002690 30 2c 30 2c 30 2c 32 31 2c 39 32 36 2c 35 35 30 |0,0,0,21,926,550| 000026a0 2c 30 2c 30 2c 30 2c 32 31 2c 38 34 32 2c 35 35 |,0,0,0,21,842,55| 000026b0 30 2c 30 2c 35 38 2c 36 30 2c 32 31 2c 37 35 38 |0,0,58,60,21,758| 000026c0 2c 35 35 30 2c 31 31 32 2c 35 39 2c 36 31 2c 32 |,550,112,59,61,2| 000026d0 32 2c 36 37 34 2c 35 35 30 2c 31 31 33 2c 36 30 |2,674,550,113,60| 000026e0 2c 36 32 0d 15 54 ec dc 32 32 2c 35 39 30 2c 35 |,62..T..22,590,5| 000026f0 35 30 2c 31 31 34 2c 36 31 2c 36 33 2c 32 32 2c |50,114,61,63,22,| 00002700 35 30 36 2c 35 35 30 2c 31 31 35 2c 36 32 2c 36 |506,550,115,62,6| 00002710 34 2c 32 32 2c 34 32 32 2c 35 35 30 2c 31 31 36 |4,22,422,550,116| 00002720 2c 36 33 2c 36 35 2c 32 33 2c 33 33 38 2c 35 35 |,63,65,23,338,55| 00002730 30 2c 31 31 37 2c 36 34 2c 36 36 2c 32 33 2c 32 |0,117,64,66,23,2| 00002740 35 34 2c 35 35 30 2c 30 2c 36 35 2c 36 37 2c 32 |54,550,0,65,67,2| 00002750 33 2c 31 37 30 2c 35 35 30 2c 30 2c 30 2c 30 2c |3,170,550,0,0,0,| 00002760 32 33 2c 38 34 32 2c 36 33 34 2c 30 2c 30 2c 30 |23,842,634,0,0,0| 00002770 2c 32 34 2c 37 35 38 2c 36 33 34 2c 31 31 38 2c |,24,758,634,118,| 00002780 36 38 2c 37 30 2c 32 34 2c 36 37 34 2c 36 33 34 |68,70,24,674,634| 00002790 2c 31 31 39 2c 36 39 2c 37 31 2c 32 34 2c 35 39 |,119,69,71,24,59| 000027a0 30 2c 36 33 34 2c 31 32 30 2c 37 30 2c 37 32 2c |0,634,120,70,72,| 000027b0 32 34 2c 35 30 36 2c 36 33 34 2c 31 32 31 2c 37 |24,506,634,121,7| 000027c0 31 2c 37 33 2c 32 35 2c 34 32 32 2c 36 33 34 0d |1,73,25,422,634.| 000027d0 15 5e ee dc 31 32 32 2c 37 32 2c 37 34 2c 32 35 |.^..122,72,74,25| 000027e0 2c 33 33 38 2c 36 33 34 2c 31 32 33 2c 37 33 2c |,338,634,123,73,| 000027f0 37 35 2c 32 35 2c 32 35 34 2c 36 33 34 2c 30 2c |75,25,254,634,0,| 00002800 30 2c 30 2c 32 35 2c 31 30 31 30 2c 37 31 38 2c |0,0,25,1010,718,| 00002810 30 2c 30 2c 30 2c 32 36 2c 39 32 36 2c 37 31 38 |0,0,0,26,926,718| 00002820 2c 30 2c 37 36 2c 37 38 2c 32 36 2c 38 34 32 2c |,0,76,78,26,842,| 00002830 37 31 38 2c 30 2c 37 37 2c 37 39 2c 32 36 2c 37 |718,0,77,79,26,7| 00002840 35 38 2c 37 31 38 2c 30 2c 37 38 2c 38 30 2c 32 |58,718,0,78,80,2| 00002850 36 2c 36 37 34 2c 37 31 38 2c 30 2c 37 39 2c 38 |6,674,718,0,79,8| 00002860 31 2c 32 37 2c 35 39 30 2c 37 31 38 2c 30 2c 38 |1,27,590,718,0,8| 00002870 30 2c 38 32 2c 32 37 2c 35 30 36 2c 37 31 38 2c |0,82,27,506,718,| 00002880 30 2c 38 31 2c 38 33 2c 32 37 2c 34 32 32 2c 37 |0,81,83,27,422,7| 00002890 31 38 2c 30 2c 38 32 2c 38 34 2c 32 37 2c 33 33 |18,0,82,84,27,33| 000028a0 38 2c 37 31 38 2c 30 2c 38 33 2c 38 35 2c 32 38 |8,718,0,83,85,28| 000028b0 2c 32 35 34 2c 37 31 38 2c 30 2c 38 34 0d 15 68 |,254,718,0,84..h| 000028c0 ef dc 38 36 2c 32 38 2c 31 37 30 2c 37 31 38 2c |..86,28,170,718,| 000028d0 30 2c 38 35 2c 38 37 2c 32 38 2c 38 36 2c 37 31 |0,85,87,28,86,71| 000028e0 38 2c 30 2c 30 2c 30 2c 32 38 2c 37 36 36 2c 32 |8,0,0,0,28,766,2| 000028f0 30 36 2c 30 2c 30 2c 30 2c 32 39 2c 36 38 32 2c |06,0,0,0,29,682,| 00002900 32 30 36 2c 30 2c 38 38 2c 39 30 2c 32 39 2c 35 |206,0,88,90,29,5| 00002910 39 38 2c 32 30 36 2c 30 2c 38 39 2c 39 31 2c 32 |98,206,0,89,91,2| 00002920 39 2c 35 31 34 2c 32 30 36 2c 30 2c 39 30 2c 39 |9,514,206,0,90,9| 00002930 32 2c 32 39 2c 34 33 30 2c 32 30 36 2c 30 2c 39 |2,29,430,206,0,9| 00002940 31 2c 39 33 2c 33 30 2c 33 34 36 2c 32 30 36 2c |1,93,30,346,206,| 00002950 30 2c 30 2c 30 2c 33 30 2c 37 36 36 2c 32 39 30 |0,0,0,30,766,290| 00002960 2c 30 2c 30 2c 30 2c 33 30 2c 36 38 32 2c 32 39 |,0,0,0,30,682,29| 00002970 30 2c 31 32 34 2c 39 34 2c 39 36 2c 33 30 2c 35 |0,124,94,96,30,5| 00002980 39 38 2c 32 39 30 2c 31 32 35 2c 39 35 2c 39 37 |98,290,125,95,97| 00002990 2c 33 31 2c 35 31 34 2c 32 39 30 2c 31 32 36 2c |,31,514,290,126,| 000029a0 39 36 2c 39 38 2c 33 31 2c 34 33 30 0d 15 72 ef |96,98,31,430..r.| 000029b0 dc 32 39 30 2c 31 32 37 2c 39 37 2c 39 39 2c 33 |.290,127,97,99,3| 000029c0 31 2c 33 34 36 2c 32 39 30 2c 30 2c 30 2c 30 2c |1,346,290,0,0,0,| 000029d0 33 31 2c 37 36 36 2c 33 37 34 2c 30 2c 30 2c 30 |31,766,374,0,0,0| 000029e0 2c 33 32 2c 36 38 32 2c 33 37 34 2c 31 32 38 2c |,32,682,374,128,| 000029f0 31 30 30 2c 31 30 32 2c 33 32 2c 35 39 38 2c 33 |100,102,32,598,3| 00002a00 37 34 2c 31 32 39 2c 31 30 31 2c 31 30 33 2c 33 |74,129,101,103,3| 00002a10 32 2c 35 31 34 2c 33 37 34 2c 31 33 30 2c 31 30 |2,514,374,130,10| 00002a20 32 2c 31 30 34 2c 33 32 2c 34 33 30 2c 33 37 34 |2,104,32,430,374| 00002a30 2c 31 33 31 2c 31 30 33 2c 31 30 35 2c 33 33 2c |,131,103,105,33,| 00002a40 33 34 36 2c 33 37 34 2c 30 2c 30 2c 30 2c 33 33 |346,374,0,0,0,33| 00002a50 2c 37 36 36 2c 34 35 38 2c 30 2c 30 2c 30 2c 33 |,766,458,0,0,0,3| 00002a60 33 2c 36 38 32 2c 34 35 38 2c 31 33 32 2c 31 30 |3,682,458,132,10| 00002a70 36 2c 31 30 38 2c 33 33 2c 35 39 38 2c 34 35 38 |6,108,33,598,458| 00002a80 2c 31 33 33 2c 31 30 37 2c 31 30 39 2c 33 34 2c |,133,107,109,34,| 00002a90 35 31 34 2c 34 35 38 2c 31 33 34 0d 15 7c ed dc |514,458,134..|..| 00002aa0 31 30 38 2c 31 31 30 2c 33 34 2c 34 33 30 2c 34 |108,110,34,430,4| 00002ab0 35 38 2c 31 33 35 2c 31 30 39 2c 31 31 31 2c 33 |58,135,109,111,3| 00002ac0 34 2c 33 34 36 2c 34 35 38 2c 30 2c 30 2c 30 2c |4,346,458,0,0,0,| 00002ad0 33 34 2c 37 36 36 2c 35 34 32 2c 30 2c 30 2c 30 |34,766,542,0,0,0| 00002ae0 2c 33 35 2c 36 38 32 2c 35 34 32 2c 31 33 36 2c |,35,682,542,136,| 00002af0 31 31 32 2c 31 31 34 2c 33 35 2c 35 39 38 2c 35 |112,114,35,598,5| 00002b00 34 32 2c 31 33 37 2c 31 31 33 2c 31 31 35 2c 33 |42,137,113,115,3| 00002b10 35 2c 35 31 34 2c 35 34 32 2c 31 33 38 2c 31 31 |5,514,542,138,11| 00002b20 34 2c 31 31 36 2c 33 35 2c 34 33 30 2c 35 34 32 |4,116,35,430,542| 00002b30 2c 31 33 39 2c 31 31 35 2c 31 31 37 2c 33 36 2c |,139,115,117,36,| 00002b40 33 34 36 2c 35 34 32 2c 30 2c 30 2c 30 2c 33 36 |346,542,0,0,0,36| 00002b50 2c 37 36 36 2c 36 32 36 2c 30 2c 30 2c 30 2c 33 |,766,626,0,0,0,3| 00002b60 36 2c 36 38 32 2c 36 32 36 2c 30 2c 31 31 38 2c |6,682,626,0,118,| 00002b70 31 32 30 2c 33 36 2c 35 39 38 2c 36 32 36 2c 30 |120,36,598,626,0| 00002b80 2c 31 31 39 2c 31 32 31 0d 15 86 ef dc 33 37 2c |,119,121.....37,| 00002b90 35 31 34 2c 36 32 36 2c 30 2c 31 32 30 2c 31 32 |514,626,0,120,12| 00002ba0 32 2c 33 37 2c 34 33 30 2c 36 32 36 2c 30 2c 31 |2,37,430,626,0,1| 00002bb0 32 31 2c 31 32 33 2c 33 37 2c 33 34 36 2c 36 32 |21,123,37,346,62| 00002bc0 36 2c 30 2c 30 2c 30 2c 33 37 2c 36 39 30 2c 32 |6,0,0,0,37,690,2| 00002bd0 38 32 2c 30 2c 30 2c 30 2c 33 38 2c 36 30 36 2c |82,0,0,0,38,606,| 00002be0 32 38 32 2c 30 2c 31 32 34 2c 31 32 36 2c 33 38 |282,0,124,126,38| 00002bf0 2c 35 32 32 2c 32 38 32 2c 30 2c 31 32 35 2c 31 |,522,282,0,125,1| 00002c00 32 37 2c 33 38 2c 34 33 38 2c 32 38 32 2c 30 2c |27,38,438,282,0,| 00002c10 30 2c 30 2c 33 38 2c 36 39 30 2c 33 36 36 2c 30 |0,0,38,690,366,0| 00002c20 2c 30 2c 30 2c 33 39 2c 36 30 36 2c 33 36 36 2c |,0,0,39,606,366,| 00002c30 31 34 30 2c 31 32 38 2c 31 33 30 2c 33 39 2c 35 |140,128,130,39,5| 00002c40 32 32 2c 33 36 36 2c 31 34 31 2c 31 32 39 2c 31 |22,366,141,129,1| 00002c50 33 31 2c 33 39 2c 34 33 38 2c 33 36 36 2c 30 2c |31,39,438,366,0,| 00002c60 30 2c 30 2c 33 39 2c 36 39 30 2c 34 35 30 2c 30 |0,0,39,690,450,0| 00002c70 2c 30 2c 30 2c 34 30 0d 15 90 e9 dc 36 30 36 2c |,0,0,40.....606,| 00002c80 34 35 30 2c 31 34 32 2c 31 33 32 2c 31 33 34 2c |450,142,132,134,| 00002c90 34 30 2c 35 32 32 2c 34 35 30 2c 31 34 33 2c 31 |40,522,450,143,1| 00002ca0 33 33 2c 31 33 35 2c 34 30 2c 34 33 38 2c 34 35 |33,135,40,438,45| 00002cb0 30 2c 30 2c 30 2c 30 2c 34 30 2c 36 39 30 2c 35 |0,0,0,0,40,690,5| 00002cc0 33 34 2c 30 2c 30 2c 30 2c 34 31 2c 36 30 36 2c |34,0,0,0,41,606,| 00002cd0 35 33 34 2c 30 2c 31 33 36 2c 31 33 38 2c 34 31 |534,0,136,138,41| 00002ce0 2c 35 32 32 2c 35 33 34 2c 30 2c 31 33 37 2c 31 |,522,534,0,137,1| 00002cf0 33 39 2c 34 31 2c 34 33 38 2c 35 33 34 2c 30 2c |39,41,438,534,0,| 00002d00 30 2c 30 2c 34 31 2c 36 31 34 2c 33 35 38 2c 31 |0,0,41,614,358,1| 00002d10 34 34 2c 30 2c 30 2c 34 32 2c 35 33 30 2c 33 35 |44,0,0,42,530,35| 00002d20 38 2c 31 34 34 2c 30 2c 30 2c 34 32 2c 36 31 34 |8,144,0,0,42,614| 00002d30 2c 34 34 32 2c 31 34 34 2c 30 2c 30 2c 34 32 2c |,442,144,0,0,42,| 00002d40 35 33 30 2c 34 34 32 2c 31 34 34 2c 30 2c 30 2c |530,442,144,0,0,| 00002d50 34 32 2c 35 38 30 2c 33 39 32 2c 30 2c 30 2c 30 |42,580,392,0,0,0| 00002d60 0d ff |..| 00002d62