diff --git a/Laptop/personnel.cpp b/Laptop/personnel.cpp index 054f6efd..39cb3f2b 100644 --- a/Laptop/personnel.cpp +++ b/Laptop/personnel.cpp @@ -8778,6 +8778,11 @@ void AssignPersonnelAchievementsHelpText( INT32 ubProfile ) } } } + if ( gMercProfiles[ubProfile].records.usPointsHealed /100 > 0 || fShowRecordsIfZero ) + { + swprintf( atStr, pPersonnelRecordsHelpTexts[53], gMercProfiles[ubProfile].records.usPointsHealed / 100 ); + wcscat( apStr, atStr ); + } if (gMercProfiles[ubProfile].records.usNPCsDiscovered > 0 || fShowRecordsIfZero) { swprintf(atStr, pPersonnelRecordsHelpTexts[ 27 ], gMercProfiles[ubProfile].records.usNPCsDiscovered ); diff --git a/Strategic/Assignments.cpp b/Strategic/Assignments.cpp index 5872852e..335abca3 100644 --- a/Strategic/Assignments.cpp +++ b/Strategic/Assignments.cpp @@ -4258,6 +4258,10 @@ UINT16 HealPatient( SOLDIERTYPE *pPatient, SOLDIERTYPE * pDoctor, UINT16 usHealA AssignmentDone( pPatient, TRUE, TRUE ); } + // add to our records + if ( pDoctor && pDoctor->ubProfile != NO_PROFILE ) + gMercProfiles[pDoctor->ubProfile].records.usPointsHealed += (sHundredsToHeal_Used + sHundredsToRepair_Used + sHundredsToDiseaseCure_Used); + return (sHundredsToHeal_Used + sHundredsToRepair_Used + sHundredsToDiseaseCure_Used); } diff --git a/Tactical/soldier profile type.h b/Tactical/soldier profile type.h index 4fb926b7..815e88af 100644 --- a/Tactical/soldier profile type.h +++ b/Tactical/soldier profile type.h @@ -447,9 +447,8 @@ public: UINT32 usDamageTaken; UINT32 usDamageDealt; UINT16 usTimesInfected; - UINT16 zFiller7; - UINT16 zFiller8; - UINT8 zFiller9; + UINT16 zFiller7; + UINT32 usPointsHealed; // we store the healed hundreth, because we can }; // RECORDS ////////////////////////////////////////////////////////////////////////////// diff --git a/Utils/_ChineseText.cpp b/Utils/_ChineseText.cpp index 1d042020..bdfa2532 100644 --- a/Utils/_ChineseText.cpp +++ b/Utils/_ChineseText.cpp @@ -3087,6 +3087,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_DutchText.cpp b/Utils/_DutchText.cpp index 1a22549f..98aeba85 100644 --- a/Utils/_DutchText.cpp +++ b/Utils/_DutchText.cpp @@ -3087,6 +3087,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_EnglishText.cpp b/Utils/_EnglishText.cpp index f179d098..77fe251d 100644 --- a/Utils/_EnglishText.cpp +++ b/Utils/_EnglishText.cpp @@ -3087,6 +3087,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_FrenchText.cpp b/Utils/_FrenchText.cpp index 49cde48c..83abf144 100644 --- a/Utils/_FrenchText.cpp +++ b/Utils/_FrenchText.cpp @@ -3095,6 +3095,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_GermanText.cpp b/Utils/_GermanText.cpp index 2955c53d..42c4eeda 100644 --- a/Utils/_GermanText.cpp +++ b/Utils/_GermanText.cpp @@ -3103,6 +3103,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_ItalianText.cpp b/Utils/_ItalianText.cpp index 828e6970..72e4ed2d 100644 --- a/Utils/_ItalianText.cpp +++ b/Utils/_ItalianText.cpp @@ -3083,6 +3083,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_PolishText.cpp b/Utils/_PolishText.cpp index f37345aa..a7015a5d 100644 --- a/Utils/_PolishText.cpp +++ b/Utils/_PolishText.cpp @@ -3093,6 +3093,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", }; diff --git a/Utils/_RussianText.cpp b/Utils/_RussianText.cpp index 79bf79d2..120a2eab 100644 --- a/Utils/_RussianText.cpp +++ b/Utils/_RussianText.cpp @@ -3087,6 +3087,7 @@ STR16 pPersonnelRecordsHelpTexts[] = L"Diseases caught: %d\n", L"Total damage received: %d\n", L"Total damage caused: %d\n", + L"Total healing: %d\n", };