diff options
author | tron <tron@openttd.org> | 2005-07-22 07:02:20 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-22 07:02:20 +0000 |
commit | 559babcdc96d5e2de5e964c9d9b6109e4cfbcffc (patch) | |
tree | a0e2e73a80ed38f5da703450b9ee48e2f933b198 | |
parent | 18d79cc30f1a4946abce0cf31f8a0469f1bdadfa (diff) | |
download | openttd-559babcdc96d5e2de5e964c9d9b6109e4cfbcffc.tar.xz |
(svn r2673) Include functions.h directly, not globally via openttd.h
-rw-r--r-- | ai_build.c | 1 | ||||
-rw-r--r-- | ai_new.c | 1 | ||||
-rw-r--r-- | ai_old.c | 1 | ||||
-rw-r--r-- | ai_pathfinder.c | 1 | ||||
-rw-r--r-- | aircraft_cmd.c | 1 | ||||
-rw-r--r-- | aircraft_gui.c | 1 | ||||
-rw-r--r-- | airport_gui.c | 1 | ||||
-rw-r--r-- | bridge_gui.c | 1 | ||||
-rw-r--r-- | callback_table.h | 2 | ||||
-rw-r--r-- | clear_cmd.c | 1 | ||||
-rw-r--r-- | command.c | 1 | ||||
-rw-r--r-- | console.c | 1 | ||||
-rw-r--r-- | debug.c | 1 | ||||
-rw-r--r-- | dedicated.c | 1 | ||||
-rw-r--r-- | depot.c | 1 | ||||
-rw-r--r-- | disaster_cmd.c | 1 | ||||
-rw-r--r-- | dock_gui.c | 1 | ||||
-rw-r--r-- | dummy_land.c | 1 | ||||
-rw-r--r-- | economy.c | 1 | ||||
-rw-r--r-- | engine.c | 1 | ||||
-rw-r--r-- | engine_gui.c | 1 | ||||
-rw-r--r-- | fileio.c | 1 | ||||
-rw-r--r-- | gfx.c | 1 | ||||
-rw-r--r-- | graph_gui.c | 1 | ||||
-rw-r--r-- | industry_cmd.c | 1 | ||||
-rw-r--r-- | industry_gui.c | 1 | ||||
-rw-r--r-- | intro_gui.c | 1 | ||||
-rw-r--r-- | landscape.c | 1 | ||||
-rw-r--r-- | main_gui.c | 1 | ||||
-rw-r--r-- | misc.c | 1 | ||||
-rw-r--r-- | misc_cmd.c | 1 | ||||
-rw-r--r-- | misc_gui.c | 1 | ||||
-rw-r--r-- | music_gui.c | 1 | ||||
-rw-r--r-- | network.c | 2 | ||||
-rw-r--r-- | network_client.c | 1 | ||||
-rw-r--r-- | network_data.c | 1 | ||||
-rw-r--r-- | network_gui.c | 2 | ||||
-rw-r--r-- | network_server.c | 1 | ||||
-rw-r--r-- | newgrf.c | 1 | ||||
-rw-r--r-- | news_gui.c | 1 | ||||
-rw-r--r-- | npf.c | 1 | ||||
-rw-r--r-- | oldloader.c | 1 | ||||
-rw-r--r-- | openttd.c | 1 | ||||
-rw-r--r-- | openttd.h | 2 | ||||
-rw-r--r-- | order_cmd.c | 1 | ||||
-rw-r--r-- | order_gui.c | 1 | ||||
-rw-r--r-- | pathfind.c | 1 | ||||
-rw-r--r-- | pbs.c | 2 | ||||
-rw-r--r-- | player_gui.c | 1 | ||||
-rw-r--r-- | players.c | 1 | ||||
-rw-r--r-- | pool.c | 1 | ||||
-rw-r--r-- | rail_cmd.c | 1 | ||||
-rw-r--r-- | rail_gui.c | 1 | ||||
-rw-r--r-- | road_cmd.c | 1 | ||||
-rw-r--r-- | road_gui.c | 1 | ||||
-rw-r--r-- | roadveh_cmd.c | 1 | ||||
-rw-r--r-- | roadveh_gui.c | 1 | ||||
-rw-r--r-- | saveload.c | 1 | ||||
-rw-r--r-- | screenshot.c | 1 | ||||
-rw-r--r-- | sdl.c | 1 | ||||
-rw-r--r-- | settings.c | 1 | ||||
-rw-r--r-- | settings_gui.c | 1 | ||||
-rw-r--r-- | ship_cmd.c | 1 | ||||
-rw-r--r-- | ship_gui.c | 1 | ||||
-rw-r--r-- | signs.c | 1 | ||||
-rw-r--r-- | smallmap_gui.c | 1 | ||||
-rw-r--r-- | sound.c | 1 | ||||
-rw-r--r-- | spritecache.c | 1 | ||||
-rw-r--r-- | station_cmd.c | 1 | ||||
-rw-r--r-- | station_gui.c | 1 | ||||
-rw-r--r-- | strings.c | 1 | ||||
-rw-r--r-- | subsidy_gui.c | 1 | ||||
-rw-r--r-- | terraform_gui.c | 1 | ||||
-rw-r--r-- | texteff.c | 1 | ||||
-rw-r--r-- | town_cmd.c | 1 | ||||
-rw-r--r-- | town_gui.c | 1 | ||||
-rw-r--r-- | train_cmd.c | 1 | ||||
-rw-r--r-- | train_gui.c | 1 | ||||
-rw-r--r-- | tree_cmd.c | 1 | ||||
-rw-r--r-- | tunnelbridge_cmd.c | 1 | ||||
-rw-r--r-- | unix.c | 1 | ||||
-rw-r--r-- | unmovable_cmd.c | 1 | ||||
-rw-r--r-- | vehicle.c | 1 | ||||
-rw-r--r-- | vehicle_gui.c | 1 | ||||
-rw-r--r-- | viewport.c | 1 | ||||
-rw-r--r-- | water_cmd.c | 1 | ||||
-rw-r--r-- | waypoint.c | 1 | ||||
-rw-r--r-- | widget.c | 1 | ||||
-rw-r--r-- | win32.c | 1 | ||||
-rw-r--r-- | window.c | 1 |
90 files changed, 91 insertions, 4 deletions
diff --git a/ai_build.c b/ai_build.c index 121b9fee0..370189af8 100644 --- a/ai_build.c +++ b/ai_build.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "command.h" @@ -18,6 +18,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/strings.h" #include "map.h" #include "tile.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "player.h" diff --git a/ai_pathfinder.c b/ai_pathfinder.c index cee7a6e6b..c754b89b4 100644 --- a/ai_pathfinder.c +++ b/ai_pathfinder.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "command.h" diff --git a/aircraft_cmd.c b/aircraft_cmd.c index d5f9d061b..0ed5a4354 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/strings.h" #include "map.h" #include "tile.h" diff --git a/aircraft_gui.c b/aircraft_gui.c index b38a7244f..00a2f030b 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/sprites.h" #include "table/strings.h" #include "map.h" diff --git a/airport_gui.c b/airport_gui.c index a1cd6e0c0..5af423ba6 100644 --- a/airport_gui.c +++ b/airport_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "window.h" #include "gui.h" diff --git a/bridge_gui.c b/bridge_gui.c index 47401c538..d4b899e58 100644 --- a/bridge_gui.c +++ b/bridge_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "window.h" #include "gui.h" diff --git a/callback_table.h b/callback_table.h index f3540521d..83deb9c95 100644 --- a/callback_table.h +++ b/callback_table.h @@ -1,6 +1,8 @@ #ifndef CALLBACK_TABLE_H #define CALLBACK_TABLE_H +#include "functions.h" + extern CommandCallback *_callback_table[]; extern const int _callback_table_count; diff --git a/clear_cmd.c b/clear_cmd.c index 34ea9e0f7..25b7e96e5 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "player.h" #include "tile.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "gui.h" #include "command.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "gfx.h" @@ -4,6 +4,7 @@ #include "openttd.h" #include "console.h" #include "debug.h" +#include "functions.h" #include "string.h" int _debug_ai_level; diff --git a/dedicated.c b/dedicated.c index cd99dfbbb..99c5c3e10 100644 --- a/dedicated.c +++ b/dedicated.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "network.h" #include "hal.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "depot.h" +#include "functions.h" #include "tile.h" #include "map.h" #include "table/strings.h" diff --git a/disaster_cmd.c b/disaster_cmd.c index 371c69710..78046cdc9 100644 --- a/disaster_cmd.c +++ b/disaster_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "vehicle.h" diff --git a/dock_gui.c b/dock_gui.c index 53a9cb75f..f28cf8818 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "window.h" #include "station.h" diff --git a/dummy_land.c b/dummy_land.c index 9f668ff08..9102244b4 100644 --- a/dummy_land.c +++ b/dummy_land.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "viewport.h" #include "command.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "strings.h" // XXX InjectDParam() #include "table/strings.h" #include "map.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/strings.h" #include "engine.h" #include "table/engines.h" diff --git a/engine_gui.c b/engine_gui.c index 9cbcdb5d3..35807d4a1 100644 --- a/engine_gui.c +++ b/engine_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "viewport.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "fileio.h" +#include "functions.h" #include "macros.h" #include "variables.h" #if defined(UNIX) || defined(__OS2__) @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "player.h" #include "spritecache.h" #include "strings.h" diff --git a/graph_gui.c b/graph_gui.c index 527830b60..f9849f5d9 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "gfx.h" diff --git a/industry_cmd.c b/industry_cmd.c index f368122c9..e5041d759 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/strings.h" #include "table/sprites.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "viewport.h" diff --git a/industry_gui.c b/industry_gui.c index db2d016e1..9fe49b2d6 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "strings.h" #include "table/strings.h" #include "table/sprites.h" diff --git a/intro_gui.c b/intro_gui.c index f81e129f7..48fa67284 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "viewport.h" diff --git a/landscape.c b/landscape.c index cae2a1427..055029397 100644 --- a/landscape.c +++ b/landscape.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "map.h" #include "player.h" #include "spritecache.h" diff --git a/main_gui.c b/main_gui.c index e4d42f715..f5ccb6ef4 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "spritecache.h" #include "strings.h" #include "table/sprites.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "string.h" #include "strings.h" // XXX GetParam* #include "table/strings.h" diff --git a/misc_cmd.c b/misc_cmd.c index b5958a20a..a3539f8ea 100644 --- a/misc_cmd.c +++ b/misc_cmd.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "string.h" #include "table/strings.h" #include "command.h" diff --git a/misc_gui.c b/misc_gui.c index cd277e837..cbe7a71be 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "saveload.h" #include "spritecache.h" #include "strings.h" diff --git a/music_gui.c b/music_gui.c index 0c5731d82..6d1689104 100644 --- a/music_gui.c +++ b/music_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "gfx.h" @@ -1,5 +1,7 @@ #include "stdafx.h" +#include "openttd.h" #include "debug.h" +#include "functions.h" #include "string.h" #include "strings.h" #include "map.h" diff --git a/network_client.c b/network_client.c index 2288f9b05..43478e81c 100644 --- a/network_client.c +++ b/network_client.c @@ -7,6 +7,7 @@ #ifdef ENABLE_NETWORK #include "table/strings.h" +#include "functions.h" #include "network_client.h" #include "network_gamelist.h" #include "saveload.h" diff --git a/network_data.c b/network_data.c index 02cecfc06..6462144d3 100644 --- a/network_data.c +++ b/network_data.c @@ -5,6 +5,7 @@ // Is the network enabled? #ifdef ENABLE_NETWORK +#include "functions.h" #include "string.h" #include "table/strings.h" #include "network_client.h" diff --git a/network_gui.c b/network_gui.c index a1ae21cae..5cd906737 100644 --- a/network_gui.c +++ b/network_gui.c @@ -10,13 +10,13 @@ #ifdef ENABLE_NETWORK #include "table/strings.h" +#include "functions.h" #include "network_data.h" #include "network_gamelist.h" #include "window.h" #include "gui.h" #include "gfx.h" #include "command.h" -#include "functions.h" #include "variables.h" #include "network_server.h" #include "network_udp.h" diff --git a/network_server.c b/network_server.c index ff0f05094..b8a91bcaf 100644 --- a/network_server.c +++ b/network_server.c @@ -7,6 +7,7 @@ #ifdef ENABLE_NETWORK #include "table/strings.h" +#include "functions.h" #include "network_server.h" #include "network_udp.h" #include "console.h" @@ -6,6 +6,7 @@ #include "debug.h" #include "gfx.h" #include "fileio.h" +#include "functions.h" #include "engine.h" #include "station.h" #include "sprite.h" diff --git a/news_gui.c b/news_gui.c index c9d919aff..91cb41329 100644 --- a/news_gui.c +++ b/news_gui.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "strings.h" #include "table/sprites.h" #include "table/strings.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "npf.h" #include "aystar.h" #include "macros.h" diff --git a/oldloader.c b/oldloader.c index 8dc1b1ae0..585975956 100644 --- a/oldloader.c +++ b/oldloader.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "town.h" #include "industry.h" @@ -9,6 +9,7 @@ #define VARDEF #include "openttd.h" +#include "functions.h" #include "mixer.h" #include "spritecache.h" #include "gfx.h" @@ -547,6 +547,4 @@ enum { }; VARDEF byte _no_scroll; -#include "functions.h" - #endif /* OPENTTD_H */ diff --git a/order_cmd.c b/order_cmd.c index 8ec6afb08..7b925c5cd 100644 --- a/order_cmd.c +++ b/order_cmd.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "airport.h" #include "depot.h" +#include "functions.h" #include "table/strings.h" #include "vehicle.h" #include "waypoint.h" diff --git a/order_gui.c b/order_gui.c index f0dd46538..cdfc95bec 100644 --- a/order_gui.c +++ b/order_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "window.h" diff --git a/pathfind.c b/pathfind.c index 737b6d36d..b0e3f6cf2 100644 --- a/pathfind.c +++ b/pathfind.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "pathfind.h" @@ -1,7 +1,7 @@ #include "stdafx.h" #include "openttd.h" -#include "pbs.h" #include "functions.h" +#include "pbs.h" #include "debug.h" #include "map.h" #include "tile.h" diff --git a/player_gui.c b/player_gui.c index bd5e4cc5b..1f634727a 100644 --- a/player_gui.c +++ b/player_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "viewport.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "engine.h" +#include "functions.h" #include "string.h" #include "strings.h" #include "table/strings.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "pool.h" /** diff --git a/rail_cmd.c b/rail_cmd.c index 3bb1a30ca..70973b559 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/sprites.h" #include "table/strings.h" #include "map.h" diff --git a/rail_gui.c b/rail_gui.c index bdc474b48..11f94149d 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "window.h" diff --git a/road_cmd.c b/road_cmd.c index 26ef7ff8a..d9a1791aa 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "vehicle.h" diff --git a/road_gui.c b/road_gui.c index 0b3c5ebf3..df3bc9f45 100644 --- a/road_gui.c +++ b/road_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "window.h" diff --git a/roadveh_cmd.c b/roadveh_cmd.c index 293d2004e..2ada6dd3c 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/strings.h" #include "map.h" #include "tile.h" diff --git a/roadveh_gui.c b/roadveh_gui.c index 01d9b3e8a..26f2917be 100644 --- a/roadveh_gui.c +++ b/roadveh_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/sprites.h" #include "table/strings.h" #include "map.h" diff --git a/saveload.c b/saveload.c index e6fcca30e..ae796922f 100644 --- a/saveload.c +++ b/saveload.c @@ -16,6 +16,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "vehicle.h" #include "station.h" #include "town.h" diff --git a/screenshot.c b/screenshot.c index c0c07dd5c..ff92ae3aa 100644 --- a/screenshot.c +++ b/screenshot.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "strings.h" #include "table/strings.h" #include "gfx.h" @@ -3,6 +3,7 @@ #if defined(WITH_SDL) #include "openttd.h" #include "debug.h" +#include "functions.h" #include "gfx.h" #include "mixer.h" #include "window.h" diff --git a/settings.c b/settings.c index 5a9b47178..c7589967d 100644 --- a/settings.c +++ b/settings.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "screenshot.h" #include "sound.h" #include "spritecache.h" diff --git a/settings_gui.c b/settings_gui.c index 0604c9d6f..79d90d0bd 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "string.h" #include "strings.h" // XXX GetCurrentCurrencyRate() #include "table/sprites.h" diff --git a/ship_cmd.c b/ship_cmd.c index e93fd5d2e..9158b5ca9 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "vehicle.h" diff --git a/ship_gui.c b/ship_gui.c index 752bc4f53..30d962932 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/strings.h" #include "map.h" #include "window.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "player.h" #include "signs.h" #include "saveload.h" diff --git a/smallmap_gui.c b/smallmap_gui.c index 5890562c9..ae3482d64 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "spritecache.h" #include "table/strings.h" #include "table/sprites.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "map.h" #include "mixer.h" #include "sound.h" diff --git a/spritecache.c b/spritecache.c index fe5925555..7c1ddd5b4 100644 --- a/spritecache.c +++ b/spritecache.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "gfx.h" #include "spritecache.h" #include "table/sprites.h" diff --git a/station_cmd.c b/station_cmd.c index 57e2db3d5..fdff06971 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/sprites.h" #include "table/strings.h" #include "map.h" diff --git a/station_gui.c b/station_gui.c index 9b5b1de22..f12c086a3 100644 --- a/station_gui.c +++ b/station_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "strings.h" #include "table/strings.h" #include "window.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "string.h" #include "strings.h" #include "table/strings.h" diff --git a/subsidy_gui.c b/subsidy_gui.c index f966724e1..9e7719f3d 100644 --- a/subsidy_gui.c +++ b/subsidy_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "functions.h" #include "window.h" #include "gui.h" #include "station.h" diff --git a/terraform_gui.c b/terraform_gui.c index 10a0c78d0..467dcad8f 100644 --- a/terraform_gui.c +++ b/terraform_gui.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "player.h" #include "tile.h" #include "window.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "strings.h" #include "gfx.h" #include "viewport.h" diff --git a/town_cmd.c b/town_cmd.c index 76ca08d97..e70fee4a3 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "strings.h" #include "table/strings.h" #include "table/sprites.h" diff --git a/town_gui.c b/town_gui.c index 23791b663..3745b7776 100644 --- a/town_gui.c +++ b/town_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "strings.h" #include "table/sprites.h" #include "table/strings.h" diff --git a/train_cmd.c b/train_cmd.c index 7b38ba072..471d15e59 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/strings.h" #include "map.h" #include "tile.h" diff --git a/train_gui.c b/train_gui.c index 2905c554d..f1094d985 100644 --- a/train_gui.c +++ b/train_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "table/sprites.h" #include "table/strings.h" #include "map.h" diff --git a/tree_cmd.c b/tree_cmd.c index 8b7e3a50c..bd0d5796f 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -3,6 +3,7 @@ #include "table/strings.h" #include "table/sprites.h" #include "table/tree_land.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "viewport.h" diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 250cd6277..552987c4b 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "vehicle.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "window.h" #include "string.h" #include "table/strings.h" diff --git a/unmovable_cmd.c b/unmovable_cmd.c index 5b04328e6..ddc7702f2 100644 --- a/unmovable_cmd.c +++ b/unmovable_cmd.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/strings.h" #include "table/sprites.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "command.h" @@ -3,6 +3,7 @@ #include "spritecache.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "vehicle.h" diff --git a/vehicle_gui.c b/vehicle_gui.c index 2cfc40a4d..5a27ad826 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "player.h" #include "strings.h" #include "table/sprites.h" diff --git a/viewport.c b/viewport.c index 48f1b8230..53547ad75 100644 --- a/viewport.c +++ b/viewport.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "spritecache.h" #include "strings.h" #include "table/sprites.h" diff --git a/water_cmd.c b/water_cmd.c index f05bcf018..9f92c74af 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "table/sprites.h" #include "table/strings.h" +#include "functions.h" #include "map.h" #include "tile.h" #include "vehicle.h" diff --git a/waypoint.c b/waypoint.c index 958dd5378..981c8c8bf 100644 --- a/waypoint.c +++ b/waypoint.c @@ -2,6 +2,7 @@ #include "openttd.h" #include "command.h" +#include "functions.h" #include "gfx.h" #include "map.h" #include "order.h" @@ -1,5 +1,6 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "player.h" #include "table/sprites.h" #include "table/strings.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "saveload.h" #include "string.h" #include "table/strings.h" @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" +#include "functions.h" #include "map.h" #include "player.h" #include "window.h" |