macOS: Fixing build

This commit is contained in:
atsb
2024-09-30 14:38:00 +02:00
parent 7bbe0cb38f
commit f3ab31c8f6
2 changed files with 8 additions and 8 deletions

View File

@ -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
};

View File

@ -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
};