41 auto i = Graphics.find(sFileName);
42 if (i != Graphics.end())
delete i->second;
43 Graphics[sFileName] = new_fct;
53 if (!pGrp)
return true;
54 if (idNewGrp == idGrp)
return true;
62 for (
auto & Graphic : Graphics)
63 delete Graphic.second;
71 if (i != Graphics.end())
return i->second;
else return nullptr;
#define C4CFN_Achievements
const char * LoadResStr(const char *id)
bool LogF(const char *strMessage,...)
int SCharPos(char cTarget, const char *szInStr, int iIndex)
void RemoveExtension(char *szFilename)
C4FacetSurface * FindByName(const char *name) const
bool Load(C4Group &hGroup, const char *szName, int iWdt, int iHgt, bool fNoErrIfNotFound, int iFlags)
bool FindNextEntry(const char *wildcard, StdStrBuf *filename=nullptr, size_t *size=nullptr, bool start_at_filename=false)
void ResetSearch(bool reload_contents=false)
C4Group * FindEntry(const char *szWildcard, int32_t *pPriority=nullptr, int32_t *pID=nullptr)