(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#include "../window_func.h"
|
||||
#include "../viewport_func.h"
|
||||
#include "../gfx_func.h"
|
||||
#include "../company_base.h"
|
||||
#include "../town.h"
|
||||
|
||||
#include "saveload.h"
|
||||
|
||||
|
@@ -45,6 +45,7 @@ SavegameType _savegame_type; ///< type of savegame we are loading
|
||||
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
|
||||
|
||||
typedef void WriterProc(size_t len);
|
||||
typedef size_t ReaderProc();
|
||||
|
@@ -331,4 +331,6 @@ void SlArray(void *array, size_t length, VarType conv);
|
||||
void SlObject(void *object, const SaveLoad *sld);
|
||||
bool SlObjectMember(void *object, const SaveLoad *sld);
|
||||
|
||||
extern char _savegame_format[8];
|
||||
|
||||
#endif /* SAVELOAD_H */
|
||||
|
Reference in New Issue
Block a user