Home » Archimedes archive » Micro User » MU 1991-04.adf » PD-Stuff » !BabyBlues/!RunImage

!BabyBlues/!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 » Micro User » MU 1991-04.adf » PD-Stuff
Filename: !BabyBlues/!RunImage
Read OK:
File size: 0B12 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM ><BabyBlues$Dir>.!RunImage
   20REM Baby blue eyes
   30REM Natasha K (29-Jan-1990)
   40
   50REM Heavily modified version of PD !Follow
   60REM Thanks to everyone who wrote this in the first place (Joe Pinapples,
   70REM Tony Cheal, & Sean & Mulrine), and especially TC for the mode
   80REM independance bit.
   90
  100REM P.S. If walruses had blue eyes I wouldn't have had to either!
  110
  120REM What kind of a name is Follow? - Where's your sense of romance?
  130
  140PROCinit
  150ON ERROR PROCerror
  160REPEAT
  170 SYS"Wimp_PollIdle",mask%,B% TO R%
  180 CASE R% OF
  190  WHEN 0:PROCdo_eyes
  200  WHEN 1:PROCdo_wind
  210  WHEN 2:SYS"Wimp_OpenWindow",,B%
  220  WHEN 3:SYS"Wimp_CloseWindow",,B%:bored%=TRUE
  230  WHEN 6:IFB%!8=2 SYS"Wimp_CreateMenu",,menu%,B%!0-64,B%!4
  240  WHEN 9:IFB%!0=1 bored%=TRUE
  250  WHEN 17,18:IFB%!16=0 bored%=TRUE
  260 ENDCASE
  270UNTILbored%
  280SYS"Wimp_CloseDown":END
  290
  300DEFPROCinit
  310SYS"Wimp_Initialise",200,&4B534154,"Baby Blues" TO ,ourtask%
  320ch%=OPENUP"<BabyBlues$Dir>.Sprites":L%=EXT#ch%:CLOSE#ch%:L%+=16
  330DIM sp% L%,B% 1024,sp% &400,ptr% 30,scale% 16,trans% 16,menu% 80,icn% 256
  340sp%!0=L%:sp%!4=0:sp%!8=16:sp%!12=16
  350SYS"OS_SpriteOp",&10A,sp%,"<BabyBlues$Dir>.Sprites"
  360OSCLI("Load <BabyBlues$Dir>.Menus "+STR$~menu%)
  370SYS"Wimp_OpenTemplate",,"<BabyBlues$Dir>.Templates"
  380SYS"Wimp_LoadTemplate",,B%,icn%,icn%+256,-1,"info",0 TO ,,next
  390SYS"Wimp_CreateWindow",,B% TO info%
  400SYS"Wimp_LoadTemplate",,B%,next,icn%+256,-1,"eyes",0 TO ,,next
  410SYS"Wimp_CreateWindow",,B% TO eyes%
  420SYS"Wimp_CloseTemplate"
  430!B%=eyes%:SYS"Wimp_GetWindowState",,B%:B%!28=-1:SYS"Wimp_OpenWindow",,B%
  440ex%=0:ey%=0:fx%=0:fy%=0:bored%=FALSE:mask%=&D30:menu%!32=info%:ENDPROC
  450
  460DEFPROCdo_eyes
  470LOCAL x%,ang:gx%=ex%:gy%=ey%:hx%=fx%:hy%=fy%
  480SYS"Wimp_GetPointerInfo",,ptr%:px%=ptr%!0:py%=ptr%!4
  490!B%=eyes%:SYS"Wimp_GetWindowState",,B%:wx%=B%!4:wy%=B%!8
  500FORx%=0TO1
  510 ox%=px%-wx%-(116+40*x%):oy%=py%-wy%-30
  520 IF (oy%*oy%+ox%*ox%)>12*12 AND ox%<>0 THEN
  530  ang=ATN(oy%/ox%):IF ox%<0 ang+=PI
  540  ox%=12*COS(ang):oy%=12*SIN(ang)
  550 ENDIF
  560 IF ox%=0 THEN
  570  IF oy%>12 oy%=12
  580  IF oy%<-12 oy%=-12
  590 ENDIF
  600 IF x%=0 ex%=ox%:ey%=oy%
  610 IF x%=1 fx%=ox%:fy%=oy%
  620NEXT
  630IF ex%<>gx% OR fx%<>hx% OR ey%<>gy% OR fy%<>hy% THEN
  640 !B%=eyes%:B%!4=42:B%!8=-64:B%!12=218:B%!16=4
  650 SYS"Wimp_UpdateWindow",,B% TO more%
  660  WHILE more%:PROCeyes:SYS"Wimp_GetRectangle",,B% TO more%:ENDWHILE
  670ENDIF:ENDPROC
  680
  690DEFPROCdo_wind
  700LOCALmore%:SYS"Wimp_GetWindowState",,B%:wx%=B%!4:wy%=B%!8
  710SYS"Wimp_RedrawWindow",,B% TO more%
  720WHILE more%
  730 PROCeyes:SYS"Wimp_GetRectangle",,B% TO more%
  740ENDWHILE:ENDPROC
  750
  760DEFPROCeyes
  770SYS"Wimp_ReadPixTrans",&100,sp%,"socket",,,,scale%,trans%
  780SYS"OS_SpriteOp",&134,sp%,"socket",92+wx%,wy%,8,scale%,trans%
  790SYS"OS_SpriteOp",&134,sp%,"eye",106+ex%+wx%,24+ey%+wy%,8,scale%,trans%
  800SYS"OS_SpriteOp",&134,sp%,"eye",140+fx%+wx%,24+fy%+wy%,8,scale%,trans%
  810ENDPROC
  820
  830DEFPROCerror
  840$(B%+4)=REPORT$+": Internal error code "+STR$ERL+" (Cancel to quit)"
  850SYS"Wimp_ReportError",B%,3,"BabyBlues" TO ,b
  860IFb=1 ENDPROC ELSE SYS"Wimp_CloseDown":END

 � ><BabyBlues$Dir>.!RunImage
