--- a/airport_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/airport_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "window.h"
--- a/dock_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/dock_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "window.h"
--- a/landscape.c Sun Feb 13 09:42:49 2005 +0000
+++ b/landscape.c Sun Feb 13 11:18:02 2005 +0000
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "map.h"
#include "spritecache.h"
+#include "table/sprites.h"
#include "tile.h"
#include <stdarg.h>
#include "gfx.h"
--- a/main_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/main_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "spritecache.h"
#include "strings.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/misc_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/misc_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -3,6 +3,7 @@
#include "debug.h"
#include "spritecache.h"
#include "strings.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "window.h"
--- a/network_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/network_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "string.h"
#include "strings.h"
+#include "table/sprites.h"
#include "network.h"
#include "saveload.h"
--- a/order_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/order_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/player_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/player_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gui.h"
--- a/rail_cmd.c Sun Feb 13 09:42:49 2005 +0000
+++ b/rail_cmd.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "gfx.h"
#include "map.h"
--- a/rail_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/rail_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/road_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/road_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/settings_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/settings_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "string.h"
#include "strings.h" // XXX GetCurrentCurrencyRate()
+#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gui.h"
--- a/spritecache.c Sun Feb 13 09:42:49 2005 +0000
+++ b/spritecache.c Sun Feb 13 11:18:02 2005 +0000
@@ -3,6 +3,7 @@
#include "debug.h"
#include "gfx.h"
#include "spritecache.h"
+#include "table/sprites.h"
#include "fileio.h"
#include "newgrf.h"
#include "md5.h"
--- a/station_cmd.c Sun Feb 13 09:42:49 2005 +0000
+++ b/station_cmd.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,6 +1,7 @@
#include "stdafx.h"
#include "ttd.h"
#include "debug.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/terraform_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/terraform_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gui.h"
--- a/town_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/town_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "debug.h"
#include "strings.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "town.h"
#include "window.h"
--- a/ttd.h Sun Feb 13 09:42:49 2005 +0000
+++ b/ttd.h Sun Feb 13 11:18:02 2005 +0000
@@ -1,10 +1,6 @@
#ifndef TTD_H
#define TTD_H
-// FIXME: Include only where really needed.
-// include sprites
-#include "table/sprites.h"
-
#ifndef VARDEF
#define VARDEF extern
#endif
--- a/tunnelbridge_cmd.c Sun Feb 13 09:42:49 2005 +0000
+++ b/tunnelbridge_cmd.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/vehicle_gui.c Sun Feb 13 09:42:49 2005 +0000
+++ b/vehicle_gui.c Sun Feb 13 11:18:02 2005 +0000
@@ -2,6 +2,7 @@
#include "ttd.h"
#include "debug.h"
#include "strings.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "vehicle.h"
#include "window.h"
--- a/viewport.c Sun Feb 13 09:42:49 2005 +0000
+++ b/viewport.c Sun Feb 13 11:18:02 2005 +0000
@@ -3,6 +3,7 @@
#include "debug.h"
#include "spritecache.h"
#include "strings.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "viewport.h"
--- a/water_cmd.c Sun Feb 13 09:42:49 2005 +0000
+++ b/water_cmd.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
--- a/widget.c Sun Feb 13 09:42:49 2005 +0000
+++ b/widget.c Sun Feb 13 11:18:02 2005 +0000
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gfx.h"