Added tiberian sun mix file support, can't play game until iconset format is ironed yet.

This commit is contained in:
Justin Marshall
2020-06-29 15:22:06 -07:00
parent 37b4f227e6
commit 4844f4eaa7
12 changed files with 158 additions and 239 deletions
+2 -3
View File
@@ -51,13 +51,13 @@
static TemplateTypeClass const Empty(
TEMPLATE_CLEAR1,
THEATERF_TEMPERATE|THEATERF_SNOW|THEATERF_INTERIOR,
"CLEAR1",
"CLEAR01",
TXT_CLEAR
);
static TemplateTypeClass const Clear(
TEMPLATE_CLEAR1,
THEATERF_TEMPERATE|THEATERF_SNOW|THEATERF_INTERIOR,
"CLEAR1",
"CLEAR01",
TXT_CLEAR
);
static TemplateTypeClass const Road01(
@@ -3129,7 +3129,6 @@ void TemplateTypeClass::Init(TheaterType theater)
_makepath(fullname, NULL, NULL, tplate.IniName, Theaters[theater].Suffix);
ptr = MFCD::Retrieve(fullname);
((void const *&)tplate.ImageData) = ptr;
#ifdef WIN32
Register_Icon_Set((void*)ptr, TRUE); //Register icon set for video memory caching
#endif