Definition at line 3 of file toss.qc.
4{
6 {
8 {
9
11 }
13 {
14 return;
15 }
17 {
20 return;
21 }
23 {
24
25 return;
26 }
27 }
28
30
32 {
35 * dt
38 }
39
40
41
42
43
44
45
47
48 float movetime = dt;
49 for (int bump = 0; bump < MAX_CLIP_PLANES && movetime > 0; ++bump)
50 {
52 break;
53
56 return;
57 if (wasfreed(this))
58 return;
59
60
62 {
63
72 return;
73 if (wasfreed(this))
74 return;
76 {
77
80 return;
81 }
82 }
83
85 break;
86
88
90 {
95 movetime = 0;
96 }
98 {
102
104
107 d = this.velocity.z;
109 {
112 this.velocity = '0 0 0';
114 movetime = 0;
115 }
116 else
117 {
120 movetime = 0;
121 }
122 }
123 else
124 {
127 {
132 this.velocity = '0 0 0';
134 movetime = 0;
135 }
136 else
137 {
140 movetime = 0;
141 }
142 }
143
144
145
146
147
148
149
150
151 }
152
155
157}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
vector trace_plane_normal
vector _Movetype_ClipVelocity(vector vel, vector norm, float f)
bool _Movetype_PushEntity(entity this, vector push, bool dolink)
int _Movetype_UnstickEntity(entity this)
void _Movetype_CheckWaterTransition(entity ent)
#define NOAIRBORNCORPSE_ALLOWSUSPENDED(s)
#define UPWARD_VELOCITY_CLEARS_ONGROUND(s)
const int MOVETYPE_BOUNCEMISSILE
#define UNSET_ONGROUND(s)
#define GAMEPLAYFIX_NOAIRBORNCORPSE(s)
float move_suspendedinair
#define GAMEPLAYFIX_GRENADEBOUNCESLOPES(s)
#define GAMEPLAYFIX_SLIDEMOVEPROJECTILES(s)
#define GAMEPLAYFIX_GRAVITYUNAFFECTEDBYTICRATE
const int MOVETYPE_BOUNCE
ERASEABLE float boxesoverlap(vector m1, vector m2, vector m3, vector m4)
requires that m2>m1 in all coordinates, and that m4>m3
References _Movetype_CheckWaterTransition(), _Movetype_ClipVelocity(), _Movetype_PushEntity(), _Movetype_UnstickEntity(), absmax, absmin, angles, avelocity, bouncefactor, bouncestop, boxesoverlap(), entity(), GAMEPLAYFIX_GRAVITYUNAFFECTEDBYTICRATE, GAMEPLAYFIX_GRENADEBOUNCESLOPES, GAMEPLAYFIX_NOAIRBORNCORPSE, GAMEPLAYFIX_SLIDEMOVEPROJECTILES, gravity, groundentity, IS_ONGROUND, min(), move_didgravity, move_movetype, move_suspendedinair, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_TOSS, NOAIRBORNCORPSE_ALLOWSUSPENDED, NULL, PHYS_GRAVITY, SET_ONGROUND, SOLID_BSP, trace_allsolid, trace_ent, trace_fraction, trace_plane_normal, UNSET_ONGROUND, UPWARD_VELOCITY_CLEARS_ONGROUND, vector, and velocity.
Referenced by _Movetype_Physics_ClientFrame(), and _Movetype_Physics_Frame().