defines, helpers, onclick

This commit is contained in:
Poojawa
2018-04-22 23:56:25 -05:00
parent 95b78a4a77
commit f2b0456dc5
31 changed files with 421 additions and 380 deletions
+4 -4
View File
@@ -9,10 +9,10 @@
#define DEAD 3
// bitflags for machine stat variable
#define BROKEN 1
#define NOPOWER 2
#define MAINT 4 // under maintaince
#define EMPED 8 // temporary broken by EMP pulse
#define BROKEN (1<<0)
#define NOPOWER (1<<1)
#define MAINT (1<<2) // under maintaince
#define EMPED (1<<3) // temporary broken by EMP pulse
//ai power requirement defines
#define POWER_REQ_ALL 1