diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-21 17:36:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-21 17:36:51 +0300 |
commit | 033d99ed3c25f64d006731f687e8d5847646e2d1 (patch) | |
tree | bd0909ab923d1698e702a0f54c4d5b573d4c166b | |
parent | 3a33b94eba99a45cfc2564916915e416975d0da5 (diff) | |
download | manaverse-033d99ed3c25f64d006731f687e8d5847646e2d1.tar.gz manaverse-033d99ed3c25f64d006731f687e8d5847646e2d1.tar.bz2 manaverse-033d99ed3c25f64d006731f687e8d5847646e2d1.tar.xz manaverse-033d99ed3c25f64d006731f687e8d5847646e2d1.zip |
Add chat commands to switch to previous or next chat tab.
New chat commands:
nextTab - switch to next chat tab.
prevTab - switch to previous chat tab.
-rw-r--r-- | src/commands.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h index 7820a4ea1..8e8e58f5d 100644 --- a/src/commands.h +++ b/src/commands.h @@ -242,6 +242,8 @@ enum COMMAND_GM, COMMAND_HACK, COMMAND_DEBUGSPAWN, + COMMAND_NEXTCHATTAB, + COMMAND_PREVCHATTAB, END_COMMANDS }; @@ -344,7 +346,9 @@ static const CommandInfo commands[] = {"uploadlog", &Commands::uploadLog, -1, false}, {"gm", &Commands::gm, -1, true}, {"hack", &Commands::hack, -1, true}, - {"debugSpawn", &Commands::debugSpawn, -1, true} + {"debugSpawn", &Commands::debugSpawn, -1, true}, + {"nextTab", nullptr, InputAction::NEXT_CHAT_TAB, false}, + {"prevTab", nullptr, InputAction::PREV_CHAT_TAB, false} }; #undef decHandler |