From 5ebb363355bc7ffe04ac1fff703e808bd8ded198 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Mon, 9 Apr 2018 12:14:36 -0700 Subject: [PATCH] Mark appearance_flags and sight as bitflags for VV (#36571) --- code/_globalvars/bitfields.dm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/code/_globalvars/bitfields.dm b/code/_globalvars/bitfields.dm index 90c747e1d1f..f5c2f1ff26f 100644 --- a/code/_globalvars/bitfields.dm +++ b/code/_globalvars/bitfields.dm @@ -1,4 +1,27 @@ GLOBAL_LIST_INIT(bitfields, list( + "appearance_flags" = list( + "LONG_GLIDE" = LONG_GLIDE, + "RESET_COLOR" = RESET_COLOR, + "RESET_ALPHA" = RESET_ALPHA, + "RESET_TRANSFORM" = RESET_TRANSFORM, + "NO_CLIENT_COLOR" = NO_CLIENT_COLOR, + "KEEP_TOGETHER" = KEEP_TOGETHER, + "KEEP_APART" = KEEP_APART, + "PLANE_MASTER" = PLANE_MASTER, + "TILE_BOUND" = TILE_BOUND, + "PIXEL_SCALE" = PIXEL_SCALE + ), + "sight" = list( + "SEE_INFRA" = SEE_INFRA, + "SEE_SELF" = SEE_SELF, + "SEE_MOBS" = SEE_MOBS, + "SEE_OBJS" = SEE_OBJS, + "SEE_TURFS" = SEE_TURFS, + "SEE_PIXELS" = SEE_PIXELS, + "SEE_THRU" = SEE_THRU, + "SEE_BLACKNESS" = SEE_BLACKNESS, + "BLIND" = BLIND + ), "obj_flags" = list( "EMAGGED" = EMAGGED, "IN_USE" = IN_USE,