Added a pause option.
This commit is contained in:
parent
6d427da8d8
commit
05e3836b52
2 changed files with 11 additions and 0 deletions
|
@ -72,6 +72,8 @@ void fgTimeInit(fgTIME *t) {
|
||||||
|
|
||||||
t->warp = current_options.get_time_offset();
|
t->warp = current_options.get_time_offset();
|
||||||
t->warp_delta = 0;
|
t->warp_delta = 0;
|
||||||
|
|
||||||
|
t->pause = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -409,6 +411,9 @@ void fgTimeUpdate(fgFLIGHT *f, fgTIME *t) {
|
||||||
|
|
||||||
|
|
||||||
// $Log$
|
// $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
|
// Revision 1.11 1998/07/22 21:45:37 curt
|
||||||
// fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
|
// fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
|
||||||
// but seems to be triggering a bug.
|
// but seems to be triggering a bug.
|
||||||
|
|
|
@ -80,6 +80,9 @@ typedef struct {
|
||||||
// How much to change the value of warp each iteration. Allows us
|
// How much to change the value of warp each iteration. Allows us
|
||||||
// to make time progress faster than normal.
|
// to make time progress faster than normal.
|
||||||
long int warp_delta;
|
long int warp_delta;
|
||||||
|
|
||||||
|
// Paused (0 = no, 1 = yes)
|
||||||
|
int pause;
|
||||||
} fgTIME;
|
} fgTIME;
|
||||||
|
|
||||||
extern fgTIME cur_time_params;
|
extern fgTIME cur_time_params;
|
||||||
|
@ -115,6 +118,9 @@ void fgTimeUpdate(fgFLIGHT *f, fgTIME *t);
|
||||||
|
|
||||||
|
|
||||||
// $Log$
|
// $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
|
// 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
|
// 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
|
// and run queue this removes the arbitrary list sizes and makes things much
|
||||||
|
|
Loading…
Add table
Reference in a new issue