� Baby blue eyes
� Natasha K (29-Jan-1990)
(
2,� Heavily modified version of PD !Follow
<J� Thanks to everyone who wrote this in the first place (Joe Pinapples,
FC� Tony Cheal, & Sean & Mulrine), and especially TC for the mode
P� independance bit.
Z
dC� P.S. If walruses had blue eyes I wouldn't have had to either!
n
xE� What kind of a name is Follow? - Where's your sense of romance?
�
�	�init
�� � �error
��
�$ ș"Wimp_PollIdle",mask%,B% � R%
� Ȏ R% �
�  � 0:�do_eyes
�  � 1:�do_wind
�!  � 2:ș"Wimp_OpenWindow",,B%
�+  � 3:ș"Wimp_CloseWindow",,B%:bored%=�
�9  � 6:�B%!8=2 ș"Wimp_CreateMenu",,menu%,B%!0-64,B%!4
�  � 9:�B%!0=1 bored%=�
�  � 17,18:�B%!16=0 bored%=�
 �
�bored%
ș"Wimp_CloseDown":�
"
,
��init
6>ș"Wimp_Initialise",200,&4B534154,"Baby Blues" � ,ourtask%
@8ch%=�"<BabyBlues$Dir>.Sprites":L%=�#ch%:�#ch%:L%+=16
JK� sp% L%,B% 1024,sp% &400,ptr% 30,scale% 16,trans% 16,menu% 80,icn% 256
T'sp%!0=L%:sp%!4=0:sp%!8=16:sp%!12=16
^6ș"OS_SpriteOp",&10A,sp%,"<BabyBlues$Dir>.Sprites"
h,�("Load <BabyBlues$Dir>.Menus "+�~menu%)
r6ș"Wimp_OpenTemplate",,"<BabyBlues$Dir>.Templates"
|@ș"Wimp_LoadTemplate",,B%,icn%,icn%+256,-1,"info",0 � ,,next
�%ș"Wimp_CreateWindow",,B% � info%
�@ș"Wimp_LoadTemplate",,B%,next,icn%+256,-1,"eyes",0 � ,,next
�%ș"Wimp_CreateWindow",,B% � eyes%
�ș"Wimp_CloseTemplate"
�J!B%=eyes%:ș"Wimp_GetWindowState",,B%:B%!28=-1:ș"Wimp_OpenWindow",,B%
�@ex%=0:ey%=0:fx%=0:fy%=0:bored%=�:mask%=&D30:menu%!32=info%:�
�
�
��do_eyes
�,� x%,ang:gx%=ex%:gy%=ey%:hx%=fx%:hy%=fy%
�7ș"Wimp_GetPointerInfo",,ptr%:px%=ptr%!0:py%=ptr%!4
�;!B%=eyes%:ș"Wimp_GetWindowState",,B%:wx%=B%!4:wy%=B%!8
��x%=0�1
�+ ox%=px%-wx%-(116+40*x%):oy%=py%-wy%-30
) � (oy%*oy%+ox%*ox%)>12*12 � ox%<>0 �
#  ang=�(oy%/ox%):� ox%<0 ang+=�
!  ox%=12*�(ang):oy%=12*�(ang)
& �
0 � ox%=0 �
:  � oy%>12 oy%=12
D  � oy%<-12 oy%=-12
N �
X � x%=0 ex%=ox%:ey%=oy%
b � x%=1 fx%=ox%:fy%=oy%
l�
v1� ex%<>gx% � fx%<>hx% � ey%<>gy% � fy%<>hy% �
�1 !B%=eyes%:B%!4=42:B%!8=-64:B%!12=218:B%!16=4
�& ș"Wimp_UpdateWindow",,B% � more%
�8  ȕ more%:�eyes:ș"Wimp_GetRectangle",,B% � more%:�
��:�
�
�
��do_wind
�8�more%:ș"Wimp_GetWindowState",,B%:wx%=B%!4:wy%=B%!8
�%ș"Wimp_RedrawWindow",,B% � more%
�ȕ more%
�, �eyes:ș"Wimp_GetRectangle",,B% � more%
��:�
�
�
��eyes
<ș"Wimp_ReadPixTrans",&100,sp%,"socket",,,,scale%,trans%
@ș"OS_SpriteOp",&134,sp%,"socket",92+wx%,wy%,8,scale%,trans%
Iș"OS_SpriteOp",&134,sp%,"eye",106+ex%+wx%,24+ey%+wy%,8,scale%,trans%
 Iș"OS_SpriteOp",&134,sp%,"eye",140+fx%+wx%,24+fy%+wy%,8,scale%,trans%
