Home
last modified time | relevance | path

Searched refs:worldHeight (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/gui/
H A Dinterface_radar.cpp162 const int32_t worldHeight = world.h(); in Generate() local
164 spriteArea.resize( worldWidth, worldHeight ); in Generate()
167 for ( int32_t yy = 0; yy < worldHeight; ++yy ) { in Generate()
189 if ( worldWidth < worldHeight ) { in Generate()
190 new_sz.width = ( worldWidth * area.height ) / worldHeight; in Generate()
195 else if ( worldWidth > worldHeight ) { in Generate()
272 const int32_t worldHeight = world.h(); in RedrawObjects() local
277 int stepy = worldHeight / rect.height; in RedrawObjects()
286 if ( worldWidth >= worldHeight ) in RedrawObjects()
289 sw = GetChunkSize( areah, worldHeight ); in RedrawObjects()
[all …]
/dports/games/galaxyhack/galaxyhack/src/
H A DPreBattle.cpp165 worldHeight = startingRectDim * 6; in SetStartingRects()
169 sides[0].startingRect.y = static_cast<float>(worldHeight * 0.5) - (startingRectDim / 2); in SetStartingRects()
176 sides[1].startingRect.y = static_cast<float>(worldHeight * 0.5) - (startingRectDim / 2); in SetStartingRects()
183 sides[2].startingRect.y = worldHeight - startingRectDim * 2; in SetStartingRects()
187 sides[2].startingRect.y = worldHeight - startingRectDim * 2; in SetStartingRects()
190 sides[3].startingRect.y = worldHeight - startingRectDim * 2; in SetStartingRects()
198 sides[i].groups[j].SetPos(worldWidth, worldHeight); in SetStartingPositions()
287 int total_tiles = (worldWidth/100)*(worldHeight/100); in SetupTerrain()
H A DRTS.cpp119 int tempCentery = (y - radarRect.y) * worldHeight / radarRect.h; in RTSMouseM()
371 int radary = center.y * radarRect.h / worldHeight; in DrawRadar()
379 int radary = viewy * radarRect.h / worldHeight; in DrawRadar()
382 int lineHeight = radarRect.h * globalSettings.screenHeight / worldHeight; in DrawRadar()
510 if (viewy > worldHeight - globalSettings.screenHeight) in CheckViewPos()
511 viewy = worldHeight - globalSettings.screenHeight; in CheckViewPos()
H A DGlobals.cpp88 int worldHeight; variable
H A DGlobals.h62 extern int worldHeight;
H A DGroup_Base.cpp930 || (myy + height + possy > worldHeight) && theCommands.aimPropy > 0) { in CheckForGoingOffScreen()
/dports/games/hs-scroll/scroll-1.20180421/
H A DWorld.hs17 worldHeight :: M Int
18 worldHeight = withWorld (return . MV.length) function
22 height <- worldHeight
47 maxy <- worldHeight
H A DStatus.hs19 h <- worldHeight
37 y <- worldHeight
H A DPeruser.hs24 wh <- worldHeight
H A DSpell.hs179 maxy <- worldHeight
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/src/
H A DOgreVolumeTextureSource.cpp55 …rce(const String &volumeTextureName, const Real worldWidth, const Real worldHeight, const Real wor… in TextureSource() argument
79 mPosYScale = (Real)1.0 / (Real)worldHeight * (Real)mHeight; in TextureSource()
/dports/graphics/ogre3d/ogre-1.11.6/Components/Volume/src/
H A DOgreVolumeTextureSource.cpp55 …rce(const String &volumeTextureName, const Real worldWidth, const Real worldHeight, const Real wor… in TextureSource() argument
79 mPosYScale = (Real)1.0 / (Real)worldHeight * (Real)mHeight; in TextureSource()
/dports/graphics/nplot/nplot-9a92e78/src/
H A DImagePlot.cs154 double worldHeight = yAxis.Axis.WorldMax - yAxis.Axis.WorldMin; in Draw()
155 double numBlocksVertical = worldHeight/yStep_; in Draw()
/dports/devel/ignition-common/ignitionrobotics-ign-common-a5c4d5a35bb8/graphics/src/
H A DDem.cc47 public: double worldHeight; member in ignition::common::DemPrivate
143 this->dataPtr->worldHeight = in Load()
257 return this->dataPtr->worldHeight; in WorldHeight()
/dports/x11-toolkits/blt/blt2.5/generic/
H A DbltHtext.c1004 } else if (y >= htPtr->worldHeight) {
1907 htPtr->worldWidth = htPtr->worldHeight = 0;
2724 htPtr->worldHeight = height, htPtr->worldWidth = width;
2781 if (lastY < htPtr->worldHeight) {
3286 reqHeight = MIN(htPtr->worldHeight, htPtr->maxHeight);
3331 htPtr->worldHeight, height,
3340 (double)htPtr->yOffset / htPtr->worldHeight,
3868 int height, worldHeight; local
3871 worldHeight = htPtr->worldHeight;
3876 fract = (double)htPtr->yOffset / worldHeight;
[all …]
H A DbltHierbox.c796 int worldWidth, worldHeight; member
4211 hboxPtr->worldHeight = info.y;
4212 if (hboxPtr->worldHeight < 1) {
4213 hboxPtr->worldHeight = 1;
5019 (double)hboxPtr->yOffset / hboxPtr->worldHeight,
5295 top = hboxPtr->worldHeight;
5308 bottom = hboxPtr->worldHeight;
7746 } else if (worldY >= hboxPtr->worldHeight) {
8335 int height, worldHeight; local
8338 worldHeight = hboxPtr->worldHeight;
[all …]
H A DbltTreeView.c4399 tvPtr->worldHeight = y; /* Set the scroll height of the hierarchy. */ in ComputeFlatLayout()
4400 if (tvPtr->worldHeight < 1) { in ComputeFlatLayout()
4401 tvPtr->worldHeight = 1; in ComputeFlatLayout()
4529 if (tvPtr->worldHeight < 1) { in ComputeTreeLayout()
4530 tvPtr->worldHeight = 1; in ComputeTreeLayout()
4770 tvPtr->worldHeight, VPORTHEIGHT(tvPtr), tvPtr->yScrollUnits, in ComputeVisibleEntries()
4927 if (tvPtr->yOffset > (tvPtr->worldHeight - tvPtr->yScrollUnits)) { in ComputeVisibleEntries()
4928 tvPtr->yOffset = tvPtr->worldHeight - tvPtr->yScrollUnits; in ComputeVisibleEntries()
4934 tvPtr->worldHeight, VPORTHEIGHT(tvPtr), tvPtr->yScrollUnits, in ComputeVisibleEntries()
6343 (double)tvPtr->yOffset / tvPtr->worldHeight, in DisplayTreeView()
[all …]
H A DbltTreeViewCmd.c2019 top = tvPtr->worldHeight;
2033 bottom = tvPtr->worldHeight;
6266 } else if (worldY >= tvPtr->worldHeight) {
6267 worldY = tvPtr->worldHeight - tvPtr->yScrollUnits;
7376 int height, worldHeight; local
7379 worldHeight = tvPtr->worldHeight;
7386 fract = (double)tvPtr->yOffset / worldHeight;
7389 fract = (double)(tvPtr->yOffset + height) / worldHeight;
7397 worldHeight, height, tvPtr->yScrollUnits, tvPtr->scrollMode)
H A DbltTabnotebook.c327 int worldWidth, worldHeight;/* Dimensions of the tab, corrected for member
1552 tabPtr->worldY + tabPtr->worldHeight + 4, &sx, &sy);
4210 tabPtr->worldHeight = tabHeight;
4235 tabPtr->worldHeight = height;
4867 tabPtr->worldY + tabPtr->worldHeight + 2, &x, &y);
4997 yTop = y + tabPtr->worldHeight;
H A DbltTabset.c341 int worldWidth, worldHeight;/* Dimensions of the tab, corrected for member
1717 tabPtr->worldY + tabPtr->worldHeight + 4, &sx, &sy);
5109 tabPtr->worldHeight = tabHeight;
5135 tabPtr->worldHeight = height;
5946 tabPtr->worldY + tabPtr->worldHeight + 2, &x, &y);
6095 yTop = y + tabPtr->worldHeight;
/dports/graphics/ogre3d/ogre-1.11.6/Components/Volume/include/
H A DOgreVolumeTextureSource.h80 …rce(const String &volumeTextureName, const Real worldWidth, const Real worldHeight, const Real wor…
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/include/
H A DOgreVolumeTextureSource.h75 …rce(const String &volumeTextureName, const Real worldWidth, const Real worldHeight, const Real wor…
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/kingdom/
H A Dview_world.cpp251 const int32_t worldHeight = world.h(); in DrawObjectsIcons() local
266 const int32_t minTileY = clamp( roiTiles.y - 2, 0, worldHeight ); in DrawObjectsIcons()
267 const int32_t maxTileY = clamp( roiTiles.y + roiTiles.height + 2, 0, worldHeight ); in DrawObjectsIcons()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/render/
H A Dwalledge.cpp565 inline ddouble distanceTo(coord_t worldHeight) const in distanceTo()
567 return (worldHeight - lo) / (hi - lo); in distanceTo()
/dports/games/hs-scroll/scroll-1.20180421/Player/
H A DMove.hs54 maxy <- worldHeight

12