Added Tiberian Sun/Red Alert SHP file support. Added EXPAND3.MIX for Allied Force data.

This commit is contained in:
Justin Marshall
2020-07-31 21:52:32 -07:00
parent 1d8cd100b0
commit 32a81a0174
14 changed files with 160 additions and 51 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ Image_t* SidebarEditor::LoadEditorImage(const char* name) {
return NULL;
}
int width = Get_Build_Frame_Width(shapefile);
int height = Get_Build_Frame_Height(shapefile);
int width = Get_Build_Frame_Width(shapefile, 0);
int height = Get_Build_Frame_Height(shapefile, 0);
unsigned char *shape_pointer = (unsigned char*)Build_Frame(shapefile, 0, _ShapeBuffer);
short frameCount = Get_Build_Frame_Count(shapefile);