* Perform a callback for an object. * @param callback The callback to perform. * @param param1 The first parameter to pass to the NewGRF. * @param param2 The second parameter to pass to the NewGRF. * @param spec The specification of the object / the entry point. * @param o The object to call the callback for. * @param tile The tile the callback is called for. * @return Th
| 533 | * @return The result of the callback. |
| 534 | */ |
| 535 | uint16_t StubGetObjectCallback(CallbackID callback, uint32_t param1, uint32_t param2, const ObjectSpec *spec, Object *o, TileIndex tile, int) |
| 536 | { |
| 537 | return GetObjectCallback(callback, param1, param2, spec, o, tile); |
| 538 | } |
| 539 | |
| 540 | /** Helper class for animation control. */ |
| 541 | struct ObjectAnimationBase : public AnimationBase<ObjectAnimationBase, ObjectSpec, Object, int, StubGetObjectCallback, TileAnimationFrameAnimationHelper<Object> > { |
nothing calls this directly
no test coverage detected