summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-28 19:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-28 19:05:52 +0300
commitb6eb53b9abdf48b88cb1978b9af97f2a879d2717 (patch)
tree5aad5623d352ec0b4aa245856958c61a384861c7 /src/being.h
parent4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80 (diff)
parent71fe51d38a406012e166589b7b720d83c1ab3ade (diff)
downloadplus-b6eb53b9abdf48b88cb1978b9af97f2a879d2717.tar.gz
plus-b6eb53b9abdf48b88cb1978b9af97f2a879d2717.tar.bz2
plus-b6eb53b9abdf48b88cb1978b9af97f2a879d2717.tar.xz
plus-b6eb53b9abdf48b88cb1978b9af97f2a879d2717.zip
Merge commit 'v1.1.11.27' into strippedstripped1.1.11.27
Conflicts: data/Makefile.am
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/being.h b/src/being.h
index 9ee60fcdf..f1cae8df7 100644
--- a/src/being.h
+++ b/src/being.h
@@ -23,12 +23,6 @@
#ifndef BEING_H
#define BEING_H
-#ifdef __GNUC__
-#define A_UNUSED __attribute__ ((unused))
-#else
-#define A_UNUSED
-#endif
-
#include "actorsprite.h"
#include "configlistener.h"
#include "equipment.h"
@@ -767,6 +761,8 @@ class Being : public ActorSprite, public ConfigListener
void attack2(Being *target = nullptr, bool keep = false,
bool dontChangeEquipment = false);
+ void updatePercentHP();
+
protected:
/**
* Sets the new path for this being.
@@ -909,6 +905,7 @@ class Being : public ActorSprite, public ConfigListener
bool mShop;
bool mAway;
bool mInactive;
+ unsigned mNumber;
};
extern std::list<BeingCacheEntry*> beingInfoCache;