summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-27 21:45:57 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-27 21:45:57 +0000
commitc917ff16cf44039e6412dcd2fd505fdc0ddb8fde (patch)
tree9eb41ad51c8a0645ee188d1d8e6ecff0a9c62774 /crawl-ref/source/command.h
parentd104ce8a38126b3db9aa7d5c50e02c306ca0cc24 (diff)
downloadcrawl-ref-c917ff16cf44039e6412dcd2fd505fdc0ddb8fde.tar.gz
crawl-ref-c917ff16cf44039e6412dcd2fd505fdc0ddb8fde.zip
[1982129] Wizard commands can now be used from the wizard help screen.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7044 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/command.h')
-rw-r--r--crawl-ref/source/command.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/crawl-ref/source/command.h b/crawl-ref/source/command.h
index f9f72c6032..6d28a0ab55 100644
--- a/crawl-ref/source/command.h
+++ b/crawl-ref/source/command.h
@@ -15,10 +15,10 @@
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void adjust(void);
-void list_weapons(void);
-void list_armour(void);
-void list_jewellery(void);
+void adjust();
+void list_weapons();
+void list_armour();
+void list_jewellery();
/* ***********************************************************************
* called from: clua
@@ -31,8 +31,10 @@ void show_interlevel_travel_branch_help();
void show_interlevel_travel_depth_help();
void show_stash_search_help();
void show_butchering_help();
-void list_commands(bool wizard, int hotkey = 0,
- bool do_redraw_screen = false);
+void list_commands(int hotkey = 0, bool do_redraw_screen = false);
+#ifdef WIZARD
+int list_wizard_commands(bool do_redraw_screen = false);
+#endif
// XXX: Actually defined in acr.cc; we may want to move this to command.cc.
void process_command(command_type cmd);