This commit is contained in:
Charles 2001-05-23 14:46:23 +00:00
parent c16f9c770b
commit 89aedc2e2e
10 changed files with 91 additions and 160 deletions

View file

@ -80,6 +80,7 @@ public:
NPC_BIG_WHEEL_PLATFORM,
NPC_STEERABLE_BARREL_PLATFORM,
NPC_JELLYFISH_PLATFORM,
NPC_FISH_HOOK_3_PLATFORM,
NPC_PLAYER_BUBBLE_PLATFORM,
NPC_CLAM_PLATFORM,
NPC_PLATFORM_TYPE_MAX,
@ -201,12 +202,16 @@ protected:
s32 m_tiltVelocity;
bool m_extendDir;
s16 m_speed;
s16 m_initRotation;
CModelGfx *m_modelGfx;
u8 m_isShuttingDown;
int m_graphicNum;
sBBox m_nonRotatedCollisionArea;
DVECTOR m_nonRotatedCollisionOffset;
virtual void collidedWith(CThing *_thisThing);
static NPC_PLATFORM_UNIT_TYPE mapEditConvertTable[NPC_PLATFORM_TYPE_MAX];
@ -215,6 +220,7 @@ protected:
protected:
virtual void setCollisionAngle(int newAngle); // Actually.. this probly doesn't need to be in the base calss anymore.. :/
virtual void calculateNonRotatedCollisionData();
virtual void calculateBoundingBoxSize();