summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-03-19 11:27:30 +0000
committermaedhros <maedhros@openttd.org>2007-03-19 11:27:30 +0000
commit73ff939ddbb4772178de68f821d9c32ded846a06 (patch)
tree8ccaccab74c6399452d6ff3f09d5c94335516a62 /src/newgrf.h
parentae48a7447be849bdad48ca5996a246d29165f39e (diff)
downloadopenttd-73ff939ddbb4772178de68f821d9c32ded846a06.tar.xz
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index 963145f65..e9e5418b0 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -4,6 +4,7 @@
#define NEWGRF_H
#include "station.h"
+#include "town.h"
#include "newgrf_config.h"
#include "helpers.hpp"
#include "cargotype.h"
@@ -56,6 +57,7 @@ struct GRFFile {
uint sound_offset;
StationSpec **stations;
+ HouseSpec **housespec;
uint32 param[0x80];
uint param_end; /// one more than the highest set parameter
@@ -72,6 +74,7 @@ extern GRFFile *_first_grffile;
extern SpriteID _signal_base;
extern SpriteID _coast_base;
extern bool _have_2cc;
+extern bool _have_newhouses;
void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage);
void LoadNewGRF(uint load_index, uint file_index);