generally transplanted FA2sp image handling logic, but still WIP

TODO: Fix palette background issue. Fix voxel handling .
This commit is contained in:
Zero Fanker 2024-05-18 21:19:01 -04:00
parent 981059c2b4
commit 800cd951b6
17 changed files with 1058 additions and 1163 deletions

View file

@ -27,6 +27,15 @@ public:
CString GetStringOr(const CString& section, const CString& key, const CString& def) const;
IniSectionGroup GetSection(const CString& section) const;
bool GetBool(const CString& pSection, const CString& pKey, bool def = false) const
{
return INIHelper::StringToBool(GetString(pSection, pKey), def);
}
int GetInteger(const CString& pSection, const CString& pKey, int def = 0) const
{
return INIHelper::StringToInteger(GetString(pSection, pKey), def);
}
auto Size() const { return m_group.size(); }
void Append(const CIniFile& INI);