diff options
author | yexo <yexo@openttd.org> | 2010-02-22 14:16:41 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 14:16:41 +0000 |
commit | 880fedc192ff65a9916d8f0f7c94f930b62822ad (patch) | |
tree | 650ae38dafdc7a97eb742f836804696cbbf6d885 /src/newgrf_callbacks.h | |
parent | 80fb5c70c8e5c41d519946fe59fba4185fe7af89 (diff) | |
download | openttd-880fedc192ff65a9916d8f0f7c94f930b62822ad.tar.xz |
(svn r19195) -Codechange: actually draw newgrf airport tiles
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r-- | src/newgrf_callbacks.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h index 3b1d26d26..661445017 100644 --- a/src/newgrf_callbacks.h +++ b/src/newgrf_callbacks.h @@ -220,6 +220,9 @@ enum CallbackID { /** Called to determine if one can alter the ground below a house tile */ CBID_HOUSE_AUTOSLOPE = 0x14F, // 15 bit callback + + /** Called to determine the type (if any) of foundation to draw for an airport tile. */ + CBID_AIRPTILE_DRAW_FOUNDATIONS = 0x150, // 15 bit callback }; /** @@ -316,6 +319,17 @@ enum IndustryTileCallbackMask { }; /** + * Callback masks for airport tiles + */ +enum AirportTileCallbackMask { + CBM_AIRT_ANIM_NEXT_FRAME = 0, ///< decides next animation frame + CBM_AIRT_ANIM_SPEED = 1, ///< decides animation speed + CBM_AIRT_SHAPE_CHECK = 4, ///< decides slope suitability + CBM_AIRT_DRAW_FOUNDATIONS = 5, ///< decides if default foundations need to be drawn + CBM_AIRT_AUTOSLOPE = 6, ///< decides allowance of autosloping +}; + +/** * Different values for Callback result evaluations */ enum { |