diff --git a/GameVersion.cpp b/GameVersion.cpp index 480122b9..a7257ecd 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" }; #else //RELEASE BUILD VERSION - INT16 zVersionLabel[256] = { L"Release v1.13.170" }; + INT16 zVersionLabel[256] = { L"Release v1.13.174" }; #endif diff --git a/JA2.vcproj b/JA2.vcproj index 77230029..0c127830 100644 --- a/JA2.vcproj +++ b/JA2.vcproj @@ -43,7 +43,7 @@ 0) + { + swprintf( (wchar_t *)apStr2, L" / %d", ubAttackAPs + CalcAPsToBurst( DEFAULT_APS, pObject ) ); + wcscat( apStr, apStr2 ); + } + else + { + wcscat( apStr, L" / -" ); + } + + if (GetAutofireShotsPerFiveAPs(pObject) > 0) + { + swprintf( (wchar_t *)apStr2, L" / %d", ubAttackAPs + CalcAPsToAutofire( DEFAULT_APS, pObject, 3 ) ); + wcscat( apStr, apStr2 ); + } + else + { + wcscat( apStr, L" / -" ); + } + + //Info for weapons + swprintf( (wchar_t *)pStr, L"%s [%d%%]\n%s %d\n%s %d\n%s %d (%d)\n%s %s\n%s %1.1f %s", + ItemNames[ usItem ], + sValue, + gWeaponStatsDesc[ 9 ], //Accuracy String + Weapon[ usItem ].bAccuracy, + gWeaponStatsDesc[ 11 ], //Damage String + GetDamage(pObject), + gWeaponStatsDesc[ 10 ], //Range String + GunRange( pObject ), //Modified Range + Weapon[ usItem ].usRange, //Gun Range gWeaponStatsDesc[ 5 ], //AP String apStr, //AP's gWeaponStatsDesc[ 12 ], //Weight String