Home » Archimedes archive » Acorn User » AU 1996-06.adf » Regulars » StarInfo/Jerome/Vibe/VRID » Compare
Compare StarInfo/Jerome/Vibe/VRID with StarInfo/Vibe/!Chinese/CHIN
| File: | Archimedes archive » Acorn User » AU 1996-06.adf » Regulars » StarInfo/Jerome/Vibe/VRID |
| Compared with: | Archimedes archive » Acorn User » AU 1996-05.adf » Regulars » StarInfo/Vibe/!Chinese/CHIN |
| Similarity: | 54% of bytes duplicated |
16 of 47 lines (39.0%) are identical in the two listings. Duplicated Different
Line numbers are ignored when comparing lines, so that renumbered programs still match.
| StarInfo/Jerome/Vibe/VRID | StarInfo/Vibe/!Chinese/CHIN |
|---|---|
| 10REM > VRID | 10REM > CHIN |
| 20 | 20 |
| 30MODE21:OFF | 30MODE18:OFF |
| 40DIM SPR &30000,ROT 32 | 40DIM SPR &20000,ROT 32 |
| 50SPR!0=&2FFFF:SPR!4=0:SPR!8=16:SPR!12=16 | 50SPR!0=&1FFFF:SPR!4=0:SPR!8=16:SPR!12=16 |
| 60 | 60 |
| 70FORN%=1TO2000:GCOLRND(63):W%=RND(50)+9:X%=RND(1280):Y%=RND(1024) | 70RECTANGLEFILL0,0,1280,1024 |
| 80RECTANGLEFILLX%-W%,Y%-W%,2*W%:NEXT | 80SYS"OS_SpriteOp",256+10,SPR,"<Obey$Dir>.CHINESE" |
| 90 | 90SYS"OS_SpriteOp",256+34,SPR,"CHINESE",100,0 |
| 100REPEAT | 100COLOUR0:COLOUR129 |
| 110W%=RND(200)+200:X%=RND(1280-W%):Y%=RND(1024-W%):W2%=W%/2 | 110PRINT'"When the pointer is" |
| 120SYS"OS_SpriteOp",256+16,SPR,"ROT",0,X%,Y%,X%+W%,Y%+W% | 120PRINT"at the top of the" |
| 130SYS"OS_SpriteOp",256+29,SPR,"ROT" | 130PRINT"screen, there are" |
| 140A%=0:D%=RND(2):IFRND(1)>.5 D%=360-D% | 140PRINT"12 men."' |
| 150FORN%=W2%TO2STEP-2:A%=(A%+D%)MOD360 | 150PRINT"When the pointer" |
| 160SYS"OS_SpriteOp",256+61,SPR,"ROT" | 160PRINT"reaches the" |
| 170GCOL0TINT0:RECTANGLEFILL0,0,W%+2 | 170PRINT"bottom, there " |
| 180GCOL63TINT192:CIRCLEFILLW2%,W2%,N% | 180PRINT"are 13."' |
| 190PRINT"Where does" | |
| 200PRINT"the 13th" | |
| 210PRINT"come from?" | |
| 220SYS"OS_SpriteOp",256+16,SPR,"GLOBE",0,216,50,1088,922 | |
| 230SYS"OS_SpriteOp",256+29,SPR,"GLOBE" | |
| 240SYS"OS_SpriteOp",256+61,SPR,"GLOBE" | |
| 250GCOL0:RECTANGLE FILL 0,0,872 | |
| 260GCOL1:CIRCLEFILL436,436,436 | |
| 190SYS"OS_SpriteOp",256+61,SPR,0 | 270SYS"OS_SpriteOp",256+61,SPR,0 |
| 200PROCROT(SPR,"ROT",X%+W2%,Y%+W2%,W2%,W2%,A%) | 280*POINTER |
| 210NEXT | 290MOUSERECTANGLE 1200,0,0,1024:MOUSE TO 1200,1023:OFF |
| 220UNTIL0 | 300REPEAT |
| 310OB%=B%:MOUSE A%,B%,C%:B%=30-B%/34.1 | |
| 320IF B%<>OB% PROCROT(SPR,"GLOBE",652,488,436,436,B%) | |
| 330UNTILA%=30 | |
| 340END | |
| 230 | 350 |
| 240DEFPROCROT(SPR,N$,X%,Y%,SX%,SY%,A%) | 360DEFPROCROT(SPR,N$,X%,Y%,SX%,SY%,A%) |
| 250LOCAL XR%,YR% | 370LOCAL XR%,YR% |
| 260XR%=-SX%*COSRADA%+SY%*SINRADA%:YR%=SY%*COSRADA%+SX%*SINRADA% | 380XR%=-SX%*COSRADA%+SY%*SINRADA%:YR%=SY%*COSRADA%+SX%*SINRADA% |
| 270ROT!00=(XR%+X%)*256:ROT!04=(YR%+Y%)*256 | 390ROT!00=(XR%+X%)*256:ROT!04=(YR%+Y%)*256 |
| 280XR%=SX%*COSRADA%+SY%*SINRADA%:YR%=SY%*COSRADA%-SX%*SINRADA% | 400XR%=SX%*COSRADA%+SY%*SINRADA%:YR%=SY%*COSRADA%-SX%*SINRADA% |
| 290ROT!08=(XR%+X%)*256:ROT!12=(YR%+Y%)*256 | 410ROT!08=(XR%+X%)*256:ROT!12=(YR%+Y%)*256 |
| 300XR%=SX%*COSRADA%-SY%*SINRADA%:YR%=-SY%*COSRADA%-SX%*SINRADA% | 420XR%=SX%*COSRADA%-SY%*SINRADA%:YR%=-SY%*COSRADA%-SX%*SINRADA% |
| 310ROT!16=(XR%+X%)*256:ROT!20=(YR%+Y%)*256 | 430ROT!16=(XR%+X%)*256:ROT!20=(YR%+Y%)*256 |
| 320XR%=-SX%*COSRADA%-SY%*SINRADA%:YR%=-SY%*COSRADA%+SX%*SINRADA% | 440XR%=-SX%*COSRADA%-SY%*SINRADA%:YR%=-SY%*COSRADA%+SX%*SINRADA% |
| 330ROT!24=(XR%+X%)*256:ROT!28=(YR%+Y%)*256 | 450ROT!24=(XR%+X%)*256:ROT!28=(YR%+Y%)*256 |
| 340SYS"OS_SpriteOp",256+56,SPR,N$,1,,8,ROT | 460SYS"OS_SpriteOp",256+56,SPR,N$,1,,8,ROT |
| 350ENDPROC | 470ENDPROC |
.