From 6dc9d1d7309613fdc0518c03b2cdf3253d4c52fd Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 17 Apr 2018 18:18:40 -0400 Subject: puzzles: enable all the remaining games They all work now :). I merged in part of Chris Boyle's Android port of Puzzles to give the front end a way to know what keys the back end needs. This also re-syncs to the latest upstream sources. Change-Id: Ie0409bbb32f617ae5abf4f81be3b45d1552db9bb --- apps/plugins/puzzles/src/puzzles.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugins/puzzles/src/puzzles.h') diff --git a/apps/plugins/puzzles/src/puzzles.h b/apps/plugins/puzzles/src/puzzles.h index 47f4b7e..031bdfc 100644 --- a/apps/plugins/puzzles/src/puzzles.h +++ b/apps/plugins/puzzles/src/puzzles.h @@ -613,6 +613,7 @@ struct game { void (*free_ui)(game_ui *ui); char *(*encode_ui)(const game_ui *ui); void (*decode_ui)(game_ui *ui, const char *encoding); + char *(*request_keys)(const game_params *params); void (*changed_state)(game_ui *ui, const game_state *oldstate, const game_state *newstate); char *(*interpret_move)(const game_state *state, game_ui *ui, -- cgit v1.1