diff options
| author | Franklin Wei <franklin@fwei.tk> | 2014-06-27 18:11:06 -0400 |
|---|---|---|
| committer | Franklin Wei <franklin@fwei.tk> | 2014-06-27 18:11:06 -0400 |
| commit | aedf71494b2011ceeb06b96e63da1c7a79a32e0e (patch) | |
| tree | a74e1584445d33fec8210141f72c8f33e1e027e5 /games.c | |
| parent | ba1e1deb1bdca110051aa83dec1c03e8b2a02209 (diff) | |
| download | wargames-server-aedf71494b2011ceeb06b96e63da1c7a79a32e0e.zip wargames-server-aedf71494b2011ceeb06b96e63da1c7a79a32e0e.tar.gz wargames-server-aedf71494b2011ceeb06b96e63da1c7a79a32e0e.tar.bz2 wargames-server-aedf71494b2011ceeb06b96e63da1c7a79a32e0e.tar.xz | |
Restructure
Diffstat (limited to '')
| -rw-r--r-- | gtnw.c (renamed from games.c) | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,11 +1,11 @@ -#include <games.h> +#include "gtnw.h" +#include "location.h" +#include "map.h" +#include "util.h" #include <curses.h> -#include <map.h> -#include <util.h> -#include <location.h> -#include <unistd.h> -#include <string.h> #include <stdlib.h> +#include <string.h> +#include <unistd.h> static bool surrender=false; static int winner=0; /* on surrender */ static unsigned int max(long long a, long long b) @@ -379,3 +379,4 @@ void global_thermonuclear_war(void) } } } + |