summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-09 23:08:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-09 23:08:16 +0300
commit248c845b6a09c436f3d8d69a859f1c34d91b7508 (patch)
tree93747da9c23e6849675f4ad15b12859fc7b6ed6b /src/resources/beinginfo.h
parent7e437604c8de0784f1343e6e8aa01612a194c466 (diff)
downloadmanaplus-248c845b6a09c436f3d8d69a859f1c34d91b7508.tar.gz
manaplus-248c845b6a09c436f3d8d69a859f1c34d91b7508.tar.bz2
manaplus-248c845b6a09c436f3d8d69a859f1c34d91b7508.tar.xz
manaplus-248c845b6a09c436f3d8d69a859f1c34d91b7508.zip
load npc menu.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index 76955d2dd..aefd7a5ca 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -27,6 +27,7 @@
#include "being/targetcursorsize.h"
+#include "resources/beingmenuitem.h"
#include "resources/soundinfo.h"
#include "resources/spritedisplay.h"
@@ -315,6 +316,8 @@ class BeingInfo final
std::string getColor(const int idx) const A_WARN_UNUSED;
+ void addMenu(const std::string &name, const std::string &command);
+
static void init();
static void clear();
@@ -326,6 +329,7 @@ class BeingInfo final
Cursor::Cursor mHoverCursor;
ItemSoundEvents mSounds;
Attacks mAttacks;
+ std::vector<BeingMenuItem> mMenu;
unsigned char mBlockWalkMask;
BlockType::BlockType mBlockType;
const std::map <int, ColorDB::ItemColor> *mColors;