Home
last modified time | relevance | path

Searched refs:DeathType (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/stratagus/stratagus-3.2.0/src/animation/
H A Danimation_die.cpp51 if (this->DeathType.empty() == false) { in Action()
52 unit.DamagedType = ExtraDeathIndex(this->DeathType.c_str()); in Action()
59 this->DeathType = s; in Init()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/animation/
H A Danimation_die.cpp51 if (this->DeathType.empty() == false) { in Action()
52 unit.DamagedType = ExtraDeathIndex(this->DeathType.c_str()); in Action()
59 this->DeathType = s; in Init()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/interface/
H A Ddestroyable_object.h43 enum class DeathType enum
76 virtual void SetDying(DeathType deathType) = 0;
78 virtual DeathType GetDying() = 0;
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/
H A DSpawnActorOnDeath.cs45 public readonly string DeathType = null; field in OpenRA.Mods.Common.Traits.SpawnActorOnDeathInfo
89 if (Info.DeathType != null && !e.Damage.DamageTypes.Contains(Info.DeathType)) in INotifyKilled.Killed()
/dports/games/stratagus/stratagus-3.2.0/src/include/animation/
H A Danimation_die.h47 std::string DeathType;
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/animation/
H A Danimation_die.h47 std::string DeathType;
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/
H A Dold_object.h244 void SetDying(DeathType deathType) override;
245 DeathType GetDying() override;
365 DeathType m_dying;
H A Dold_object.cpp142 m_dying = DeathType::Alive; in COldObject()
552 SetDying(DeathType::Burning); in DestroyObject()
561 SetDying(DeathType::Burning); in DestroyObject()
583 SetDying(DeathType::Exploding); in DestroyObject()
1249 SetDying(DeathType::Burning); in Read()
2098 if ( GetDying() == DeathType::Burning ) // Burning? in EventProcess()
2247 if ( GetDying() == DeathType::Burning ) m_burnTime += event.rTime; in EventFrame()
2786 void COldObject::SetDying(DeathType deathType) in SetDying()
2797 DeathType COldObject::GetDying() in GetDying()
2804 return m_dying != DeathType::Alive; in IsDying()
[all …]
/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()
478 … if ( bStop || dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) in EventFrame()
H A Dmotionspider.cpp365 if (dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) // burning? in EventFrame()
H A Dmotionant.cpp430 … if ( dynamic_cast<CDestroyableObject*>(m_object)->GetDying() == DeathType::Burning ) // burning? in EventFrame()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/physics/
H A Dphysics.cpp825 …ECT_HUMAN && dynamic_cast<CDestroyableObject&>(*m_object).GetDying() == DeathType::Dead ) // dead… in MotorUpdate()
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()
2528 …:Destroyable) && dynamic_cast<CDestroyableObject&>(*pObj).GetDying() == DeathType::Exploding ) co… in ObjectAdapt()
3458 …eType::Destroyable) || dynamic_cast<CDestroyableObject&>(*m_object).GetDying() != DeathType::Dead ) in MotorParticle()
/dports/games/jfsw/jfsw-c434002/src/
H A Dninja.c2182 pp->DeathType = 0; in PlayerLevelReset()
2251 pp->DeathType = 0; in PlayerDeathReset()
2348 pp->DeathType = 0; in PlayerGameReset()
2459 pp->DeathType = 0; in InitPlayerSprite()
H A Dplayer.c5079 …if ((pp->DeathType == PLAYER_DEATH_DROWN || TEST((Player+screenpeek)->Flags, PF_DIVING)) && !TEST(… in DoPlayerDivePalette()
6591 pp->DeathType = PLAYER_DEATH_DROWN; in DoPlayerBeginDie()
6674 ASSERT(pp->DeathType < SIZ(PlayerDeathFunc)); in DoPlayerBeginDie()
6675 pp->DoPlayerAction = PlayerDeathFunc[pp->DeathType]; in DoPlayerBeginDie()
6685 switch (pp->DeathType) in DoPlayerBeginDie()
6920 if(pp->DeathType == PLAYER_DEATH_FLIP || pp->DeathType == PLAYER_DEATH_RIPPER) in DoPlayerDeathCheckKeys()
H A Dgame.h1222 short DeathType; member
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/
H A Dninja.cpp2178 pp->DeathType = 0; in PlayerLevelReset()
2247 pp->DeathType = 0; in PlayerDeathReset()
2339 pp->DeathType = 0; in PlayerGameReset()
2443 pp->DeathType = 0; in InitPlayerSprite()
H A Dplayer.cpp5148 …if ((pp->DeathType == PLAYER_DEATH_DROWN || TEST((Player+screenpeek)->Flags, PF_DIVING)) && !TEST(… in DoPlayerDivePalette()
6632 pp->DeathType = PLAYER_DEATH_DROWN; in DoPlayerBeginDie()
6716 ASSERT(pp->DeathType < SIZ(PlayerDeathFunc)); in DoPlayerBeginDie()
6717 pp->DoPlayerAction = PlayerDeathFunc[pp->DeathType]; in DoPlayerBeginDie()
6727 switch (pp->DeathType) in DoPlayerBeginDie()
6953 if (pp->DeathType == PLAYER_DEATH_FLIP || pp->DeathType == PLAYER_DEATH_RIPPER) in DoPlayerDeathCheckKeys()
H A Dgame.h1199 uint16_t DeathType; member
/dports/games/openra/OpenRA-release-20200503/mods/ts/rules/
H A Ddefaults.yaml677 DeathType: TriggerVisceroid
681 DeathType: FireDeath
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/engine/
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()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_interaction.cpp1411 if (inflictor && inflictor->DeathType != NAME_None) mod = inflictor->DeathType; in P_DamageMobj()
H A Dactor.h1146 FNameNoInit DeathType; variable
H A Dp_mobj.cpp301 << DeathType; in Serialize()
6213 if (inflictor && inflictor->DeathType != NAME_None) in TakeSpecialDamage()
6214 damagetype = inflictor->DeathType; in TakeSpecialDamage()
/dports/games/zdoom/zdoom-2.8.1/src/thingdef/
H A Dthingdef_properties.cpp1153 if (!stricmp(str, "Normal")) defaults->DeathType = NAME_None; in DEFINE_PROPERTY()
1154 else defaults->DeathType=str; in DEFINE_PROPERTY()
/dports/games/openra/OpenRA-release-20200503/mods/cnc/rules/
H A Ddefaults.yaml421 DeathType: TiberiumDeath

12