]> git.mxchange.org Git - flightgear.git/commitdiff
C++ style refinements by Bernie Bright.
authorcurt <curt>
Wed, 27 Jan 1999 04:48:13 +0000 (04:48 +0000)
committercurt <curt>
Wed, 27 Jan 1999 04:48:13 +0000 (04:48 +0000)
Controls/controls.hxx

index b9838961582c65e6e7db21e33ee088f457956173..286cc86e8ada9e6572e43e4c80ca7c8a098b81e0 100644 (file)
@@ -37,11 +37,17 @@ class FGControls {
 
 public:
 
 
 public:
 
-    static const int ALL_ENGINES = -1;
-    static const int MAX_ENGINES = 10;
-
-    static const int ALL_WHEELS = -1;
-    static const int MAX_WHEELS = 3;
+    enum
+    {
+       ALL_ENGINES = -1,
+       MAX_ENGINES = 10
+    };
+
+    enum
+    {
+       ALL_WHEELS = -1,
+       MAX_WHEELS = 3
+    };
 
 private:
 
 
 private:
 
@@ -176,6 +182,9 @@ extern FGControls controls;
 
 
 // $Log$
 
 
 // $Log$
+// Revision 1.4  1999/01/27 04:48:13  curt
+// C++ style refinements by Bernie Bright.
+//
 // Revision 1.3  1998/12/05 16:13:13  curt
 // Renamed class fgCONTROLS to class FGControls.
 //
 // Revision 1.3  1998/12/05 16:13:13  curt
 // Renamed class fgCONTROLS to class FGControls.
 //