Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
648 B

  1. #pragma warning(disable:4305)
  2. #define RAD 57.295
  3. #define RRAD 0.01745
  4. #define NUM_SHARKS 4
  5. #define SHARKSIZE 6000
  6. #define SHARKSPEED 100.0
  7. #define WHALESPEED 250.0
  8. typedef struct _fishRec {
  9. float x, y, z, phi, theta, psi, v;
  10. float xt, yt, zt;
  11. float htail, vtail;
  12. float dtheta;
  13. int spurt, attack;
  14. } fishRec;
  15. extern fishRec sharks[NUM_SHARKS];
  16. extern fishRec momWhale;
  17. extern fishRec babyWhale;
  18. extern fishRec dolph;
  19. void FishTransform(fishRec *);
  20. void WhalePilot(fishRec *);
  21. void SharkPilot(fishRec *);
  22. void SharkMiss(int);
  23. void DrawShark(fishRec *fish);
  24. void DrawDolphin(fishRec *fish);
  25. void DrawWhale(fishRec *fish);