aboutsummaryrefslogtreecommitdiff
path: root/location.h
diff options
context:
space:
mode:
authorFranklin Wei <franklin@fwei.tk>2014-06-24 14:24:05 +0000
committerFranklin Wei <franklin@fwei.tk>2014-06-24 14:24:05 +0000
commitdccfa58cbb77e8305aeccdb8a8d2b3112e2af688 (patch)
tree77fed8f5357c190191cd19be6cf1afc5ed4df1e8 /location.h
parent119d1caf3f19235649f68accfefebede01e82e83 (diff)
downloadwargames-server-dccfa58cbb77e8305aeccdb8a8d2b3112e2af688.zip
wargames-server-dccfa58cbb77e8305aeccdb8a8d2b3112e2af688.tar.gz
wargames-server-dccfa58cbb77e8305aeccdb8a8d2b3112e2af688.tar.bz2
wargames-server-dccfa58cbb77e8305aeccdb8a8d2b3112e2af688.tar.xz
Added NEW, SHINY featuresgit diff! Still needs some work...
Diffstat (limited to 'location.h')
-rw-r--r--location.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/location.h b/location.h
index 3d8ad5f..68e3d29 100644
--- a/location.h
+++ b/location.h
@@ -6,23 +6,24 @@ struct location_t {
int y; /* x,y-coords on the map */
int population; /* around 1980 */
enum player_t owner;
+ bool print;
};
struct location_t world[]={
/* US cities */
- {"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},
+ {"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},
/* Soviet cities */
/* NOTE: These cities are not accurate! */
- {"murmansk", 74, 1, 500000, USSR},
- {"moscow", 70, 5, 8000000, USSR},
- {"minsk", 66, 4, 1500000, USSR},
- {"chelyabinsk", 64, 8, 1250000, USSR}
+ {"murmansk", 74, 1, 500000, USSR, true},
+ {"moscow", 70, 5, 8000000, USSR, true},
+ {"minsk", 66, 4, 1500000, USSR, true},
+ {"chelyabinsk", 64, 8, 1250000, USSR, true}
};