mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Do not use a "Tab" instead "Space" in the text messages. We don't have symbol for button "Tab" in the fonts, so when we use it in the text the game show "A"
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7975 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -737,8 +737,8 @@ void ValidatePendingGroups()
|
|||||||
if( iErrorsForInvalidPendingGroup )
|
if( iErrorsForInvalidPendingGroup )
|
||||||
{
|
{
|
||||||
CHAR16 str[256];
|
CHAR16 str[256];
|
||||||
swprintf( str, L"Strategic AI: Internal error -- %d pending groups were discovered to be invalid. Please report error and send save."
|
swprintf( str, L"Strategic AI: Internal error -- %d pending groups were discovered to be invalid. Please report error and send save."
|
||||||
L"You can continue playing, as this has been auto-corrected. No need to send any debug files.", iErrorsForInvalidPendingGroup );
|
L"You can continue playing, as this has been auto-corrected. No need to send any debug files.", iErrorsForInvalidPendingGroup );
|
||||||
SAIReportError( str );
|
SAIReportError( str );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -772,8 +772,8 @@ void ValidateWeights( INT32 iID )
|
|||||||
if( giReinforcementPoints != iSumReinforcementPoints || giRequestPoints != iSumRequestPoints )
|
if( giReinforcementPoints != iSumReinforcementPoints || giRequestPoints != iSumRequestPoints )
|
||||||
{
|
{
|
||||||
CHAR16 str[256];
|
CHAR16 str[256];
|
||||||
swprintf( str, L"Strategic AI: Internal error #%02d (total request/reinforcement points). Please report error including error#. "
|
swprintf( str, L"Strategic AI: Internal error #%02d (total request/reinforcement points). Please report error including error#."
|
||||||
L"You can continue playing, as the points have been auto-corrected. No need to send any save/debug files.", iID );
|
L"You can continue playing, as the points have been auto-corrected. No need to send any save/debug files.", iID );
|
||||||
//Correct the misalignment.
|
//Correct the misalignment.
|
||||||
giReinforcementPoints = iSumReinforcementPoints;
|
giReinforcementPoints = iSumReinforcementPoints;
|
||||||
giRequestPoints = iSumRequestPoints;
|
giRequestPoints = iSumRequestPoints;
|
||||||
@@ -799,7 +799,7 @@ DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"Strategic2");
|
|||||||
#ifdef JA2BETAVERSION
|
#ifdef JA2BETAVERSION
|
||||||
{
|
{
|
||||||
CHAR16 str[256];
|
CHAR16 str[256];
|
||||||
swprintf( str, L"Strategic AI: Internal error (invalid enemy group #%d location at %c%d, destination %c%d). Please send PRIOR save file and Strategic Decisions.txt.",
|
swprintf( str, L"Strategic AI: Internal error (invalid enemy group #%d location at %c%d, destination %c%d). Please send PRIOR save file and Strategic Decisions.txt.",
|
||||||
pGroup->ubGroupID, pGroup->ubSectorY + 'A' - 1, pGroup->ubSectorX, pGroup->ubNextY + 'A' - 1, pGroup->ubNextX );
|
pGroup->ubGroupID, pGroup->ubSectorY + 'A' - 1, pGroup->ubSectorX, pGroup->ubNextY + 'A' - 1, pGroup->ubNextX );
|
||||||
SAIReportError( str );
|
SAIReportError( str );
|
||||||
}
|
}
|
||||||
@@ -829,7 +829,7 @@ DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"Strategic2");
|
|||||||
if( pGroup->pEnemyGroup->ubNumAdmins + pGroup->pEnemyGroup->ubNumTroops + pGroup->pEnemyGroup->ubNumElites + pGroup->pEnemyGroup->ubNumTanks != pGroup->ubGroupSize ||
|
if( pGroup->pEnemyGroup->ubNumAdmins + pGroup->pEnemyGroup->ubNumTroops + pGroup->pEnemyGroup->ubNumElites + pGroup->pEnemyGroup->ubNumTanks != pGroup->ubGroupSize ||
|
||||||
pGroup->ubGroupSize > iMaxEnemyGroupSize )
|
pGroup->ubGroupSize > iMaxEnemyGroupSize )
|
||||||
{
|
{
|
||||||
SAIReportError( L"Strategic AI: Internal error (bad group populations). Please send PRIOR save file and Strategic Decisions.txt." );
|
SAIReportError( L"Strategic AI: Internal error (bad group populations). Please send PRIOR save file and Strategic Decisions.txt." );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -841,8 +841,8 @@ void ValidateLargeGroup( GROUP *pGroup )
|
|||||||
if( pGroup->ubGroupSize > 25 )
|
if( pGroup->ubGroupSize > 25 )
|
||||||
{
|
{
|
||||||
CHAR16 str[ 512 ];
|
CHAR16 str[ 512 ];
|
||||||
swprintf( str, L"Strategic AI warning: Enemy group containing %d soldiers "
|
swprintf( str, L"Strategic AI warning: Enemy group containing %d soldiers "
|
||||||
L"(%d admins, %d troops, %d elites) in sector %c%d. This message is a temporary test message "
|
L"(%d admins, %d troops, %d elites) in sector %c%d. This message is a temporary test message "
|
||||||
L"to evaluate a potential problems with very large enemy groups.",
|
L"to evaluate a potential problems with very large enemy groups.",
|
||||||
pGroup->ubGroupSize, pGroup->pEnemyGroup->ubNumAdmins, pGroup->pEnemyGroup->ubNumTroops, pGroup->pEnemyGroup->ubNumElites,
|
pGroup->ubGroupSize, pGroup->pEnemyGroup->ubNumAdmins, pGroup->pEnemyGroup->ubNumTroops, pGroup->pEnemyGroup->ubNumElites,
|
||||||
pGroup->ubSectorY + 'A' - 1, pGroup->ubSectorX );
|
pGroup->ubSectorY + 'A' - 1, pGroup->ubSectorX );
|
||||||
@@ -2313,7 +2313,7 @@ DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"Strategic5");
|
|||||||
UINT8 ubCut;
|
UINT8 ubCut;
|
||||||
#ifdef JA2BETAVERSION
|
#ifdef JA2BETAVERSION
|
||||||
CHAR16 str[512];
|
CHAR16 str[512];
|
||||||
swprintf( str, L"Patrol group #%d in %c%d received too many reinforcements from group #%d that was created in %c%d. Size truncated from %d to %d."
|
swprintf( str, L"Patrol group #%d in %c%d received too many reinforcements from group #%d that was created in %c%d. Size truncated from %d to %d."
|
||||||
L"Please send Strategic Decisions.txt and PRIOR save.",
|
L"Please send Strategic Decisions.txt and PRIOR save.",
|
||||||
pPatrolGroup->ubGroupID, pPatrolGroup->ubSectorY + 'A' - 1, pPatrolGroup->ubSectorX,
|
pPatrolGroup->ubGroupID, pPatrolGroup->ubSectorY + 'A' - 1, pPatrolGroup->ubSectorX,
|
||||||
pGroup->ubGroupID, SECTORY( pGroup->ubCreatedSectorID ) + 'A' - 1, SECTORX( pGroup->ubCreatedSectorID ),
|
pGroup->ubGroupID, SECTORY( pGroup->ubCreatedSectorID ) + 'A' - 1, SECTORX( pGroup->ubCreatedSectorID ),
|
||||||
|
|||||||
Reference in New Issue
Block a user