New feature: militia resources requires the player to convert items to resources to be able to train and promote militia

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8271 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-07-15 19:33:44 +00:00
parent 5dcfe09a77
commit 7a34e9a154
21 changed files with 711 additions and 105 deletions
+3
View File
@@ -2974,6 +2974,9 @@ extern STR16 szWeatherTypeText[];
// Flugente: snakes
extern STR16 szSnakeText[];
// Flugente: militia resources
extern STR16 szSMilitiaResourceText[];
#define TACTICAL_INVENTORY_DIALOG_NUM 16
#define TACTICAL_COVER_DIALOG_NUM 16
+12 -1
View File
@@ -10984,7 +10984,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"第%d小队", //L"Group %d",
L"最终", //L"Final",
L"民兵的志愿者: %d (+%5.3f)", //L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)", // TODO.Translate
};
STR16 szEnemyHeliText[] = // TODO.Translate
@@ -11148,6 +11148,17 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
// WANNE: Some Chinese specific strings that needs to be in unicode!
STR16 ChineseSpecString1 = L"%"; //defined in _ChineseText.cpp as this file is already unicode
STR16 ChineseSpecString2 = L"*%3d%%%"; //defined in _ChineseText.cpp as this file is already unicode
+12 -1
View File
@@ -11001,7 +11001,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Group %d",
L"Final",
L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)",
};
STR16 szEnemyHeliText[] = // TODO.Translate
@@ -11165,4 +11165,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //DUTCH
+12 -1
View File
@@ -10984,7 +10984,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Group %d",
L"Final",
L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)",
};
STR16 szEnemyHeliText[] =
@@ -11148,4 +11148,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //ENGLISH
+12 -1
View File
@@ -10983,7 +10983,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Group %d",
L"Final",
L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)",
};
STR16 szEnemyHeliText[] = // TODO.Translate
@@ -11147,4 +11147,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //FRENCH
+12 -1
View File
@@ -10813,7 +10813,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Group %d",
L"Final",
L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)",
};
STR16 szEnemyHeliText[] = // TODO.Translate
@@ -10977,4 +10977,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //GERMAN
+12 -1
View File
@@ -10992,7 +10992,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Group %d",
L"Final",
L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)",
};
STR16 szEnemyHeliText[] = // TODO.Translate
@@ -11156,4 +11156,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //ITALIAN
+12 -1
View File
@@ -11005,7 +11005,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Group %d",
L"Final",
L"Militia Volunteers: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)",
};
STR16 szEnemyHeliText[] = // TODO.Translate
@@ -11169,4 +11169,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //POLISH
+12 -1
View File
@@ -10984,7 +10984,7 @@ STR16 szMilitiaStrategicMovementText[] =
L"Группа %d",
L"Final",
L"Ополченцы добровольцы: %d (+%5.3f)",
L"Volunteers: %d (+%5.3f)", // TODO.Translate
};
STR16 szEnemyHeliText[] =
@@ -11148,4 +11148,15 @@ STR16 szSnakeText[] =
L"%s was attacked by a snake!",
};
STR16 szSMilitiaResourceText[] =
{
L"Converted %s into resources",
L"Guns: ",
L"Armour: ",
L"Misc: ",
L"There are no volunteers left for militia!",
L"Not enough resources to train militia!",
};
#endif //RUSSIAN