Home
last modified time | relevance | path

Searched refs:CorpseType (Results 1 – 10 of 10) sorted by relevance

/dports/games/stratagus/stratagus-3.2.0/src/action/
H A Daction_die.cpp110 if (type.CorpseType == NULL) { in Execute()
116 const CUnitType &corpseType = *type.CorpseType; in Execute()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/action/
H A Daction_die.cpp114 if (type.CorpseType == nullptr) { in Execute()
123 const CUnitType &corpseType = *type.CorpseType; in Execute()
/dports/games/stratagus/stratagus-3.2.0/src/unit/
H A Dunit.cpp585 return ((Type->CorpseType && CurrentAction() == UnitActionDie) ? in GetDrawLevel()
586 Type->CorpseType->DrawLevel : in GetDrawLevel()
2480 if (type->CorpseType) { in LetUnitDie()
2482 if (!type->CorpseType->Sprite) { in LetUnitDie()
2483 LoadUnitTypeSprite(*(CUnitType*)type->CorpseType); in LetUnitDie()
2486 unit.IX = (type->CorpseType->Width - type->CorpseType->Sprite->Width) / 2; in LetUnitDie()
2487 unit.IY = (type->CorpseType->Height - type->CorpseType->Sprite->Height) / 2; in LetUnitDie()
2489 …unit.CurrentSightRange = type->CorpseType->Stats[unit.Player->Index].Variables[SIGHTRANGE_INDEX].M… in LetUnitDie()
2496 if (type->CorpseType || (type->Animations && type->Animations->hasDeathAnimation)) { in LetUnitDie()
H A Dunittype.cpp525 CorpseType(NULL), Construction(NULL), RepairHP(0), TileWidth(0), TileHeight(0), in CUnitType()
1066 type.CorpseType = UnitTypeByIdent(type.CorpseName); in LoadUnitTypes()
H A Dscript_unittype.cpp709 type->CorpseType = NULL; in CclDefineUnitType()
/dports/games/stratagus/stratagus-3.2.0/src/include/
H A Dunittype.h550 CUnitType *CorpseType; /// Corpse unit-type variable
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/unit/
H A Dunittype.cpp572 CorpseType(nullptr), Construction(nullptr), RepairHP(0), TileSize(0, 0), in CUnitType()
801 this->CorpseType = nullptr; in ProcessConfigData()
1392 this->CorpseType = nullptr; in SetParent()
2849 type.CorpseType = UnitTypeByIdent(type.CorpseName); in LoadUnitType()
H A Dunit.cpp2590 return ((Type->CorpseType && CurrentAction() == UnitActionDie) ? in GetDrawLevel()
2591 Type->CorpseType->DrawLevel : in GetDrawLevel()
6577 if (type->CorpseType) { in LetUnitDie()
6583 unit.IX = (type->CorpseType->Width - type->CorpseType->Sprite->Width) / 2; in LetUnitDie()
6584 unit.IY = (type->CorpseType->Height - type->CorpseType->Sprite->Height) / 2; in LetUnitDie()
6586 …unit.CurrentSightRange = type->CorpseType->Stats[unit.Player->Index].Variables[SIGHTRANGE_INDEX].M… in LetUnitDie()
6595 if (type->CorpseType || (unit.GetAnimations() && unit.GetAnimations()->Death)) { in LetUnitDie()
H A Dscript_unittype.cpp1256 type->CorpseType = nullptr; in CclDefineUnitType()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/unit/
H A Dunittype.h952 CUnitType *CorpseType; /// Corpse unit-type variable