MCPcopy Create free account
hub / github.com/ddnet/ddnet / SkinPartScan

Method SkinPartScan

src/game/client/components/skins7.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74};
75
76int CSkins7::SkinPartScan(const char *pName, int IsDir, int DirType, void *pUser)
77{
78 if(IsDir || !str_endswith(pName, ".png"))
79 return 0;
80
81 CSkinPartScanData *pScanData = static_cast<CSkinPartScanData *>(pUser);
82 pScanData->m_pThis->LoadSkinPart(pScanData->m_Part, pName, DirType);
83 pScanData->m_SkinLoadedCallback();
84 return 0;
85}
86
87static ColorRGBA DetermineBloodColor(int PartType, const CImageInfo &Info)
88{

Callers

nothing calls this directly

Calls 2

str_endswithFunction · 0.85
LoadSkinPartMethod · 0.80

Tested by

no test coverage detected