From dccfa58cbb77e8305aeccdb8a8d2b3112e2af688 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 24 Jun 2014 14:24:05 +0000 Subject: Added NEW, SHINY featuresgit diff! Still needs some work... --- games.c | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 76 insertions(+), 6 deletions(-) (limited to 'games.c') diff --git a/games.c b/games.c index 94d1581..e92f441 100644 --- a/games.c +++ b/games.c @@ -5,6 +5,81 @@ #include #include #include +static int max(int a, int b) +{ + if(a>b) + return a; + else + return b; +} +static void print_map_with_pops(void) +{ + for(int i=0;iussr_back) + { + while(us_back!=ussr_back) + { + ussr_cities[ussr_back].print=false; + ++ussr_back; + } + } + print_string("\n\n"); + char buf[256]; + for(int i=0;i