summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-10 21:32:52 +0000
committerrubidium <rubidium@openttd.org>2010-12-10 21:32:52 +0000
commit5d0da9492e2c8f296f2689e3174e8d9832c7872d (patch)
treee271e6d6d625d0c5eea4ba0a9ef8ae4ca360923f /src/newgrf_object.h
parentcd6180a46d0f15f66f170fc89886980e7a49dab7 (diff)
downloadopenttd-5d0da9492e2c8f296f2689e3174e8d9832c7872d.tar.xz
(svn r21454) -Codechange: add support for object variable 48
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 3b60e94e7..416b87a21 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -117,10 +117,10 @@ typedef NewGRFClass<ObjectSpec, ObjectClassID, OBJECT_CLASS_MAX> ObjectClass;
/** Mapping of purchase for objects. */
static const CargoID CT_PURCHASE_OBJECT = 1;
-uint16 GetObjectCallback(CallbackID callback, uint32 param1, uint32 param2, const ObjectSpec *spec, const Object *o, TileIndex tile);
+uint16 GetObjectCallback(CallbackID callback, uint32 param1, uint32 param2, const ObjectSpec *spec, const Object *o, TileIndex tile, uint8 view = 0);
void DrawNewObjectTile(TileInfo *ti, const ObjectSpec *spec);
-void DrawNewObjectTileInGUI(int x, int y, const ObjectSpec *spec);
+void DrawNewObjectTileInGUI(int x, int y, const ObjectSpec *spec, uint8 view);
void AnimateNewObjectTile(TileIndex tile);
void TriggerObjectTileAnimation(const Object *o, TileIndex tile, ObjectAnimationTrigger trigger, const ObjectSpec *spec);
void TriggerObjectAnimation(const Object *o, ObjectAnimationTrigger trigger, const ObjectSpec *spec);