Home » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars » StarInfo/Wareham/!Tunnel/!Help

StarInfo/Wareham/!Tunnel/!Help

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 » Acorn User » AU 1998-10.adf » Regulars
Filename: StarInfo/Wareham/!Tunnel/!Help
Read OK:
File size: 05A4 bytes
Load address: 0000
Exec address: 0000
File contents
Tunnel (v 2.00)
~~~~~~~~~~~~~~~
by Richard Wareham
E-Mail : rjwareham@hotmail.com

 The original Tunnel program took up a massive 400K
of disc space. This has now been reduced to the 20K
(including documentation) that this version takes
up.
 This program is capable of creating the effect of
flying down a

 - depth cued
 - texture mapped or
 - flame mapped 
 
 tunnel.
 To run simply dounble click on !Tunnel. You will
be asked if you wish to use depth-cueing. This can
slow the display due to the slow method of
displaying the depth-cue data.
 You will also be asked if you want to flame-map the
tunnel walls. If you do this, the walls of the
tunnel will appear to be a roaring fire. Otherwise,
a 64x64 texture will be used.
 This texture is a sprite-file called 'texture'
inside the application directory if you want to
modify it.
 You can also opt to use a large or small tunnel
display. The smaller tunnel is quicker to draw.
 Once the tunnel is on the screen, pressing Select
causes you to accellerate and Adjust causes you to
decelerate. 
 Moving the mouse causes you to roll side to side
while pressing Menu toggles on and off 'sick mode'
which should not be used on a full-stomach. You
have been warned.

 Details of the algorithm used are present in the
docs directory inside the application dierctory.
The flame algorithm used is based on one described
in a past issue of Acorn User but I can't remember
which.

