aboutsummaryrefslogtreecommitdiff
path: root/location.h
diff options
context:
space:
mode:
authorFranklin Wei <franklin@fwei.tk>2014-06-24 11:06:17 +0000
committerFranklin Wei <franklin@fwei.tk>2014-06-24 11:06:17 +0000
commit119d1caf3f19235649f68accfefebede01e82e83 (patch)
tree623ca9119df15fdc8cb679852184f5c56fe034b5 /location.h
parent45083e66657bed6167e7513d599581b0517bbf81 (diff)
downloadwargames-server-119d1caf3f19235649f68accfefebede01e82e83.zip
wargames-server-119d1caf3f19235649f68accfefebede01e82e83.tar.gz
wargames-server-119d1caf3f19235649f68accfefebede01e82e83.tar.bz2
wargames-server-119d1caf3f19235649f68accfefebede01e82e83.tar.xz
Added some population data to GTNW
Diffstat (limited to 'location.h')
-rw-r--r--location.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/location.h b/location.h
index fc72b16..3d8ad5f 100644
--- a/location.h
+++ b/location.h
@@ -4,25 +4,25 @@ struct location_t {
const char* name;
int x;
int y; /* x,y-coords on the map */
+ int population; /* around 1980 */
enum player_t owner;
-};
+};
struct location_t world[]={
/* US cities */
- {"las vegas", 5, 7, USA},
- {"seattle", 3, 2, USA},
- {"new york", 34, 5, USA},
- {"new orleans", 25, 10, USA},
- {"washington", 33, 6, USA},
- {"washington dc", 33, 6, USA},
- {"winston-salem", 30, 7, USA},
- {"san francisco", 1, 6, USA},
- {"chicago", 24, 4, USA},
- {"miami", 33, 11, USA},
+ {"las vegas", 5, 7, 150000, USA},
+ {"seattle", 3, 2, 0, 500000, USA},
+ {"new york", 34, 5, 7000000, USA},
+ {"new orleans", 25, 10, 500000, USA},
+ {"washington dc", 33, 6, 650000, USA},
+ {"winston-salem", 30, 7, 150000, USA},
+ {"san francisco", 1, 6, 700000, USA},
+ {"chicago", 24, 4, 3000000, USA},
+ {"miami", 33, 11, 1000000, USA},
/* Soviet cities */
/* NOTE: These cities are not accurate! */
- {"murmansk", 74, 1, USSR},
- {"moscow", 70, 5, USSR},
- {"minsk", 66, 4, USSR},
- {"chelyabinsk", 64, 8, USSR}
+ {"murmansk", 74, 1, 500000, USSR},
+ {"moscow", 70, 5, 8000000, USSR},
+ {"minsk", 66, 4, 1500000, USSR},
+ {"chelyabinsk", 64, 8, 1250000, USSR}
};