Skip to content

Commit 0a1870e

Browse files
committed
Add Comments and blank line for merge purposes
1 parent c95c171 commit 0a1870e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient

Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DShroud.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ void W3DShroud::init(WorldHeightMap *pMap, Real worldCellSizeX, Real worldCellSi
137137
TextureLoader::Validate_Texture_Size((unsigned int &)dstTextureWidth,(unsigned int &)dstTextureHeight, depth);
138138
}
139139

140+
140141
UnsignedInt srcWidth,srcHeight;
141142

142143
srcWidth=m_numCellsX;
@@ -624,13 +625,14 @@ void W3DShroud::render(CameraClass *cam)
624625
if (visStartY < 0)
625626
visStartY = 0; //no shroud is applied in border area so it always starts at > 0
626627

628+
// Do it all [3/11/2003]
627629
visStartX = 0;
628630
visStartY = 0;
629631

630632
Int visEndX=visStartX+REAL_TO_INT_FLOOR((Real)(hm->getDrawWidth()-1)*MAP_XY_FACTOR/m_cellWidth)+1; //size of rendered heightmap rectangle
631633
Int visEndY=visStartY+REAL_TO_INT_FLOOR((Real)(hm->getDrawHeight()-1)*MAP_XY_FACTOR/m_cellHeight)+1;
632634

633-
635+
// Do it all [3/11/2003]
634636
visEndX = m_numCellsX;
635637
visEndY = m_numCellsY;
636638

0 commit comments

Comments
 (0)