home *** CD-ROM | disk | FTP | other *** search
- /* @(#)dstar.h 1.1 92/05/28 SMI */
- /* from dstar.h 1.3 90/07/23 */
-
- #ifndef DSTAR_H
- #define DSTAR_H
-
-
- #include <sys/time.h>
-
-
-
- #ifndef GRAPHICS_H
-
- typedef struct {
- float x,y,z ;
- } Pt3d ;
-
- typedef float Mat3d[4][4] ;
-
- #endif
-
-
- typedef enum {B_NIL, B_FLASH, B_WAIT} Blast_State ;
-
-
-
-
-
-
- /* *** GAME PARAMETERS *** */
-
- /****
- *
- * description of ship's position & orientation in 3-space.
- *
- * left-hand rule used throughout.
- *
- * game grid is 20,000 km in all 3 dimensions, ship's position is given
- * as a 3-space location in km. Ship's forward orientation
- * is given as two 3-space unit vectors. Velocity is a scalar (this
- * may change)
- *
- * The ship's z-coordinate is looking straight along the nose, +x is to
- * the right & +y is up
- *
- ****/
-
- char Hostname[64] ;
-
- struct itimerval Main_Timer, Sleep_Timer ;
-
- struct timeval Last_Time, Now ;
- float Dtime ;
-
- int auto_pilot, auto_fire ;
-
- int missiles_remaining ;
- int armed_missiles ; /* count of missile armed & ready */
-
- int debug_level ;
-
-
- #endif DSTAR_H
-