Home
last modified time | relevance | path

Searched refs:waterheight (Results 1 – 25 of 32) sorted by relevance

12

/dports/games/openmw/openmw-openmw-0.47.0/components/terrain/
H A Dterraindrawable.cpp137 void TerrainDrawable::setupWaterBoundingBox(float waterheight, float margin) in setupWaterBoundingBox() argument
143 if (vertex.z() <= waterheight) in setupWaterBoundingBox()
H A Dterraindrawable.hpp55 void setupWaterBoundingBox(float waterheight, float margin);
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/Handlers/
H A DEnvironmentHandlers.cpp46 s.waterheight = cmpWaterManager->GetExactWaterLevel(0, 0) / (65536.f * HEIGHT_SCALE); in GetSettings()
101 cmpWaterManager->SetWaterLevel(entity_pos_t::FromFloat(s.waterheight * (65536.f * HEIGHT_SCALE))); in SetSettings()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_floor.c632 fixed_t waterheight; in T_BounceCheese() local
661waterheight = P_SectorCheckWater(actionsector, bouncer->sector); // sorts itself out if there's no… in T_BounceCheese()
668 …if (waterheight > bouncer->sector->ceilingheight - halfheight && bouncer->sector->ceilingheight >=… in T_BounceCheese()
675 …else if (waterheight < bouncer->sector->floorheight + halfheight && bouncer->sector->floorheight <… in T_BounceCheese()
683 bouncer->ceilingwasheight = waterheight + halfheight; in T_BounceCheese()
684 bouncer->floorwasheight = waterheight - halfheight; in T_BounceCheese()
993 fixed_t waterheight; in T_FloatSector() local
1006waterheight = P_SectorCheckWater(actionsector, floater->sector); // find the highest suitable wate… in T_FloatSector()
1008 if (waterheight == cheeseheight) // same height, no floating needed in T_FloatSector()
1011 …if (floater->sector->floorheight == actionsector->floorheight && waterheight < cheeseheight) // to… in T_FloatSector()
[all …]
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Drender.h443 int waterwidth, waterheight; member
H A Dgl_rmain.c3664 int waterwidth, waterheight, texturewidth, textureheight; in R_Water_StartFrame() local
3670 waterheight = (int)bound(1, vid.height * r_water_resolutionmultiplier.value, vid.height); in R_Water_StartFrame()
3674 … || !gl_support_fragment_shader || waterwidth > gl_max_texture_size || waterheight > gl_max_textur… in R_Water_StartFrame()
3675 texturewidth = textureheight = waterwidth = waterheight = 0; in R_Water_StartFrame()
3679 textureheight = waterheight; in R_Water_StartFrame()
3684 for (textureheight = 1;textureheight < waterheight;textureheight *= 2); in R_Water_StartFrame()
3707 …r_waterstate.waterheight = (int)bound(1, r_refdef.view.height * r_water_resolutionmultiplier.value… in R_Water_StartFrame()
3715 …r_waterstate.screenscale[1] = 0.5f * (float)r_waterstate.waterheight / (float)r_waterstate.texture… in R_Water_StartFrame()
3717 …r_waterstate.screencenter[1] = 0.5f * (float)r_waterstate.waterheight / (float)r_waterstate.textur… in R_Water_StartFrame()
3823 r_refdef.view.height = r_waterstate.waterheight; in R_Water_ProcessPlanes()
/dports/games/redeclipse/base-2.0.0/config/glsl/
H A Dmaterial.cfg226 uniform float waterheight;
236 float fogbelow = waterheight - pos.z;
/dports/games/tesseract-data/tesseract/config/glsl/
H A Dmaterial.cfg223 uniform float waterheight;
233 float fogbelow = waterheight - pos.z;
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/
H A DEnvironment.cpp221 …ableSliderBox(scrolledWindow, _("Water height"), g_EnvironmentSettings.waterheight, 0.f, 1.2f), wx… in EnvironmentSidebar()
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DEntityEx.Physics.vc82 float waterheight = GetPlanePointZ(&Sector->heightsec->floor, Origin);
83 if (waterheight > height && Origin.z >= waterheight)
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/
H A DMessages.h458 …Shareable<float> waterheight; // range 0..1 corresponds to min..max terrain height; out-of-bounds … member
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Drender.h533 int waterwidth, waterheight; member
/dports/games/darkplaces/darkplaces/
H A Drender.h524 int waterwidth, waterheight; member
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_spec.c2676 fixed_t height, waterheight; // killough 4/4/98: add waterheight in T_Scroll() local
2707 waterheight = sec->heightsec != -1 && in T_Scroll()
2714 thing->z < waterheight)) in T_Scroll()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_spec.c2635 fixed_t height, waterheight; // killough 4/4/98: add waterheight in T_Scroll() local
2666 waterheight = sec->heightsec != -1 && in T_Scroll()
2673 thing->z < waterheight)) in T_Scroll()
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dp_spec.cpp2179 fixed_t height, waterheight; // killough 4/4/98: add waterheight in RunThink() local
2209 waterheight = sec->heightsec && in RunThink()
2216 thing->z < waterheight)) in RunThink()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dp_spec.c2774 fixed_t height, waterheight; // killough 4/4/98: add waterheight in T_Scroll() local
2805 waterheight = sec->heightsec != -1 && in T_Scroll()
2812 thing->z < waterheight)) in T_Scroll()
/dports/games/openjk/OpenJK-07675e2/code/qcommon/
H A Dq_shared.h1881 …float waterheight; //exactly what the z org of the water is (will be +4 above if under water… variable
2055 saved_game.write<float>(waterheight); in sg_export()
2224 saved_game.read<float>(waterheight); in sg_import()
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/
H A Dbg_pmove.cpp1438 pm->ps->velocity[2] = 350+((pm->ps->waterheight-pm->ps->origin[2])*2); in PM_CheckWaterJump()
1531 float depth = (pm->ps->origin[2]+pm->gent->client->standheight)-pm->ps->waterheight; in PM_WaterMove()
3329 pm->ps->waterheight = pm->ps->origin[2] + DEFAULT_MINS_2 - 4; in PM_SetWaterHeight()
3344 pm->ps->waterheight = top[2] + 4; in PM_SetWaterHeight()
3348 pm->ps->waterheight = trace.endpos[2]+pm->mins[2]; in PM_SetWaterHeight()
3352 pm->ps->waterheight = top[2] + 4; in PM_SetWaterHeight()
3356 pm->ps->waterheight = bottom[2] - 4; in PM_SetWaterHeight()
3358 float distFromEyes = (pm->ps->origin[2]+pm->gent->client->standheight)-pm->ps->waterheight; in PM_SetWaterHeight()
3378 float distFromOrg = pm->ps->origin[2]-pm->ps->waterheight; in PM_SetWaterHeight()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dp_spec.c3596 fixed_t height, waterheight; in T_Scroll() local
3625 waterheight = ((sec->model > SM_fluid) in T_Scroll()
3634 || thing->z < waterheight) ) in T_Scroll()
/dports/games/openjk/OpenJK-07675e2/code/game/
H A Dbg_pmove.cpp2513 pm->ps->velocity[2] = 350+((pm->ps->waterheight-pm->ps->origin[2])*2); in PM_CheckWaterJump()
2606 float depth = (pm->ps->origin[2]+pm->gent->client->standheight)-pm->ps->waterheight; in PM_WaterMove()
5343 float relativeWaterLevel = (pm->ps->waterheight - (pm->ps->origin[2]+pm->mins[2])); in PM_HoverTrace()
5357 if ( pm->ps->waterheight < pm->ps->origin[2]+pm->maxs[2] ) in PM_HoverTrace()
5368 wakeOrg[2] = pm->ps->waterheight; in PM_HoverTrace()
5570 pm->ps->waterheight = pm->ps->origin[2] + DEFAULT_MINS_2 - 4; in PM_SetWaterHeight()
5585 pm->ps->waterheight = top[2] + 4; in PM_SetWaterHeight()
5589 pm->ps->waterheight = trace.endpos[2]+pm->mins[2]; in PM_SetWaterHeight()
5593 pm->ps->waterheight = top[2] + 4; in PM_SetWaterHeight()
5597 pm->ps->waterheight = bottom[2] - 4; in PM_SetWaterHeight()
[all …]
/dports/games/tesseract-data/tesseract/src/engine/
H A Dwater.cpp123 GLOBALPARAMF(waterheight, bz); in renderwaterfog()
/dports/games/tesseract/tesseract/src/engine/
H A Dwater.cpp123 GLOBALPARAMF(waterheight, bz); in renderwaterfog()
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Dwater.cpp125 GLOBALPARAMF(waterheight, bz); in renderwaterfog()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_mobj.cpp3427 fixed_t height, waterheight; // killough 4/4/98: add waterheight in Tick() local
3533 waterheight = heightsec->floorplane.ZatPoint (this); in Tick()
3534 if (waterheight > height && Z() >= waterheight) in Tick()

12