**************************************************************************/
-#ifndef VIEWS_H
-#define VIEWS_H
+#ifndef _VIEWS_H
+#define _VIEWS_H
-#include <Include/types.h>
+#include <Include/fg_types.h>
#include <Flight/flight.h>
#include <Math/mat3.h>
#include <Time/fg_time.h>
/* Define a structure containing view information */
struct fgVIEW {
+ /* absolute view position */
+ struct fgCartesianPoint abs_view_pos;
+
/* view position translated to scenery.center */
struct fgCartesianPoint view_pos;
void fgViewInit(struct fgVIEW *v);
/* Update the view parameters */
-void fgViewUpdate(struct fgFLIGHT *f, struct fgVIEW *v, struct fgLIGHT *l);
+void fgViewUpdate(fgFLIGHT *f, struct fgVIEW *v, struct fgLIGHT *l);
-#endif /* VIEWS_H */
+#endif /* _VIEWS_H */
/* $Log$
-/* Revision 1.6 1998/01/19 19:27:10 curt
-/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
-/* This should simplify things tremendously.
+/* Revision 1.10 1998/02/07 15:29:45 curt
+/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
+/* <chotchkiss@namg.us.anritsu.com>
/*
+ * Revision 1.9 1998/01/29 00:50:29 curt
+ * Added a view record field for absolute x, y, z position.
+ *
+ * Revision 1.8 1998/01/27 00:47:58 curt
+ * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
+ * system and commandline/config file processing code.
+ *
+ * Revision 1.7 1998/01/22 02:59:38 curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
+ * Revision 1.6 1998/01/19 19:27:10 curt
+ * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
+ * This should simplify things tremendously.
+ *
* Revision 1.5 1997/12/22 04:14:32 curt
* Aligned sky with sun so dusk/dawn effects can be correct relative to the sun.
*