mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Hotkeys:
- use SHIFT key to move in formation - Ctrl+Alt+G: toggle formation - G: toggle light effects git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8777 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user