summaryrefslogtreecommitdiff
path: root/newgrf_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf_engine.h')
-rw-r--r--newgrf_engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newgrf_engine.h b/newgrf_engine.h
index e610f4050..248de61ee 100644
--- a/newgrf_engine.h
+++ b/newgrf_engine.h
@@ -26,6 +26,7 @@ void SetEngineGRF(EngineID engine, uint32 grfid);
uint32 GetEngineGRFID(EngineID engine);
uint16 GetVehicleCallback(uint16 callback, uint32 param1, uint32 param2, EngineID engine, const Vehicle *v);
+uint16 GetVehicleCallbackParent(uint16 callback, uint32 param1, uint32 param2, EngineID engine, const Vehicle *v, const Vehicle *parent);
bool UsesWagonOverride(const Vehicle *v);
#define GetCustomVehicleSprite(v, direction) GetCustomEngineSprite(v->engine_type, v, direction)
#define GetCustomVehicleIcon(et, direction) GetCustomEngineSprite(et, NULL, direction)