mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
* move airlock controller defines to the right place * goddamnit * Adds dynamic airlocks, a flexible mapping tool * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: warriorstar-orion <orion@snowfrost.garden> * final as anythings * break some long comment lines * rebuild rust just in case --------- Signed-off-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
21 lines
661 B
Plaintext
21 lines
661 B
Plaintext
// Airlock controller control states
|
|
#define CONTROL_STATE_IDLE 0
|
|
#define CONTROL_STATE_PREPARE 1
|
|
#define CONTROL_STATE_DEPRESSURIZE 2
|
|
#define CONTROL_STATE_PRESSURIZE 3
|
|
|
|
// Airlock controller target states
|
|
#define TARGET_NONE 0
|
|
#define TARGET_INOPEN -1
|
|
#define TARGET_OUTOPEN -2
|
|
|
|
// Airlock controller button modes
|
|
#define MODE_INTERIOR "int"
|
|
#define MODE_EXTERIOR "ext"
|
|
|
|
#define VENT_ID(_id_to_link) "[_id_to_link]_vent"
|
|
#define EXT_DOOR_ID(_id_to_link) "[_id_to_link]_door_ext"
|
|
#define INT_DOOR_ID(_id_to_link) "[_id_to_link]_door_int"
|
|
#define EXT_BTN_ID(_id_to_link) "[_id_to_link]_btn_ext"
|
|
#define INT_BTN_ID(_id_to_link) "[_id_to_link]_btn_int"
|