Home
last modified time | relevance | path

Searched refs:LightSprite (Results 1 – 7 of 7) sorted by relevance

/dports/games/wyrmgus/Wyrmgus-3.5.4/src/video/
H A Dcursor.cpp295 …etDefaultVariation(*ThisPlayer) && CursorBuilding->GetDefaultVariation(*ThisPlayer)->LightSprite) { in DrawBuildingCursor()
296 …DrawOverlay(*CursorBuilding, CursorBuilding->GetDefaultVariation(*ThisPlayer)->LightSprite, ThisPl… in DrawBuildingCursor()
297 } else if (CursorBuilding->LightSprite) { in DrawBuildingCursor()
298 …DrawOverlay(*CursorBuilding, CursorBuilding->LightSprite, ThisPlayer->Index, CursorBuilding->Still… in DrawBuildingCursor()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/unit/
H A Dunit_type_variation.h86 CGraphic *LightSprite = nullptr; /// The graphic corresponding to LightFile. variable
H A Dunittype.h1074 CGraphic *LightSprite; /// Light sprite image variable
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/unit/
H A Dunit_type_variation.cpp59 if (this->LightSprite) { in ~CUnitTypeVariation()
60 CGraphic::Free(this->LightSprite); in ~CUnitTypeVariation()
H A Dunittype.cpp595 Sprite(nullptr), ShadowSprite(nullptr), LightSprite(nullptr) in CUnitType()
675 CGraphic::Free(LightSprite); in ~CUnitType()
2696 type.LightSprite = CGraphic::New(type.LightFile, type.Width, type.Height); in LoadUnitTypeSprite()
2697 type.LightSprite->Load(); in LoadUnitTypeSprite()
2699 type.LightSprite->Flip(); in LoadUnitTypeSprite()
2739 variation->LightSprite = CGraphic::New(variation->LightFile, frame_width, frame_height); in LoadUnitTypeSprite()
2740 variation->LightSprite->Load(); in LoadUnitTypeSprite()
2742 variation->LightSprite->Flip(); in LoadUnitTypeSprite()
H A Dunit_draw.cpp1386 if (variation && variation->LightSprite) { in Draw()
1387 DrawOverlay(*type, variation->LightSprite, player, frame, screenPos); in Draw()
1388 } else if (type->LightSprite) { in Draw()
1389 DrawOverlay(*type, type->LightSprite, player, frame, screenPos); in Draw()
H A Dscript_unittype.cpp971 if (redefine && type->LightSprite) { in CclDefineUnitType()
972 CGraphic::Free(type->LightSprite); in CclDefineUnitType()
973 type->LightSprite = nullptr; in CclDefineUnitType()