| 74 | }; |
| 75 | |
| 76 | int 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 | |
| 87 | static ColorRGBA DetermineBloodColor(int PartType, const CImageInfo &Info) |
| 88 | { |
nothing calls this directly
no test coverage detected