(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location

This commit is contained in:
rubidium
2010-07-19 15:44:49 +00:00
parent 1441de3950
commit 8894ae2ccb
6 changed files with 9 additions and 10 deletions

View File

@@ -55,6 +55,7 @@ uint32 _ttdp_version; ///< version of TTDP savegame (if applicable)
uint16 _sl_version; ///< the major savegame version identifier
byte _sl_minor_version; ///< the minor savegame version, DO NOT USE!
char _savegame_format[8]; ///< how to compress savegames
bool _do_autosave; ///< are we doing an autosave at the moment?
typedef void WriterProc(size_t len);
typedef size_t ReaderProc();

View File

@@ -342,5 +342,6 @@ bool SlObjectMember(void *object, const SaveLoad *sld);
bool SaveloadCrashWithMissingNewGRFs();
extern char _savegame_format[8];
extern bool _do_autosave;
#endif /* SAVELOAD_H */