(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.

This commit is contained in:
yexo
2009-02-25 21:45:14 +00:00
parent c5684e56ec
commit fb7b0536e7
11 changed files with 19 additions and 14 deletions

View File

@@ -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"

View File

@@ -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();

View File

@@ -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 */