summaryrefslogtreecommitdiff
path: root/src/gui/windows/charcreatedialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-12 19:12:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-12 19:12:15 +0300
commit814e88e5ca69bc54837be27429dbf42dd41f7ac6 (patch)
tree301671c06b758239f9b05b3a0e4f2774e5ab3a9e /src/gui/windows/charcreatedialog.cpp
parent261b8ab980d442d0cf1b06df244388d65f431301 (diff)
downloadplus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.gz
plus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.bz2
plus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.xz
plus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.zip
Move being action into separate file.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r--src/gui/windows/charcreatedialog.cpp14
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,