Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars » StarInfo/Lurcock/!SpiroLat/h/spiro

StarInfo/Lurcock/!SpiroLat/h/spiro

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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars
Filename: StarInfo/Lurcock/!SpiroLat/h/spiro
Read OK:
File size: 0184 bytes
Load address: 0000
Exec address: 0000
File contents
#ifndef __spiro_h
#define __spiro_h
#endif

/* Auto */

extern int init_draw_file(drawfile_diagram *draw)
;
extern int build_draw_file(int order, char *turn_dir, int angle, int scale)
;
extern void shift_draw_file(drawfile_diagram *draw)
;
extern int shape_length(int order, char *turn_dir, int angle)
;
extern int count_turns(int order, char *turn_dir)
;
extern double rad(double deg)
;
00000000  23 69 66 6e 64 65 66 20  5f 5f 73 70 69 72 6f 5f  |#ifndef __spiro_|
00000010  68 0a 23 64 65 66 69 6e  65 20 5f 5f 73 70 69 72  |h.#define __spir|
00000020  6f 5f 68 0a 23 65 6e 64  69 66 0a 0a 2f 2a 20 41  |o_h.#endif../* A|
00000030  75 74 6f 20 2a 2f 0a 0a  65 78 74 65 72 6e 20 69  |uto */..extern i|
00000040  6e 74 20 69 6e 69 74 5f  64 72 61 77 5f 66 69 6c  |nt init_draw_fil|
00000050  65 28 64 72 61 77 66 69  6c 65 5f 64 69 61 67 72  |e(drawfile_diagr|
00000060  61 6d 20 2a 64 72 61 77  29 0a 3b 0a 65 78 74 65  |am *draw).;.exte|
00000070  72 6e 20 69 6e 74 20 62  75 69 6c 64 5f 64 72 61  |rn int build_dra|
00000080  77 5f 66 69 6c 65 28 69  6e 74 20 6f 72 64 65 72  |w_file(int order|
00000090  2c 20 63 68 61 72 20 2a  74 75 72 6e 5f 64 69 72  |, char *turn_dir|
000000a0  2c 20 69 6e 74 20 61 6e  67 6c 65 2c 20 69 6e 74  |, int angle, int|
000000b0  20 73 63 61 6c 65 29 0a  3b 0a 65 78 74 65 72 6e  | scale).;.extern|
000000c0  20 76 6f 69 64 20 73 68  69 66 74 5f 64 72 61 77  | void shift_draw|
000000d0  5f 66 69 6c 65 28 64 72  61 77 66 69 6c 65 5f 64  |_file(drawfile_d|
000000e0  69 61 67 72 61 6d 20 2a  64 72 61 77 29 0a 3b 0a  |iagram *draw).;.|
000000f0  65 78 74 65 72 6e 20 69  6e 74 20 73 68 61 70 65  |extern int shape|
00000100  5f 6c 65 6e 67 74 68 28  69 6e 74 20 6f 72 64 65  |_length(int orde|
00000110  72 2c 20 63 68 61 72 20  2a 74 75 72 6e 5f 64 69  |r, char *turn_di|
00000120  72 2c 20 69 6e 74 20 61  6e 67 6c 65 29 0a 3b 0a  |r, int angle).;.|
00000130  65 78 74 65 72 6e 20 69  6e 74 20 63 6f 75 6e 74  |extern int count|
00000140  5f 74 75 72 6e 73 28 69  6e 74 20 6f 72 64 65 72  |_turns(int order|
00000150  2c 20 63 68 61 72 20 2a  74 75 72 6e 5f 64 69 72  |, char *turn_dir|
00000160  29 0a 3b 0a 65 78 74 65  72 6e 20 64 6f 75 62 6c  |).;.extern doubl|
00000170  65 20 72 61 64 28 64 6f  75 62 6c 65 20 64 65 67  |e rad(double deg|
00000180  29 0a 3b 0a                                       |).;.|
00000184