1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

(svn r3214) -Feature: openttd.cfg can now set how many autosaves to keep before starting to overwrite old ones

max_autosave_num in the config files sets the number of autosaves to keep (default 16)
	MAX_NUM_AUTOSAVES in Makefile.config sets the default value. 16 is used if no value is given
	this behaviour can still be overwritten by keep_all_autosave (openttd.config setting)
	Note: this is a requested behaviour for PDA ports, since they got limited storage space
This commit is contained in:
bjarni
2005-11-17 19:43:37 +00:00
parent 3e702afc08
commit eba1f68439
5 changed files with 25 additions and 5 deletions

View File

@@ -155,6 +155,7 @@ typedef struct Patches {
bool keep_all_autosave; // name the autosave in a different way.
bool autosave_on_exit; // save an autosave when you quit the game, but do not ask "Do you really want to quit?"
byte max_num_autosaves; // controls how many autosavegames are made before the game starts to overwrite (names them 0 to max_num_autosaves - 1)
bool extra_dynamite; // extra dynamite
bool never_expire_vehicles; // never expire vehicles