From ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 23 Sep 2012 22:09:57 +0000 Subject: Source files cleanup: The rest of the files renamed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPawn.h | 66 ---------------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 source/cPawn.h (limited to 'source/cPawn.h') diff --git a/source/cPawn.h b/source/cPawn.h deleted file mode 100644 index b48ce94ab..000000000 --- a/source/cPawn.h +++ /dev/null @@ -1,66 +0,0 @@ - -#pragma once - -#include "cEntity.h" - - - - - -struct TakeDamageInfo //tolua_export -{ //tolua_export - int Damage; //tolua_export - cEntity* Instigator; //tolua_export -}; //tolua_export - - - - - -class cPawn : public cEntity //tolua_export -{ //tolua_export -public: - CLASS_PROTOTYPE() - - cPawn(); - virtual ~cPawn(); - - virtual void TeleportToEntity( cEntity* a_Entity ); //tolua_export - virtual void TeleportTo( const double & a_PosX, const double & a_PosY, const double & a_PosZ ); //tolua_export - - virtual void Tick(float a_Dt) override; - - void Heal( int a_Health ); //tolua_export - virtual void TakeDamage( int a_Damage, cEntity* a_Instigator ); //tolua_export - virtual void KilledBy( cEntity* a_Killer ); //tolua_export - int GetHealth() { return m_Health; } //tolua_export - - enum MetaData {NORMAL, BURNING, CROUCHED, RIDING, SPRINTING, EATING, BLOCKING}; - - virtual void SetMetaData(MetaData a_MetaData); - virtual MetaData GetMetaData(void) const { return m_MetaData; } - - virtual void InStateBurning(float a_Dt); - - virtual void CheckMetaDataBurn(); - - virtual void SetMaxHealth(short a_MaxHealth); - virtual short GetMaxHealth() { return m_MaxHealth; } - -protected: - - short m_Health; - short m_MaxHealth; - - - bool m_bBurnable; - - MetaData m_MetaData; - - double m_LastPosX, m_LastPosY, m_LastPosZ; - float m_TimeLastTeleportPacket; -}; //tolua_export - - - - -- cgit v1.2.3