equal
deleted
inserted
replaced
132 /** Called when the player (or AI) tries to start or stop a vehicle. Mainly |
132 /** Called when the player (or AI) tries to start or stop a vehicle. Mainly |
133 * used for preventing a vehicle from leaving the depot. */ |
133 * used for preventing a vehicle from leaving the depot. */ |
134 CBID_VEHICLE_START_STOP_CHECK = 0x31, |
134 CBID_VEHICLE_START_STOP_CHECK = 0x31, |
135 |
135 |
136 /** Called for every vehicle every 32 days (not all on same date though). */ |
136 /** Called for every vehicle every 32 days (not all on same date though). */ |
137 CBID_VEHICLE_32DAY_CALLBACK = 0x32, // not implemented |
137 CBID_VEHICLE_32DAY_CALLBACK = 0x32, |
138 |
138 |
139 /** Called to play a special sound effect */ |
139 /** Called to play a special sound effect */ |
140 CBID_VEHICLE_SOUND_EFFECT = 0x33, |
140 CBID_VEHICLE_SOUND_EFFECT = 0x33, |
141 |
141 |
142 /** Return the vehicles this given vehicle can be "upgraded" to. */ |
142 /** Return the vehicles this given vehicle can be "upgraded" to. */ |
168 CBID_INDUSTRY_AUTOSLOPE = 0x3C, |
168 CBID_INDUSTRY_AUTOSLOPE = 0x3C, |
169 |
169 |
170 /** Called to determine if the industry can still accept or refuse more cargo arrival */ |
170 /** Called to determine if the industry can still accept or refuse more cargo arrival */ |
171 CBID_INDUSTRY_REFUSE_CARGO = 0x3D, |
171 CBID_INDUSTRY_REFUSE_CARGO = 0x3D, |
172 |
172 |
173 /* There are no callbacks 0x3E - 0x142. */ |
173 /* There are no callbacks 0x3E - 0x13F */ |
|
174 |
|
175 /** Called for periodically starting or stopping the animation. */ |
|
176 CBID_STATION_ANIM_START_STOP = 0x140, // not implemented |
|
177 |
|
178 /** Called to determine station tile next animation frame. */ |
|
179 CBID_STATION_ANIM_NEXT_FRAME = 0x141, // not implemented |
|
180 |
|
181 /** Called to indicate how long the current animation frame should last. */ |
|
182 CBID_STATION_ANIMATION_SPEED = 0x142, // not implemented |
174 |
183 |
175 /** Called to determine whether a town building can be destroyed. */ |
184 /** Called to determine whether a town building can be destroyed. */ |
176 CBID_HOUSE_DENY_DESTRUCTION = 0x143, |
185 CBID_HOUSE_DENY_DESTRUCTION = 0x143, |
177 |
186 |
178 /** Select an ambient sound to play for a given type of tile. */ |
187 /** Select an ambient sound to play for a given type of tile. */ |
185 CBID_NEW_SIGNALS_SPRITE_DRAW = 0x146, // not implemented |
194 CBID_NEW_SIGNALS_SPRITE_DRAW = 0x146, // not implemented |
186 |
195 |
187 /** Add an offset to the default sprite numbers to show another sprite. */ |
196 /** Add an offset to the default sprite numbers to show another sprite. */ |
188 CBID_CANALS_SPRITE_OFFSET = 0x147, // not implemented |
197 CBID_CANALS_SPRITE_OFFSET = 0x147, // not implemented |
189 |
198 |
190 /* There is no callback 0x148.*/ |
199 /** Called when a cargo type specified in property 20 is accepted. */ |
|
200 CBID_HOUSE_WATCHED_CARGO_ACCEPTED = 0x148, // not implemented |
191 |
201 |
192 /** Callback done for each tile of a station to check the slope. */ |
202 /** Callback done for each tile of a station to check the slope. */ |
193 CBID_STATION_LAND_SLOPE_CHECK = 0x149, // not implemented |
203 CBID_STATION_LAND_SLOPE_CHECK = 0x149, // not implemented |
194 |
204 |
195 /** Called to determine the color of an industry. */ |
205 /** Called to determine the color of an industry. */ |