/* ================ idBarrel::Think ================ */ void idBarrel::Think( void ) { if( thinkFlags & TH_THINK ) { if( !FollowInitialSplinePath() ) { BecomeInactive( TH_THINK ); } } BarrelThink(); }
/* ================ idMoveable::Think ================ */ void idMoveable::Think( void ) { if ( thinkFlags & TH_THINK ) { if ( !FollowInitialSplinePath() ) { BecomeInactive( TH_THINK ); } } idEntity::Think(); }
/* ================ idMoveable::Think ================ */ void idMoveable::Think( void ) { if( thinkFlags & TH_THINK ) { if( !FollowInitialSplinePath() && !isPushed && !m_LODHandle ) { BecomeInactive( TH_THINK ); } } // will also handle LOD thinking idEntity::Think(); UpdateSlidingSounds(); }
/* ================ idMoveable::Think ================ */ void idMoveable::Think( void ) { if ( thinkFlags & TH_THINK ) { // Move to the next stage? UpdateStage ( ); if ( !FollowInitialSplinePath() && stage == -1 ) { BecomeInactive( TH_THINK ); } } // RAVEN BEGIN // abahr: changed parent scope idDamagable::Think(); }
/* ================ idBarrel::Think ================ */ void idBarrel::Think( void ) { if ( thinkFlags & TH_THINK ) { if ( !FollowInitialSplinePath() ) { BecomeInactive( TH_THINK ); } } BarrelThink(); #ifdef _DENTONMOD if ( thinkFlags & TH_UPDATEWOUNDPARTICLES ) UpdateParticles(); #endif }
/* ================ idMoveable::Think ================ */ void idMoveable::Think( void ) { if( thinkFlags & TH_THINK ) { if( !FollowInitialSplinePath() ) { BecomeInactive( TH_THINK ); } } // grimm --> if( smokeFly && smokeFlyTime ) { if( !gameLocal.smokeParticles->EmitSmoke( smokeFly, smokeFlyTime, gameLocal.random.CRandomFloat(), GetPhysics()->GetOrigin(), GetPhysics()->GetAxis() ) ) { smokeFlyTime = 0; } } // <-- grimm idEntity::Think(); }
/* ================ idMoveable::Think ================ */ void idMoveable::Think( void ) { if ( thinkFlags & TH_THINK ) { if ( !FollowInitialSplinePath() ) { BecomeInactive( TH_THINK ); } } idEntity::Think(); //ivan start - lock the X position //if ( thinkFlags & TH_PHYSICS ) { if( isXlocked ){ physicsObj.SetOrigin( idVec3( lockedXpos, physicsObj.GetOrigin().y, physicsObj.GetOrigin().z ) ); } //} //ivan end }