Move the GameState object out of the game loop, for resuming
commit23b284cf74cb574eb94a2750fcfdfd54b33c4890
authorThomas Perl <thp@perli.net>
Wed, 22 Oct 2008 14:49:31 +0000 (22 16:49 +0200)
committerThomas Perl <thp@perli.net>
Wed, 22 Oct 2008 14:49:31 +0000 (22 16:49 +0200)
tree9daea802257b2d10b5e20d196cf1c985ec3b55ba
parent5aafbf86a150528ea4bee3b74dd6aad8bfbfaeb0
Move the GameState object out of the game loop, for resuming

Rename game() to gameloop() and make the GameState struct a
parameter, so we can do things like resume games that have
not yet finished, etc..
game.c
game.h
tennix.c
tennix.h