diff options
Diffstat (limited to 'flip.c')
| -rw-r--r-- | flip.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -928,6 +928,13 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate, { } +static const char *current_key_label(const game_ui *ui, + const game_state *state, int button) +{ + if (IS_CURSOR_SELECT(button)) return "Flip"; + return ""; +} + struct game_drawstate { int w, h; bool started; @@ -1346,6 +1353,7 @@ const struct game thegame = { decode_ui, NULL, /* game_request_keys */ game_changed_state, + current_key_label, interpret_move, execute_move, PREFERRED_TILE_SIZE, game_compute_size, game_set_size, |