windows-nt/Source/XPSP1/NT/multimedia/opengl/test/demos/atlantis/atlantis.h

36 lines
648 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#pragma warning(disable:4305)
#define RAD 57.295
#define RRAD 0.01745
#define NUM_SHARKS 4
#define SHARKSIZE 6000
#define SHARKSPEED 100.0
#define WHALESPEED 250.0
typedef struct _fishRec {
float x, y, z, phi, theta, psi, v;
float xt, yt, zt;
float htail, vtail;
float dtheta;
int spurt, attack;
} fishRec;
extern fishRec sharks[NUM_SHARKS];
extern fishRec momWhale;
extern fishRec babyWhale;
extern fishRec dolph;
void FishTransform(fishRec *);
void WhalePilot(fishRec *);
void SharkPilot(fishRec *);
void SharkMiss(int);
void DrawShark(fishRec *fish);
void DrawDolphin(fishRec *fish);
void DrawWhale(fishRec *fish);