aboutsummaryrefslogtreecommitdiff
path: root/nullgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'nullgame.c')
-rw-r--r--nullgame.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/nullgame.c b/nullgame.c
index e2c4a74..bc3f64a 100644
--- a/nullgame.c
+++ b/nullgame.c
@@ -122,8 +122,8 @@ static void free_game(game_state *state)
sfree(state);
}
-static game_state *solve_game(game_state *state, game_state *currstate,
- game_aux_info *aux, char **error)
+static char *solve_game(game_state *state, game_state *currstate,
+ game_aux_info *aux, char **error)
{
return NULL;
}
@@ -151,8 +151,13 @@ 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)
+static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
+ int x, int y, int button)
+{
+ return NULL;
+}
+
+static game_state *execute_move(game_state *state, char *move)
{
return NULL;
}
@@ -251,7 +256,8 @@ const struct game thegame = {
new_ui,
free_ui,
game_changed_state,
- make_move,
+ interpret_move,
+ execute_move,
game_size,
game_colours,
game_new_drawstate,