Remove unused function & globals

This commit is contained in:
Asdow
2024-11-30 23:50:17 +02:00
parent de56f653ec
commit 4e8c5fa9ab
3 changed files with 0 additions and 38 deletions
-32
View File
@@ -423,9 +423,6 @@ BOOLEAN gRubberBandActive = FALSE;
BOOLEAN gfIgnoreOnSelectedGuy = FALSE;
BOOLEAN gfViewPortAdjustedForSouth = FALSE;
INT16 guiCreateGuyIndex = 0;
// Temp values for placing bad guys
INT16 guiCreateBadGuyIndex = 8;
// FLAGS
// These flags are set for a single frame execution and then are reset for the next iteration.
@@ -3304,35 +3301,6 @@ void HandleObjectHighlighting( )
}
void AdjustSoldierCreationStartValues( )
{
INT32 cnt;
SOLDIERTYPE *pSoldier;
cnt = gTacticalStatus.Team[ gbPlayerNum ].bFirstID;
guiCreateGuyIndex = (INT16)cnt;
for ( pSoldier = MercPtrs[ cnt ]; cnt <= gTacticalStatus.Team[ gbPlayerNum ].bLastID; pSoldier++, ++cnt )
{
if ( !pSoldier->bActive )
{
guiCreateGuyIndex = (INT16)cnt;
break;
}
}
cnt = gTacticalStatus.Team[ gbPlayerNum ].bLastID + 1;
guiCreateBadGuyIndex = (INT16)cnt;
for ( pSoldier = MercPtrs[ cnt ]; cnt <= gTacticalStatus.Team[ LAST_TEAM ].bLastID; pSoldier++, ++cnt )
{
if ( !pSoldier->bActive && cnt > gTacticalStatus.Team[ gbPlayerNum ].bLastID )
{
guiCreateBadGuyIndex = (INT16)cnt;
break;
}
}
}
BOOLEAN SelectedMercCanAffordAttack( )
{