R. Wareham - Feb 1998
00000000  54 75 6e 6e 65 6c 20 28  76 20 32 2e 30 30 29 0a  |Tunnel (v 2.00).|
00000010  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 0a  |~~~~~~~~~~~~~~~.|
00000020  62 79 20 52 69 63 68 61  72 64 20 57 61 72 65 68  |by Richard Wareh|
00000030  61 6d 0a 45 2d 4d 61 69  6c 20 3a 20 72 6a 77 61  |am.E-Mail : rjwa|
00000040  72 65 68 61 6d 40 68 6f  74 6d 61 69 6c 2e 63 6f  |reham@hotmail.co|
00000050  6d 0a 0a 20 54 68 65 20  6f 72 69 67 69 6e 61 6c  |m.. The original|
00000060  20 54 75 6e 6e 65 6c 20  70 72 6f 67 72 61 6d 20  | Tunnel program |
00000070  74 6f 6f 6b 20 75 70 20  61 20 6d 61 73 73 69 76  |took up a massiv|
00000080  65 20 34 30 30 4b 0a 6f  66 20 64 69 73 63 20 73  |e 400K.of disc s|
00000090  70 61 63 65 2e 20 54 68  69 73 20 68 61 73 20 6e  |pace. This has n|
000000a0  6f 77 20 62 65 65 6e 20  72 65 64 75 63 65 64 20  |ow been reduced |
000000b0  74 6f 20 74 68 65 20 32  30 4b 0a 28 69 6e 63 6c  |to the 20K.(incl|
000000c0  75 64 69 6e 67 20 64 6f  63 75 6d 65 6e 74 61 74  |uding documentat|
000000d0  69 6f 6e 29 20 74 68 61  74 20 74 68 69 73 20 76  |ion) that this v|
000000e0  65 72 73 69 6f 6e 20 74  61 6b 65 73 0a 75 70 2e  |ersion takes.up.|
000000f0  0a 20 54 68 69 73 20 70  72 6f 67 72 61 6d 20 69  |. This program i|
00000100  73 20 63 61 70 61 62 6c  65 20 6f 66 20 63 72 65  |s capable of cre|
00000110  61 74 69 6e 67 20 74 68  65 20 65 66 66 65 63 74  |ating the effect|
00000120  20 6f 66 0a 66 6c 79 69  6e 67 20 64 6f 77 6e 20  | of.flying down |
00000130  61 0a 0a 20 2d 20 64 65  70 74 68 20 63 75 65 64  |a.. - depth cued|
00000140  0a 20 2d 20 74 65 78 74  75 72 65 20 6d 61 70 70  |. - texture mapp|
00000150  65 64 20 6f 72 0a 20 2d  20 66 6c 61 6d 65 20 6d  |ed or. - flame m|
00000160  61 70 70 65 64 20 0a 20  0a 20 74 75 6e 6e 65 6c  |apped . . tunnel|
00000170  2e 0a 20 54 6f 20 72 75  6e 20 73 69 6d 70 6c 79  |.. To run simply|
00000180  20 64 6f 75 6e 62 6c 65  20 63 6c 69 63 6b 20 6f  | dounble click o|
00000190  6e 20 21 54 75 6e 6e 65  6c 2e 20 59 6f 75 20 77  |n !Tunnel. You w|
000001a0  69 6c 6c 0a 62 65 20 61  73 6b 65 64 20 69 66 20  |ill.be asked if |
000001b0  79 6f 75 20 77 69 73 68  20 74 6f 20 75 73 65 20  |you wish to use |
000001c0  64 65 70 74 68 2d 63 75  65 69 6e 67 2e 20 54 68  |depth-cueing. Th|
000001d0  69 73 20 63 61 6e 0a 73  6c 6f 77 20 74 68 65 20  |is can.slow the |
000001e0  64 69 73 70 6c 61 79 20  64 75 65 20 74 6f 20 74  |display due to t|
000001f0  68 65 20 73 6c 6f 77 20  6d 65 74 68 6f 64 20 6f  |he slow method o|
00000200  66 0a 64 69 73 70 6c 61  79 69 6e 67 20 74 68 65  |f.displaying the|
00000210  20 64 65 70 74 68 2d 63  75 65 20 64 61 74 61 2e  | depth-cue data.|
00000220  0a 20 59 6f 75 20 77 69  6c 6c 20 61 6c 73 6f 20  |. You will also |
00000230  62 65 20 61 73 6b 65 64  20 69 66 20 79 6f 75 20  |be asked if you |
00000240  77 61 6e 74 20 74 6f 20  66 6c 61 6d 65 2d 6d 61  |want to flame-ma|
00000250  70 20 74 68 65 0a 74 75  6e 6e 65 6c 20 77 61 6c  |p the.tunnel wal|
00000260  6c 73 2e 20 49 66 20 79  6f 75 20 64 6f 20 74 68  |ls. If you do th|
00000270  69 73 2c 20 74 68 65 20  77 61 6c 6c 73 20 6f 66  |is, the walls of|
00000280  20 74 68 65 0a 74 75 6e  6e 65 6c 20 77 69 6c 6c  | the.tunnel will|
00000290  20 61 70 70 65 61 72 20  74 6f 20 62 65 20 61 20  | appear to be a |
000002a0  72 6f 61 72 69 6e 67 20  66 69 72 65 2e 20 4f 74  |roaring fire. Ot|
000002b0  68 65 72 77 69 73 65 2c  0a 61 20 36 34 78 36 34  |herwise,.a 64x64|
000002c0  20 74 65 78 74 75 72 65  20 77 69 6c 6c 20 62 65  | texture will be|
000002d0  20 75 73 65 64 2e 0a 20  54 68 69 73 20 74 65 78  | used.. This tex|
000002e0  74 75 72 65 20 69 73 20  61 20 73 70 72 69 74 65  |ture is a sprite|
000002f0  2d 66 69 6c 65 20 63 61  6c 6c 65 64 20 27 74 65  |-file called 'te|
00000300  78 74 75 72 65 27 0a 69  6e 73 69 64 65 20 74 68  |xture'.inside th|
00000310  65 20 61 70 70 6c 69 63  61 74 69 6f 6e 20 64 69  |e application di|
00000320  72 65 63 74 6f 72 79 20  69 66 20 79 6f 75 20 77  |rectory if you w|
00000330  61 6e 74 20 74 6f 0a 6d  6f 64 69 66 79 20 69 74  |ant to.modify it|
00000340  2e 0a 20 59 6f 75 20 63  61 6e 20 61 6c 73 6f 20  |.. You can also |
00000350  6f 70 74 20 74 6f 20 75  73 65 20 61 20 6c 61 72  |opt to use a lar|
00000360  67 65 20 6f 72 20 73 6d  61 6c 6c 20 74 75 6e 6e  |ge or small tunn|
00000370  65 6c 0a 64 69 73 70 6c  61 79 2e 20 54 68 65 20  |el.display. The |
00000380  73 6d 61 6c 6c 65 72 20  74 75 6e 6e 65 6c 20 69  |smaller tunnel i|
00000390  73 20 71 75 69 63 6b 65  72 20 74 6f 20 64 72 61  |s quicker to dra|
000003a0  77 2e 0a 20 4f 6e 63 65  20 74 68 65 20 74 75 6e  |w.. Once the tun|
000003b0  6e 65 6c 20 69 73 20 6f  6e 20 74 68 65 20 73 63  |nel is on the sc|
000003c0  72 65 65 6e 2c 20 70 72  65 73 73 69 6e 67 20 53  |reen, pressing S|
000003d0  65 6c 65 63 74 0a 63 61  75 73 65 73 20 79 6f 75  |elect.causes you|
000003e0  20 74 6f 20 61 63 63 65  6c 6c 65 72 61 74 65 20  | to accellerate |
000003f0  61 6e 64 20 41 64 6a 75  73 74 20 63 61 75 73 65  |and Adjust cause|
00000400  73 20 79 6f 75 20 74 6f  0a 64 65 63 65 6c 65 72  |s you to.deceler|
00000410  61 74 65 2e 20 0a 20 4d  6f 76 69 6e 67 20 74 68  |ate. . Moving th|
00000420  65 20 6d 6f 75 73 65 20  63 61 75 73 65 73 20 79  |e mouse causes y|
00000430  6f 75 20 74 6f 20 72 6f  6c 6c 20 73 69 64 65 20  |ou to roll side |
00000440  74 6f 20 73 69 64 65 0a  77 68 69 6c 65 20 70 72  |to side.while pr|
00000450  65 73 73 69 6e 67 20 4d  65 6e 75 20 74 6f 67 67  |essing Menu togg|
00000460  6c 65 73 20 6f 6e 20 61  6e 64 20 6f 66 66 20 27  |les on and off '|
00000470  73 69 63 6b 20 6d 6f 64  65 27 0a 77 68 69 63 68  |sick mode'.which|
00000480  20 73 68 6f 75 6c 64 20  6e 6f 74 20 62 65 20 75  | should not be u|
00000490  73 65 64 20 6f 6e 20 61  20 66 75 6c 6c 2d 73 74  |sed on a full-st|
000004a0  6f 6d 61 63 68 2e 20 59  6f 75 0a 68 61 76 65 20  |omach. You.have |
000004b0  62 65 65 6e 20 77 61 72  6e 65 64 2e 0a 0a 20 44  |been warned... D|
000004c0  65 74 61 69 6c 73 20 6f  66 20 74 68 65 20 61 6c  |etails of the al|
000004d0  67 6f 72 69 74 68 6d 20  75 73 65 64 20 61 72 65  |gorithm used are|
000004e0  20 70 72 65 73 65 6e 74  20 69 6e 20 74 68 65 0a  | present in the.|
000004f0  64 6f 63 73 20 64 69 72  65 63 74 6f 72 79 20 69  |docs directory i|
00000500  6e 73 69 64 65 20 74 68  65 20 61 70 70 6c 69 63  |nside the applic|
00000510  61 74 69 6f 6e 20 64 69  65 72 63 74 6f 72 79 2e  |ation dierctory.|
00000520  0a 54 68 65 20 66 6c 61  6d 65 20 61 6c 67 6f 72  |.The flame algor|
00000530  69 74 68 6d 20 75 73 65  64 20 69 73 20 62 61 73  |ithm used is bas|
00000540  65 64 20 6f 6e 20 6f 6e  65 20 64 65 73 63 72 69  |ed on one descri|
00000550  62 65 64 0a 69 6e 20 61  20 70 61 73 74 20 69 73  |bed.in a past is|
00000560  73 75 65 20 6f 66 20 41  63 6f 72 6e 20 55 73 65  |sue of Acorn Use|
00000570  72 20 62 75 74 20 49 20  63 61 6e 27 74 20 72 65  |r but I can't re|
00000580  6d 65 6d 62 65 72 0a 77  68 69 63 68 2e 0a 0a 52  |member.which...R|
00000590  2e 20 57 61 72 65 68 61  6d 20 2d 20 46 65 62 20  |. Wareham - Feb |
000005a0  31 39 39 38                                       |1998|
000005a4