This commit is contained in:
parent
1590c05822
commit
bfa96dcf14
@ -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;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user