mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Remove unused function & globals
This commit is contained in:
@@ -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( )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user