]> git.mxchange.org Git - flightgear.git/blobdiff - Time/fg_time.hxx
Renamed class fgFLIGHT to class FGState as per request by JSB.
[flightgear.git] / Time / fg_time.hxx
index 1c282c743f029cd6fc6f01939b178180c779070a..a308cdf1a8a9cc32c654337435e142b5f99c7fc2 100644 (file)
@@ -43,8 +43,7 @@
 #include <GL/glut.h>
 #include <time.h>
 
-#include <Include/fg_types.h>
-#include <Flight/flight.h>
+#include <Flight/flight.hxx>
 
 
 // Define a structure containing global time parameters
@@ -88,36 +87,35 @@ typedef struct {
 extern fgTIME cur_time_params;
 
 
-typedef struct {
-    long seconds;
-    long millis;
-} fg_timestamp;
-
-
-// Portability wrap to get current time.
-void timestamp(fg_timestamp *timestamp);
-
-
-// Return duration in millis from first to last
-long timediff(fg_timestamp *first, fg_timestamp *last);
-
-
-// Return new timestamp given a time stamp and an interval to add in
-void timesum(fg_timestamp *res, fg_timestamp *start, long millis);
-
-
 // Update time variables such as gmt, julian date, and sidereal time
 void fgTimeInit(fgTIME *t);
 
 
 // Update the time dependent variables
-void fgTimeUpdate(fgFLIGHT *f, fgTIME *t);
+void fgTimeUpdate(FGState *f, fgTIME *t);
 
 
 #endif // _FG_TIME_HXX
 
 
 // $Log$
+// Revision 1.11  1998/12/05 15:54:29  curt
+// Renamed class fgFLIGHT to class FGState as per request by JSB.
+//
+// Revision 1.10  1998/12/05 14:21:31  curt
+// Moved struct fg_timestamp to class fgTIMESTAMP and moved it's definition
+// to it's own file, timestamp.hxx.
+//
+// Revision 1.9  1998/12/04 01:32:50  curt
+// Converted "struct fg_timestamp" to "class fgTIMESTAMP" and added some
+// convenience inline operators.
+//
+// Revision 1.8  1998/10/16 23:28:00  curt
+// C++-ifying.
+//
+// Revision 1.7  1998/10/16 00:56:09  curt
+// Converted to Point3D class.
+//
 // Revision 1.6  1998/07/27 18:42:22  curt
 // Added a pause option.
 //