diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-02 13:43:30 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-02 13:43:30 +0100 |
commit | f1aaea5022a7b9a3aec79fb21e04bcdb499a253f (patch) | |
tree | c251d836a3d45e2f6defeb6df92a0e37b861d997 /source/cPawn.h | |
parent | cSocket API fix (possible invalid pointer) (diff) | |
download | cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.tar cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.tar.gz cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.tar.bz2 cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.tar.lz cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.tar.xz cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.tar.zst cuberite-f1aaea5022a7b9a3aec79fb21e04bcdb499a253f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cPawn.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/source/cPawn.h b/source/cPawn.h index e075b422e..a5156cec3 100644 --- a/source/cPawn.h +++ b/source/cPawn.h @@ -28,26 +28,26 @@ public: enum MetaData {NORMAL, BURNING, CROUCHED, RIDING, SPRINTING, EATING, BLOCKING};
- virtual inline void SetMetaData(MetaData a_MetaData);
- virtual inline MetaData GetMetaData() { return m_MetaData; }
+ virtual void SetMetaData(MetaData a_MetaData);
+ virtual MetaData GetMetaData() { return m_MetaData; }
- virtual inline void InStateBurning(float a_Dt);
+ virtual void InStateBurning(float a_Dt);
virtual void CheckMetaDataBurn();
- virtual inline void SetMaxHealth(short a_MaxHealth);
- virtual inline short GetMaxHealth() { return m_MaxHealth; }
+ virtual void SetMaxHealth(short a_MaxHealth);
+ virtual short GetMaxHealth() { return m_MaxHealth; }
- //virtual inline void SetMaxFood(short a_MaxFood);
- virtual inline short GetMaxFood() { return m_MaxFoodLevel/6; }
- virtual inline short GetFood() { return m_FoodLevel/6; }
+ //virtual void SetMaxFood(short a_MaxFood);
+ virtual short GetMaxFood() { return m_MaxFoodLevel/6; }
+ virtual short GetFood() { return m_FoodLevel/6; }
- //virtual inline void SetMaxFoodSaturation(float a_MaxFoodSaturation);
- virtual inline float GetMaxFoodSaturation() { return fmod(m_MaxFoodLevel, 6.f); }
- virtual inline float GetFoodSaturation() { return fmod(m_FoodLevel, 6.f); }
+ //virtual void SetMaxFoodSaturation(float a_MaxFoodSaturation);
+ virtual float GetMaxFoodSaturation() { return fmod(m_MaxFoodLevel, 6.f); }
+ virtual float GetFoodSaturation() { return fmod(m_FoodLevel, 6.f); }
- virtual inline void SetMaxFoodLevel(short a_MaxFoodLevel);
- virtual inline short GetMaxFoodLevel() { return m_MaxFoodLevel; }
+ virtual void SetMaxFoodLevel(short a_MaxFoodLevel);
+ virtual short GetMaxFoodLevel() { return m_MaxFoodLevel; }
protected:
short m_Health;
|