Xonotic
door.qh
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef SVQC
4
bool
autocvar_sv_doors_always_open;
5
#endif
6
7
const
int
DOOR_START_OPEN
=
BIT
(0);
8
const
int
DOOR_DONT_LINK
=
BIT
(2);
9
const
int
SPAWNFLAGS_GOLD_KEY
=
BIT
(3);
// Quake 1 compat, can only be used with func_door!
10
const
int
SPAWNFLAGS_SILVER_KEY
=
BIT
(4);
// Quake 1 compat, can only be used with func_door!
11
const
int
DOOR_TOGGLE
=
BIT
(5);
12
13
const
int
DOOR_NONSOLID
=
BIT
(10);
14
const
int
DOOR_CRUSH
=
BIT
(11);
// can't use CRUSH cause that is the same as DOOR_DONT_LINK
15
16
17
#ifdef CSQC
18
// stuff for preload
19
20
.float
door_finished
;
21
#endif
door_finished
float door_finished
Definition:
door.qc:284
DOOR_START_OPEN
const int DOOR_START_OPEN
Definition:
door.qh:7
SPAWNFLAGS_GOLD_KEY
const int SPAWNFLAGS_GOLD_KEY
Definition:
door.qh:9
DOOR_CRUSH
const int DOOR_CRUSH
Definition:
door.qh:14
BIT
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition:
bits.qh:8
DOOR_DONT_LINK
const int DOOR_DONT_LINK
Definition:
door.qh:8
SPAWNFLAGS_SILVER_KEY
const int SPAWNFLAGS_SILVER_KEY
Definition:
door.qh:10
DOOR_NONSOLID
const int DOOR_NONSOLID
Definition:
door.qh:13
DOOR_TOGGLE
const int DOOR_TOGGLE
Definition:
door.qh:11
common
mapobjects
func
door.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13