Lines Matching refs:texture_name

258     std::string texture_name;  in TechIcon()  local
260 texture_name = tech->Graphic(); in TechIcon()
261 if (texture_name.empty()) in TechIcon()
264 return ClientUI::GetTexture(ArtDir() / texture_name, true); in TechIcon()
269 std::string texture_name; in SpecialIcon() local
271 texture_name = special->Graphic(); in SpecialIcon()
272 if (texture_name.empty()) in SpecialIcon()
274 return ClientUI::GetTexture(ArtDir() / texture_name, true); in SpecialIcon()
279 std::string texture_name; in SpeciesIcon() local
281 texture_name = species->Graphic(); in SpeciesIcon()
282 if (texture_name.empty()) in SpeciesIcon()
284 return ClientUI::GetTexture(ArtDir() / texture_name, true); in SpeciesIcon()
289 std::string texture_name; in FieldTexture() local
291 texture_name = type->Graphic(); in FieldTexture()
292 if (texture_name.empty()) in FieldTexture()
294 return ClientUI::GetTexture(ArtDir() / texture_name, true); in FieldTexture()
299 std::string texture_name; in PartIcon() local
301 texture_name = part->Icon(); in PartIcon()
302 if (texture_name.empty()) in PartIcon()
304 return ClientUI::GetTexture(ArtDir() / texture_name, false); in PartIcon()
309 std::string texture_name; in HullTexture() local
311 texture_name = hull->Graphic(); in HullTexture()
312 if (texture_name.empty()) in HullTexture()
313 texture_name = hull->Icon(); in HullTexture()
315 if (texture_name.empty()) in HullTexture()
317 return ClientUI::GetTexture(ArtDir() / texture_name, true); in HullTexture()
322 std::string texture_name; in HullIcon() local
324 texture_name = hull->Icon(); in HullIcon()
325 if (texture_name.empty()) in HullIcon()
326 texture_name = hull->Graphic(); in HullIcon()
328 if (texture_name.empty()) in HullIcon()
330 return ClientUI::GetTexture(ArtDir() / texture_name, true); in HullIcon()