]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Improve timing statistics
[flightgear.git] / src / Main / globals.hxx
index 097e3acb5ea441eede4909884dd07338cb432fef..e241b6297a0630b911ecd03c092aad1380976f6f 100644 (file)
@@ -104,14 +104,6 @@ private:
 
     std::string browser;
 
-    // An offset in seconds from the true time.  Allows us to adjust
-    // the effective time of day.
-    long int warp;
-
-    // How much to change the value of warp each iteration.  Allows us
-    // to make time progress faster than normal (or even run in reverse.)
-    long int warp_delta;
-
     // Time structure
     SGTime *time_params;
 
@@ -227,13 +219,11 @@ public:
     inline const std::string &get_browser () const { return browser; }
     void set_browser (const std::string &b) { browser = b; }
 
-    inline long int get_warp() const { return warp; }
-    inline void set_warp( long int w ) { warp = w; }
-    inline void inc_warp( long int w ) { warp += w; }
+    long int get_warp() const;
+    void set_warp( long int w );
 
-    inline long int get_warp_delta() const { return warp_delta; }
-    inline void set_warp_delta( long int d ) { warp_delta = d; }
-    inline void inc_warp_delta( long int d ) { warp_delta += d; }
+    long int get_warp_delta() const;
+    void set_warp_delta( long int d );
 
     inline SGTime *get_time_params() const { return time_params; }
     inline void set_time_params( SGTime *t ) { time_params = t; }