MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetLinkedTexture

Method GetLinkedTexture

source/common/textures/texturemanager.cpp:1647–1655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1645//==========================================================================
1646
1647FGameTexture* FTextureManager::GetLinkedTexture(int lump)
1648{
1649 if (lump < fileSystem.GetNumEntries())
1650 {
1651 auto check = linkedMap.CheckKey(lump);
1652 if (check) return *check;
1653 }
1654 return nullptr;
1655}
1656
1657
1658//==========================================================================

Callers 4

serializer.cppFile · 0.80
~FGameTextureMethod · 0.80
DEFINE_ACTION_FUNCTIONFunction · 0.80
PMapValueWriterFunction · 0.80

Calls 2

GetNumEntriesMethod · 0.80
CheckKeyMethod · 0.45

Tested by

no test coverage detected