2021-10-13 21:21:29 -07:00
|
|
|
struct_no_prefix ac_control_s
|
|
|
|
|
2022-07-02 01:06:09 -07:00
|
|
|
! main input and output to be displayed on top of View dialog
|
|
|
|
bit acButtonState;@@INDICATOR_NAME_AC_SWITCH@@
|
|
|
|
bit m_acEnabled;AC enabled
|
|
|
|
|
|
|
|
|
2022-07-02 00:49:49 -07:00
|
|
|
bit engineTooSlow;AC engine too slow
|
|
|
|
bit engineTooFast;AC engine too fast
|
|
|
|
bit noClt;AC no CLT
|
|
|
|
bit engineTooHot;AC engine too hot
|
|
|
|
bit tpsTooHigh;AC tps too high
|
|
|
|
bit isDisabledByLua;AC disabled by Lua
|
2022-08-31 16:01:42 -07:00
|
|
|
bit acCompressorState;AC compressor on
|
2021-10-13 21:21:29 -07:00
|
|
|
|
2022-07-02 00:49:49 -07:00
|
|
|
int latest_usage_ac_control;AC latest activity
|
2022-05-09 03:12:17 -07:00
|
|
|
! todo: extract some helper which would contain boolean state and most recent toggle time?
|
2022-04-08 18:28:38 -07:00
|
|
|
int acSwitchLastChangeTimeMs;
|
2021-10-14 12:18:13 -07:00
|
|
|
|
2021-10-13 21:30:54 -07:00
|
|
|
end_struct
|