46 pDel->
pNext =
nullptr;
128 if (!hGroup.
Open(szTmp,
true)) {
EraseItem(szTmp);
return false; }
143 if (!fExtractLandscape || !fExtractObjects)
#define C4CFN_ScenarioObjectsScript
#define C4FLS_SectionObjects
#define C4FLS_SectionLandscape
C4AulScriptEngine ScriptEngine
const char * C4ScenSect_Main
bool SEqualNoCase(const char *szStr1, const char *szStr2, int iLen)
bool EraseItem(const char *szItemName)
bool WildcardMatch(const char *szWildcard, const char *szString)
void MakeTempFilename(char *szFilename)
char * GetFilename(char *szPath)
bool CreatePath(const std::string &path)
char LanguageEx[CFG_MaxString+1]
const char * AtTempPath(const char *filename)
class C4ScenarioObjectsScriptHost * pScenarioObjectsScript
C4LangStringTable ScenarioLangStringTable
C4ScenarioSection * pScenarioSections
bool FindNextEntry(const char *wildcard, StdStrBuf *filename=nullptr, size_t *size=nullptr, bool start_at_filename=false)
bool ExtractEntry(const char *filename, const char *destination=nullptr)
bool OpenAsChild(C4Group *mother, const char *entry_name, bool is_exclusive=false, bool do_create=false)
void ResetSearch(bool reload_contents=false)
bool Delete(const char *files, bool recursive=false)
bool FindEntry(const char *wildcard, StdStrBuf *filename=nullptr, size_t *size=nullptr)
bool Open(const char *group_name, bool do_create=false)
bool ScenarioLoad(const char *szFilename, bool is_temp_file)
bool EnsureTempStore(bool fExtractLandscape, bool fExtractObjects)
class C4ScenarioObjectsScriptHost * pObjectScripts
C4ScenarioSection * pNext
StdCopyStrBuf temp_filename
C4Group * GetGroupfile(C4Group &rGrp)
C4ScenarioSection(const char *szName)
virtual bool Load(C4Group &hGroup, const char *szFilename, const char *szLanguage, C4LangStringTable *pLocalTable)
void Reg2List(C4AulScriptEngine *pEngine)
const char * getData() const