summaryrefslogtreecommitdiff
path: root/src/entities/Physical.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-01 00:50:40 +0300
committereray orçunus <erayorcunus@gmail.com>2019-07-01 02:48:09 +0300
commitce28a6d298408513866716d00dcd16ed8ef5f285 (patch)
tree81e83f4689238683112b4776006262bfdbc88506 /src/entities/Physical.h
parent99295827f79ccffa9d3976af2b9a19920d7d8bde (diff)
More CPed
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
Diffstat (limited to 'src/entities/Physical.h')
-rw-r--r--src/entities/Physical.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/entities/Physical.h b/src/entities/Physical.h
index 25bc1185..7776da92 100644
--- a/src/entities/Physical.h
+++ b/src/entities/Physical.h
@@ -65,12 +65,13 @@ public:
~CPhysical(void);
// from CEntity
- void Add(void);
- void Remove(void);
- CRect GetBoundRect(void);
- void ProcessControl(void);
-
+ virtual void Add(void);
+ virtual void Remove(void);
+ virtual CRect GetBoundRect(void);
+ virtual void ProcessControl(void);
virtual int32 ProcessEntityCollision(CEntity *ent, CColPoint *point);
+ virtual void ProcessShift(void);
+ virtual void ProcessCollision(void);
void RemoveAndAdd(void);
void AddToMovingList(void);
@@ -130,8 +131,6 @@ public:
bool ProcessCollisionSectorList(CPtrList *lists);
bool CheckCollision(void);
bool CheckCollision_SimpleCar(void);
- void ProcessShift(void);
- void ProcessCollision(void);
// to make patching virtual functions possible
void dtor(void) { this->CPhysical::~CPhysical(); }