summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-30 23:50:40 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-01 01:48:09 +0200
commitce28a6d298408513866716d00dcd16ed8ef5f285 (patch)
tree81e83f4689238683112b4776006262bfdbc88506 /src/entities/Physical.h
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar
re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.gz
re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.bz2
re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.lz
re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.xz
re3-ce28a6d298408513866716d00dcd16ed8ef5f285.tar.zst
re3-ce28a6d298408513866716d00dcd16ed8ef5f285.zip
Diffstat (limited to '')
-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(); }