Home
last modified time | relevance | path

Searched refs:worldWidth (Results 1 – 25 of 41) sorted by relevance

12

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/gui/
H A Dinterface_radar.cpp161 const int32_t worldWidth = world.w(); in Generate() local
164 spriteArea.resize( worldWidth, worldHeight ); in Generate()
168 for ( int32_t xx = 0; xx < worldWidth; ++xx ) { in Generate()
189 if ( worldWidth < worldHeight ) { in Generate()
195 else if ( worldWidth > worldHeight ) { in Generate()
271 const int32_t worldWidth = world.w(); in RedrawObjects() local
276 int stepx = worldWidth / rect.width; in RedrawObjects()
286 if ( worldWidth >= worldHeight ) in RedrawObjects()
287 sw = GetChunkSize( areaw, worldWidth ); in RedrawObjects()
297 int tileIndex = y * worldWidth; in RedrawObjects()
[all …]
/dports/games/galaxyhack/galaxyhack/src/
H A DPreBattle.cpp164 worldWidth = startingRectDim * 6; in SetStartingRects()
174 sides[1].startingRect.x = worldWidth - startingRectDim * 2; in SetStartingRects()
182 sides[2].startingRect.x = static_cast<float>(worldWidth * 0.5) - (startingRectDim / 2); in SetStartingRects()
189 sides[3].startingRect.x = worldWidth - startingRectDim * 2; in SetStartingRects()
198 sides[i].groups[j].SetPos(worldWidth, worldHeight); in SetStartingPositions()
287 int total_tiles = (worldWidth/100)*(worldHeight/100); in SetupTerrain()
290 int area_dim = worldWidth / areas_per_side; in SetupTerrain()
317 if (x > worldWidth) { in SetupTerrain()
H A DRTS.cpp118 int tempCenterx = (x - radarRect.x) * worldWidth / radarRect.w; in RTSMouseM()
370 int radarx = center.x * radarRect.w / worldWidth; in DrawRadar()
378 int radarx = viewx * radarRect.w / worldWidth; in DrawRadar()
381 int lineWidth = radarRect.w * globalSettings.screenWidth / worldWidth; in DrawRadar()
506 if (viewx > worldWidth - globalSettings.screenWidth) in CheckViewPos()
507 viewx = worldWidth - globalSettings.screenWidth; in CheckViewPos()
H A DGlobals.cpp87 int worldWidth; variable
H A DGlobals.h61 extern int worldWidth;
H A DRTSUnit_Base.cpp198 if (center.x < worldWidth / 2) in SetPos()
H A DGroup_Base.cpp924 || (myx + width + possx > worldWidth && theCommands.aimPropx > 0)) { in CheckForGoingOffScreen()
/dports/games/hs-scroll/scroll-1.20180421/
H A DWorld.hs13 worldWidth :: M Int
14 worldWidth = withWorld $ \w -> function
23 width <- worldWidth
48 maxx <- worldWidth
H A DStatus.hs18 w <- worldWidth
140 w <- worldWidth
H A DSpell.hs235 width <- worldWidth
330 width <- worldWidth
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/src/
H A DOgreVolumeTextureSource.cpp55 …TextureSource::TextureSource(const String &volumeTextureName, const Real worldWidth, const Real wo… in TextureSource() argument
78 mPosXScale = (Real)1.0 / (Real)worldWidth * (Real)mWidth; in TextureSource()
82 mVolumeSpaceToWorldSpaceFactor = (Real)worldWidth * (Real)mWidth; in TextureSource()
/dports/graphics/ogre3d/ogre-1.11.6/Components/Volume/src/
H A DOgreVolumeTextureSource.cpp55 …TextureSource::TextureSource(const String &volumeTextureName, const Real worldWidth, const Real wo… in TextureSource() argument
78 mPosXScale = (Real)1.0 / (Real)worldWidth * (Real)mWidth; in TextureSource()
82 mVolumeSpaceToWorldSpaceFactor = (Real)worldWidth * (Real)mWidth; in TextureSource()
/dports/x11-toolkits/blt/blt2.5/generic/
H A DbltTabnotebook.c609 int worldWidth; member
4209 tabPtr->worldWidth = tabWidth;
4293 tabPtr->worldWidth += ration;
4374 extra = nbPtr->worldWidth - total;
4403 nbPtr->worldWidth = 1;
4482 nbPtr->worldWidth = maxWidth;
5027 x += tabPtr->worldWidth;
5233 x += tabPtr->worldWidth;
5336 height = nbPtr->worldWidth;
5338 width = nbPtr->worldWidth;
[all …]
H A DbltTabset.c644 int worldWidth; member
5108 tabPtr->worldWidth = tabWidth;
5325 extra = setPtr->worldWidth - total;
5355 setPtr->worldWidth = 1;
5473 setPtr->worldWidth = maxWidth - sImg;
5485 setPtr->worldWidth += setPtr->overlap;
6125 x += tabPtr->worldWidth;
6334 x += tabPtr->worldWidth;
6459 height = setPtr->worldWidth;
6461 width = setPtr->worldWidth;
[all …]
H A DbltHtext.c1017 } else if (x > htPtr->worldWidth) {
1018 x = htPtr->worldWidth;
1907 htPtr->worldWidth = htPtr->worldHeight = 0;
2887 ? htPtr->worldWidth - htPtr->xOffset - lastX :
3278 reqWidth = MIN(htPtr->worldWidth, htPtr->maxWidth);
3328 htPtr->worldWidth, width,
3335 (double)htPtr->xOffset / htPtr->worldWidth,
3836 int width, worldWidth; local
3839 worldWidth = htPtr->worldWidth;
3844 fract = (double)htPtr->xOffset / worldWidth;
[all …]
H A DbltGrAxis.c2352 double worldWidth, worldMin, worldMax; local
2378 worldWidth = worldMax - worldMin;
2383 fract = (viewMin - worldMin) / worldWidth;
2390 viewMin = (fract * worldWidth);
2399 (viewMin / worldWidth), (viewMax / worldWidth));
2401 viewMax = (fract * worldWidth);
2410 (viewMax / worldWidth), (viewMin / worldWidth));
4079 double viewWidth, worldWidth; local
4108 worldWidth = worldMax - worldMin;
4125 fract = axisOffset / worldWidth;
[all …]
H A DbltHierbox.c796 int worldWidth, worldHeight; member
4208 if (hboxPtr->worldWidth < 1) {
4209 hboxPtr->worldWidth = 1;
4340 hboxPtr->worldWidth = maxX;
5012 (double)hboxPtr->xOffset / hboxPtr->worldWidth,
5294 left = hboxPtr->worldWidth;
5307 right = hboxPtr->worldWidth;
7741 } else if (worldX >= hboxPtr->worldWidth) {
8301 int width, worldWidth; local
8304 worldWidth = hboxPtr->worldWidth;
[all …]
H A DbltTreeView.c4197 growth = VPORTWIDTH(tvPtr) - tvPtr->worldWidth; in AdjustColumns()
4563 tvPtr->worldWidth = tvPtr->titleHeight = 0; in LayoutColumns()
4606 tvPtr->worldWidth = sum; in LayoutColumns()
4629 if (tvPtr->worldWidth < 1) { in LayoutColumns()
4630 tvPtr->worldWidth = 1; in LayoutColumns()
4767 xOffset = Blt_AdjustViewport(tvPtr->xOffset, tvPtr->worldWidth, in ComputeVisibleEntries()
4925 tvPtr->xOffset = tvPtr->worldWidth - tvPtr->xScrollUnits; in ComputeVisibleEntries()
4931 tvPtr->worldWidth, VPORTWIDTH(tvPtr), tvPtr->xScrollUnits, in ComputeVisibleEntries()
6336 (double)tvPtr->xOffset / tvPtr->worldWidth, in DisplayTreeView()
6337 (double)(tvPtr->xOffset + width) / tvPtr->worldWidth); in DisplayTreeView()
[all …]
H A DbltTreeViewCmd.c2018 left = tvPtr->worldWidth;
2032 right = tvPtr->worldWidth;
6261 } else if (worldX >= tvPtr->worldWidth) {
6262 worldX = tvPtr->worldWidth - tvPtr->xScrollUnits;
7336 int width, worldWidth; local
7339 worldWidth = tvPtr->worldWidth;
7349 fract = (double)tvPtr->xOffset / worldWidth;
7352 fract = (double)(tvPtr->xOffset + width) / worldWidth;
7360 worldWidth, width, tvPtr->xScrollUnits, tvPtr->scrollMode)
/dports/graphics/nplot/nplot-9a92e78/src/
H A DImagePlot.cs152 double worldWidth = xAxis.Axis.WorldMax - xAxis.Axis.WorldMin; in Draw()
153 double numBlocksHorizontal = worldWidth/xStep_; in Draw()
/dports/devel/ignition-common/ignitionrobotics-ign-common-a5c4d5a35bb8/graphics/src/
H A DDem.cc44 public: double worldWidth; member in ignition::common::DemPrivate
140 this->dataPtr->worldWidth = in Load()
251 return this->dataPtr->worldWidth; in WorldWidth()
/dports/graphics/ogre3d/ogre-1.11.6/Components/Volume/include/
H A DOgreVolumeTextureSource.h80 …explicit TextureSource(const String &volumeTextureName, const Real worldWidth, const Real worldHei…
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/include/
H A DOgreVolumeTextureSource.h75 …explicit TextureSource(const String &volumeTextureName, const Real worldWidth, const Real worldHei…
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/kingdom/
H A Dview_world.cpp250 const int32_t worldWidth = world.w(); in DrawObjectsIcons() local
264 const int32_t minTileX = clamp( roiTiles.x - 2, 0, worldWidth ); in DrawObjectsIcons()
265 …st int32_t maxTileX = clamp( roiTiles.x + roiTiles.width + marginForRightSide + 2, 0, worldWidth ); in DrawObjectsIcons()
/dports/games/hs-scroll/scroll-1.20180421/Player/
H A DMove.hs53 maxx <- worldWidth

12