Home
last modified time | relevance | path

Searched refs:watertype (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/dports/games/xonotic/Xonotic/source/qcsrc/common/physics/movetypes/
H A Dmovetypes.qc271 if(this.watertype && this.watertype != nativecontents)
273 // dprintf("_Movetype_CheckWater(): Original: '%d', New: '%d'\n", this.watertype, nativecontents);
275 this.contentstransition(this.watertype, nativecontents);
279 this.watertype = CONTENT_EMPTY;
284 this.watertype = nativecontents;
303 if(!ent.watertype)
308 ent.watertype = contents;
313 else if(ent.watertype != contents)
317 ent.contentstransition(ent.watertype, contents);
322 ent.watertype = contents;
[all …]
/dports/games/qudos/QuDos-0.40.1-src/src/qcommon/
H A Dpmove.c391 if (pm->watertype & MASK_CURRENT) { in PM_AddCurrents()
394 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
396 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
398 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
400 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
402 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
620 pm->watertype = 0; in PM_CatagorizePosition()
629 pm->watertype = cont; in PM_CatagorizePosition()
672 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
674 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/q2p/Q2P-0.2-2006-12-31/qcommon/
H A Dpmove.c427 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
431 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
433 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
435 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
437 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
439 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
683 pm->watertype = 0; in PM_CatagorizePosition()
693 pm->watertype = cont; in PM_CatagorizePosition()
742 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
744 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/q2pro/q2pro/source/
H A Dpmove.c424 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
428 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
430 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
432 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
434 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
436 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
689 pm->watertype = 0; in PM_CategorizePosition()
699 pm->watertype = cont; in PM_CategorizePosition()
748 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
750 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/quetoo/quetoo-0.6.1/src/
H A Dpmove.c376 if(pm->watertype & MASK_CURRENT){ in PM_AddCurrents()
379 if(pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
381 if(pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
383 if(pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
385 if(pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
387 if(pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
595 pm->watertype = 0; in PM_CatagorizePosition()
604 pm->watertype = cont; in PM_CatagorizePosition()
645 if(pm->watertype == CONTENTS_WATER) in PM_CheckJump()
647 else if(pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/quake2max/Quake2maX_0.45-src_unix/qcommon/
H A Dpmove.c477 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
481 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
483 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
485 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
487 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
489 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
746 pm->watertype = 0; in PM_CatagorizePosition()
756 pm->watertype = cont; in PM_CatagorizePosition()
805 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
807 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/quake2-source/quake2-r0.16.2/src/qcommon/
H A Dpmove.c477 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
481 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
483 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
485 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
487 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
489 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
746 pm->watertype = 0; in PM_CatagorizePosition()
756 pm->watertype = cont; in PM_CatagorizePosition()
805 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
807 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/alienarena/alienarena-7.66/source/qcommon/
H A Dpmove.c485 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
489 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
491 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
493 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
495 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
497 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
770 pm->watertype = 0; in PM_CatagorizePosition()
780 pm->watertype = cont; in PM_CatagorizePosition()
837 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
839 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/qcommon/
H A Dpmove.c485 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
489 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
491 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
493 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
495 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
497 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
770 pm->watertype = 0; in PM_CatagorizePosition()
780 pm->watertype = cont; in PM_CatagorizePosition()
837 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
839 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/quake2lnx/quake2-r0.16.2/src/qcommon/
H A Dpmove.c477 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
481 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
483 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
485 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
487 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
489 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
746 pm->watertype = 0; in PM_CatagorizePosition()
756 pm->watertype = cont; in PM_CatagorizePosition()
805 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
807 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/alienarena/alienarena-7.66/source/game/
H A Dg_monster.c91 ent->watertype = 0; in M_CatagorizePosition()
95 ent->watertype = cont; in M_CatagorizePosition()
164 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
172 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
185 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
190 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
192 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/alienarena-data/alienarena-7.66/source/game/
H A Dg_monster.c91 ent->watertype = 0; in M_CatagorizePosition()
95 ent->watertype = cont; in M_CatagorizePosition()
164 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
172 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
185 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
190 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
192 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/r1q2/r1q2-8012_5/qcommon/
H A Dpmove.c480 if (pm->watertype & MASK_CURRENT) in PM_AddCurrents()
484 if (pm->watertype & CONTENTS_CURRENT_0) in PM_AddCurrents()
486 if (pm->watertype & CONTENTS_CURRENT_90) in PM_AddCurrents()
488 if (pm->watertype & CONTENTS_CURRENT_180) in PM_AddCurrents()
490 if (pm->watertype & CONTENTS_CURRENT_270) in PM_AddCurrents()
492 if (pm->watertype & CONTENTS_CURRENT_UP) in PM_AddCurrents()
778 pm->watertype = 0; in PM_CatagorizePosition()
788 pm->watertype = cont; in PM_CatagorizePosition()
837 if (pm->watertype == CONTENTS_WATER) in PM_CheckJump()
839 else if (pm->watertype == CONTENTS_SLIME) in PM_CheckJump()
[all …]
/dports/games/quake2-3zb2/quake2-3zb2-0.97_1/
H A Dp_view.c605 if (current_player->watertype & CONTENTS_LAVA) in P_WorldEffects()
607 else if (current_player->watertype & CONTENTS_SLIME) in P_WorldEffects()
609 else if (current_player->watertype & CONTENTS_WATER) in P_WorldEffects()
711 if (current_player->watertype & CONTENTS_LAVA) in P_WorldEffects()
730 if (current_player->watertype & CONTENTS_SLIME) in P_WorldEffects()
870 if (ent->waterlevel && (ent->watertype&(CONTENTS_LAVA|CONTENTS_SLIME)) ) in G_SetClientSound()
1175 if (ent->watertype & CONTENTS_LAVA) in B_WorldEffects()
1177 else if (ent->watertype & CONTENTS_SLIME) in B_WorldEffects()
1179 else if (ent->watertype & CONTENTS_WATER) in B_WorldEffects()
1281 if (current_player->watertype & CONTENTS_LAVA) in B_WorldEffects()
[all …]
/dports/games/qudos/QuDos-0.40.1-src/src/mods/3zb2/
H A Dp_view.c605 if (current_player->watertype & CONTENTS_LAVA) in P_WorldEffects()
607 else if (current_player->watertype & CONTENTS_SLIME) in P_WorldEffects()
609 else if (current_player->watertype & CONTENTS_WATER) in P_WorldEffects()
711 if (current_player->watertype & CONTENTS_LAVA) in P_WorldEffects()
730 if (current_player->watertype & CONTENTS_SLIME) in P_WorldEffects()
870 if (ent->waterlevel && (ent->watertype&(CONTENTS_LAVA|CONTENTS_SLIME)) ) in G_SetClientSound()
1175 if (ent->watertype & CONTENTS_LAVA) in B_WorldEffects()
1177 else if (ent->watertype & CONTENTS_SLIME) in B_WorldEffects()
1179 else if (ent->watertype & CONTENTS_WATER) in B_WorldEffects()
1281 if (current_player->watertype & CONTENTS_LAVA) in B_WorldEffects()
[all …]
/dports/games/qudos/QuDos-0.40.1-src/src/mods/zaero/
H A Dg_phys.c744 wasinwater = (ent->watertype & MASK_WATER); in SV_Physics_Toss()
745 ent->watertype = gi.pointcontents (ent->s.origin); in SV_Physics_Toss()
746 isinwater = ent->watertype & MASK_WATER; in SV_Physics_Toss()
999 int watertype; in SV_Physics_FallFloat() local
1003 watertype = gi.pointcontents (midpoint); in SV_Physics_FallFloat()
1005 if (!(watertype & MASK_WATER)) in SV_Physics_FallFloat()
1040 wasinwater = (ent->watertype & MASK_WATER); in SV_Physics_FallFloat()
1041 ent->watertype = gi.pointcontents (ent->s.origin); in SV_Physics_FallFloat()
1042 isinwater = ent->watertype & MASK_WATER; in SV_Physics_FallFloat()
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/Handlers/
H A DEnvironmentHandlers.cpp49 s.watertype = wm->m_WaterType; in GetSettings()
107 if (wm->m_WaterType != *s.watertype) in SetSettings()
109 wm->m_WaterType = *s.watertype; in SetSettings()
/dports/games/quake2lnx/quake2-r0.16.2/src/ctf/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/quake2lnx/quake2-r0.16.2/src/game/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/quake2max/Quake2maX_0.45-src_unix/game/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/q2p/Q2P-0.2-2006-12-31/game/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/q2pro/q2pro/game/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/quake2-ctf/quake2-r0.16.2/src/ctf/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/quake2-data/quake2-data-3.20_3/
H A Dg_monster.c180 ent->watertype = 0; in M_CatagorizePosition()
184 ent->watertype = cont; in M_CatagorizePosition()
253 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
261 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
274 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
279 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
281 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()
/dports/games/quake2-lights/quake2-lights-1/lights/src/
H A Dg_monster.c199 ent->watertype = 0; in M_CatagorizePosition()
203 ent->watertype = cont; in M_CatagorizePosition()
272 if ((ent->watertype & CONTENTS_LAVA) && !(ent->flags & FL_IMMUNE_LAVA)) in M_WorldEffects()
280 if ((ent->watertype & CONTENTS_SLIME) && !(ent->flags & FL_IMMUNE_SLIME)) in M_WorldEffects()
293 if (ent->watertype & CONTENTS_LAVA) in M_WorldEffects()
298 else if (ent->watertype & CONTENTS_SLIME) in M_WorldEffects()
300 else if (ent->watertype & CONTENTS_WATER) in M_WorldEffects()

12345678910>>...15