66#ifdef CSQCMODEL_HAVE_TWO_FRAMES
102#ifdef CSQCMODEL_HAVE_TWO_FRAMES
141 this.
lerpfrac3 = (1 - l13) * (1 - l24_13);
172#ifdef CSQCMODEL_HAVE_TWO_FRAMES
204 while(root.tag_entity)
205 root = root.tag_entity;
230 if (isnew && isplayer)
236 noref
bool isnolocalplayer = (isplayer && !islocalplayer);
252#define CSQCMODEL_IF(cond) if(cond) {
253#define CSQCMODEL_ENDIF }
254#define CSQCMODEL_PROPERTY(flag,t,r,w,f) \
257#define CSQCMODEL_PROPERTY_SCALED(flag,t,r,w,f,s,mi,ma) \
259 this.f = (r() + mi) / s;
261#undef CSQCMODEL_PROPERTY_SCALED
262#undef CSQCMODEL_PROPERTY
263#undef CSQCMODEL_ENDIF
270 setsize(
this, pmin, pmax);
291#ifdef CSQCMODEL_SUPPORT_GETTAGINFO_BEFORE_DRAW
297 setorigin(
this, this.
origin);
float frame3time
start time of framegroup animation
float frame1time
start time of framegroup animation
float frame2time
start time of framegroup animation
float frame2
secondary framegroup animation (strength = lerpfrac)
float lerpfrac
strength of framegroup blend
float frame3
tertiary framegroup animation (strength = lerpfrac3)
float lerpfrac4
strength of framegroup blend
float frame4time
start time of framegroup animation
float lerpfrac3
strength of framegroup blend
float frame4
quaternary framegroup animation (strength = lerpfrac4)
float frame
primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4)
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
#define BITSET(var, mask, flag)
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void CSQCModel_InterpolateAnimation_1To2_Do(entity this)
void CSQCModel_InterpolateAnimation_2To4_PreNote(entity this, int sf)
void CSQCModel_InterpolateAnimation_1To2_Note(entity this, int sf, bool set_times)
void CSQCModel_InterpolateAnimation_1To2_PreNote(entity this, int sf)
float csqcmodel_lerpfractime
float csqcmodel_lerpfrac2time
entity CSQCModel_server2csqc(int i)
void CSQCModel_InterpolateAnimation_2To4_Note(entity this, int sf, bool set_times)
void CSQCModel_InterpolateAnimation_Do(entity this)
void CSQCModel_InterpolateAnimation_2To4_Do(entity this)
void CSQCModel_remove(entity this)
entity CSQCModel_players[255]
void CSQCModel_InterpolateAnimation_Note(entity this, int sf)
float autocvar_cl_lerpanim_maxdelta_framegroups
void CSQCModel_Draw(entity this)
float csqcmodel_lerpfrac2
void CSQCModel_InterpolateAnimation_PreNote(entity this, int sf)
float csqcmodel_teleported
bool CSQCPlayer_PreUpdate(entity this)
bool CSQCPlayer_PostUpdate(entity this)
bool CSQCPlayer_IsLocalPlayer(entity this)
const float RF_EXTERNALMODEL
void CSQCModel_Hook_PreDraw(entity this, bool isplayer)
void CSQCModel_Hook_PostUpdate(entity this, bool isnew, bool isplayer, bool islocalplayer)
void CSQCModel_Hook_PreUpdate(entity this, bool isnew, bool isplayer, bool islocalplayer)
void InterpolateOrigin_Undo(entity this)
snap origin to iorigin2 (actual origin)
void InterpolateOrigin_Note(entity this)
void InterpolateOrigin_Do(entity this)
set origin based on iorigin1 (old pos), iorigin2 (desired pos), and time
const int IFLAG_AUTOVELOCITY
const int IFLAG_TELEPORTED
const int CSQCMODEL_PROPERTY_MODELINDEX
const int ISPLAYER_PLAYER
const int CSQCMODEL_PROPERTY_FRAME2
const int CSQCMODEL_PROPERTY_FRAME
const int ISPLAYER_CLIENT
const int CSQCMODEL_PROPERTY_LERPFRAC
const int CSQCMODEL_PROPERTY_TELEPORTED
#define NET_HANDLE(id, param)
void viewloc_SetTags(entity this)