This commit is contained in:
parent
11410feeb4
commit
7ad4ef60f4
11 changed files with 344 additions and 70 deletions
|
@ -295,16 +295,6 @@ void CNpcEnemy::processGenericFixedPathWalk( int _frames, s32 *moveX, s32 *moveY
|
|||
}
|
||||
}
|
||||
|
||||
void CNpcEnemy::processGenericCircularPath( int _frames )
|
||||
{
|
||||
m_rotation += m_data[m_type].speed;
|
||||
m_rotation %= 4096;
|
||||
|
||||
Pos.vx = m_base.vx + ( ( m_extension * rcos( m_rotation ) ) >> 12 );
|
||||
Pos.vy = m_base.vy + ( ( m_extension * rsin( m_rotation ) ) >> 12 );
|
||||
}
|
||||
|
||||
|
||||
bool CNpcEnemy::isCollisionWithGround()
|
||||
{
|
||||
ASSERT(m_layerCollision);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue