unorthodox-paradox / omsi_2_csb_ai_enhancements

AI enhancements for CSB vehicles
1 stars 0 forks source link

Make uchill.osc:uchill_frame more performant in AI mode #30

Open unorthodox-paradox opened 5 years ago

unorthodox-paradox commented 5 years ago

Due to #29 , computing each heating / cooling function's effect on temperature and humidity is pretty much wasted effort. In AI mode, we might be able to squeeze out ~0.5 fps by having uchill.osc:uchill_frame simply update function status and status of corresponding sounds, while completely bypassing temperature and humidity update.

Any non-CSB-specific changes should be backported to UCHill.