summaryrefslogtreecommitdiff
path: root/src/newgrf_house.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
committerrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
commit9e3ee0e689343c7701453c0fa4220d21fa3c46ce (patch)
treef2e904bfcb0f95592e6d631d8b0bacddd27cbdd6 /src/newgrf_house.h
parent77b0e30b763688e108f49f1d035aee8daa51c6ac (diff)
downloadopenttd-9e3ee0e689343c7701453c0fa4220d21fa3c46ce.tar.xz
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
Diffstat (limited to 'src/newgrf_house.h')
-rw-r--r--src/newgrf_house.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_house.h b/src/newgrf_house.h
index 2ebd7601f..821eff04c 100644
--- a/src/newgrf_house.h
+++ b/src/newgrf_house.h
@@ -6,6 +6,7 @@
#define NEWGRF_HOUSE_H
#include "town.h"
+#include "newgrf_callbacks.h"
/**
* Makes class IDs unique to each GRF file.
@@ -38,7 +39,7 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id);
void AnimateNewHouseTile(TileIndex tile);
void ChangeHouseAnimationFrame(TileIndex tile, uint16 callback_result);
-uint16 GetHouseCallback(uint16 callback, uint32 param1, uint32 param2, HouseID house_id, Town *town, TileIndex tile);
+uint16 GetHouseCallback(CallbackID callback, uint32 param1, uint32 param2, HouseID house_id, Town *town, TileIndex tile);
bool CanDeleteHouse(TileIndex tile);