New feature: SAM site cover can now overlap, and SAM sites can be hacked to lower their radius. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23211&goto=347188&#msg_347188

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8309 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-10-05 22:22:50 +00:00
parent 8523a1dead
commit 258e9c24a0
27 changed files with 554 additions and 319 deletions
@@ -949,6 +949,21 @@ void AddCommonInfoToBox(void)
}
AddSecondColumnMonoString( &hStringHandle, wString );
// Flugente: if this is a SAM site we know about, display (hack-)status
for ( UINT16 x = 0; x < MAX_NUMBER_OF_SAMS; ++x )
{
if ( pSamList[x] == usSectorValue && fSamSiteFound[x] )
{
swprintf( wString, pwMiscSectorStrings[7] );
AddMonoString( &hStringHandle, wString );
swprintf( wString, L"%d / %d", StrategicMap[SECTOR_INFO_TO_STRATEGIC_INDEX( usSectorValue )].bSAMCondition, StrategicMap[SECTOR_INFO_TO_STRATEGIC_INDEX( usSectorValue )].sSamHackStatus );
AddSecondColumnMonoString( &hStringHandle, wString );
break;
}
}
}