Source release for DOOM Classic for iOS version 2.1

This commit is contained in:
Travis Bradshaw
2012-01-31 16:40:40 -06:00
parent 0cdbbdf96e
commit 3bf2af22f3
371 changed files with 167116 additions and 776 deletions

View File

@@ -1565,6 +1565,27 @@ static const struct {
static const size_t num_version_headers = sizeof(version_headers) / sizeof(version_headers[0]);
boolean G_SaveGameValid() {
int length, i;
// CPhipps - do savegame filename stuff here
char name[PATH_MAX+1]; // killough 3/22/98
int savegame_compatibility = -1;
G_SaveGameName(name,sizeof(name),savegameslot, demoplayback);
gameaction = ga_nothing;
length = M_ReadFile(name, &savebuffer);
if (length<=0) {
return false;
}
return true;
}
void G_DoLoadGame(void)
{
int length, i;