Home
last modified time | relevance | path

Searched refs:CDestroyableObject (Results 1 – 18 of 18) sorted by relevance

/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/interface/
H A Ddestroyable_object.h57 class CDestroyableObject : public CDamageableObject
60 explicit CDestroyableObject(ObjectInterfaceTypes& types) in CDestroyableObject() function
65 virtual ~CDestroyableObject() in ~CDestroyableObject()
H A Dfragile_object.h28 class CFragileObject : public CDestroyableObject
32 : CDestroyableObject(types) in CFragileObject()
H A Dshielded_object.h28 class CShieldedObject : public CDestroyableObject
32 : CDestroyableObject(types) in CShieldedObject()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/motion/
H A Dmotionbee.cpp407 … if ( dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) // burning? in EventFrame()
411 else if ( dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) // destroyed? in EventFrame()
478 … if ( bStop || dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) in EventFrame()
482 if ( !dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) in EventFrame()
H A Dmotionspider.cpp365 if (dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) // burning? in EventFrame()
376 else if ( dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) // destroyed? in EventFrame()
H A Dmotionant.cpp430 … if ( dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) // burning? in EventFrame()
441 else if ( dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) // destroyed? in EventFrame()
H A Dmotionworm.cpp275 if ( dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) // is burning? in EventFrame()
H A Dmotionqueen.cpp396 if ( !bStop && !dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) in EventFrame()
H A Dmotionhuman.cpp1509 …ect->Implements(ObjectInterfaceType::Destroyable) && !dynamic_cast<CDestroyableObject*>(m_object)-… in EventFrame()
H A Dmotionvehicle.cpp1840 if ( dynamic_cast<CDestroyableObject*>(m_object)->IsDying() ) // burn or explode? in EventFrameInsect()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/engine/
H A Dlightning.cpp134 …dynamic_cast<CDestroyableObject*>(obj)->DamageObject(DamageType::Lightning, std::numeric_limits<fl… in EventFrame()
326 … float detect = m_magnetic * dynamic_cast<CDestroyableObject&>(*obj).GetLightningHitProbability(); in SearchObject()
H A Dpyro.cpp281 dynamic_cast<CDestroyableObject&>(*m_object).SetDying(DeathType::Dead); in Create()
294 dynamic_cast<CDestroyableObject&>(*m_object).SetDying(DeathType::Dead); in Create()
1585 dynamic_cast<CDestroyableObject&>(*m_object).SetDying(DeathType::Exploding); // being destroyed in ExploStart()
2264 dynamic_cast<CDestroyableObject*>(m_object)->SetDying(DeathType::Alive); in BurnTerminate()
2363 … dynamic_cast<CDestroyableObject&>(*m_object).DestroyObject(DestructionType::Explosion); in FallProgress()
2387 … dynamic_cast<CDestroyableObject&>(*m_object).DestroyObject(DestructionType::Explosion); in FallProgress()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/physics/
H A Dphysics.cpp825 …if ( m_object->GetType() == OBJECT_HUMAN && dynamic_cast<CDestroyableObject&>(*m_object).GetDying(… in MotorUpdate()
1466 …ject->Implements(ObjectInterfaceType::Destroyable) && dynamic_cast<CDestroyableObject&>(*m_object)… in EventFrame()
1621 if ( dynamic_cast<CDestroyableObject&>(*m_object).GetDying() == DeathType::Burning || in SoundMotor()
1652 else if ( dynamic_cast<CDestroyableObject&>(*m_object).GetDying() == DeathType::Burning ) in SoundMotor()
1673 else if ( dynamic_cast<CDestroyableObject&>(*m_object).GetDying() == DeathType::Burning ) in SoundMotor()
1685 if ( dynamic_cast<CDestroyableObject&>(*m_object).GetDying() == DeathType::Burning || in SoundMotor()
1800 dynamic_cast<CDestroyableObject*>(m_object)->DestroyObject(DestructionType::Drowned); in WaterFrame()
1838 … dynamic_cast<CDestroyableObject*>(m_object)->DestroyObject(DestructionType::ExplosionWater); in WaterFrame()
2509 …if ( m_object->Implements(ObjectInterfaceType::Destroyable) && dynamic_cast<CDestroyableObject&>(*… in ObjectAdapt()
2808 dynamic_cast<CDestroyableObject*>(pObj)->DestroyObject(DestructionType::Squash); in ExploOther()
[all …]
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/auto/
H A Dautodestroyer.cpp179 dynamic_cast<CDestroyableObject&>(*scrap).DestroyObject(DestructionType::Explosion); in EventProcess()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/implementation/
H A Dprogrammable_impl.cpp71 …ject->Implements(ObjectInterfaceType::Destroyable) && dynamic_cast<CDestroyableObject&>(*m_object)… in EventProcess()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/
H A Dobject_manager.cpp220 dynamic_cast<CDestroyableObject&>(*object).DestroyObject(destructionType); in DestroyTeam()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/level/
H A Drobotmain.cpp4717 …if (obj->Implements(ObjectInterfaceType::Destroyable) && dynamic_cast<CDestroyableObject&>(*obj).I… in IOWriteScene()
4771 …if (obj->Implements(ObjectInterfaceType::Destroyable) && dynamic_cast<CDestroyableObject&>(*obj).I… in IOWriteScene()
4964 …(obj->Implements(ObjectInterfaceType::Destroyable) && dynamic_cast<CDestroyableObject&>(*obj).IsDy… in IOReadScene()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/script/
H A Dscriptfunc.cpp743 … dynamic_cast<CDestroyableObject&>(*obj).DestroyObject(static_cast<DestructionType>(exploType)); in rDelete()