mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New feature: bloodcat/zombie/bandit raids on player-controlled sectors
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23711&goto=353154&#msg_353154 Requires GameDir >= r2420 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8554 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -396,7 +396,6 @@ void HandleEnricoEmail(void)
|
||||
gStrategicStatus.ubNumNewSectorsVisitedToday = __min( gStrategicStatus.ubNumNewSectorsVisitedToday, NEW_SECTORS_EQUAL_TO_ACTIVITY ) / 3;
|
||||
}
|
||||
|
||||
|
||||
void TrackEnemiesKilled( UINT8 ubKilledHow, UINT8 ubSoldierClass )
|
||||
{
|
||||
INT8 bRankIndex;
|
||||
@@ -418,7 +417,6 @@ void TrackEnemiesKilled( UINT8 ubKilledHow, UINT8 ubSoldierClass )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INT8 SoldierClassToRankIndex( UINT8 ubSoldierClass )
|
||||
{
|
||||
INT8 bRankIndex = -1;
|
||||
@@ -426,7 +424,8 @@ INT8 SoldierClassToRankIndex( UINT8 ubSoldierClass )
|
||||
// the soldier class defines are not in natural ascending order, elite comes before army!
|
||||
switch ( ubSoldierClass )
|
||||
{
|
||||
case SOLDIER_CLASS_ADMINISTRATOR: bRankIndex = 0; break;
|
||||
case SOLDIER_CLASS_ADMINISTRATOR:
|
||||
case SOLDIER_CLASS_BANDIT: bRankIndex = 0; break;
|
||||
case SOLDIER_CLASS_ELITE: bRankIndex = 2; break;
|
||||
case SOLDIER_CLASS_ARMY: bRankIndex = 1; break;
|
||||
|
||||
@@ -438,8 +437,6 @@ INT8 SoldierClassToRankIndex( UINT8 ubSoldierClass )
|
||||
return( bRankIndex );
|
||||
}
|
||||
|
||||
|
||||
|
||||
UINT8 RankIndexToSoldierClass( UINT8 ubRankIndex )
|
||||
{
|
||||
UINT8 ubSoldierClass = 0;
|
||||
|
||||
Reference in New Issue
Block a user