From a8665d204255b4b0ad9ae6982f77ecd5e053c1b6 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 11 Jun 2012 17:28:27 +0200 Subject: Changed #defined constants to consts; typedef struct -> struct --- src/object/auto/autobase.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/object/auto/autobase.h') diff --git a/src/object/auto/autobase.h b/src/object/auto/autobase.h index 1a3623d..513f16e 100644 --- a/src/object/auto/autobase.h +++ b/src/object/auto/autobase.h @@ -31,15 +31,16 @@ class CCamera; class CObject; - -#define PARAM_STOP 0 // run=0 -> stops and open -#define PARAM_LANDING 1 // run=1 -> landing -#define PARAM_PORTICO 2 // run=2 -> gate on the ground -#define PARAM_FIXSCENE 3 // run=3 -> open and stops to win / lost -#define PARAM_TRANSIT1 11 // run=11 -> transit in space -#define PARAM_TRANSIT2 12 // run=12 -> transit in space -#define PARAM_TRANSIT3 13 // run=13 -> transit in space - +enum AutoBaseParam +{ + PARAM_STOP = 0, // run=0 -> stops and open + PARAM_LANDING = 1, // run=1 -> landing + PARAM_PORTICO = 2, // run=2 -> gate on the ground + PARAM_FIXSCENE = 3, // run=3 -> open and stops to win / lost + PARAM_TRANSIT1 = 11, // run=11 -> transit in space + PARAM_TRANSIT2 = 12, // run=12 -> transit in space + PARAM_TRANSIT3 = 13 // run=13 -> transit in space +}; enum AutoBasePhase { -- cgit v1.2.3-1-g7c22