Xonotic
common.qh File Reference
+ Include dependency graph for common.qh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALLPROPERTIES   ALLPROPERTIES_COMMON
 
#define ALLPROPERTIES_COMMON
 

Variables

noref string csqcmodel_license
 
const int CSQCMODEL_PROPERTY_FRAME = BIT(23)
 
const int CSQCMODEL_PROPERTY_FRAME2 = BIT(17)
 
const int CSQCMODEL_PROPERTY_LERPFRAC = BIT(16)
 
const int CSQCMODEL_PROPERTY_MODELINDEX = BIT(21)
 
const int CSQCMODEL_PROPERTY_ORIGIN = BIT(20)
 
const int CSQCMODEL_PROPERTY_PITCHROLL = BIT(18)
 
const int CSQCMODEL_PROPERTY_SIZE = BIT(15)
 
const int CSQCMODEL_PROPERTY_TELEPORTED = BIT(22)
 
const int CSQCMODEL_PROPERTY_YAW = BIT(19)
 
int frame
 
float frame1time
 
int frame2
 
float frame2time
 
vector glowmod
 
const int ISPLAYER_CLIENT = BIT(1)
 
const int ISPLAYER_LOCAL = BIT(2)
 
const int ISPLAYER_MODEL = BIT(0)
 
const int ISPLAYER_PLAYER = BIT(3)
 
float lerpfrac
 
vector view_ofs
 

Macro Definition Documentation

◆ ALLPROPERTIES

#define ALLPROPERTIES   ALLPROPERTIES_COMMON

Definition at line 93 of file common.qh.

Referenced by CSQCModel_CheckUpdate(), CSQCModel_Send(), and NET_HANDLE().

◆ ALLPROPERTIES_COMMON

#define ALLPROPERTIES_COMMON
Value:
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_MODELINDEX, int, ReadShort, WriteShort, modelindex) \
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_ORIGIN, vector, ReadVector, WriteVector, origin) \
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_SIZE, vector, ReadVector, WriteVector, mins) \
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_SIZE, vector, ReadVector, WriteVector, maxs) \
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_PITCHROLL, float, ReadAngle, WriteAngle, angles_x) \
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_YAW, float, ReadAngle, WriteAngle, angles_y) \
CSQCMODEL_PROPERTY(CSQCMODEL_PROPERTY_PITCHROLL, float, ReadAngle, WriteAngle, angles_z) \
CSQCMODEL_EXTRAPROPERTIES
const int CSQCMODEL_PROPERTY_MODELINDEX
Definition: common.qh:63
const int CSQCMODEL_PROPERTY_YAW
Definition: common.qh:65
float modelindex
Definition: csprogsdefs.qc:91
#define CSQCMODEL_PROPERTY(flag, t, r, w, f)
vector maxs
Definition: csprogsdefs.qc:113
const int CSQCMODEL_PROPERTY_SIZE
Definition: common.qh:69
origin
Definition: ent_cs.qc:114
const int CSQCMODEL_PROPERTY_ORIGIN
Definition: common.qh:64
vector mins
Definition: csprogsdefs.qc:113
const int CSQCMODEL_PROPERTY_PITCHROLL
Definition: common.qh:66
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const int CSQCMODEL_PROPERTY_FRAME
Definition: common.qh:61
int frame
Definition: common.qh:50

Definition at line 71 of file common.qh.

Variable Documentation

◆ csqcmodel_license

noref string csqcmodel_license
Initial value:
= "\
Copyright (c) 2011 Rudolf Polzer\
\
Permission is hereby granted, free of charge, to any person obtaining a copy\
of this software and associated documentation files (the \"Software\"), to\
deal in the Software without restriction, including without limitation the\
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\
sell copies of the Software, and to permit persons to whom the Software is\
furnished to do so, subject to the following conditions:\
\
The above copyright notice and this permission notice shall be included in\
all copies or substantial portions of the Software.\
\
THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\
IN THE SOFTWARE.\
"

Definition at line 26 of file common.qh.

◆ CSQCMODEL_PROPERTY_FRAME

◆ CSQCMODEL_PROPERTY_FRAME2

◆ CSQCMODEL_PROPERTY_LERPFRAC

const int CSQCMODEL_PROPERTY_LERPFRAC = BIT(16)

◆ CSQCMODEL_PROPERTY_MODELINDEX

const int CSQCMODEL_PROPERTY_MODELINDEX = BIT(21)

Definition at line 63 of file common.qh.

Referenced by NET_HANDLE().

◆ CSQCMODEL_PROPERTY_ORIGIN

const int CSQCMODEL_PROPERTY_ORIGIN = BIT(20)

Definition at line 64 of file common.qh.

Referenced by CSQCModel_CheckUpdate().

◆ CSQCMODEL_PROPERTY_PITCHROLL

const int CSQCMODEL_PROPERTY_PITCHROLL = BIT(18)

Definition at line 66 of file common.qh.

◆ CSQCMODEL_PROPERTY_SIZE

const int CSQCMODEL_PROPERTY_SIZE = BIT(15)

Definition at line 69 of file common.qh.

◆ CSQCMODEL_PROPERTY_TELEPORTED

const int CSQCMODEL_PROPERTY_TELEPORTED = BIT(22)

Definition at line 62 of file common.qh.

Referenced by CSQCModel_CheckUpdate(), and NET_HANDLE().

◆ CSQCMODEL_PROPERTY_YAW

const int CSQCMODEL_PROPERTY_YAW = BIT(19)

Definition at line 65 of file common.qh.

◆ frame

int frame

Definition at line 50 of file common.qh.

◆ frame1time

float frame1time

Definition at line 51 of file common.qh.

◆ frame2

int frame2

Definition at line 52 of file common.qh.

◆ frame2time

float frame2time

Definition at line 53 of file common.qh.

◆ glowmod

vector glowmod

Definition at line 48 of file common.qh.

◆ ISPLAYER_CLIENT

const int ISPLAYER_CLIENT = BIT(1)

Definition at line 57 of file common.qh.

Referenced by CSQCModel_AutoTagIndex_Apply(), CSQCModel_Draw(), CSQCModel_Send(), and NET_HANDLE().

◆ ISPLAYER_LOCAL

const int ISPLAYER_LOCAL = BIT(2)

Definition at line 58 of file common.qh.

Referenced by CSQCModel_Hook_PreDraw(), CSQCModel_Send(), and NET_HANDLE().

◆ ISPLAYER_MODEL

const int ISPLAYER_MODEL = BIT(0)

◆ ISPLAYER_PLAYER

const int ISPLAYER_PLAYER = BIT(3)

◆ lerpfrac

float lerpfrac

Definition at line 54 of file common.qh.

◆ view_ofs

vector view_ofs

Definition at line 49 of file common.qh.