Changeset - r3724:b77ab78b6a36
[Not reviewed]
master
0 2 0
peter1138 - 18 years ago 2006-05-02 20:44:06
peter1138@openttd.org
(svn r4697) - NewGRF: callback IDs can now be 16 bit values.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
newgrf_engine.c
Show inline comments
 
@@ -765,7 +765,7 @@ bool UsesWagonOverride(const Vehicle* v)
 
 * @param vehicle  The vehicle to evaluate the callback for, or NULL if it doesnt exist yet
 
 * @return The value the callback returned, or CALLBACK_FAILED if it failed
 
 */
 
uint16 GetVehicleCallback(byte callback, uint32 param1, uint32 param2, EngineID engine, const Vehicle *v)
 
uint16 GetVehicleCallback(uint16 callback, uint32 param1, uint32 param2, EngineID engine, const Vehicle *v)
 
{
 
	const SpriteGroup *group;
 
	ResolverObject object;
newgrf_spritegroup.h
Show inline comments
 
@@ -156,7 +156,7 @@ void InitializeSpriteGroupPool(void);
 

	
 

	
 
typedef struct ResolverObject {
 
	byte callback;
 
	uint16 callback;
 
	uint32 callback_param1;
 
	uint32 callback_param2;
 

	
0 comments (0 inline, 0 general)