summaryrefslogtreecommitdiffstats
path: root/src/game.h
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-20 16:39:40 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-20 16:41:22 (EDT)
commit090b6d62acbe03c139f4dcb96d86402c03d25fc3 (patch)
tree14e731fbb8c094fbbc76468f3a2b7b014f6841ed /src/game.h
parent1f4b8a236c39ae2fc0bc702943baf4c3f6953607 (diff)
downloadcursespong-090b6d62acbe03c139f4dcb96d86402c03d25fc3.zip
cursespong-090b6d62acbe03c139f4dcb96d86402c03d25fc3.tar.gz
cursespong-090b6d62acbe03c139f4dcb96d86402c03d25fc3.tar.bz2
Start implementing game loop.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index f404ff0..9a0f096 100644
--- a/src/game.h
+++ b/src/game.h
@@ -5,10 +5,11 @@
struct game {
struct player *players[2];
+ char running;
};
struct game *new_game(void);
void free_game(struct game *g);
-void draw_game(struct game *g);
+void run_game(struct game *g);
#endif