summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-02 20:53:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-02 20:53:21 +0300
commitbf9c889b9ce882ff3ddb357c691942e520b1aa2a (patch)
treee8d4848666926be24c83b92f0934d018ec03c42e /src/commands.h
parent8dcb524443a82506b522344f3d4353769f51883c (diff)
downloadplus-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.tar.gz
plus-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.tar.bz2
plus-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.tar.xz
plus-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.zip
Add command /dumpgl to show OpenGL version string in chat.
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 9a5c60157..6825159c4 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -114,6 +114,7 @@ namespace Commands
decHandler(dumpEnvironment);
decHandler(dumpTests);
decHandler(dumpOGL);
+ decHandler(dumpGL);
decHandler(cacheInfo);
decHandler(execute);
decHandler(testsdlfont);
@@ -199,6 +200,7 @@ enum
COMMAND_DUMPE,
COMMAND_DUMPT,
COMMAND_DUMPOGL,
+ COMMAND_DUMPGL,
COMMAND_URL,
COMMAND_OPEN,
COMMAND_EXECUTE,
@@ -291,6 +293,7 @@ static const CommandInfo commands[] =
{"dumpe", &Commands::dumpEnvironment, -1, false},
{"dumpt", &Commands::dumpTests, -1, false},
{"dumpogl", &Commands::dumpOGL, -1, false},
+ {"dumpgl", &Commands::dumpGL, -1, false},
{"url", &Commands::url, -1, true},
{"open", &Commands::open, -1, true},
{"execute", &Commands::execute, -1, true},