theangryangel / insim.rs

Crates for working with the Live For Speed Racing Simulator
MIT License
5 stars 1 forks source link

feat: Reconciling Vehicle, IS_PLC, IS_MAL and IS_SMALL (subtype ALC) #120

Closed theangryangel closed 6 months ago

theangryangel commented 6 months ago

Vehicle was recently changed to be strongly typed.

Can we somehow integrate this with IS_PLC, IS_MAL, and SMALL_ALC (for the allowed cars feature/field)?


This is WIP under #122

theangryangel commented 6 months ago

Easiest solution is probably going to be to use a hashset and a custom implementation of binread and binwrite