X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fcsqc_constants.qc;h=1cd7d1f3ba2af45f40d605a2371ff98a267b162d;hp=e82f4399bdb0ce9921ceabe7bf059ab9ff8673fd;hb=5e42a6f54307afc1263845f546bfe74a6dfa100b;hpb=80cd34d0a48e975018605aabebacba50e8029585 diff --git a/qcsrc/client/csqc_constants.qc b/qcsrc/client/csqc_constants.qc index e82f4399b..1cd7d1f3b 100644 --- a/qcsrc/client/csqc_constants.qc +++ b/qcsrc/client/csqc_constants.qc @@ -1,4 +1,4 @@ -const entity NULL = world; +#define world world // Mask Constants (set .drawmask on entities; use R_AddEntities to add all entities based on mask) const float MASK_ENGINE = 1; @@ -152,13 +152,6 @@ const float BUTTON_14 = 65536; const float BUTTON_15 = 131072; const float BUTTON_16 = 262144; -const float DRAWFLAG_NORMAL = 0; -const float DRAWFLAG_ADDITIVE = 1; -const float DRAWFLAG_MODULATE = 2; -const float DRAWFLAG_2XMODULATE = 3; -const float DRAWFLAG_SCREEN = 4; -const float DRAWFLAG_MIPMAP = 0x100; // only for R_BeginPolygon - #define SOLID_NOT 0 // no interaction with other objects #define SOLID_TRIGGER 1 // touch on edge, but not blocking #define SOLID_BBOX 2 // touch on edge, block