tape.scr_fieldx = SCR_FIELDX_DEFAULT;
tape.scr_fieldy = SCR_FIELDY_DEFAULT;
+ tape.no_info_chunk = TRUE;
tape.no_valid_file = FALSE;
}
int level_identifier_size;
int i;
+ tape->no_info_chunk = FALSE;
+
level_identifier_size = getFile16BitBE(file);
level_identifier = checked_malloc(level_identifier_size);
Fail("cannot load tape file '%s'", autoplay.tape_filename);
}
+ if (tape.no_info_chunk)
+ Fail("cannot get levelset from tape file '%s'", autoplay.tape_filename);
+
global.autoplay_leveldir = tape.level_identifier;
if (tape.level_nr >= 0 && tape.level_nr < MAX_TAPES_PER_SET)
boolean show_game_buttons; // show game buttons in tape viewport
+ boolean no_info_chunk; // used to identify old tape file format
boolean no_valid_file; // set when tape file missing or invalid
};