21 lines
588 B
Plaintext
21 lines
588 B
Plaintext
struct_no_prefix ac_control_s
|
|
|
|
! main input and output to be displayed on top of View dialog
|
|
bit acButtonState;@@INDICATOR_NAME_AC_SWITCH@@
|
|
bit m_acEnabled;AC enabled
|
|
|
|
|
|
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
|
|
bit acCompressorState;AC compressor on
|
|
|
|
int latest_usage_ac_control;AC latest activity
|
|
! todo: extract some helper which would contain boolean state and most recent toggle time?
|
|
int acSwitchLastChangeTimeMs;
|
|
|
|
end_struct
|