Chris

Results 7 comments of Chris

> 2 might be CSpecialFlightHandlingData and 4 CSeaPlaneHandlingData Do you know which vehicles have these fields so I can test?

Added CSpecialFlightHandlingData and CSeaPlaneHandlingData, still missing what 2 is. The only thing I can find is possibly CBaseSubHandlingData from here: https://gtamods.com/wiki/Handling.meta#CBaseSubHandlingData but it has no fields, so it doesn't really...

I’m not sure I understand your first bullet. > * using an std::map to map strings to indices, this can be replaced by a str(i)cmp on the CBaseSubHandlingData* class names...

Commenting this here in case anyone needs to reference it in the future for any research or something. That is, if GitHub search indexes this correctly. ``` static std::map subHandlingTypeIndex{...

> No, literally comparing the class name to the given name, something like this: > ``` > CBaseSubHandlingData* sub = subHandlingData.Get(i); > if (sub && _stricmp(handlingClass, typeid(*sub).name() + 6) ==...

I tested with the current code and it works, so unless you really want it changed, then I’m going to leave it as is.