1
0
Fork 0

Added new area types Bog, Sand, Lava, FloodLand, IntermittentStream,

and PackIce, to support vmap0.
This commit is contained in:
david 2001-12-30 02:21:23 +00:00
parent 2b8ef0e7ae
commit bc882d259d
2 changed files with 17 additions and 7 deletions

View file

@ -64,6 +64,10 @@ inline static void init ()
set_area("Pond", PondArea); set_area("Pond", PondArea);
set_area("Swamp or Marsh", MarshArea); set_area("Swamp or Marsh", MarshArea);
set_area("Marsh", MarshArea); set_area("Marsh", MarshArea);
set_area("Bog", BogArea);
set_area("Sand", SandArea);
set_area("Lava", LavaArea);
set_area("FloodLand", FloodLandArea);
set_area("Lake", LakeArea); set_area("Lake", LakeArea);
set_area("Lake Dry", DryLakeArea); set_area("Lake Dry", DryLakeArea);
set_area("DryLake", DryLakeArea); set_area("DryLake", DryLakeArea);
@ -76,8 +80,10 @@ inline static void init ()
set_area("Road", RoadArea); set_area("Road", RoadArea);
set_area("Railroad", RailroadArea); set_area("Railroad", RailroadArea);
set_area("Stream", StreamArea); set_area("Stream", StreamArea);
set_area("IntermittentStream", IntStreamArea);
set_area("Canal", CanalArea); set_area("Canal", CanalArea);
set_area("Glacier", GlacierArea); set_area("Glacier", GlacierArea);
set_area("PackIce", PackIceArea);
set_area("Urban", UrbanArea); set_area("Urban", UrbanArea);
set_area("Town", TownArea); set_area("Town", TownArea);
set_area("BuiltUpCover", BuiltUpCover); set_area("BuiltUpCover", BuiltUpCover);

View file

@ -48,11 +48,18 @@ enum AreaType {
ReservoirArea, ReservoirArea,
IntReservoirArea, IntReservoirArea,
StreamArea, StreamArea,
IntStreamArea,
CanalArea, CanalArea,
GlacierArea, GlacierArea, // Any solid ice/snow
PackIceArea, // Water with ice packs
OceanArea, OceanArea,
UrbanArea, UrbanArea, // Densely-populated city or large town
TownArea, TownArea, // Small town or village
FloodLandArea, // Land subject to flooding
BogArea, // Bog
MarshArea, // Marshland or swamp
SandArea, // Sand-covered area
LavaArea, // Lava-covered area
// USGS Land Covers // USGS Land Covers
// These are low-priority, since known polygons should always win. // These are low-priority, since known polygons should always win.
@ -82,11 +89,8 @@ enum AreaType {
BareTundraCover, // Bare Ground Tundra BareTundraCover, // Bare Ground Tundra
SnowCover, // Snow or Ice SnowCover, // Snow or Ice
MarshArea, // this is put at the end because I'd
// rather have the USGS land cover data than
// large expansive marshes
IslandArea, // any remaining land area not covered otherwise IslandArea, // any island area not covered otherwise
DefaultArea, // any land area not covered otherwise DefaultArea, // any land area not covered otherwise
VoidArea, VoidArea,