Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
platforms.qh
Go to the documentation of this file.
1#pragma once
2
3
4const int PLAT_LOW_TRIGGER = BIT(0);
5
6.float dmg;
7.float dmgtime;
8.float dmgtime2;
9
10.float phase;
11
14void plat_trigger_use(entity this, entity actor, entity trigger);
15void plat_go_up(entity this);
16void plat_go_down(entity this);
17void plat_crush(entity this, entity blocker);
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition bits.qh:8
float dmg
Definition breakable.qc:12
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
float dmgtime
Definition platforms.qh:7
float phase
Definition platforms.qh:10
void plat_go_up(entity this)
Definition platforms.qc:83
void plat_crush(entity this, entity blocker)
Definition platforms.qc:138
void plat_outside_touch(entity this, entity toucher)
Definition platforms.qc:111
void plat_go_down(entity this)
Definition platforms.qc:76
void plat_trigger_use(entity this, entity actor, entity trigger)
Definition platforms.qc:130
const int PLAT_LOW_TRIGGER
Definition platforms.qh:4
float dmgtime2
Definition platforms.qh:8
void plat_center_touch(entity this, entity toucher)
Definition platforms.qc:90
entity entity toucher
Definition self.qh:72