mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Corrected a graphic rendering issue with attachment alignment on the strategic screen.
Corrected a problem with IMP hiring that caused an assertion error when trying to use the last female IMP profile ID. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2292 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-4
@@ -13,12 +13,12 @@
|
|||||||
#ifdef JA2EDITOR
|
#ifdef JA2EDITOR
|
||||||
|
|
||||||
//MAP EDITOR BUILD VERSION
|
//MAP EDITOR BUILD VERSION
|
||||||
CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.2227" };
|
CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.2292" };
|
||||||
|
|
||||||
#elif defined JA2BETAVERSION
|
#elif defined JA2BETAVERSION
|
||||||
|
|
||||||
//BETA/TEST BUILD VERSION
|
//BETA/TEST BUILD VERSION
|
||||||
CHAR16 zVersionLabel[256] = { L"Debug v1.13.2227" };
|
CHAR16 zVersionLabel[256] = { L"Debug v1.13.2292" };
|
||||||
|
|
||||||
#elif defined CRIPPLED_VERSION
|
#elif defined CRIPPLED_VERSION
|
||||||
|
|
||||||
@@ -28,11 +28,11 @@ CHAR16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
//RELEASE BUILD VERSION
|
//RELEASE BUILD VERSION
|
||||||
CHAR16 zVersionLabel[256] = { L"Release v1.13.2240" };
|
CHAR16 zVersionLabel[256] = { L"Release v1.13.2292" };
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CHAR8 czVersionNumber[16] = { "Build 08.07.14" }; //YY.MM.DD
|
CHAR8 czVersionNumber[16] = { "Build 08.08.05" }; //YY.MM.DD
|
||||||
CHAR16 zTrackingNumber[16] = { L"Z" };
|
CHAR16 zTrackingNumber[16] = { L"Z" };
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1031,7 +1031,12 @@ INT32 CountEmptyIMPSlots( INT8 iSex )
|
|||||||
INT32 GetSexOfIMP(INT32 iIMPId)
|
INT32 GetSexOfIMP(INT32 iIMPId)
|
||||||
{
|
{
|
||||||
INT32 ui;
|
INT32 ui;
|
||||||
for (ui = 0; ui < CountIMPSlots(); ++ui)
|
//CHRISL: There is "padding" build into the iaIMPSLots array. The index after the last male and female entry are both set
|
||||||
|
// to -1. The following loop, however, does not take this into consideration. A female IMP using iIMPId 56 will never
|
||||||
|
// get setup correctly, resulting in the "Assert(FALSE)" the occurs after the loop. Since the array is initially setup
|
||||||
|
// by adding 2 to the male/female totals, do the same here.
|
||||||
|
//for (ui = 0; ui < CountIMPSlots(); ++ui)
|
||||||
|
for (ui = 0; ui < CountIMPSlots()+2; ++ui)
|
||||||
{
|
{
|
||||||
if (gGameExternalOptions.iaIMPSlots[ui] == iIMPId)
|
if (gGameExternalOptions.iaIMPSlots[ui] == iIMPId)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -521,10 +521,10 @@ INV_ATTACHXY gItemDescAttachmentsXY[] =
|
|||||||
|
|
||||||
INV_ATTACHXY gMapItemDescAttachmentsXY[] =
|
INV_ATTACHXY gMapItemDescAttachmentsXY[] =
|
||||||
{
|
{
|
||||||
173, 10, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY,
|
171, 10, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY,
|
||||||
211, 10, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY,
|
209, 10, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY,
|
||||||
173, 36, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY,
|
171, 36, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY,
|
||||||
211, 36, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY
|
209, 36, SM_INV_SLOT_HEIGHT, 26, INV_BAR_DX + 2, INV_BAR_DY
|
||||||
};
|
};
|
||||||
|
|
||||||
SGPRect gItemDescProsConsRects[] =
|
SGPRect gItemDescProsConsRects[] =
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStaticDebug.lib ws2_32.lib"
|
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStaticDebug.lib ws2_32.lib"
|
||||||
OutputFile="$(OutDir)\ja2_debug_2240_en.exe"
|
OutputFile="$(OutDir)\ja2_debug_2292_en.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStatic.lib ws2_32.lib"
|
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStatic.lib ws2_32.lib"
|
||||||
OutputFile="$(OutDir)\ja2_release_2240_en.exe"
|
OutputFile="$(OutDir)\ja2_release_2292_en.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStatic.lib ws2_32.lib"
|
AdditionalDependencies="Winmm.lib .\Multiplayer\raknet\RakNetLibStatic.lib ws2_32.lib"
|
||||||
OutputFile="$(OutDir)\Map Editor_2227_en.exe"
|
OutputFile="$(OutDir)\Map Editor_2292_en.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
GenerateMapFile="true"
|
GenerateMapFile="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user