home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff321.lzh
/
Turtle
/
includes
/
turtle.proto
< prev
Wrap
Text File
|
1990-02-27
|
1KB
|
30 lines
extern struct Library *TurtleBase;
struct TurtleHandle *CreateTurtle(struct RastPort *, WORD, WORD, WORD, BYTE);
void ReturnTurtle(struct TurtleHandle *);
void TurnLeft(struct TurtleHandle *, WORD);
void TurnRight(struct TurtleHandle *, WORD);
void PenUp(struct TurtleHandle *);
void PenDown(struct TurtleHandle *);
void HideTurtle(struct TurtleHandle *);
void ShowTurtle(struct TurtleHandle *);
void SetAngle(struct TurtleHandle *, WORD);
void SetPosition(struct TurtleHandle *, WORD, WORD);
void ResetTurtle(struct TurtleHandle *);
void Forward(struct TurtleHandle *, float);
#ifndef NO_PRAGMAS
#pragma libcall TurtleBase CreateTurtle 1e 3210805
#pragma libcall TurtleBase ReturnTurtle 24 801
#pragma libcall TurtleBase TurnLeft 2a 802
#pragma libcall TurtleBase TurnRight 30 802
#pragma libcall TurtleBase PenUp 36 801
#pragma libcall TurtleBase PenDown 3c 801
#pragma libcall TurtleBase HideTurtle 42 801
#pragma libcall TurtleBase ShowTurtle 48 801
#pragma libcall TurtleBase SetAngle 4e 802
#pragma libcall TurtleBase SetPosition 54 10803
#pragma libcall TurtleBase ResetTurtle 5a 801
#pragma libcall TurtleBase Forward 60 802
#endif