mirror of
https://github.com/id-Software/DOOM-iOS.git
synced 2026-03-20 00:49:34 +01:00
Source release for DOOM Classic for iOS version 2.1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user