mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r15166) -Codechange: reduce number of includes in afterload.cpp
This commit is contained in:
parent
4091989752
commit
a9a8bb3590
@ -10,9 +10,6 @@
|
||||
void SetupEngines();
|
||||
void StartupEngines();
|
||||
|
||||
Engine *GetTempDataEngine(EngineID index);
|
||||
void CopyTempEngineData();
|
||||
|
||||
/* Original engine data counts and offsets */
|
||||
extern const uint8 _engine_counts[4];
|
||||
extern const uint8 _engine_offsets[4];
|
||||
|
@ -7,35 +7,28 @@
|
||||
#include "../tile_type.h"
|
||||
#include "../tile_map.h"
|
||||
#include "../map_type.h"
|
||||
#include "../road_map.h"
|
||||
#include "../town.h"
|
||||
#include "../void_map.h"
|
||||
#include "../signs_base.h"
|
||||
#include "../window_func.h"
|
||||
#include "../station_func.h"
|
||||
#include "../company_base.h"
|
||||
#include "../fios.h"
|
||||
#include "../date_func.h"
|
||||
#include "../engine_func.h"
|
||||
#include "../train.h"
|
||||
#include "../string_func.h"
|
||||
#include "../newgrf_config.h"
|
||||
#include "../gamelog.h"
|
||||
#include "../waypoint.h"
|
||||
#include "../station_map.h"
|
||||
#include "../station_base.h"
|
||||
#include "../tunnelbridge_map.h"
|
||||
#include "../debug.h"
|
||||
#include "../network/network.h"
|
||||
#include "../openttd.h"
|
||||
#include "../gfxinit.h"
|
||||
#include "../gfx_func.h"
|
||||
#include "../functions.h"
|
||||
#include "../industry_map.h"
|
||||
#include "../town_map.h"
|
||||
#include "../clear_map.h"
|
||||
#include "../engine_base.h"
|
||||
#include "../landscape.h"
|
||||
#include "../vehicle_func.h"
|
||||
#include "../newgrf_station.h"
|
||||
#include "../yapf/yapf.hpp"
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include "../strings_type.h"
|
||||
#include "../company_manager_face.h"
|
||||
#include "../order_base.h"
|
||||
#include "../engine_type.h"
|
||||
|
||||
void InitializeOldNames();
|
||||
StringID RemapOldStringID(StringID s);
|
||||
@ -30,6 +31,9 @@ void ResetViewportAfterLoadGame();
|
||||
void ConvertOldMultiheadToNew();
|
||||
void ConnectMultiheadedTrains();
|
||||
|
||||
Engine *GetTempDataEngine(EngineID index);
|
||||
void CopyTempEngineData();
|
||||
|
||||
extern int32 _saved_scrollpos_x;
|
||||
extern int32 _saved_scrollpos_y;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user