Xonotic
door_secret.qh
Go to the documentation of this file.
1 #pragma once
2 
3 
4 const int DOOR_SECRET_OPEN_ONCE = BIT(0); // stays open - LEGACY, set wait to -1 instead
5 const int DOOR_SECRET_1ST_LEFT = BIT(1); // 1st move is left of arrow
6 const int DOOR_SECRET_1ST_DOWN = BIT(2); // 1st move is down from arrow
7 const int DOOR_SECRET_NO_SHOOT = BIT(3); // only opened by trigger
8 const int DOOR_SECRET_YES_SHOOT = BIT(4); // shootable even if targeted
const int DOOR_SECRET_OPEN_ONCE
Definition: door_secret.qh:4
const int DOOR_SECRET_YES_SHOOT
Definition: door_secret.qh:8
const int DOOR_SECRET_1ST_DOWN
Definition: door_secret.qh:6
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition: bits.qh:8
const int DOOR_SECRET_NO_SHOOT
Definition: door_secret.qh:7
const int DOOR_SECRET_1ST_LEFT
Definition: door_secret.qh:5