- implemented saving of new format savegames as zips. The code for that was adapted from zipdir.c.
This commit is contained in:
parent
810ef8f775
commit
ac3c00883d
15 changed files with 251 additions and 102 deletions
|
|
@ -241,7 +241,7 @@ void DLoadSaveMenu::ReadSaveStrings ()
|
|||
|
||||
title[SAVESTRINGSIZE] = 0;
|
||||
|
||||
if (NULL != (png = M_VerifyPNG (file)))
|
||||
if (false)//NULL != (png = M_VerifyPNG (file)))
|
||||
{
|
||||
char *ver = M_GetPNGText (png, "ZDoom Save Version");
|
||||
char *engine = M_GetPNGText (png, "Engine");
|
||||
|
|
@ -251,7 +251,7 @@ void DLoadSaveMenu::ReadSaveStrings ()
|
|||
{
|
||||
strncpy (title, I_FindName(&c_file), SAVESTRINGSIZE);
|
||||
}
|
||||
if (strncmp (ver, SAVESIG, 9) == 0 &&
|
||||
if (strncmp (ver, "SAVESIG", 9) == 0 &&
|
||||
atoi (ver+9) >= MINSAVEVER &&
|
||||
engine != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue