This commit is contained in:
Daveo 2001-05-16 20:46:54 +00:00
parent 33985a09f1
commit d2b2ea04b9
10 changed files with 11 additions and 49 deletions

View file

@ -46,6 +46,7 @@
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
#include "gfx\otpos.h"
/*****************************************************************************/
@ -64,8 +65,8 @@ void CProjectile::init()
m_state = PROJECTILE_ATTACK;
m_turnSpeed = 256;
m_extension = 0;
m_isShuttingDown = false;
m_ot = 0;
// m_isShuttingDown = false;
m_ot = OTPOS__ACTOR_POS;
updateCollisionArea();
}
@ -99,11 +100,6 @@ void CProjectile::shutdown()
CEnemyProjectileThing::shutdown();
}
void CProjectile::setToShutdown()
{
m_isShuttingDown = true;
}
bool CProjectile::processTargetSeek( int _frames, DVECTOR targetPos )
{
s32 moveX = 0, moveY = 0;
@ -411,7 +407,7 @@ void CPlayerProjectile::init()
m_extension = 0;
m_frame = 0;
m_reversed = 0;
m_isShuttingDown = false;
// m_isShuttingDown = false;
}
void CPlayerProjectile::init( DVECTOR initPos, s16 initHeading )
@ -449,11 +445,6 @@ void CPlayerProjectile::shutdown()
CPlayerProjectileThing::shutdown();
}
void CPlayerProjectile::setToShutdown()
{
m_isShuttingDown = true;
}
void CPlayerProjectile::setMovementType( PLAYER_PROJECTILE_MOVEMENT_TYPE moveType )
{
m_movementType = moveType;