1
0
Fork 0

Changed priorety of the Default area.

This commit is contained in:
curt 1999-05-13 02:37:56 +00:00
parent 9d9c1676c0
commit 202d1bb6e6
2 changed files with 6 additions and 3 deletions

View file

@ -29,8 +29,8 @@
// return area type from text name
AreaType get_area_type( string area ) {
if ( area == "Default" ) {
return DefaultArea;
if ( area == "SomeSort" ) {
return SomeSortOfArea;
} else if ( area == "AirportKeep" ) {
return AirportKeepArea;
} else if ( area == "AirportIgnore" ) {
@ -60,6 +60,8 @@ AreaType get_area_type( string area ) {
return CanalArea;
} else if ( area == "Glacier" ) {
return GlacierArea;
} else if ( area == "Default" ) {
return DefaultArea;
} else if ( area == "Void Area" ) {
return VoidArea;
} else if ( area == "Null" ) {

View file

@ -36,7 +36,7 @@ FG_USING_STD(string);
// defines the priority of these shapes if they should intersect. The
// smaller the number, the higher the priority.
enum AreaType {
DefaultArea = 0,
SomeSortOfArea = 0,
AirportKeepArea = 1,
AirportIgnoreArea = 2,
OceanArea = 3,
@ -49,6 +49,7 @@ enum AreaType {
CanalArea = 10,
GlacierArea = 11,
MarshArea = 12,
DefaultArea = 13,
VoidArea = 9997,
NullArea = 9998,
UnknownArea = 9999