1
0
Fork 0

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

release/0.4.5
tron 2005-02-13 11:18:02 +00:00
parent 77d26759e3
commit 204d08140a
22 changed files with 21 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

4
ttd.h
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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