aboutsummaryrefslogtreecommitdiff
path: root/nullgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'nullgame.c')
-rw-r--r--nullgame.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/nullgame.c b/nullgame.c
index 3bcfe46..92bdf32 100644
--- a/nullgame.c
+++ b/nullgame.c
@@ -147,6 +147,10 @@ static void game_changed_state(game_ui *ui, game_state *oldstate,
{
}
+struct game_drawstate {
+ int FIXME;
+};
+
static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
int x, int y, int button)
{
@@ -157,11 +161,8 @@ static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
* Drawing routines.
*/
-struct game_drawstate {
- int FIXME;
-};
-
-static void game_size(game_params *params, int *x, int *y)
+static void game_size(game_params *params, game_drawstate *ds,
+ int *x, int *y, int expand)
{
*x = *y = 200; /* FIXME */
}