New feature: Diseaes affect your mercenaries. They can be contracted in varíous ways and have varying effects.

For more info, see http://www.ja-galaxy-forum.com/ubbthreads.php/topics/334918#Post334918

Requires GameDir >= r2099.

Does not break savegame compatibility.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7384 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-08-10 13:45:11 +00:00
parent 09244c2369
commit 36e9d15edc
96 changed files with 5569 additions and 1573 deletions
+20
View File
@@ -2998,6 +2998,16 @@ void RenderSMPanel( BOOLEAN *pfDirty )
swprintf( pStr, TacticalStr[ MERC_VITAL_STATS_POPUPTEXT ], gpSMCurrentMerc->stats.bLife, gpSMCurrentMerc->stats.bLifeMax, gpSMCurrentMerc->bBreath, gpSMCurrentMerc->bBreathMax, pMoraleStr );
}
}
{
CHAR16 atStr[500];
swprintf( atStr, L"" );
gpSMCurrentMerc->PrintDiseaseDesc( atStr );
wcscat( pStr, atStr );
}
SetRegionFastHelpText( &(gSM_SELMERCBarsRegion), pStr );
// Buggler: skills/traits tooltip on merc portrait
@@ -5688,6 +5698,16 @@ void RenderTEAMPanel( BOOLEAN fDirty )
swprintf( pStr, TacticalStr[ MERC_VITAL_STATS_POPUPTEXT ], pSoldier->stats.bLife, pSoldier->stats.bLifeMax, pSoldier->bBreath, pSoldier->bBreathMax, pMoraleStr );
}
}
{
CHAR16 atStr[500];
swprintf( atStr, L"" );
pSoldier->PrintDiseaseDesc( atStr );
wcscat( pStr, atStr );
}
SetRegionFastHelpText( &(gTEAM_BarsRegions[ cnt ]), pStr );
// Buggler: skills/traits tooltip on merc portrait