]> git.mxchange.org Git - flightgear.git/commitdiff
Added a pause option.
authorcurt <curt>
Mon, 27 Jul 1998 18:42:22 +0000 (18:42 +0000)
committercurt <curt>
Mon, 27 Jul 1998 18:42:22 +0000 (18:42 +0000)
Time/fg_time.cxx
Time/fg_time.hxx

index c9abf8259381a5cf9c95b2dc819cf71201d8b241..da6377dd1259d1c679664eb36ae740291ee295c1 100644 (file)
@@ -72,6 +72,8 @@ void fgTimeInit(fgTIME *t) {
 
     t->warp = current_options.get_time_offset();
     t->warp_delta = 0;
+
+    t->pause = 0;
 }
 
 
@@ -409,6 +411,9 @@ void fgTimeUpdate(fgFLIGHT *f, fgTIME *t) {
 
 
 // $Log$
+// Revision 1.12  1998/07/27 18:42:22  curt
+// Added a pause option.
+//
 // Revision 1.11  1998/07/22 21:45:37  curt
 // fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
 //   but seems to be triggering a bug.
index d205c425c2522e24c193cc6c47bb247fb4648e10..1c282c743f029cd6fc6f01939b178180c779070a 100644 (file)
@@ -80,6 +80,9 @@ typedef struct {
     // How much to change the value of warp each iteration.  Allows us
     // to make time progress faster than normal.
     long int warp_delta; 
+
+    // Paused (0 = no, 1 = yes)
+    int pause;
 } fgTIME;
 
 extern fgTIME cur_time_params;
@@ -115,6 +118,9 @@ void fgTimeUpdate(fgFLIGHT *f, fgTIME *t);
 
 
 // $Log$
+// Revision 1.6  1998/07/27 18:42:22  curt
+// Added a pause option.
+//
 // Revision 1.5  1998/05/22 21:14:54  curt
 // Rewrote event.cxx in C++ as a class using STL for the internal event list
 // and run queue this removes the arbitrary list sizes and makes things much