mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Updated tooltip code
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@539 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -538,6 +538,7 @@ void LoadGameExternalOptions()
|
||||
// ShadoWarrior: Tooltip changes (start)
|
||||
gGameExternalOptions.ubSoldierTooltipDetailLevel = iniReader.ReadInteger("JA2 Tactical Settings", "SOLDIER_TOOLTIP_DETAIL_LEVEL", 2);
|
||||
|
||||
gGameExternalOptions.fEnableDynamicSoldierTooltips = iniReader.ReadBoolean("JA2 Tactical Settings", "DYNAMIC_SOLDIER_TOOLTIPS", TRUE);
|
||||
gGameExternalOptions.fEnableSoldierTooltipLocation = iniReader.ReadBoolean("JA2 Tactical Settings", "SOLDIER_TOOLTIP_DISPLAY_LOCATION", TRUE);
|
||||
gGameExternalOptions.fEnableSoldierTooltipBrightness = iniReader.ReadBoolean("JA2 Tactical Settings", "SOLDIER_TOOLTIP_DISPLAY_BRIGHTNESS", TRUE);
|
||||
gGameExternalOptions.fEnableSoldierTooltipRangeToTarget = iniReader.ReadBoolean("JA2 Tactical Settings", "SOLDIER_TOOLTIP_DISPLAY_RANGE_TO_TARGET", TRUE);
|
||||
|
||||
@@ -143,6 +143,7 @@ typedef struct
|
||||
BOOLEAN fSellAll;
|
||||
INT16 iPriceModifier;
|
||||
|
||||
INT32 iMaxIMPMaleCharacters;
|
||||
INT32 iMaxIMPCharacters;
|
||||
INT32 iMinAttribute;
|
||||
INT32 iMaxAttribute;
|
||||
@@ -350,6 +351,7 @@ typedef struct
|
||||
// ShadoWarrior: Tooltip changes (start)
|
||||
UINT8 ubSoldierTooltipDetailLevel;
|
||||
|
||||
BOOLEAN fEnableDynamicSoldierTooltips;
|
||||
BOOLEAN fEnableSoldierTooltipLocation;
|
||||
BOOLEAN fEnableSoldierTooltipBrightness;
|
||||
BOOLEAN fEnableSoldierTooltipRangeToTarget;
|
||||
|
||||
+2
-2
@@ -23,12 +23,12 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
||||
#else
|
||||
|
||||
//RELEASE BUILD VERSION
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.536" };
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.538" };
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
INT8 czVersionNumber[16] = { "Build 06.09.18" };
|
||||
INT8 czVersionNumber[16] = { "Build 06.09.19" };
|
||||
INT16 zTrackingNumber[16] = { L"Z" };
|
||||
|
||||
|
||||
|
||||
@@ -49,8 +49,7 @@ void SoldierTooltip( SOLDIERTYPE* pSoldier )
|
||||
if ( gusSelectedSoldier != NOBODY )
|
||||
iRangeToTarget = GetRangeInCellCoordsFromGridNoDiff( MercPtrs[ gusSelectedSoldier ]->sGridNo, sSoldierGridNo ) / 10;
|
||||
|
||||
// WANNE NEW
|
||||
//if ( gGameExternalOptions.fEnableDynamicSoldierTooltips )
|
||||
if ( gGameExternalOptions.fEnableDynamicSoldierTooltips )
|
||||
{
|
||||
for ( INT32 cnt = 0; cnt < MAX_ATTACHMENTS; cnt++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user