From 25c007cdd625c4063dd065c5bdcd0b692b2ee5ad Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 27 Jan 1999 04:48:13 +0000 Subject: [PATCH] C++ style refinements by Bernie Bright. --- Controls/controls.hxx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Controls/controls.hxx b/Controls/controls.hxx index b98389615..286cc86e8 100644 --- a/Controls/controls.hxx +++ b/Controls/controls.hxx @@ -37,11 +37,17 @@ class FGControls { 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: @@ -176,6 +182,9 @@ extern FGControls controls; // $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. // -- 2.39.5