MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getSurfaceSet

Method getSurfaceSet

src/Resource/ResourcePack.cpp:112–116  ·  view source on GitHub ↗

* Returns a specific surface set from the resource set. * @param name Name of the surface set. * @return Pointer to the surface set. */

Source from the content-addressed store, hash-verified

110 * @return Pointer to the surface set.
111 */
112SurfaceSet *ResourcePack::getSurfaceSet(const std::string &name) const
113{
114 std::map<std::string, SurfaceSet*>::const_iterator i = _sets.find(name);
115 if (_sets.end() != i) return i->second; else return 0;
116}
117
118/**
119 * Returns the list of polygons in the resource set.

Callers 15

MapMethod · 0.80
drawTerrainMethod · 0.80
cacheUnitMethod · 0.80
drawMethod · 0.80
mouseClickMethod · 0.80
initMethod · 0.80
invClickMethod · 0.80
MiniMapViewMethod · 0.80
ProjectileMethod · 0.80
BattlescapeStateMethod · 0.80
updateSoldierInfoMethod · 0.80
drawItemsMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestStateMethod · 0.64