Xonotic
breakable.qh
Go to the documentation of this file.
1 #pragma once
2 
3 
5 const int BREAKABLE_NODAMAGE = BIT(2);
6 
7 const int STATE_ALIVE = 0;
8 const int STATE_BROKEN = 1;
9 
10 #ifdef SVQC
11 void func_breakable_setup(entity this);
12 #endif
const int BREAKABLE_INDICATE_DAMAGE
Definition: breakable.qh:4
entity() spawn
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition: bits.qh:8
const int BREAKABLE_NODAMAGE
Definition: breakable.qh:5
const int STATE_BROKEN
Definition: breakable.qh:8
const int STATE_ALIVE
Definition: breakable.qh:7