diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-12 19:12:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-12 19:12:15 +0300 |
commit | 814e88e5ca69bc54837be27429dbf42dd41f7ac6 (patch) | |
tree | 301671c06b758239f9b05b3a0e4f2774e5ab3a9e /src/gui/windows/charcreatedialog.cpp | |
parent | 261b8ab980d442d0cf1b06df244388d65f431301 (diff) | |
download | mv-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.gz mv-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.bz2 mv-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.xz mv-814e88e5ca69bc54837be27429dbf42dd41f7ac6.zip |
Move being action into separate file.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index b642c7f6f..72dfd21b6 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -51,15 +51,21 @@ extern int serverVersion; -static const Being::Action actions[] = +static const BeingAction::Action actions[] = { - Being::STAND, Being::SIT, Being::MOVE, Being::ATTACK, Being::DEAD + BeingAction::STAND, + BeingAction::SIT, + BeingAction::MOVE, + BeingAction::ATTACK, + BeingAction::DEAD }; static const uint8_t directions[] = { - BeingDirection::DOWN, BeingDirection::RIGHT, - BeingDirection::UP, BeingDirection::LEFT + BeingDirection::DOWN, + BeingDirection::RIGHT, + BeingDirection::UP, + BeingDirection::LEFT }; CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, |