mirror of
https://github.com/HomeworldSDL/HomeworldSDL.git
synced 2025-12-01 12:00:02 +00:00
macOS: Fixing build
This commit is contained in:
@ -79,8 +79,8 @@ scriptEntry cratesScriptTable[] =
|
||||
makeEntry(CrateClassProbCLASS_NonCombat,scriptSetReal32CB),
|
||||
makeEntry(CRATE_EXPIRY_TIME,scriptSetReal32CB),
|
||||
|
||||
{"shipProbability", scriptSetShipProbCB, SHIP_PROBS },
|
||||
{"shipGroupSize", scriptSetShipGroupSizeCB, NUM_IN_GROUPS },
|
||||
{"shipProbability", (void(*)(char *,char *,void*))scriptSetShipProbCB, SHIP_PROBS },
|
||||
{"shipGroupSize", (void(*)(char *,char *,void*))scriptSetShipGroupSizeCB, NUM_IN_GROUPS },
|
||||
|
||||
END_SCRIPT_ENTRY
|
||||
};
|
||||
|
||||
@ -145,12 +145,12 @@ scriptStructEntry LIStaticScriptTable[] =
|
||||
{ "flightmanEvasiveBehind", (void(*)(char *,char *,void*))scriptSetFlightManEvasiveBehindCB, &(GenericInterceptorStatic.flightmanProb), &(GenericInterceptorStatic) },
|
||||
{ "flightmanEvasiveFront", (void(*)(char *,char *,void*))scriptSetFlightManEvasiveFrontCB, &(GenericInterceptorStatic.flightmanProb), &(GenericInterceptorStatic) },
|
||||
{ "flightmanEvasivePure", (void(*)(char *,char *,void*))scriptSetFlightManEvasivePureCB, &(GenericInterceptorStatic.flightmanProb), &(GenericInterceptorStatic) },
|
||||
{ "maxFlyAwayDist", scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.maxFlyAwayDist), &(GenericInterceptorStatic) },
|
||||
{ "breakRange", scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.breakRange), &(GenericInterceptorStatic) },
|
||||
{ "flyPastDist", scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.flyPastDist), &(GenericInterceptorStatic) },
|
||||
{ "triggerHappy", scriptSetCosAngCB_ARRAY, &(GenericInterceptorStatic.triggerHappy), &(GenericInterceptorStatic) },
|
||||
{ "faceTargetAccuracy", scriptSetCosAngCB_ARRAY, &(GenericInterceptorStatic.faceTargetAccuracy), &(GenericInterceptorStatic) },
|
||||
{ "maxAttackTime", scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.maxAttackTime), &(GenericInterceptorStatic) },
|
||||
{ "maxFlyAwayDist", (void(*)(char *,char *,void*))scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.maxFlyAwayDist), &(GenericInterceptorStatic) },
|
||||
{ "breakRange", (void(*)(char *,char *,void*))scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.breakRange), &(GenericInterceptorStatic) },
|
||||
{ "flyPastDist", (void(*)(char *,char *,void*))scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.flyPastDist), &(GenericInterceptorStatic) },
|
||||
{ "triggerHappy", (void(*)(char *,char *,void*))scriptSetCosAngCB_ARRAY, &(GenericInterceptorStatic.triggerHappy), &(GenericInterceptorStatic) },
|
||||
{ "faceTargetAccuracy", (void(*)(char *,char *,void*))scriptSetCosAngCB_ARRAY, &(GenericInterceptorStatic.faceTargetAccuracy), &(GenericInterceptorStatic) },
|
||||
{ "maxAttackTime", (void(*)(char *,char *,void*))scriptSetReal32CB_ARRAY, &(GenericInterceptorStatic.maxAttackTime), &(GenericInterceptorStatic) },
|
||||
|
||||
END_SCRIPT_STRUCT_ENTRY
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user