saveload.c
changeset 643 a9c84d04eacb
parent 617 279ed033e2d4
child 649 bc9bdefb76ec
equal deleted inserted replaced
642:c0a5e875f48e 643:a9c84d04eacb
  1144 {
  1144 {
  1145 	SaveOrLoad("crash.sav", SL_SAVE);
  1145 	SaveOrLoad("crash.sav", SL_SAVE);
  1146 	return true;
  1146 	return true;
  1147 }
  1147 }
  1148 
  1148 
       
  1149 void DoExitSave()
       
  1150 {
       
  1151 	char buf[200];
       
  1152 	sprintf(buf, "%s%sexit.sav", _path.autosave_dir, PATHSEP);
       
  1153 	debug(buf);
       
  1154 	SaveOrLoad(buf, SL_SAVE);
       
  1155 }
       
  1156 
  1149 // not used right now, but could be used if extensions of savegames are garbled
  1157 // not used right now, but could be used if extensions of savegames are garbled
  1150 /*int GetSavegameType(char *file)
  1158 /*int GetSavegameType(char *file)
  1151 {
  1159 {
  1152 	const SaveLoadFormat *fmt;
  1160 	const SaveLoadFormat *fmt;
  1153 	uint32 hdr;
  1161 	uint32 hdr;