(svn r1867) Include tables/sprites.h only in files which need it

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 20 years ago
parent 77d26759e3
commit 204d08140a

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "window.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "window.h"

@ -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"

@ -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"

@ -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"

@ -2,6 +2,7 @@
#include "ttd.h"
#include "string.h"
#include "strings.h"
#include "table/sprites.h"
#include "network.h"
#include "saveload.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gui.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "gfx.h"
#include "map.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"

@ -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"

@ -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"

@ -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"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gui.h"

@ -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"

@ -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

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"

@ -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"

@ -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"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"

@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gfx.h"

Loading…
Cancel
Save