This commit is contained in:
Charles 2001-06-19 20:32:30 +00:00
parent 5177f930ff
commit 80ada6fdbb
4 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing )
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*const CRECT *CNpcBigWheelHazard::getThinkBBox() const CRECT *CNpcBigWheelHazard::getThinkBBox()
{ {
CRECT objThinkBox = getCollisionArea(); CRECT objThinkBox = getCollisionArea();
@ -90,4 +90,4 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing )
objThinkBox.y2 = thinkBBox.YMax; objThinkBox.y2 = thinkBBox.YMax;
return &objThinkBox; return &objThinkBox;
}*/ }

View File

@ -23,7 +23,7 @@ class CNpcBigWheelHazard : public CNpcHazard
public: public:
void init(); void init();
virtual void render(); virtual void render();
//virtual CRECT const *getThinkBBox(); virtual CRECT const *getThinkBBox();
protected: protected:
void processMovement( int _frames ); void processMovement( int _frames );
virtual void collidedWith(CThing *_thisThing); virtual void collidedWith(CThing *_thisThing);

View File

@ -98,7 +98,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform )
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*const CRECT *CNpcBigWheelPlatform::getThinkBBox() const CRECT *CNpcBigWheelPlatform::getThinkBBox()
{ {
CRECT objThinkBox = getCollisionArea(); CRECT objThinkBox = getCollisionArea();
@ -109,7 +109,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform )
objThinkBox.y2 = thinkBBox.YMax; objThinkBox.y2 = thinkBBox.YMax;
return &objThinkBox; return &objThinkBox;
}*/ }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -21,7 +21,7 @@
class CNpcBigWheelPlatform : public CNpcPlatform class CNpcBigWheelPlatform : public CNpcPlatform
{ {
public: public:
//virtual CRECT const *getThinkBBox(); virtual CRECT const *getThinkBBox();
virtual void postInit(); virtual void postInit();
virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0); virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
protected: protected: