From 398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 13 May 2010 09:44:44 +0000 Subject: (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int --- src/airport.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/airport.h') diff --git a/src/airport.h b/src/airport.h index 2aaddfbc1..7a0cdf54a 100644 --- a/src/airport.h +++ b/src/airport.h @@ -26,7 +26,7 @@ enum { }; /** Airport types */ -enum { +enum AirportTypes { AT_SMALL = 0, AT_LARGE = 1, AT_HELIPORT = 2, @@ -43,7 +43,7 @@ enum { AT_DUMMY = 255 }; -enum { +enum AirportMovingDataFlags { AMED_NOSPDCLAMP = 1 << 0, AMED_TAKEOFF = 1 << 1, AMED_SLOWTURN = 1 << 2, @@ -56,7 +56,7 @@ enum { }; /* Movement States on Airports (headings target) */ -enum { +enum AirportMovementStates { TO_ALL = 0, HANGAR = 1, TERM1 = 2, -- cgit v1.2.3-54-g00ecf