aboutsummaryrefslogtreecommitdiff
path: root/location.h
blob: ed9e4ff484e0d9b15b83b6648a2ecc9790f3ebc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* provide the GTNW with some geographical data to draw the missiles */
enum player_t { USA=1, USSR };
struct location_t {
  const char* name;
  int x;
  int y; /* x,y-coords on the map */
  long long 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, "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,"MURMANSK"},
  {"moscow", 70, 5, 8000000, USSR, true, "MOSCOW"},
  {"minsk", 66, 4, 1500000, USSR, true, "MINSK"},
  {"chelyabinsk", 64, 8, 1250000, USSR, true, "CHELYABINSK"}
};