]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mapobjects/func/door.qh
Purge autocvars.qh from the codebase, cvars are defined in the headers of the feature...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / func / door.qh
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