mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Removed most of my thousands "WANNE" comments which goes back 2 years when I changed to higher resolutions. These were only internal comments for me, so they didn't include any useful meaning for others.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1172 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -266,7 +266,6 @@ void RadarRegionButtonCallback( MOUSE_REGION * pRegion, INT32 iReason )
|
||||
{
|
||||
AdjustWorldCenterFromRadarCoords( sRadarX, sRadarY );
|
||||
|
||||
// WANNE: is this used?
|
||||
SetRenderFlags(RENDER_FLAG_FULL);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "builddefines.h"
|
||||
|
||||
// WANNE 2 <changed some lines>
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "TileEngine All.h"
|
||||
#include "PreBattle Interface.h"
|
||||
@@ -558,7 +557,6 @@ void RenderTacticalPlacementGUI()
|
||||
InvalidateRegion( iOffsetHorizontal, iOffsetVertical, iOffsetHorizontal + 640, iOffsetVertical + 320 );
|
||||
if( gbCursorMercID == -1 )
|
||||
{
|
||||
// WANNE 2
|
||||
gTPClipRect.iLeft = gfWest ? iOffsetHorizontal + 30 : iOffsetHorizontal;
|
||||
gTPClipRect.iTop = gfNorth ? iOffsetVertical + 30 + 3 : iOffsetVertical + 3;
|
||||
gTPClipRect.iRight = gfEast ? iOffsetHorizontal + 610 : iOffsetHorizontal + 634; // 636
|
||||
@@ -568,7 +566,6 @@ void RenderTacticalPlacementGUI()
|
||||
{
|
||||
gTPClipRect.iLeft = iOffsetHorizontal;
|
||||
gTPClipRect.iTop = iOffsetVertical + 3;
|
||||
// WANNE 2
|
||||
//gTPClipRect.iRight = iOffsetHorizontal + 640;
|
||||
gTPClipRect.iRight = iOffsetHorizontal + 634; // 635
|
||||
gTPClipRect.iBottom = iOffsetVertical + 320;
|
||||
|
||||
@@ -558,7 +558,6 @@ void GoIntoOverheadMap( )
|
||||
|
||||
gfInOverheadMap = TRUE;
|
||||
|
||||
// WANNE 2 NEW
|
||||
//RestoreExternBackgroundRect( INTERFACE_START_X, INTERFACE_START_Y, SCREEN_WIDTH, INTERFACE_HEIGHT );
|
||||
|
||||
// Overview map should be centered in the middle of the tactical screen.
|
||||
@@ -652,7 +651,7 @@ void HandleOverheadUI( )
|
||||
{
|
||||
// OK, selected guy is here...
|
||||
|
||||
// WANNE <incomment>
|
||||
// WANNE: Commented these lines out.
|
||||
//gprintfdirty( gusMouseXPos, gusMouseYPos, MercPtrs[ ubID ]->name );
|
||||
//mprintf( gusMouseXPos, gusMouseYPos, MercPtrs[ ubID ]->name );
|
||||
|
||||
@@ -1638,8 +1637,7 @@ void GetOverheadScreenXYFromGridNo( INT16 sGridNo, INT16 *psScreenX, INT16 *psSc
|
||||
//*psScreenY -= gpWorldLevelData[ sGridNo ].sHeight / 5;
|
||||
}
|
||||
|
||||
// WANNE
|
||||
// Fixed bug from sir tech, which occured on smaller maps ;-)
|
||||
// WANNE: Fixed bug from sir tech, which occured on smaller maps ;-)
|
||||
BOOLEAN GetOverheadMouseGridNo( INT16 *psGridNo )
|
||||
{
|
||||
UINT32 uiCellX, uiCellY;
|
||||
@@ -1694,8 +1692,7 @@ BOOLEAN GetOverheadMouseGridNo( INT16 *psGridNo )
|
||||
}
|
||||
|
||||
|
||||
// WANNE
|
||||
// Fixed bug from sir tech which occured on smaller maps ;-)
|
||||
// WANNE: Fixed bug from sir tech which occured on smaller maps ;-)
|
||||
BOOLEAN GetOverheadMouseGridNoForFullSoldiersGridNo( INT16 *psGridNo )
|
||||
{
|
||||
UINT32 uiCellX, uiCellY;
|
||||
|
||||
@@ -1712,7 +1712,6 @@ FLOAT CalculateObjectTrajectory( INT16 sTargetZ, OBJECTTYPE *pItem, vector_3 *vP
|
||||
pObject->fTestPositionNotSet = TRUE;
|
||||
pObject->fVisible = FALSE;
|
||||
|
||||
// WANNE 2
|
||||
// Alrighty, move this beast until it dies....
|
||||
while( pObject->fAlive )
|
||||
{
|
||||
|
||||
@@ -3965,7 +3965,6 @@ BOOLEAN ApplyScrolling( INT16 sTempRenderCenterX, INT16 sTempRenderCenterY, BOOL
|
||||
INT16 sNewScreenX, sNewScreenY;
|
||||
INT16 sMult;
|
||||
|
||||
// WANNE:
|
||||
INT16 sRadarTLX, sRadarTLY;
|
||||
INT16 sRadarBRX, sRadarBRY;
|
||||
INT16 sRadarCX, sRadarCY;
|
||||
@@ -4162,7 +4161,6 @@ BOOLEAN ApplyScrolling( INT16 sTempRenderCenterX, INT16 sTempRenderCenterY, BOOL
|
||||
{
|
||||
if ( fOutTop )
|
||||
{
|
||||
// WANNE: Test
|
||||
// Adjust screen coordinates on the Y!
|
||||
CorrectRenderCenter( sScreenCenterX, (INT16)(gsTLY + sY_S ), &sNewScreenX, &sNewScreenY );
|
||||
FromScreenToCellCoordinates( sNewScreenX, sNewScreenY , &sTempPosX_W, &sTempPosY_W );
|
||||
|
||||
Reference in New Issue
Block a user