saveload_internal.h

Go to the documentation of this file.
00001 /* $Id: saveload_internal.h 15340 2009-02-04 20:17:25Z smatz $ */
00002 
00005 #ifndef SAVELOAD_INTERNAL_H
00006 #define SAVELOAD_INTERNAL_H
00007 
00008 #include "../strings_type.h"
00009 #include "../company_manager_face.h"
00010 #include "../order_base.h"
00011 #include "../engine_type.h"
00012 #include "saveload.h"
00013 
00014 void InitializeOldNames();
00015 StringID RemapOldStringID(StringID s);
00016 char *CopyFromOldName(StringID id);
00017 void ResetOldNames();
00018 
00019 void FixOldWaypoints();
00020 
00021 void AfterLoadWaypoints();
00022 void AfterLoadVehicles(bool part_of_load);
00023 void AfterLoadStations();
00024 void UpdateHousesAndTowns();
00025 
00026 void UpdateOldAircraft();
00027 
00028 void SaveViewportBeforeSaveGame();
00029 void ResetViewportAfterLoadGame();
00030 
00031 void ConvertOldMultiheadToNew();
00032 void ConnectMultiheadedTrains();
00033 
00034 Engine *GetTempDataEngine(EngineID index);
00035 void CopyTempEngineData();
00036 
00037 extern int32 _saved_scrollpos_x;
00038 extern int32 _saved_scrollpos_y;
00039 
00040 extern SavegameType _savegame_type;
00041 extern uint32 _ttdp_version;
00042 
00043 CompanyManagerFace ConvertFromOldCompanyManagerFace(uint32 face);
00044 
00045 Order UnpackOldOrder(uint16 packed);
00046 
00047 #endif /* SAVELOAD_INTERNAL_H */

Generated on Mon Feb 16 23:12:10 2009 for openttd by  doxygen 1.5.6