Expanded feature: Militia Strategic Movement is turned on with ALLOW_MILITIA_STRATEGIC_COMMAND set to TRUE and allows plotting paths for the militia just like for merc squads.

GameDir >= r2204 is recommended.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7727 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2015-02-08 22:11:16 +00:00
parent c94ac421ae
commit c9bcf90966
47 changed files with 3156 additions and 1322 deletions
+3
View File
@@ -2902,6 +2902,9 @@ extern STR16 szIMPGearWebSiteText[];
extern STR16 szIMPGearDropDownText[];
extern STR16 szIMPGearDropDownNoneText[];
// Flugente: militia movement
extern STR16 szMilitiaStrategicMovementText[];
#define TACTICAL_INVENTORY_DIALOG_NUM 16
#define TACTICAL_COVER_DIALOG_NUM 16
+2 -1
View File
@@ -124,6 +124,7 @@ extern INT32 giFlashHighlightedItemBaseTime;
//extern INT32 giCompatibleItemBaseTime;//Moa:removed (see HandleMouseInCompatableItemForMapSectorInventory)
extern INT32 giAnimateRouteBaseTime;
extern INT32 giPotHeliPathBaseTime;
extern INT32 giPotMilitiaPathBaseTime;
extern INT32 giClickHeliIconBaseTime;
extern INT32 giExitToTactBaseTime;
extern UINT32 guiSectorLocatorBaseTime;
@@ -540,12 +541,12 @@ void ResetJA2ClockGlobalTimers( void )
{
UINT32 uiCurrentTime = GetJA2Clock();
guiCompressionStringBaseTime = uiCurrentTime;
giFlashHighlightedItemBaseTime = uiCurrentTime;
//giCompatibleItemBaseTime = uiCurrentTime;//Moa: removed (see HandleMouseInCompatableItemForMapSectorInventory)
giAnimateRouteBaseTime = uiCurrentTime;
giPotHeliPathBaseTime = uiCurrentTime;
giPotMilitiaPathBaseTime = uiCurrentTime;
giClickHeliIconBaseTime = uiCurrentTime;
giExitToTactBaseTime = uiCurrentTime;
guiSectorLocatorBaseTime = uiCurrentTime;
+12
View File
@@ -10029,6 +10029,18 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
// 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
View File
@@ -10040,4 +10040,16 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //DUTCH
+12
View File
@@ -10078,4 +10078,16 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //ENGLISH
+12
View File
@@ -10026,4 +10026,16 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //FRENCH
+12
View File
@@ -9857,4 +9857,16 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //GERMAN
+12
View File
@@ -10036,4 +10036,16 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //ITALIAN
+12
View File
@@ -10051,4 +10051,16 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //POLISH
+12
View File
@@ -10024,5 +10024,17 @@ STR16 szIMPGearDropDownNoneText[] =
L"No additional items",
};
STR16 szMilitiaStrategicMovementText[] =
{
L"We cannot relay orders to this sector, militia command not possible.",
L"Unassigned",
L"Group No.",
L"Next",
L"ETA",
L"Group %d (new)",
L"Group %d",
};
#endif //RUSSIAN