From: curt Date: Mon, 27 Jul 1998 18:42:22 +0000 (+0000) Subject: Added a pause option. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05e3836b52431cc0dc96564e3621b3b805302098;p=flightgear.git Added a pause option. --- diff --git a/Time/fg_time.cxx b/Time/fg_time.cxx index c9abf8259..da6377dd1 100644 --- a/Time/fg_time.cxx +++ b/Time/fg_time.cxx @@ -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. diff --git a/Time/fg_time.hxx b/Time/fg_time.hxx index d205c425c..1c282c743 100644 --- a/Time/fg_time.hxx +++ b/Time/fg_time.hxx @@ -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