From 001860ce7856e20b890d8adf425c899540a5d5d3 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 9 May 2017 22:10:59 -0400 Subject: puzzles: full help system - embeds the upstream halibut documentation for plugin use - currently every plugin has a copy of the help text, but in the future a centralized system using overlays might be better Change-Id: Idb6eb9accc2fa786a4c6bc2b704e7cf5fd3f78dd --- apps/plugins/puzzles/rockbox.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'apps/plugins/puzzles/rockbox.c') diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c index 43afb62e40..7a784ba97c 100644 --- a/apps/plugins/puzzles/rockbox.c +++ b/apps/plugins/puzzles/rockbox.c @@ -1099,11 +1099,6 @@ static void quick_help(void) } } -static void full_help(void) -{ - /* TODO */ -} - static void init_default_settings(void) { settings.slowmo_factor = 1; @@ -1219,11 +1214,7 @@ static int pausemenu_cb(int action, const struct menu_item_ex *this_item) return ACTION_EXIT_MENUITEM; break; case 7: -#ifdef FOR_REAL - return ACTION_EXIT_MENUITEM; -#else break; -#endif case 8: #ifdef COMBINED /* audio buf is used, so no playback */ @@ -1354,7 +1345,7 @@ static int pause_menu(void) quick_help(); break; case 7: - full_help(); + full_help(midend_which_game(me)->name); break; case 8: playback_control(NULL); @@ -1815,11 +1806,7 @@ static int mainmenu_cb(int action, const struct menu_item_ex *this_item) return ACTION_EXIT_MENUITEM; break; case 3: -#ifdef FOR_REAL - return ACTION_EXIT_MENUITEM; -#else break; -#endif case 4: #ifdef COMBINED /* audio buf is used, so no playback */ @@ -1934,7 +1921,7 @@ enum plugin_status plugin_start(const void *param) quick_help(); break; case 3: - full_help(); + full_help(midend_which_game(me)->name); break; case 4: playback_control(NULL); -- cgit v1.2.3