Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
breakable.qh
Go to the documentation of this file.
1#pragma once
2
3
5const int BREAKABLE_NODAMAGE = BIT(2);
6
7const int STATE_ALIVE = 0;
8const int STATE_BROKEN = 1;
9
10#ifdef SVQC
12#endif
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition bits.qh:8
void func_breakable_setup(entity this)
Definition breakable.qc:317
const int BREAKABLE_NODAMAGE
Definition breakable.qh:5
const int STATE_BROKEN
Definition breakable.qh:8
const int BREAKABLE_INDICATE_DAMAGE
Definition breakable.qh:4
const int STATE_ALIVE
Definition breakable.qh:7
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback