diff options
| author | Franklin Wei <franklin@fwei.tk> | 2014-06-24 20:59:40 +0000 |
|---|---|---|
| committer | Franklin Wei <franklin@fwei.tk> | 2014-06-24 20:59:40 +0000 |
| commit | 6884a80079292a5475de0abb64652a4c79e886ae (patch) | |
| tree | 23277e3b248d83a202c4130857eb272622654445 /location.h | |
| parent | dccfa58cbb77e8305aeccdb8a8d2b3112e2af688 (diff) | |
| download | wargames-server-6884a80079292a5475de0abb64652a4c79e886ae.zip wargames-server-6884a80079292a5475de0abb64652a4c79e886ae.tar.gz wargames-server-6884a80079292a5475de0abb64652a4c79e886ae.tar.bz2 wargames-server-6884a80079292a5475de0abb64652a4c79e886ae.tar.xz | |
Added population printout to map print
Diffstat (limited to 'location.h')
| -rw-r--r-- | location.h | 27 |
1 files changed, 14 insertions, 13 deletions
@@ -7,23 +7,24 @@ struct location_t { int population; /* around 1980 */ enum player_t owner; bool print; + const char* print_name; }; struct location_t world[]={ /* US cities */ - {"las vegas", 5, 7, 150000, USA, true}, - {"seattle", 3, 2, 500000, USA, true}, - {"new york", 34, 5, 7000000, USA, true}, - {"new orleans", 25, 10, 500000, USA, true}, - {"washington dc", 33, 6, 650000, USA, true}, - {"winston-salem", 30, 7, 150000, USA, true}, - {"san francisco", 1, 6, 700000, USA, true}, - {"chicago", 24, 4, 3000000, USA, true}, - {"miami", 33, 11, 1000000, USA, true}, + {"las vegas", 5, 7, 150000, USA, true, "Las Vegas"}, + {"seattle", 3, 2, 500000, USA, true, "Seattle"}, + {"new york", 34, 5, 7000000, USA, true, "New York City"}, + {"new orleans", 25, 10, 500000, USA, true, "New Orleans"}, + {"washington dc", 33, 6, 650000, USA, true, "Washington, DC"}, + {"winston-salem", 30, 7, 150000, USA, true, "Winston-Salem"}, + {"san francisco", 1, 6, 700000, USA, true, "San Francisco"}, + {"chicago", 24, 4, 3000000, USA, true, "Chicago"}, + {"miami", 33, 11, 1000000, USA, true, "Miami"}, /* Soviet cities */ /* NOTE: These cities are not accurate! */ - {"murmansk", 74, 1, 500000, USSR, true}, - {"moscow", 70, 5, 8000000, USSR, true}, - {"minsk", 66, 4, 1500000, USSR, true}, - {"chelyabinsk", 64, 8, 1250000, USSR, true} + {"murmansk", 74, 1, 500000, USSR, true,"Murmansk"}, + {"moscow", 70, 5, 8000000, USSR, true, "Moscow"}, + {"minsk", 66, 4, 1500000, USSR, true, "Minsk"}, + {"chelyabinsk", 64, 8, 1250000, USSR, true, "Chelyabinsk"} }; |