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);
plat_go_up
void plat_go_up(entity this)
Definition:
platforms.qc:83
entity
entity() spawn
dmg
float dmg
Definition:
platforms.qh:6
plat_crush
void plat_crush(entity this, entity blocker)
Definition:
platforms.qc:138
plat_go_down
void plat_go_down(entity this)
Definition:
platforms.qc:76
BIT
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition:
bits.qh:8
plat_outside_touch
void plat_outside_touch(entity this, entity toucher)
Definition:
platforms.qc:111
dmgtime
float dmgtime
Definition:
platforms.qh:7
plat_center_touch
void plat_center_touch(entity this, entity toucher)
Definition:
platforms.qc:90
dmgtime2
float dmgtime2
Definition:
platforms.qh:8
phase
float phase
Definition:
platforms.qh:10
plat_trigger_use
void plat_trigger_use(entity this, entity actor, entity trigger)
Definition:
platforms.qc:130
PLAT_LOW_TRIGGER
const int PLAT_LOW_TRIGGER
Definition:
platforms.qh:4
common
mapobjects
platforms.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13