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.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-27
|
516b
|
31 lines
#ifndef GRAPHICS_TURTLE_H
#define GRAPHICS_TURTLE_H
#ifndef GRAPHICS_RASTPORT_H
#include <graphics/rastport.h>
#endif
struct TurtleHandle
{
struct RastPort *RPort;
FLOAT xPosition, yPosition;
SHORT Angle;
SHORT xStart, yStart, aStart;
UBYTE Flags, FlagStart;
Point PointArray[3];
};
#define HIDETURTLE 0x01
#define PENUP 0x02
#define TXCOMP 0x04
#define TYCOMP 0x08
#define TURTLEVALID 0x80
#define TCX320Y200 TXCOMP|TYCOMP
#define TCX640Y200 TYCOMP
#define TCX320Y400 TXCOMP
#define TCX640Y400 0
#endif