summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-22 12:29:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-22 12:29:25 +0300
commit7550d326fd1d1811eb3dcbf33a41ec57e109ddae (patch)
tree44b986fe77a4bcdf1aae4379321fee6bac3c06eb /src/commands.h
parent61653ea26a02841754baf97a1124aeea2b21e101 (diff)
downloadmv-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.tar.gz
mv-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.tar.bz2
mv-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.tar.xz
mv-7550d326fd1d1811eb3dcbf33a41ec57e109ddae.zip
add dumpmods chat command for show enabled mods.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index a31dfe292..37e4b8215 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -116,6 +116,7 @@ namespace Commands
decHandler(dumpTests);
decHandler(dumpOGL);
decHandler(dumpGL);
+ decHandler(dumpMods);
decHandler(cacheInfo);
decHandler(execute);
decHandler(testsdlfont);
@@ -205,6 +206,7 @@ enum
COMMAND_DUMPT,
COMMAND_DUMPOGL,
COMMAND_DUMPGL,
+ COMMAND_DUMPMODS,
COMMAND_URL,
COMMAND_OPEN,
COMMAND_EXECUTE,
@@ -301,6 +303,7 @@ static const CommandInfo commands[] =
{"dumpt", &Commands::dumpTests, -1, false},
{"dumpogl", &Commands::dumpOGL, -1, false},
{"dumpgl", &Commands::dumpGL, -1, false},
+ {"dumpmods", &Commands::dumpMods, -1, false},
{"url", &Commands::url, -1, true},
{"open", &Commands::open, -1, true},
{"execute", &Commands::execute, -1, true},