Added possibility to show rank and name on enemies (by silversurfer)

- If a name is available for the enemy, the name will be shown and if INDIVIDUAL_ENEMY_RANK = TRUE also the rank will be shown
- The name will be shown if INDIVIDUAL_ENEMY_NAMES = TRUE or SOLDIER_PROFILES_ENEMY = TRUE. If both are true, then the name will be taken from the enemies profiles


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6236 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-07-21 17:41:25 +00:00
parent 1b7c69dd0e
commit b967890d45
2 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -927,7 +927,7 @@ BOOLEAN LoadExternalGameplayData(STR directoryName)
if (gGameExternalOptions.fEnemyNames == TRUE && gGameExternalOptions.fEnemyRank == FALSE)
if (gGameExternalOptions.fEnemyNames == TRUE)
{
// Enemy Names Group by Jazz
strcpy(fileName, directoryName);
@@ -980,7 +980,7 @@ BOOLEAN LoadExternalGameplayData(STR directoryName)
}
#endif
if (gGameExternalOptions.fEnemyNames == FALSE && gGameExternalOptions.fEnemyRank == TRUE)
if (gGameExternalOptions.fEnemyRank == TRUE)
{
// Enemy Rank by Jazz
strcpy(fileName, directoryName);