home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / xgalaga-2_0_tar.gz / xgalaga-2_0_tar / xgalaga-2.0 / paths.h < prev    next >
C/C++ Source or Header  |  1998-04-12  |  1KB  |  50 lines

  1. #ifndef PATHS_H
  2. #define PATHS_H
  3.  
  4. /* enter_paths are for new ships.  consists of starting co-ordinates, number of frames
  5.    to wait at the start (presumably offscreen) and a path to follow.
  6.    path -1 means this ship is not used on this level
  7.    at end of path, ship flies into convoy position on it's own from wherever it winds up
  8. */
  9.  
  10. struct enter_path {
  11.     int shape, x, y, delay, path;
  12. };
  13.  
  14. #define NUMLEVELS 15
  15.  
  16. #define P_PEELLEFT 0
  17. #define P_PEELRIGHT 1
  18. #define P_LOOP 2
  19. #define P_SWOOP1 3
  20. #define P_SWOOP2 4
  21. #define P_ZIGZAG 5
  22. #define P_LOOP2  6
  23. #define P_SPIN   7
  24. #define P_LEFTDIAG 8
  25. #define P_RIGHTDIAG 9
  26. #define P_ENTER1 10
  27. #define P_ENTER2 11
  28. #define P_ENTER3 12
  29. #define P_ENTER4 13
  30. #define P_ENTER5 14
  31. #define P_ENTER6 15
  32. #define P_ENTER7 16
  33. #define P_ENTER8 17
  34. #define P_ENTER9 18
  35. #define P_ENTER10 19
  36. #define P_ENTER11 20
  37. #define P_ENTER12 21
  38. #define P_ENTER13 22
  39. #define P_ENTER14 23
  40. #define P_ENTER15 24
  41. #define P_ENTER16 25
  42. #define P_ENTER17 26
  43. #define P_ENTER18 27
  44. #define P_ENTER19 28
  45. #define P_ENTER20 29
  46.  
  47. #define NUMPATHS 30
  48.  
  49. #endif
  50.