diff options
Diffstat (limited to 'apps/plugins/puzzles/src/inertia.c')
-rw-r--r-- | apps/plugins/puzzles/src/inertia.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/inertia.c b/apps/plugins/puzzles/src/inertia.c index 838f8dee96..726c89c7dd 100644 --- a/apps/plugins/puzzles/src/inertia.c +++ b/apps/plugins/puzzles/src/inertia.c | |||
@@ -2186,6 +2186,17 @@ static float game_flash_length(const game_state *oldstate, | |||
2186 | return 0.0F; | 2186 | return 0.0F; |
2187 | } | 2187 | } |
2188 | 2188 | ||
2189 | static void game_get_cursor_location(const game_ui *ui, | ||
2190 | const game_drawstate *ds, | ||
2191 | const game_state *state, | ||
2192 | const game_params *params, | ||
2193 | int *x, int *y, int *w, int *h) | ||
2194 | { | ||
2195 | *x = ds->pbgx; | ||
2196 | *y = ds->pbgy; | ||
2197 | *w = *h = TILESIZE; | ||
2198 | } | ||
2199 | |||
2189 | static int game_status(const game_state *state) | 2200 | static int game_status(const game_state *state) |
2190 | { | 2201 | { |
2191 | /* | 2202 | /* |
@@ -2245,6 +2256,7 @@ const struct game thegame = { | |||
2245 | game_redraw, | 2256 | game_redraw, |
2246 | game_anim_length, | 2257 | game_anim_length, |
2247 | game_flash_length, | 2258 | game_flash_length, |
2259 | game_get_cursor_location, | ||
2248 | game_status, | 2260 | game_status, |
2249 | false, false, game_print_size, game_print, | 2261 | false, false, game_print_size, game_print, |
2250 | true, /* wants_statusbar */ | 2262 | true, /* wants_statusbar */ |