mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Makes all bitflags use bitshifting (#24179)
* Makes all bitflags use bitshifting * Update contributing.md * Updated spacing * Defunct --------- Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
co-authored by
adrermail@gmail.com <adrermail@gmail.com>
parent
e727727f69
commit
01226e123a
@@ -1,31 +1,31 @@
|
||||
//update_state
|
||||
#define UPSTATE_CELL_IN 1
|
||||
#define UPSTATE_OPENED1 2
|
||||
#define UPSTATE_OPENED2 4
|
||||
#define UPSTATE_MAINT 8
|
||||
#define UPSTATE_BROKE 16
|
||||
#define UPSTATE_BLUESCREEN 32
|
||||
#define UPSTATE_WIREEXP 64
|
||||
#define UPSTATE_ALLGOOD 128
|
||||
#define UPSTATE_CELL_IN (1<<0)
|
||||
#define UPSTATE_OPENED1 (1<<1)
|
||||
#define UPSTATE_OPENED2 (1<<2)
|
||||
#define UPSTATE_MAINT (1<<3)
|
||||
#define UPSTATE_BROKE (1<<4)
|
||||
#define UPSTATE_BLUESCREEN (1<<5)
|
||||
#define UPSTATE_WIREEXP (1<<6)
|
||||
#define UPSTATE_ALLGOOD (1<<7)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//update_overlay
|
||||
#define APC_UPOVERLAY_CHARGEING0 1
|
||||
#define APC_UPOVERLAY_CHARGEING1 2
|
||||
#define APC_UPOVERLAY_CHARGEING2 4
|
||||
#define APC_UPOVERLAY_EQUIPMENT0 8
|
||||
#define APC_UPOVERLAY_EQUIPMENT1 16
|
||||
#define APC_UPOVERLAY_EQUIPMENT2 32
|
||||
#define APC_UPOVERLAY_LIGHTING0 64
|
||||
#define APC_UPOVERLAY_LIGHTING1 128
|
||||
#define APC_UPOVERLAY_LIGHTING2 256
|
||||
#define APC_UPOVERLAY_ENVIRON0 512
|
||||
#define APC_UPOVERLAY_ENVIRON1 1024
|
||||
#define APC_UPOVERLAY_ENVIRON2 2048
|
||||
#define APC_UPOVERLAY_LOCKED 4096
|
||||
#define APC_UPOVERLAY_CHARGEING0 (1<<0)
|
||||
#define APC_UPOVERLAY_CHARGEING1 (1<<1)
|
||||
#define APC_UPOVERLAY_CHARGEING2 (1<<2)
|
||||
#define APC_UPOVERLAY_EQUIPMENT0 (1<<3)
|
||||
#define APC_UPOVERLAY_EQUIPMENT1 (1<<4)
|
||||
#define APC_UPOVERLAY_EQUIPMENT2 (1<<5)
|
||||
#define APC_UPOVERLAY_LIGHTING0 (1<<6)
|
||||
#define APC_UPOVERLAY_LIGHTING1 (1<<7)
|
||||
#define APC_UPOVERLAY_LIGHTING2 (1<<8)
|
||||
#define APC_UPOVERLAY_ENVIRON0 (1<<9)
|
||||
#define APC_UPOVERLAY_ENVIRON1 (1<<10)
|
||||
#define APC_UPOVERLAY_ENVIRON2 (1<<11)
|
||||
#define APC_UPOVERLAY_LOCKED (1<<12)
|
||||
|
||||
#define APC_UPDATE_ICON_COOLDOWN 20 SECONDS // 20 seconds
|
||||
|
||||
|
||||
Reference in New Issue
Block a user