/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/gui/ |
H A D | interface_radar.cpp | 161 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 D | PreBattle.cpp | 164 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 D | RTS.cpp | 118 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 D | Globals.cpp | 87 int worldWidth; variable
|
H A D | Globals.h | 61 extern int worldWidth;
|
H A D | RTSUnit_Base.cpp | 198 if (center.x < worldWidth / 2) in SetPos()
|
H A D | Group_Base.cpp | 924 || (myx + width + possx > worldWidth && theCommands.aimPropx > 0)) { in CheckForGoingOffScreen()
|
/dports/games/hs-scroll/scroll-1.20180421/ |
H A D | World.hs | 13 worldWidth :: M Int 14 worldWidth = withWorld $ \w -> function 23 width <- worldWidth 48 maxx <- worldWidth
|
H A D | Status.hs | 18 w <- worldWidth 140 w <- worldWidth
|
H A D | Spell.hs | 235 width <- worldWidth 330 width <- worldWidth
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/src/ |
H A D | OgreVolumeTextureSource.cpp | 55 …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 D | OgreVolumeTextureSource.cpp | 55 …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 D | bltTabnotebook.c | 609 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 D | bltTabset.c | 644 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 D | bltHtext.c | 1017 } 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 D | bltGrAxis.c | 2352 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 D | bltHierbox.c | 796 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 D | bltTreeView.c | 4197 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 D | bltTreeViewCmd.c | 2018 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 D | ImagePlot.cs | 152 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 D | Dem.cc | 44 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 D | OgreVolumeTextureSource.h | 80 …explicit TextureSource(const String &volumeTextureName, const Real worldWidth, const Real worldHei…
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/include/ |
H A D | OgreVolumeTextureSource.h | 75 …explicit TextureSource(const String &volumeTextureName, const Real worldWidth, const Real worldHei…
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/kingdom/ |
H A D | view_world.cpp | 250 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 D | Move.hs | 53 maxx <- worldWidth
|