*�
4
>��error
H>$(B%+4)=�$+": Internal error code "+Þ+" (Cancel to quit)"
R.ș"Wimp_ReportError",B%,3,"BabyBlues" � ,b
\!�b=1 � � ș"Wimp_CloseDown":�
�
00000000  0d 00 0a 20 f4 20 3e 3c  42 61 62 79 42 6c 75 65  |... . ><BabyBlue|
00000010  73 24 44 69 72 3e 2e 21  52 75 6e 49 6d 61 67 65  |s$Dir>.!RunImage|
00000020  0d 00 14 14 f4 20 42 61  62 79 20 62 6c 75 65 20  |..... Baby blue |
00000030  65 79 65 73 0d 00 1e 1d  f4 20 4e 61 74 61 73 68  |eyes..... Natash|
00000040  61 20 4b 20 28 32 39 2d  4a 61 6e 2d 31 39 39 30  |a K (29-Jan-1990|
00000050  29 0d 00 28 04 0d 00 32  2c f4 20 48 65 61 76 69  |)..(...2,. Heavi|
00000060  6c 79 20 6d 6f 64 69 66  69 65 64 20 76 65 72 73  |ly modified vers|
00000070  69 6f 6e 20 6f 66 20 50  44 20 21 46 6f 6c 6c 6f  |ion of PD !Follo|
00000080  77 0d 00 3c 4a f4 20 54  68 61 6e 6b 73 20 74 6f  |w..<J. Thanks to|
00000090  20 65 76 65 72 79 6f 6e  65 20 77 68 6f 20 77 72  | everyone who wr|
000000a0  6f 74 65 20 74 68 69 73  20 69 6e 20 74 68 65 20  |ote this in the |
000000b0  66 69 72 73 74 20 70 6c  61 63 65 20 28 4a 6f 65  |first place (Joe|
000000c0  20 50 69 6e 61 70 70 6c  65 73 2c 0d 00 46 43 f4  | Pinapples,..FC.|
000000d0  20 54 6f 6e 79 20 43 68  65 61 6c 2c 20 26 20 53  | Tony Cheal, & S|
000000e0  65 61 6e 20 26 20 4d 75  6c 72 69 6e 65 29 2c 20  |ean & Mulrine), |
000000f0  61 6e 64 20 65 73 70 65  63 69 61 6c 6c 79 20 54  |and especially T|
00000100  43 20 66 6f 72 20 74 68  65 20 6d 6f 64 65 0d 00  |C for the mode..|
00000110  50 17 f4 20 69 6e 64 65  70 65 6e 64 61 6e 63 65  |P.. independance|
00000120  20 62 69 74 2e 0d 00 5a  04 0d 00 64 43 f4 20 50  | bit...Z...dC. P|
00000130  2e 53 2e 20 49 66 20 77  61 6c 72 75 73 65 73 20  |.S. If walruses |
00000140  68 61 64 20 62 6c 75 65  20 65 79 65 73 20 49 20  |had blue eyes I |
00000150  77 6f 75 6c 64 6e 27 74  20 68 61 76 65 20 68 61  |wouldn't have ha|
00000160  64 20 74 6f 20 65 69 74  68 65 72 21 0d 00 6e 04  |d to either!..n.|
00000170  0d 00 78 45 f4 20 57 68  61 74 20 6b 69 6e 64 20  |..xE. What kind |
00000180  6f 66 20 61 20 6e 61 6d  65 20 69 73 20 46 6f 6c  |of a name is Fol|
00000190  6c 6f 77 3f 20 2d 20 57  68 65 72 65 27 73 20 79  |low? - Where's y|
000001a0  6f 75 72 20 73 65 6e 73  65 20 6f 66 20 72 6f 6d  |our sense of rom|
000001b0  61 6e 63 65 3f 0d 00 82  04 0d 00 8c 09 f2 69 6e  |ance?.........in|
000001c0  69 74 0d 00 96 0e ee 20  85 20 f2 65 72 72 6f 72  |it..... . .error|
000001d0  0d 00 a0 05 f5 0d 00 aa  24 20 c8 99 22 57 69 6d  |........$ .."Wim|
000001e0  70 5f 50 6f 6c 6c 49 64  6c 65 22 2c 6d 61 73 6b  |p_PollIdle",mask|
000001f0  25 2c 42 25 20 b8 20 52  25 0d 00 b4 0c 20 c8 8e  |%,B% . R%.... ..|
00000200  20 52 25 20 ca 0d 00 be  12 20 20 c9 20 30 3a f2  | R% .....  . 0:.|
00000210  64 6f 5f 65 79 65 73 0d  00 c8 12 20 20 c9 20 31  |do_eyes....  . 1|
00000220  3a f2 64 6f 5f 77 69 6e  64 0d 00 d2 21 20 20 c9  |:.do_wind...!  .|
00000230  20 32 3a c8 99 22 57 69  6d 70 5f 4f 70 65 6e 57  | 2:.."Wimp_OpenW|
00000240  69 6e 64 6f 77 22 2c 2c  42 25 0d 00 dc 2b 20 20  |indow",,B%...+  |
00000250  c9 20 33 3a c8 99 22 57  69 6d 70 5f 43 6c 6f 73  |. 3:.."Wimp_Clos|
00000260  65 57 69 6e 64 6f 77 22  2c 2c 42 25 3a 62 6f 72  |eWindow",,B%:bor|
00000270  65 64 25 3d b9 0d 00 e6  39 20 20 c9 20 36 3a e7  |ed%=....9  . 6:.|
00000280  42 25 21 38 3d 32 20 c8  99 22 57 69 6d 70 5f 43  |B%!8=2 .."Wimp_C|
00000290  72 65 61 74 65 4d 65 6e  75 22 2c 2c 6d 65 6e 75  |reateMenu",,menu|
000002a0  25 2c 42 25 21 30 2d 36  34 2c 42 25 21 34 0d 00  |%,B%!0-64,B%!4..|
000002b0  f0 1a 20 20 c9 20 39 3a  e7 42 25 21 30 3d 31 20  |..  . 9:.B%!0=1 |
000002c0  62 6f 72 65 64 25 3d b9  0d 00 fa 1f 20 20 c9 20  |bored%=.....  . |
000002d0  31 37 2c 31 38 3a e7 42  25 21 31 36 3d 30 20 62  |17,18:.B%!16=0 b|
000002e0  6f 72 65 64 25 3d b9 0d  01 04 06 20 cb 0d 01 0e  |ored%=..... ....|
000002f0  0b fd 62 6f 72 65 64 25  0d 01 18 18 c8 99 22 57  |..bored%......"W|
00000300  69 6d 70 5f 43 6c 6f 73  65 44 6f 77 6e 22 3a e0  |imp_CloseDown":.|
00000310  0d 01 22 04 0d 01 2c 0a  dd f2 69 6e 69 74 0d 01  |.."...,...init..|
00000320  36 3e c8 99 22 57 69 6d  70 5f 49 6e 69 74 69 61  |6>.."Wimp_Initia|
00000330  6c 69 73 65 22 2c 32 30  30 2c 26 34 42 35 33 34  |lise",200,&4B534|
00000340  31 35 34 2c 22 42 61 62  79 20 42 6c 75 65 73 22  |154,"Baby Blues"|
00000350  20 b8 20 2c 6f 75 72 74  61 73 6b 25 0d 01 40 38  | . ,ourtask%..@8|
00000360  63 68 25 3d ad 22 3c 42  61 62 79 42 6c 75 65 73  |ch%=."<BabyBlues|
00000370  24 44 69 72 3e 2e 53 70  72 69 74 65 73 22 3a 4c  |$Dir>.Sprites":L|
00000380  25 3d a2 23 63 68 25 3a  d9 23 63 68 25 3a 4c 25  |%=.#ch%:.#ch%:L%|
00000390  2b 3d 31 36 0d 01 4a 4b  de 20 73 70 25 20 4c 25  |+=16..JK. sp% L%|
000003a0  2c 42 25 20 31 30 32 34  2c 73 70 25 20 26 34 30  |,B% 1024,sp% &40|
000003b0  30 2c 70 74 72 25 20 33  30 2c 73 63 61 6c 65 25  |0,ptr% 30,scale%|
000003c0  20 31 36 2c 74 72 61 6e  73 25 20 31 36 2c 6d 65  | 16,trans% 16,me|
000003d0  6e 75 25 20 38 30 2c 69  63 6e 25 20 32 35 36 0d  |nu% 80,icn% 256.|
000003e0  01 54 27 73 70 25 21 30  3d 4c 25 3a 73 70 25 21  |.T'sp%!0=L%:sp%!|
000003f0  34 3d 30 3a 73 70 25 21  38 3d 31 36 3a 73 70 25  |4=0:sp%!8=16:sp%|
00000400  21 31 32 3d 31 36 0d 01  5e 36 c8 99 22 4f 53 5f  |!12=16..^6.."OS_|
00000410  53 70 72 69 74 65 4f 70  22 2c 26 31 30 41 2c 73  |SpriteOp",&10A,s|
00000420  70 25 2c 22 3c 42 61 62  79 42 6c 75 65 73 24 44  |p%,"<BabyBlues$D|
00000430  69 72 3e 2e 53 70 72 69  74 65 73 22 0d 01 68 2c  |ir>.Sprites"..h,|
00000440  ff 28 22 4c 6f 61 64 20  3c 42 61 62 79 42 6c 75  |.("Load <BabyBlu|
00000450  65 73 24 44 69 72 3e 2e  4d 65 6e 75 73 20 22 2b  |es$Dir>.Menus "+|
00000460  c3 7e 6d 65 6e 75 25 29  0d 01 72 36 c8 99 22 57  |.~menu%)..r6.."W|
00000470  69 6d 70 5f 4f 70 65 6e  54 65 6d 70 6c 61 74 65  |imp_OpenTemplate|
00000480  22 2c 2c 22 3c 42 61 62  79 42 6c 75 65 73 24 44  |",,"<BabyBlues$D|
00000490  69 72 3e 2e 54 65 6d 70  6c 61 74 65 73 22 0d 01  |ir>.Templates"..|
000004a0  7c 40 c8 99 22 57 69 6d  70 5f 4c 6f 61 64 54 65  ||@.."Wimp_LoadTe|
000004b0  6d 70 6c 61 74 65 22 2c  2c 42 25 2c 69 63 6e 25  |mplate",,B%,icn%|
000004c0  2c 69 63 6e 25 2b 32 35  36 2c 2d 31 2c 22 69 6e  |,icn%+256,-1,"in|
000004d0  66 6f 22 2c 30 20 b8 20  2c 2c 6e 65 78 74 0d 01  |fo",0 . ,,next..|
000004e0  86 25 c8 99 22 57 69 6d  70 5f 43 72 65 61 74 65  |.%.."Wimp_Create|
000004f0  57 69 6e 64 6f 77 22 2c  2c 42 25 20 b8 20 69 6e  |Window",,B% . in|
00000500  66 6f 25 0d 01 90 40 c8  99 22 57 69 6d 70 5f 4c  |fo%...@.."Wimp_L|
00000510  6f 61 64 54 65 6d 70 6c  61 74 65 22 2c 2c 42 25  |oadTemplate",,B%|
00000520  2c 6e 65 78 74 2c 69 63  6e 25 2b 32 35 36 2c 2d  |,next,icn%+256,-|
00000530  31 2c 22 65 79 65 73 22  2c 30 20 b8 20 2c 2c 6e  |1,"eyes",0 . ,,n|
00000540  65 78 74 0d 01 9a 25 c8  99 22 57 69 6d 70 5f 43  |ext...%.."Wimp_C|
00000550  72 65 61 74 65 57 69 6e  64 6f 77 22 2c 2c 42 25  |reateWindow",,B%|
00000560  20 b8 20 65 79 65 73 25  0d 01 a4 1a c8 99 22 57  | . eyes%......"W|
00000570  69 6d 70 5f 43 6c 6f 73  65 54 65 6d 70 6c 61 74  |imp_CloseTemplat|
00000580  65 22 0d 01 ae 4a 21 42  25 3d 65 79 65 73 25 3a  |e"...J!B%=eyes%:|
00000590  c8 99 22 57 69 6d 70 5f  47 65 74 57 69 6e 64 6f  |.."Wimp_GetWindo|
000005a0  77 53 74 61 74 65 22 2c  2c 42 25 3a 42 25 21 32  |wState",,B%:B%!2|
000005b0  38 3d 2d 31 3a c8 99 22  57 69 6d 70 5f 4f 70 65  |8=-1:.."Wimp_Ope|
000005c0  6e 57 69 6e 64 6f 77 22  2c 2c 42 25 0d 01 b8 40  |nWindow",,B%...@|
000005d0  65 78 25 3d 30 3a 65 79  25 3d 30 3a 66 78 25 3d  |ex%=0:ey%=0:fx%=|
000005e0  30 3a 66 79 25 3d 30 3a  62 6f 72 65 64 25 3d a3  |0:fy%=0:bored%=.|
000005f0  3a 6d 61 73 6b 25 3d 26  44 33 30 3a 6d 65 6e 75  |:mask%=&D30:menu|
00000600  25 21 33 32 3d 69 6e 66  6f 25 3a e1 0d 01 c2 04  |%!32=info%:.....|
00000610  0d 01 cc 0d dd f2 64 6f  5f 65 79 65 73 0d 01 d6  |......do_eyes...|
00000620  2c ea 20 78 25 2c 61 6e  67 3a 67 78 25 3d 65 78  |,. x%,ang:gx%=ex|
00000630  25 3a 67 79 25 3d 65 79  25 3a 68 78 25 3d 66 78  |%:gy%=ey%:hx%=fx|
00000640  25 3a 68 79 25 3d 66 79  25 0d 01 e0 37 c8 99 22  |%:hy%=fy%...7.."|
00000650  57 69 6d 70 5f 47 65 74  50 6f 69 6e 74 65 72 49  |Wimp_GetPointerI|
00000660  6e 66 6f 22 2c 2c 70 74  72 25 3a 70 78 25 3d 70  |nfo",,ptr%:px%=p|
00000670  74 72 25 21 30 3a 70 79  25 3d 70 74 72 25 21 34  |tr%!0:py%=ptr%!4|
00000680  0d 01 ea 3b 21 42 25 3d  65 79 65 73 25 3a c8 99  |...;!B%=eyes%:..|
00000690  22 57 69 6d 70 5f 47 65  74 57 69 6e 64 6f 77 53  |"Wimp_GetWindowS|
000006a0  74 61 74 65 22 2c 2c 42  25 3a 77 78 25 3d 42 25  |tate",,B%:wx%=B%|
000006b0  21 34 3a 77 79 25 3d 42  25 21 38 0d 01 f4 0b e3  |!4:wy%=B%!8.....|
000006c0  78 25 3d 30 b8 31 0d 01  fe 2b 20 6f 78 25 3d 70  |x%=0.1...+ ox%=p|
000006d0  78 25 2d 77 78 25 2d 28  31 31 36 2b 34 30 2a 78  |x%-wx%-(116+40*x|
000006e0  25 29 3a 6f 79 25 3d 70  79 25 2d 77 79 25 2d 33  |%):oy%=py%-wy%-3|
000006f0  30 0d 02 08 29 20 e7 20  28 6f 79 25 2a 6f 79 25  |0...) . (oy%*oy%|
00000700  2b 6f 78 25 2a 6f 78 25  29 3e 31 32 2a 31 32 20  |+ox%*ox%)>12*12 |
00000710  80 20 6f 78 25 3c 3e 30  20 8c 0d 02 12 23 20 20  |. ox%<>0 ....#  |
00000720  61 6e 67 3d 99 28 6f 79  25 2f 6f 78 25 29 3a e7  |ang=.(oy%/ox%):.|
00000730  20 6f 78 25 3c 30 20 61  6e 67 2b 3d af 0d 02 1c  | ox%<0 ang+=....|
00000740  21 20 20 6f 78 25 3d 31  32 2a 9b 28 61 6e 67 29  |!  ox%=12*.(ang)|
00000750  3a 6f 79 25 3d 31 32 2a  b5 28 61 6e 67 29 0d 02  |:oy%=12*.(ang)..|
00000760  26 06 20 cd 0d 02 30 0e  20 e7 20 6f 78 25 3d 30  |&. ...0. . ox%=0|
00000770  20 8c 0d 02 3a 15 20 20  e7 20 6f 79 25 3e 31 32  | ...:.  . oy%>12|
00000780  20 6f 79 25 3d 31 32 0d  02 44 17 20 20 e7 20 6f  | oy%=12..D.  . o|
00000790  79 25 3c 2d 31 32 20 6f  79 25 3d 2d 31 32 0d 02  |y%<-12 oy%=-12..|
000007a0  4e 06 20 cd 0d 02 58 1b  20 e7 20 78 25 3d 30 20  |N. ...X. . x%=0 |
000007b0  65 78 25 3d 6f 78 25 3a  65 79 25 3d 6f 79 25 0d  |ex%=ox%:ey%=oy%.|
000007c0  02 62 1b 20 e7 20 78 25  3d 31 20 66 78 25 3d 6f  |.b. . x%=1 fx%=o|
000007d0  78 25 3a 66 79 25 3d 6f  79 25 0d 02 6c 05 ed 0d  |x%:fy%=oy%..l...|
000007e0  02 76 31 e7 20 65 78 25  3c 3e 67 78 25 20 84 20  |.v1. ex%<>gx% . |
000007f0  66 78 25 3c 3e 68 78 25  20 84 20 65 79 25 3c 3e  |fx%<>hx% . ey%<>|
00000800  67 79 25 20 84 20 66 79  25 3c 3e 68 79 25 20 8c  |gy% . fy%<>hy% .|
00000810  0d 02 80 31 20 21 42 25  3d 65 79 65 73 25 3a 42  |...1 !B%=eyes%:B|
00000820  25 21 34 3d 34 32 3a 42  25 21 38 3d 2d 36 34 3a  |%!4=42:B%!8=-64:|
00000830  42 25 21 31 32 3d 32 31  38 3a 42 25 21 31 36 3d  |B%!12=218:B%!16=|
00000840  34 0d 02 8a 26 20 c8 99  22 57 69 6d 70 5f 55 70  |4...& .."Wimp_Up|
00000850  64 61 74 65 57 69 6e 64  6f 77 22 2c 2c 42 25 20  |dateWindow",,B% |
00000860  b8 20 6d 6f 72 65 25 0d  02 94 38 20 20 c8 95 20  |. more%...8  .. |
00000870  6d 6f 72 65 25 3a f2 65  79 65 73 3a c8 99 22 57  |more%:.eyes:.."W|
00000880  69 6d 70 5f 47 65 74 52  65 63 74 61 6e 67 6c 65  |imp_GetRectangle|
00000890  22 2c 2c 42 25 20 b8 20  6d 6f 72 65 25 3a ce 0d  |",,B% . more%:..|
000008a0  02 9e 07 cd 3a e1 0d 02  a8 04 0d 02 b2 0d dd f2  |....:...........|
000008b0  64 6f 5f 77 69 6e 64 0d  02 bc 38 ea 6d 6f 72 65  |do_wind...8.more|
000008c0  25 3a c8 99 22 57 69 6d  70 5f 47 65 74 57 69 6e  |%:.."Wimp_GetWin|
000008d0  64 6f 77 53 74 61 74 65  22 2c 2c 42 25 3a 77 78  |dowState",,B%:wx|
000008e0  25 3d 42 25 21 34 3a 77  79 25 3d 42 25 21 38 0d  |%=B%!4:wy%=B%!8.|
000008f0  02 c6 25 c8 99 22 57 69  6d 70 5f 52 65 64 72 61  |..%.."Wimp_Redra|
00000900  77 57 69 6e 64 6f 77 22  2c 2c 42 25 20 b8 20 6d  |wWindow",,B% . m|
00000910  6f 72 65 25 0d 02 d0 0c  c8 95 20 6d 6f 72 65 25  |ore%...... more%|
00000920  0d 02 da 2c 20 f2 65 79  65 73 3a c8 99 22 57 69  |..., .eyes:.."Wi|
00000930  6d 70 5f 47 65 74 52 65  63 74 61 6e 67 6c 65 22  |mp_GetRectangle"|
00000940  2c 2c 42 25 20 b8 20 6d  6f 72 65 25 0d 02 e4 07  |,,B% . more%....|
00000950  ce 3a e1 0d 02 ee 04 0d  02 f8 0a dd f2 65 79 65  |.:...........eye|
00000960  73 0d 03 02 3c c8 99 22  57 69 6d 70 5f 52 65 61  |s...<.."Wimp_Rea|
00000970  64 50 69 78 54 72 61 6e  73 22 2c 26 31 30 30 2c  |dPixTrans",&100,|
00000980  73 70 25 2c 22 73 6f 63  6b 65 74 22 2c 2c 2c 2c  |sp%,"socket",,,,|
00000990  73 63 61 6c 65 25 2c 74  72 61 6e 73 25 0d 03 0c  |scale%,trans%...|
000009a0  40 c8 99 22 4f 53 5f 53  70 72 69 74 65 4f 70 22  |@.."OS_SpriteOp"|
000009b0  2c 26 31 33 34 2c 73 70  25 2c 22 73 6f 63 6b 65  |,&134,sp%,"socke|
000009c0  74 22 2c 39 32 2b 77 78  25 2c 77 79 25 2c 38 2c  |t",92+wx%,wy%,8,|
000009d0  73 63 61 6c 65 25 2c 74  72 61 6e 73 25 0d 03 16  |scale%,trans%...|
000009e0  49 c8 99 22 4f 53 5f 53  70 72 69 74 65 4f 70 22  |I.."OS_SpriteOp"|
000009f0  2c 26 31 33 34 2c 73 70  25 2c 22 65 79 65 22 2c  |,&134,sp%,"eye",|
00000a00  31 30 36 2b 65 78 25 2b  77 78 25 2c 32 34 2b 65  |106+ex%+wx%,24+e|
00000a10  79 25 2b 77 79 25 2c 38  2c 73 63 61 6c 65 25 2c  |y%+wy%,8,scale%,|
00000a20  74 72 61 6e 73 25 0d 03  20 49 c8 99 22 4f 53 5f  |trans%.. I.."OS_|
00000a30  53 70 72 69 74 65 4f 70  22 2c 26 31 33 34 2c 73  |SpriteOp",&134,s|
00000a40  70 25 2c 22 65 79 65 22  2c 31 34 30 2b 66 78 25  |p%,"eye",140+fx%|
00000a50  2b 77 78 25 2c 32 34 2b  66 79 25 2b 77 79 25 2c  |+wx%,24+fy%+wy%,|
00000a60  38 2c 73 63 61 6c 65 25  2c 74 72 61 6e 73 25 0d  |8,scale%,trans%.|
00000a70  03 2a 05 e1 0d 03 34 04  0d 03 3e 0b dd f2 65 72  |.*....4...>...er|
00000a80  72 6f 72 0d 03 48 3e 24  28 42 25 2b 34 29 3d f6  |ror..H>$(B%+4)=.|
00000a90  24 2b 22 3a 20 49 6e 74  65 72 6e 61 6c 20 65 72  |$+": Internal er|
00000aa0  72 6f 72 20 63 6f 64 65  20 22 2b c3 9e 2b 22 20  |ror code "+..+" |
00000ab0  28 43 61 6e 63 65 6c 20  74 6f 20 71 75 69 74 29  |(Cancel to quit)|
00000ac0  22 0d 03 52 2e c8 99 22  57 69 6d 70 5f 52 65 70  |"..R..."Wimp_Rep|
00000ad0  6f 72 74 45 72 72 6f 72  22 2c 42 25 2c 33 2c 22  |ortError",B%,3,"|
00000ae0  42 61 62 79 42 6c 75 65  73 22 20 b8 20 2c 62 0d  |BabyBlues" . ,b.|
00000af0  03 5c 21 e7 62 3d 31 20  e1 20 8b 20 c8 99 22 57  |.\!.b=1 . . .."W|
00000b00  69 6d 70 5f 43 6c 6f 73  65 44 6f 77 6e 22 3a e0  |imp_CloseDown":.|
00000b10  0d ff                                             |..|
00000b12