X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem.qh;h=9e322c811d86354b1800e3e9dd79ab975382aa12;hb=0ce97ac6e23a4bfa907cd5a25990b4abe90656cf;hp=8f651ad049bb19fd8d44591af923f9bbbc95357c;hpb=d2ea7c5856c1eaaa0bad38ccc3682d2a0d429a60;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item.qh b/qcsrc/common/items/item.qh index 8f651ad04..9e322c811 100644 --- a/qcsrc/common/items/item.qh +++ b/qcsrc/common/items/item.qh @@ -24,11 +24,15 @@ const int IT_RESOURCE = BIT(5); // bitflag to mark this item as a reso const int IT_KEY1 = BIT(6); const int IT_KEY2 = BIT(7); +const int IT_BUFF = BIT(8); // unused bit for buff items + // special colorblend meaning in engine -const int IT_INVISIBILITY = BIT(9); -const int IT_INVINCIBLE = BIT(10); +// legacy bitflags for powerups +const int IT_INVISIBILITY = BIT(9); +const int IT_INVINCIBLE = BIT(10); const int IT_SUPERWEAPON = BIT(11); // suit -const int IT_STRENGTH = BIT(12); +const int IT_STRENGTH = BIT(12); +const int IT_SPEED = BIT(13); // item masks const int IT_PICKUPMASK = IT_UNLIMITED_AMMO | IT_UNLIMITED_SUPERWEAPONS | IT_JETPACK | IT_FUEL_REGEN; // strength and invincible are handled separately