mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
completed loading adaption .
This commit is contained in:
parent
34c78179f1
commit
ca20863dc1
6 changed files with 514 additions and 1880 deletions
|
@ -28,4 +28,14 @@ public:
|
|||
}
|
||||
return def;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
static CString ToString(const T& origin);// { static_assert(false, "T must have specialized implementations!"); }
|
||||
|
||||
template<>
|
||||
static CString ToString<bool>(const bool& origin)
|
||||
{
|
||||
static CString result[] = { "false", "true" };
|
||||
return result[origin];
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue