X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fcsqc_constants.qc;h=0016196bac4f615bb0df44c5893d771ec95f0d49;hb=49af10f3413b96e52055359d42288dbf5ec6972b;hp=f6e04e7b322e04a87f910c497f0b31a53a167b7b;hpb=46efdcf8bf523f3e1fd9a7850204f4fec661d724;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/csqc_constants.qc b/qcsrc/client/csqc_constants.qc index f6e04e7b3..0016196ba 100644 --- a/qcsrc/client/csqc_constants.qc +++ b/qcsrc/client/csqc_constants.qc @@ -1,4 +1,4 @@ -#define 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 @@ -166,13 +159,13 @@ const float DRAWFLAG_MIPMAP = 0x100; // only for R_BeginPolygon #define SOLID_BSP 4 // bsp clip, touch on edge, block #define SOLID_CORPSE 5 // same as SOLID_BBOX, except it behaves as SOLID_NOT against SOLID_SLIDEBOX objects (players/monsters) -float MOVE_NORMAL = 0; // same as FALSE -float MOVE_NOMONSTERS = 1; // same as TRUE -float MOVE_MISSILE = 2; // save as movement with .movetype == MOVETYPE_FLYMISSILE -float MOVE_HITMODEL = 4; -float MOVE_WORLDONLY = 3; +const float MOVE_NORMAL = 0; // same as FALSE +const float MOVE_NOMONSTERS = 1; // same as TRUE +const float MOVE_MISSILE = 2; // save as movement with .movetype == MOVETYPE_FLYMISSILE +const float MOVE_HITMODEL = 4; +const float MOVE_WORLDONLY = 3; -float CAMERA_FREE = 1; -float CAMERA_CHASE = 2; +const float CAMERA_FREE = 1; +const float CAMERA_CHASE = 2; -float EF_NOMODELFLAGS = 8388608; +const float EF_NOMODELFLAGS = 8388608;