- added VS2005 compability fix from Space Viking

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@766 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2007-03-10 18:46:57 +00:00
parent 9971b56b0e
commit 3f37673034
110 changed files with 477 additions and 439 deletions
+18 -18
View File
@@ -118,13 +118,13 @@ STR16 pCreditsJA2113[] =
L"@};(All other community members who contributed input and feedback!)",
};
UINT16 ItemNames[MAXITEMS][80] =
wchar_t ItemNames[MAXITEMS][80] =
{
L"",
};
UINT16 ShortItemNames[MAXITEMS][80] =
wchar_t ShortItemNames[MAXITEMS][80] =
{
L"",
};
@@ -134,7 +134,7 @@ UINT16 ShortItemNames[MAXITEMS][80] =
// NATO is the North Atlantic Treaty Organization
// WP is Warsaw Pact
// cal is an abbreviation for calibre
UINT16 AmmoCaliber[MAXITEMS][20];// =
wchar_t AmmoCaliber[MAXITEMS][20];// =
//{
// L"0",
// L".38 cal",
@@ -164,7 +164,7 @@ UINT16 AmmoCaliber[MAXITEMS][20];// =
// NATO is the North Atlantic Treaty Organization
// WP is Warsaw Pact
// cal is an abbreviation for calibre
UINT16 BobbyRayAmmoCaliber[MAXITEMS][20] ;//=
wchar_t BobbyRayAmmoCaliber[MAXITEMS][20] ;//=
//{
// L"0",
// L".38 cal",
@@ -188,7 +188,7 @@ UINT16 BobbyRayAmmoCaliber[MAXITEMS][20] ;//=
//};
UINT16 WeaponType[MAXITEMS][30] =
wchar_t WeaponType[MAXITEMS][30] =
{
L"Other",
L"Pistol",
@@ -201,7 +201,7 @@ UINT16 WeaponType[MAXITEMS][30] =
L"Shotgun",
};
UINT16 TeamTurnString[][STRING_LENGTH] =
wchar_t TeamTurnString[][STRING_LENGTH] =
{
L"Player's Turn", // player's turn
L"Opponents' Turn",
@@ -211,7 +211,7 @@ UINT16 TeamTurnString[][STRING_LENGTH] =
// planning turn
};
UINT16 Message[][STRING_LENGTH] =
wchar_t Message[][STRING_LENGTH] =
{
L"",
@@ -1079,7 +1079,7 @@ STR16 sKeyDescriptionStrings[2] =
//The headers used to describe various weapon statistics.
INT16 gWeaponStatsDesc[][ 14 ] =
wchar_t gWeaponStatsDesc[][ 14 ] =
{
L"Weight (%s):",
L"Status:",
@@ -1102,7 +1102,7 @@ INT16 gWeaponStatsDesc[][ 14 ] =
//The headers used for the merc's money.
INT16 gMoneyStatsDesc[][ 13 ] =
wchar_t gMoneyStatsDesc[][ 13 ] =
{
L"Amount",
L"Remaining:", //this is the overall balance
@@ -1118,7 +1118,7 @@ INT16 gMoneyStatsDesc[][ 13 ] =
//The health of various creatures, enemies, characters in the game. The numbers following each are for comment
//only, but represent the precentage of points remaining.
UINT16 zHealthStr[][13] =
wchar_t zHealthStr[][13] =
{
L"DYING", // >= 0
L"CRITICAL", // >= 15
@@ -1140,18 +1140,18 @@ STR16 gzMoneyAmounts[6] =
};
// short words meaning "Advantages" for "Pros" and "Disadvantages" for "Cons."
INT16 gzProsLabel[10] =
wchar_t gzProsLabel[10] =
{
L"Pros:",
};
INT16 gzConsLabel[10] =
wchar_t gzConsLabel[10] =
{
L"Cons:",
};
//Conversation options a player has when encountering an NPC
UINT16 zTalkMenuStrings[6][ SMALL_STRING_LENGTH ] =
wchar_t zTalkMenuStrings[6][ SMALL_STRING_LENGTH ] =
{
L"Come Again?", //meaning "Repeat yourself"
L"Friendly", //approach in a friendly
@@ -1162,7 +1162,7 @@ UINT16 zTalkMenuStrings[6][ SMALL_STRING_LENGTH ] =
};
//Some NPCs buy, sell or repair items. These different options are available for those NPCs as well.
UINT16 zDealerStrings[4][ SMALL_STRING_LENGTH ]=
wchar_t zDealerStrings[4][ SMALL_STRING_LENGTH ]=
{
L"Buy/Sell",
L"Buy",
@@ -1170,7 +1170,7 @@ UINT16 zDealerStrings[4][ SMALL_STRING_LENGTH ]=
L"Repair",
};
UINT16 zDialogActions[1][ SMALL_STRING_LENGTH ] =
wchar_t zDialogActions[1][ SMALL_STRING_LENGTH ] =
{
L"Done",
};
@@ -1211,7 +1211,7 @@ STR16 zVehicleName[] =
//These are messages Used in the Tactical Screen
UINT16 TacticalStr[][ MED_STRING_LENGTH ] =
wchar_t TacticalStr[][ MED_STRING_LENGTH ] =
{
L"Air Raid",
L"Apply first aid automatically?",
@@ -2550,7 +2550,7 @@ STR16 pUpdatePanelButtons[] =
// Text which appears when everyone on your team is incapacitated and incapable of battle
UINT16 LargeTacticalStr[][ LARGE_STRING_LENGTH ] =
wchar_t LargeTacticalStr[][ LARGE_STRING_LENGTH ] =
{
L"You have been defeated in this sector!",
L"The enemy, having no mercy for the team's soul, devours each and every one of you!",
@@ -3792,7 +3792,7 @@ STR16 pMessageStrings[] =
};
UINT16 ItemPickupHelpPopup[][40] =
wchar_t ItemPickupHelpPopup[][40] =
{
L"OK",
L"Scroll Up",