diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 16:17:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 16:17:08 +0300 |
commit | ea28a76cfbace0ccc8d25e523b410f2dea339423 (patch) | |
tree | c5582fe4d9b26dc381ef90ed7a155ea050514243 /src/commands.h | |
parent | 8fdbbe936fc0bb99b0c3d851b7a5b522514ba2b9 (diff) | |
download | manaverse-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.gz manaverse-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.bz2 manaverse-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.xz manaverse-ea28a76cfbace0ccc8d25e523b410f2dea339423.zip |
add new chat commands.
/enablehighlight - enable sound hightlight in chat tab
/disablehighlight - disable sound hightlight in chat tab
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h index bc45bf837..96423d748 100644 --- a/src/commands.h +++ b/src/commands.h @@ -114,6 +114,8 @@ namespace Commands decHandler(cacheInfo); decHandler(execute); decHandler(testsdlfont); + decHandler(enableHighlight); + decHandler(disableHighlight); void replaceVars(std::string &str); } // namespace Commands @@ -192,6 +194,8 @@ static const CommandInfo commands[] = {"open", &Commands::open}, {"execute", &Commands::execute}, {"testsdlfont", &Commands::testsdlfont}, + {"enablehighlight", &Commands::enableHighlight}, + {"disablehighlight", &Commands::disableHighlight}, {"hack", &Commands::hack} }; |