equal
deleted
inserted
replaced
148 /** Called to modify various vehicle properties. Callback parameter 1 |
148 /** Called to modify various vehicle properties. Callback parameter 1 |
149 * specifies the property index, as used in Action 0, to change. */ |
149 * specifies the property index, as used in Action 0, to change. */ |
150 CBID_VEHICLE_MODIFY_PROPERTY = 0x36, |
150 CBID_VEHICLE_MODIFY_PROPERTY = 0x36, |
151 |
151 |
152 /** Called to determine text to display after cargo name */ |
152 /** Called to determine text to display after cargo name */ |
153 CBID_INDUSTRY_CARGO_SUFFIX = 0x37, // not implemented |
153 CBID_INDUSTRY_CARGO_SUFFIX = 0x37, |
154 |
154 |
155 /** Called to determine more text in the fund industry window */ |
155 /** Called to determine more text in the fund industry window */ |
156 CBID_INDUSTRY_FUND_MORE_TEXT = 0x38, |
156 CBID_INDUSTRY_FUND_MORE_TEXT = 0x38, |
157 |
157 |
158 /** Called to calculate the income of delivered cargo */ |
158 /** Called to calculate the income of delivered cargo */ |
208 /** Customize the input cargo types of a newly build industry. */ |
208 /** Customize the input cargo types of a newly build industry. */ |
209 CBID_INDUSTRY_INPUT_CARGO_TYPES = 0x14B, |
209 CBID_INDUSTRY_INPUT_CARGO_TYPES = 0x14B, |
210 |
210 |
211 /** Customize the output cargo types of a newly build industry. */ |
211 /** Customize the output cargo types of a newly build industry. */ |
212 CBID_INDUSTRY_OUTPUT_CARGO_TYPES = 0x14C, |
212 CBID_INDUSTRY_OUTPUT_CARGO_TYPES = 0x14C, |
|
213 |
|
214 /* ATTENTION: |
|
215 * When adding new callbacks and their result is 15bit, add them to newgrf_spritegroup.cpp:Is8BitCallback(). |
|
216 * It does not harm to add them there though they are not implemented. But it does harm if they get forgotton. |
|
217 */ |
213 }; |
218 }; |
214 |
219 |
215 /** |
220 /** |
216 * Callback masks for vehicles, indicates which callbacks are used by a vehicle. |
221 * Callback masks for vehicles, indicates which callbacks are used by a vehicle. |
217 * Some callbacks are always used and don't have a mask. |
222 * Some callbacks are always used and don't have a mask. |