summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-13 22:10:12 +0000
committerdominik <dominik@openttd.org>2004-12-13 22:10:12 +0000
commit77e882c3bd01976039b01c1c662f2e61fc10f132 (patch)
tree4a420e366039274cda5a356049fa055e5d97bcbe /variables.h
parent2b13b2d239c6ee0708e8ab417397c54ed6a11b54 (diff)
downloadopenttd-77e882c3bd01976039b01c1c662f2e61fc10f132.tar.xz
(svn r1076) Feature: Patch setting to autosave the game on exit
If you set autosave_on_exit = true in openttd.cfg, your game will be saved as exit.sav in the autosave folder and you won't be asked if you want to quit the game any more.
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/variables.h b/variables.h
index 9756d5047..667bd4a83 100644
--- a/variables.h
+++ b/variables.h
@@ -148,6 +148,7 @@ typedef struct Patches {
uint32 colored_news_date; // when does newspaper become colored?
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?"
bool extra_dynamite; // extra dynamite
bool never_expire_vehicles; // never expire vehicles