]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.hxx
Moved "scenery" from being declaried in scenery.cxx to being declared
[flightgear.git] / src / Cockpit / panel.hxx
index bde2930a6d47b957db7af1d46f20e44561f0b732..c17b897357dc0ba5c1d97d8f4be0e9c03b96ca1a 100644 (file)
@@ -141,7 +141,7 @@ public:
   virtual void init ();
   virtual void bind ();
   virtual void unbind ();
-  virtual void update (int dt);
+  virtual void update (double dt);
   virtual void update (GLfloat winx, GLfloat winw, GLfloat winy, GLfloat winh);
 
                                // transfer pointer ownership!!!
@@ -195,7 +195,6 @@ private:
   int _x_offset;
   int _y_offset;
   int _view_height;
-  bool _bound;
   float _jitter;
 
   const SGPropertyNode * _xsize_node;
@@ -473,7 +472,7 @@ private:
 class FGTextLayer : public FGInstrumentLayer
 {
 public:
-  typedef enum ChunkType {
+  enum ChunkType {
     TEXT,
     TEXT_VALUE,
     DOUBLE_VALUE