Searched refs:CorpseType (Results 1 – 10 of 10) sorted by relevance
/dports/games/stratagus/stratagus-3.2.0/src/action/ |
H A D | action_die.cpp | 110 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 D | action_die.cpp | 114 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 D | unit.cpp | 585 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 D | unittype.cpp | 525 CorpseType(NULL), Construction(NULL), RepairHP(0), TileWidth(0), TileHeight(0), in CUnitType() 1066 type.CorpseType = UnitTypeByIdent(type.CorpseName); in LoadUnitTypes()
|
H A D | script_unittype.cpp | 709 type->CorpseType = NULL; in CclDefineUnitType()
|
/dports/games/stratagus/stratagus-3.2.0/src/include/ |
H A D | unittype.h | 550 CUnitType *CorpseType; /// Corpse unit-type variable
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/unit/ |
H A D | unittype.cpp | 572 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 D | unit.cpp | 2590 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 D | script_unittype.cpp | 1256 type->CorpseType = nullptr; in CclDefineUnitType()
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/unit/ |
H A D | unittype.h | 952 CUnitType *CorpseType; /// Corpse unit-type variable
|