diff options
author | rubidium <rubidium@openttd.org> | 2007-07-08 17:40:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-08 17:40:04 +0000 |
commit | 283a06e4a195fabea413c55e236586a880c794f6 (patch) | |
tree | e8b08f0eebf44557962f1210eb8b7887d9d999bf /src/newgrf_callbacks.h | |
parent | fd2d67784911fc545883f3911790ecc38d43e0e0 (diff) | |
download | openttd-283a06e4a195fabea413c55e236586a880c794f6.tar.xz |
(svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r-- | src/newgrf_callbacks.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h index 129285afe..29bb174a5 100644 --- a/src/newgrf_callbacks.h +++ b/src/newgrf_callbacks.h @@ -107,10 +107,10 @@ enum CallbackID { CBID_HOUSE_ACCEPT_CARGO = 0x2A, /* Called to query the cargo acceptance of the industry tile */ - CBID_INDTILE_ACCEPT_CARGO = 0x2B, // not yet implemented + CBID_INDTILE_CARGO_ACCEPTANCE = 0x2B, /* Called to determine which cargoes an industry should accept. */ - CBID_INDUSTRY_ACCEPT_CARGO = 0x2C, // not yet implemented + CBID_INDTILE_ACCEPT_CARGO = 0x2C, /* Called to determine if a specific colour map should be used for a vehicle * instead of the default livery */ @@ -158,8 +158,8 @@ enum CallbackID { /* Called to determine if industry can alter the ground below industry tile */ CBID_INDUSTRY_AUTOSLOPE = 0x3C, // not yet implemented - /* Called to determine if the industry can still accept or refuse more cargo arrival */ - CBID_INDUSTRY_REFUSE_CARGO = 0x3D, // not yet implemented + /* Called to determine if the industry can still accept or refuse more cargo arrival */ + CBID_INDUSTRY_REFUSE_CARGO = 0x3D, /* Called (if appropriate bit in callback mask set) to determine whether a * town building can be destroyed. */ @@ -240,7 +240,7 @@ enum IndustryCallbackMask { enum IndustryTileCallbackMask { CBM_INDT_ANIM_NEXT_FRAME = 0, ///< decides next animation frame CBM_INDT_ANIM_SPEED = 1, ///< decides animation speed - CBM_INDT_ACCEPTANCE_CARGO = 2, ///< decides amount of cargo acceptance + CBM_INDT_CARGO_ACCEPTANCE = 2, ///< decides amount of cargo acceptance CBM_INDT_ACCEPT_CARGO = 3, ///< decides accepted types CBM_INDT_SHAPE_CHECK = 4, ///< decides slope suitability CBM_INDT_DRAW_FOUNDATIONS = 5, ///< decides if default foundations need to be drawn |