Xonotic
platforms.qh
Go to the documentation of this file.
1 #pragma once
2 
3 
4 const int PLAT_LOW_TRIGGER = BIT(0);
5 
6 .float dmg;
7 .float dmgtime;
8 .float dmgtime2;
9 
10 .float phase;
11 
12 void plat_center_touch(entity this, entity toucher);
13 void plat_outside_touch(entity this, entity toucher);
14 void plat_trigger_use(entity this, entity actor, entity trigger);
15 void plat_go_up(entity this);
16 void plat_go_down(entity this);
17 void plat_crush(entity this, entity blocker);
void plat_go_up(entity this)
Definition: platforms.qc:83
entity() spawn
float dmg
Definition: platforms.qh:6
void plat_crush(entity this, entity blocker)
Definition: platforms.qc:138
void plat_go_down(entity this)
Definition: platforms.qc:76
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition: bits.qh:8
void plat_outside_touch(entity this, entity toucher)
Definition: platforms.qc:111
float dmgtime
Definition: platforms.qh:7
void plat_center_touch(entity this, entity toucher)
Definition: platforms.qc:90
float dmgtime2
Definition: platforms.qh:8
float phase
Definition: platforms.qh:10
void plat_trigger_use(entity this, entity actor, entity trigger)
Definition: platforms.qc:130
const int PLAT_LOW_TRIGGER
Definition: platforms.qh:4