mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-18 04:06:42 -04:00
generally transplanted FA2sp image handling logic, but still WIP
TODO: Fix palette background issue. Fix voxel handling .
This commit is contained in:
parent
981059c2b4
commit
800cd951b6
17 changed files with 1058 additions and 1163 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue