saveload_internal.h

Go to the documentation of this file.
00001 /* $Id: saveload_internal.h 18354 2009-11-30 23:59:42Z rubidium $ */
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 extern ZoomLevelByte _saved_scrollpos_zoom;
00040 
00041 extern SavegameType _savegame_type;
00042 extern uint32 _ttdp_version;
00043 
00044 CompanyManagerFace ConvertFromOldCompanyManagerFace(uint32 face);
00045 
00046 Order UnpackOldOrder(uint16 packed);
00047 
00048 #endif /* SAVELOAD_INTERNAL_H */

Generated on Mon Dec 14 21:00:02 2009 for OpenTTD by  doxygen 1.5.6