summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 19:47:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 19:47:28 +0300
commit7da95c7f4da447876458a0b1a17736b9a2865844 (patch)
tree4b6ac0ab5bc32a11234a5363de95d0cfec8cb7d5 /src/commands.h
parent515ce6c1413b5e3da131f3e4997abdc39c003a2c (diff)
downloadmv-7da95c7f4da447876458a0b1a17736b9a2865844.tar.gz
mv-7da95c7f4da447876458a0b1a17736b9a2865844.tar.bz2
mv-7da95c7f4da447876458a0b1a17736b9a2865844.tar.xz
mv-7da95c7f4da447876458a0b1a17736b9a2865844.zip
Move inputaction into separate file.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/commands.h b/src/commands.h
index a27f430db..807f0ef06 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -23,6 +23,7 @@
#ifndef COMMANDS_H
#define COMMANDS_H
+#include "input/inputaction.h"
#include "input/keydata.h"
#include <string>
@@ -322,12 +323,12 @@ static const CommandInfo commands[] =
{"", &Commands::removeName, -1, false},
{"disableaway", &Commands::disableAway, -1, false},
{"enableaway", &Commands::enableAway, -1, false},
- {"drop", nullptr, Input::KEY_QUICK_DROP, false},
- {"dropn", nullptr, Input::KEY_QUICK_DROPN, false},
- {"movetotarget", nullptr, Input::KEY_MOVE_TO_TARGET, false},
- {"movetohome", nullptr, Input::KEY_MOVE_TO_HOME, false},
- {"sethome", nullptr, Input::KEY_SET_HOME, false},
- {"magicattack", nullptr, Input::KEY_MAGIC_ATTACK, false},
+ {"drop", nullptr, InputAction::QUICK_DROP, false},
+ {"dropn", nullptr, InputAction::QUICK_DROPN, false},
+ {"movetotarget", nullptr, InputAction::MOVE_TO_TARGET, false},
+ {"movetohome", nullptr, InputAction::MOVE_TO_HOME, false},
+ {"sethome", nullptr, InputAction::SET_HOME, false},
+ {"magicattack", nullptr, InputAction::MAGIC_ATTACK, false},
{"testparticle", &Commands::testParticle, -1, true},
{"createitems", &Commands::createItems, -1, false},
{"talkraw", &Commands::talkRaw, -1, true},