This commit is contained in:
Charles 2001-06-25 12:19:58 +00:00
parent 1590c05822
commit bfa96dcf14
2 changed files with 13 additions and 0 deletions

View File

@ -140,6 +140,18 @@ void CNpcDualPlatform::setWaypoints( sThingPlatform *ThisPlatform )
m_thinkArea.y1 = startPos.vy;
m_thinkArea.y2 = startPos.vy + m_maxExtension;
m_otherPlatform->setThinkArea( m_thinkArea );
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcDualPlatform::setThinkArea( CRECT &newArea )
{
m_thinkArea.x1 = newArea.x1;
m_thinkArea.y1 = newArea.y1;
m_thinkArea.x2 = newArea.x2;
m_thinkArea.y2 = newArea.y2;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -28,6 +28,7 @@ public:
void setLineBase( DVECTOR base ) {m_lineBase = base;}
DVECTOR getLineBase() {return( m_lineBase );}
virtual void render();
void setThinkArea( CRECT &newArea );
//virtual CRECT const *getThinkBBox();
protected:
virtual void setWaypoints( sThingPlatform *ThisPlatform );