Searched refs:waterlevel (Results 1 – 17 of 17) sorted by relevance
/external/quake/quake/src/QW/client/ |
D | pmove.c | 29 int waterlevel; variable 364 if (waterlevel >= 2) // apply water friction in PM_Friction() 365 drop += speed*movevars.waterfriction*waterlevel*frametime; in PM_Friction() 616 waterlevel = 0; in PM_CatagorizePosition() 625 waterlevel = 1; in PM_CatagorizePosition() 630 waterlevel = 2; in PM_CatagorizePosition() 634 waterlevel = 3; in PM_CatagorizePosition() 661 if (waterlevel >= 2) in JumpButton() 883 if (waterlevel == 2) in PlayerMove() 896 if (waterlevel >= 2) in PlayerMove()
|
D | pmove.h | 91 extern int waterlevel;
|
/external/quake/quake/src/WinQuake/ |
D | sv_phys.cpp | 820 ent->u.v.waterlevel = 0; in SV_CheckWater() 829 ent->u.v.waterlevel = 1; in SV_CheckWater() 834 ent->u.v.waterlevel = 2; in SV_CheckWater() 838 ent->u.v.waterlevel = 3; in SV_CheckWater() 853 …VectorMA (ent->u.v.basevelocity, 150.0*ent->u.v.waterlevel/3.0, current_table[CONTENTS_CURRENT_0 -… in SV_CheckWater() 858 return ent->u.v.waterlevel > 1; in SV_CheckWater() 981 if (!oldonground && ent->u.v.waterlevel == 0) in SV_WalkMove() 1214 ent->u.v.waterlevel = 1; in SV_CheckWaterTransition() 1225 ent->u.v.waterlevel = 1; in SV_CheckWaterTransition() 1234 ent->u.v.waterlevel = cont; in SV_CheckWaterTransition() [all …]
|
D | pr_cmds.cpp | 1687 int waterlevel; in PF_WaterMove() local 1713 waterlevel = (int)self->u.v.waterlevel; in PF_WaterMove() 1717 if (((flags & FL_SWIM) && (waterlevel < drownlevel)) || (waterlevel >= drownlevel)) in PF_WaterMove() 1742 if (!waterlevel) in PF_WaterMove() 1766 damage = (float)(10*waterlevel); in PF_WaterMove() 1776 damage = (float)(4*waterlevel); in PF_WaterMove() 1801 …VectorMA (self->u.v.velocity, -0.8 * self->u.v.waterlevel * host_frametime, self->u.v.velocity, se… in PF_WaterMove()
|
D | progdefs.q1 | 121 float waterlevel;
|
D | progdefs.q2 | 130 float waterlevel;
|
D | sv_user.cpp | 310 || !sv_player->u.v.waterlevel) in SV_WaterJump() 422 if ( (sv_player->u.v.waterlevel >= 2) in SV_ClientThink()
|
D | sv_main.cpp | 642 if ( ent->u.v.waterlevel >= 2) in SV_WriteClientdataToMessage()
|
/external/quake/quake/src/QW/progs/ |
D | client.qc | 739 if (self.waterlevel >= 2) 778 //dprint (ftos(self.waterlevel)); 784 if (self.waterlevel != 3) 805 if (!self.waterlevel) 825 T_Damage (self, world, world, 10*self.waterlevel); 833 T_Damage (self, world, world, 4*self.waterlevel); 911 if (self.waterlevel == 2) 1310 else if (targ.weapon == 64 && targ.waterlevel > 1) 1415 if (attacker.waterlevel > 1)
|
D | progdefs.h | 118 float waterlevel; member
|
D | player.qc | 261 if (self.watertype == CONTENT_WATER && self.waterlevel == 3) 367 if (self.owner.waterlevel != 3) 410 if (self.waterlevel == 3)
|
D | weapons.qc | 532 if (self.waterlevel > 1) 944 if (self.waterlevel <= 1 && self.ammo_cells >= 1 && (it & IT_LIGHTNING) )
|
D | misc.qc | 488 if (self.waterlevel != 3)
|
D | defs.qc | 181 .float waterlevel; // 0 = not in, 1 = feet, 2 = wast, 3 = eyes
|
/external/quake/quake/src/QW/server/ |
D | progdefs.h | 137 float waterlevel; member
|
D | sv_phys.c | 681 ent->v.waterlevel = 1; in SV_CheckWaterTransition() 692 ent->v.waterlevel = 1; in SV_CheckWaterTransition() 701 ent->v.waterlevel = cont; in SV_CheckWaterTransition()
|
D | sv_user.c | 1472 sv_player->v.waterlevel = waterlevel; in SV_RunCmd()
|