diff --git a/Tactical/Handle UI.cpp b/Tactical/Handle UI.cpp index 724cab535..31252065e 100644 --- a/Tactical/Handle UI.cpp +++ b/Tactical/Handle UI.cpp @@ -85,12 +85,7 @@ #include "Map Information.h" #include "Soldier Control.h" #include "DisplayCover.h" - //ddd optimization of enemy turn - #include "aiinternals.h" - //#include "los.h" - //#include "structure wrap.h" - //#include "DisplayCover.h" - //ddd optimization of enemy turn +#include "english.h" // sevenfm: this is needed for _keydown(SHIFT) to work #endif #include "teamturns.h" @@ -5945,7 +5940,8 @@ BOOLEAN HandleMultiSelectionMove( INT32 sDestGridNo ) INT32 sIndividualDestGridNo = sDestGridNo; // Flugente: determine offset to current center gridno - if ( gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS] ) + // sevenfm: use SHIFT key to move in formation + if (_KeyDown(SHIFT) || gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS]) { INT32 currentX = pSoldier->sGridNo % MAXCOL; INT32 currentY = pSoldier->sGridNo / MAXCOL; diff --git a/Tactical/Turn Based Input.cpp b/Tactical/Turn Based Input.cpp index 37a645da6..24e7bdc2b 100644 --- a/Tactical/Turn Based Input.cpp +++ b/Tactical/Turn Based Input.cpp @@ -3471,7 +3471,7 @@ void GetKeyboardInput( UINT32 *puiNewEvent ) case 'g': if( fCtrl && fAlt ) { - HandlePlayerTogglingLightEffects( TRUE ); + HandleTBToggleFormation(); } else if( fCtrl ) { @@ -3497,7 +3497,7 @@ void GetKeyboardInput( UINT32 *puiNewEvent ) } else { - HandleTBToggleFormation(); + HandlePlayerTogglingLightEffects(TRUE); } break; diff --git a/Utils/_ChineseText.cpp b/Utils/_ChineseText.cpp index b4deed566..0ee3f641b 100644 --- a/Utils/_ChineseText.cpp +++ b/Utils/_ChineseText.cpp @@ -6428,7 +6428,7 @@ STR16 zOptionsScreenHelpText[] = L"打开时,使用公制系统,否则使用英制系统。", //Merc Lighted movement - L"打开时,佣兵移动时会照亮地表(关闭这个选项会使游戏的显示速度变快)。\n切换虚拟佣兵光照。 (|C|t|r|l+|A|l|t+|G)", + L"打开时,佣兵移动时会照亮地表(关闭这个选项会使游戏的显示速度变快)。\n切换虚拟佣兵光照。 (|G)", //Smart cursor L"打开时,光标移动到佣兵身上时会高亮显示佣兵。", @@ -6482,7 +6482,7 @@ STR16 zOptionsScreenHelpText[] = L"打开时,会直接显示该区域最后一个敌人的大致位置。", L"打开时,在区域物品栏界面,右键点击装有物品的携行具时可直接显示包含的物品。", L"打开时,反转鼠标滚轮方向。", - L"当选择了多个佣兵,他们在前进时会保持彼此的间距。(|G)", // L"When multiple mercs are selected, they will try to keep their relative distances while moving. (|C|t|r|l+|S|h|i|f|t+|G)", + L"当选择了多个佣兵,他们在前进时会保持彼此的间距。(|C|t|r|l+|A|l|t+|G)", // L"When multiple mercs are selected, they will try to keep their relative distances while moving. (|C|t|r|l+|S|h|i|f|t+|G)", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"强制 Bobby Ray 出货", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_DutchText.cpp b/Utils/_DutchText.cpp index 99cf00dac..57316da3e 100644 --- a/Utils/_DutchText.cpp +++ b/Utils/_DutchText.cpp @@ -6435,7 +6435,7 @@ STR16 zOptionsScreenHelpText[] = L"Wanneer INGESCHAKELD wordt het metrieke stelsel gebruikt, anders het Imperiale stelsel.", //Merc Lighted movement - L"Wanneer INGESCHAKELD, de huurling verlicht de grond tijdens het lopen. Schakel UIT voor sneller spelen.\nToggle artificial merc light. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate + L"Wanneer INGESCHAKELD, de huurling verlicht de grond tijdens het lopen. Schakel UIT voor sneller spelen.\nToggle artificial merc light. (|G)", // TODO.Translate //Smart cursor L"Wanneer INGESCHAKELD zullen huurlingen dichtbij de cursor automatisch oplichten.", @@ -6489,7 +6489,7 @@ STR16 zOptionsScreenHelpText[] = L"When ON, approximate locations of the last enemies in the sector are highlighted.", // TODO.Translate L"When ON, show the contents of an LBE item, otherwise show the regular NAS interface.", // TODO.Translate L"When ON, inverts mouse wheel directions.", // TODO.Translate - L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|G)", // TODO.Translate + L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Force all pending Bobby Ray shipments", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_EnglishText.cpp b/Utils/_EnglishText.cpp index 443c9107a..a74bd9178 100644 --- a/Utils/_EnglishText.cpp +++ b/Utils/_EnglishText.cpp @@ -6428,7 +6428,7 @@ STR16 zOptionsScreenHelpText[] = L"When ON, uses the metric system for measurements; otherwise it uses the Imperial system.", //Merc Lighted movement - L"When ON, the merc will light the ground while walking. Turn OFF for faster frame rate.\nToggle artificial merc light. (|C|t|r|l+|A|l|t+|G)", + L"When ON, the merc will light the ground while walking. Turn OFF for faster frame rate.\nToggle artificial merc light. (|G)", //Smart cursor L"When ON, moving the cursor near your mercs will automatically highlight them.", @@ -6482,7 +6482,7 @@ STR16 zOptionsScreenHelpText[] = L"When ON, approximate locations of the last enemies in the sector will be highlighted.", L"When ON, will show the contents of an LBE item; otherwise, regular NAS interface will be shown.", L"When ON, inverts mouse wheel directions.", - L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|G)", + L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|C|t|r|l+|A|l|t+|G)", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Force all pending Bobby Ray shipments", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_FrenchText.cpp b/Utils/_FrenchText.cpp index d31758de8..6469ef5ae 100644 --- a/Utils/_FrenchText.cpp +++ b/Utils/_FrenchText.cpp @@ -6440,7 +6440,7 @@ STR16 zOptionsScreenHelpText[] = L"Activez cette option pour que le jeu utilise le système métrique.", //Merc Lighted movement - L"Activez cette option pour éclairer les environs des mercenaires.Désactivez-la, si votre machine n'est pas suffisamment puissante.\nBasculera éclairage du mercenaire. (|C|T|R|L+|A|L|T+|G)", + L"Activez cette option pour éclairer les environs des mercenaires.Désactivez-la, si votre machine n'est pas suffisamment puissante.\nBasculera éclairage du mercenaire. (|G)", //Smart cursor L"Activez cette option pour que le curseur se positionne directement sur un mercenaire quand il est à proximité.", @@ -6493,7 +6493,7 @@ STR16 zOptionsScreenHelpText[] = L"Si activé, la zone où se trouve le reste des ennemis dans le secteur, est mis en évidence.", L"Si activé, montre le contenu d'un élément LBE quand la fenêtre de description est ouverte.", L"Si activé, inverse le sens de la molette de la souris.", - L"Lorsque plusieurs mercenaires sont sélectionnés, ils vont garder leurs distances en se déplaçant. (|G)", + L"Lorsque plusieurs mercenaires sont sélectionnés, ils vont garder leurs distances en se déplaçant. (|C|t|r|l+|A|l|t+|G)", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Forcer tous les envois en attente de Bobby Ray", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_GermanText.cpp b/Utils/_GermanText.cpp index bd9448733..60981ed4f 100644 --- a/Utils/_GermanText.cpp +++ b/Utils/_GermanText.cpp @@ -6279,7 +6279,7 @@ STR16 zOptionsScreenHelpText[] = L"Mit dieser Option wird im Spiel das metrische anstelle des imperialen Maßsystems verwendet (z.B. Meter und Kilogramm).", //Merc Lighted movement - L"Diese Funktion beleuchtet für den Spieler die Umgebung des Söldners - auch beim Bewegen. AUSgeschaltet erhöht sich die Bildwiederholrate.\nToggle artificial merc light. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate + L"Diese Funktion beleuchtet für den Spieler die Umgebung des Söldners - auch beim Bewegen. AUSgeschaltet erhöht sich die Bildwiederholrate.\nToggle artificial merc light. (|G)", // TODO.Translate //Smart cursor L"Wenn diese Funktion aktiviert ist, springt der Cursor immer automatisch auf Söldner in seiner direkten Nähe.", @@ -6333,7 +6333,7 @@ STR16 zOptionsScreenHelpText[] = L"Wenn diese Funktion aktiviert ist, wird die ungefähre Postion der verbleibenden Feinde auf der Übersichtskarte schraffiert", L"Wenn diese Funktion aktiviert ist, wird in der erweiterten Beschreibung von Tashen statt den Anbauteilen deren Inhalt angezeigt.", L"Wenn diese Funktion aktiviert ist, wird die Mausradrichtung umgekehrt", - L"Wenn diese Funktion aktiviert ist und mehrere Sölnder ausgewählt sind, werden sich diese in Formation (in relativen Abständen zueinander) bewegen. (|G)", + L"Wenn diese Funktion aktiviert ist und mehrere Sölnder ausgewählt sind, werden sich diese in Formation (in relativen Abständen zueinander) bewegen. (|C|t|r|l+|A|l|t+|G)", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Force all pending Bobby Ray shipments", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_ItalianText.cpp b/Utils/_ItalianText.cpp index 59221120f..a4c601750 100644 --- a/Utils/_ItalianText.cpp +++ b/Utils/_ItalianText.cpp @@ -6418,7 +6418,7 @@ STR16 zOptionsScreenHelpText[] = L"Se attivata, utilizza il sistema metrico di misurazione; altrimenti ricorre al sistema britannico.", //Merc Lighted movement - L"Se attivata, il mercenario mostrerà il terreno su cui cammina. Disattivatela per un aggiornamento più veloce.\nToggle artificial merc light. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate + L"Se attivata, il mercenario mostrerà il terreno su cui cammina. Disattivatela per un aggiornamento più veloce.\nToggle artificial merc light. (|G)", // TODO.Translate //Smart cursor L"Se attivata, muovendo il cursore vicino ai vostri mercenari li evidenzierà automaticamente.", @@ -6472,7 +6472,7 @@ STR16 zOptionsScreenHelpText[] = L"When ON, approximate locations of the last enemies in the sector are highlighted.", // TODO.Translate L"When ON, show the contents of an LBE item, otherwise show the regular NAS interface.", // TODO.Translate L"When ON, inverts mouse wheel directions.", // TODO.Translate - L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|G)", // TODO.Translate + L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Force all pending Bobby Ray shipments", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_PolishText.cpp b/Utils/_PolishText.cpp index 789eeebba..bd43fa5e2 100644 --- a/Utils/_PolishText.cpp +++ b/Utils/_PolishText.cpp @@ -6437,7 +6437,7 @@ STR16 zOptionsScreenHelpText[] = L"Jeśli WŁĄCZONE, gra będzie używała systemu metrycznego.", //Merc Lighted movement - L"Jeśli WŁĄCZONE, teren wokół najemnika będzie oświetlony podczas ruchu. Może spowolnić działanie gry.\nToggle artificial merc light. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate + L"Jeśli WŁĄCZONE, teren wokół najemnika będzie oświetlony podczas ruchu. Może spowolnić działanie gry.\nToggle artificial merc light. (|G)", // TODO.Translate //Smart cursor L"Jeśli WŁĄCZONE, kursor będzie automatycznie ustawiał się na najemnikach gdy znajdzie się w ich pobliżu.", @@ -6491,7 +6491,7 @@ STR16 zOptionsScreenHelpText[] = L"When ON, approximate locations of the last enemies in the sector are highlighted.", // TODO.Translate L"When ON, show the contents of an LBE item, otherwise show the regular NAS interface.", // TODO.Translate L"When ON, inverts mouse wheel directions.", // TODO.Translate - L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|G)", // TODO.Translate + L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving. (|C|t|r|l+|A|l|t+|G)", // TODO.Translate L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Wymuś wszystkie oczekiwane dostawy od Bobby Ray's.", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END", diff --git a/Utils/_RussianText.cpp b/Utils/_RussianText.cpp index cf20fcc69..82accd1f1 100644 --- a/Utils/_RussianText.cpp +++ b/Utils/_RussianText.cpp @@ -6428,7 +6428,7 @@ STR16 zOptionsScreenHelpText[] = L"Если включено, то используется метрическая система мер,\nиначе будет британская.", //Merc Lighted movement - L"При ходьбе карта подсвечивается вокруг бойца.\nОтключите эту настройку для повышения\nпроизводительности системы (|C|t|r|l+|A|l|t+|G).", + L"При ходьбе карта подсвечивается вокруг бойца.\nОтключите эту настройку для повышения\nпроизводительности системы (|G).", //Smart cursor L"Если включено, то перемещение курсора возле наёмника\nавтоматически выбирает его.", @@ -6482,7 +6482,7 @@ STR16 zOptionsScreenHelpText[] = L"Если включено, указывается примерное\nположение последних врагов в секторе.", L"Если включено, показывает содержимое разгрузки,\nиначе - обычный интерфейс новой системы навески.", L"Если включено, инвертирует направление\nпрокрутки колеса мыши.", - L"Если выбрано несколько наёмников,\nони будут пытаться сохранять взаимное расположение\nи дистанцию при движении (|G).", + L"Если выбрано несколько наёмников,\nони будут пытаться сохранять взаимное расположение\nи дистанцию при движении (|C|t|r|l+|A|l|t+|G).", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER", L"Выберите этот пункт,\nчтобы груз Бобби Рэя прибыл немедленно.", L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END",