Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

build(cmake): track CommandMap.ini and Patch.str, copy them into Run

Olcay Seyganc908cea68942
diff --git a/.gitignore b/.gitignore
index 6b565b0a8..f63140713 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,7 @@ build/
# Build/test logs from the CMake port loop
*.log
+
+# Python bytecode from Tools/
+__pycache__/
+*.pyc
diff --git a/GeneralsMD/Code/CMakeLists.txt b/GeneralsMD/Code/CMakeLists.txt
index c47a1d409..bf3190003 100644
--- a/GeneralsMD/Code/CMakeLists.txt
+++ b/GeneralsMD/Code/CMakeLists.txt
@@ -460,7 +460,18 @@ add_custom_command(TARGET generals POST_BUILD
$<TARGET_PDB_FILE:generals> ${CMAKE_CURRENT_SOURCE_DIR}/../Run/
# d3d8to9's d3d8.dll next to the exe = the renderer runs on Direct3D 9.
COMMAND ${CMAKE_COMMAND} -E copy_if_different
- $<TARGET_FILE:d3d8to9> ${CMAKE_CURRENT_SOURCE_DIR}/../Run/)
+ $<TARGET_FILE:d3d8to9> ${CMAKE_CURRENT_SOURCE_DIR}/../Run/
+ # The fork's key bindings and their labels. Run/ is gitignored, so these two
+ # used to be hand-made files that silently went stale every time a command was
+ # added - the tracked copies under Code/Data are the masters and this puts them
+ # where the game reads them. A loose file beats every .big, and the game never
+ # writes either one back, so overwriting them on each build is safe.
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
+ ${CMAKE_CURRENT_SOURCE_DIR}/Data/INI/CommandMap.ini
+ ${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/INI/
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
+ ${CMAKE_CURRENT_SOURCE_DIR}/Data/Patch.str
+ ${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/)
add_dependencies(generals d3d8to9)
# ===========================================================================
diff --git a/GeneralsMD/Code/Data/INI/CommandMap.ini b/GeneralsMD/Code/Data/INI/CommandMap.ini
new file mode 100644
index 000000000..85ccfce47
--- /dev/null
+++ b/GeneralsMD/Code/Data/INI/CommandMap.ini
@@ -0,0 +1,533 @@
+;//////////////////////////////////////////////////////////////////////////////
+;FILE: CommandMap.ini (SYSTEM) ////////////////////////////////////////////////
+;//////////////////////////////////////////////////////////////////////////////
+;
+; MASTER COPY - this is the tracked one. The build copies it to
+; Run/Data/INI/CommandMap.ini, which is where the game reads it from and which
+; is gitignored, so edit THIS file and rebuild (or copy it across by hand).
+;
+; Loose overlay, loaded after Data\<Language>\CommandMap.ini, so a block here
+; overrides that file entry-for-entry and new commands can be added. Every
+; binding this fork adds or moves lives here; KEYMAP.md is the readable
+; version of the same table.
+;
+; Grid command bar (GlobalData UseGridHotKeys / Options.ini UseGridHotKeys = yes):
+; the command bar is 7 columns x 2 rows and the keys sit under the left hand in
+; the same shape.
+;
+; slot 01 03 05 07 09 11 13 (top row) Q W E R T Y U
+; slot 02 04 06 08 10 12 14 (bottom row) Z X C V B N M
+;
+; The bottom row is Z X C V B N M so that A (attack move) and S (stop) stay
+; free for the units. The previous owners of the grid letters moved onto a
+; modifier - see "displaced" below.
+
+; column 1, top row
+CommandMap COMMAND_SLOT01
+ Key = KEY_Q
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot01Description
+ DisplayName = GUI:CommandSlot01
+End
+
+; column 1, bottom row
+CommandMap COMMAND_SLOT02
+ Key = KEY_Z
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot02Description
+ DisplayName = GUI:CommandSlot02
+End
+
+; column 2, top row
+CommandMap COMMAND_SLOT03
+ Key = KEY_W
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot03Description
+ DisplayName = GUI:CommandSlot03
+End
+
+; column 2, bottom row
+CommandMap COMMAND_SLOT04
+ Key = KEY_X
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot04Description
+ DisplayName = GUI:CommandSlot04
+End
+
+; column 3, top row
+CommandMap COMMAND_SLOT05
+ Key = KEY_E
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot05Description
+ DisplayName = GUI:CommandSlot05
+End
+
+; column 3, bottom row
+CommandMap COMMAND_SLOT06
+ Key = KEY_C
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot06Description
+ DisplayName = GUI:CommandSlot06
+End
+
+; column 4, top row
+CommandMap COMMAND_SLOT07
+ Key = KEY_R
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot07Description
+ DisplayName = GUI:CommandSlot07
+End
+
+; column 4, bottom row
+CommandMap COMMAND_SLOT08
+ Key = KEY_V
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot08Description
+ DisplayName = GUI:CommandSlot08
+End
+
+; column 5, top row
+CommandMap COMMAND_SLOT09
+ Key = KEY_T
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot09Description
+ DisplayName = GUI:CommandSlot09
+End
+
+; column 5, bottom row
+CommandMap COMMAND_SLOT10
+ Key = KEY_B
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot10Description
+ DisplayName = GUI:CommandSlot10
+End
+
+; column 6, top row
+CommandMap COMMAND_SLOT11
+ Key = KEY_Y
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot11Description
+ DisplayName = GUI:CommandSlot11
+End
+
+; column 6, bottom row
+CommandMap COMMAND_SLOT12
+ Key = KEY_N
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot12Description
+ DisplayName = GUI:CommandSlot12
+End
+
+; column 7, top row
+CommandMap COMMAND_SLOT13
+ Key = KEY_U
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot13Description
+ DisplayName = GUI:CommandSlot13
+End
+
+; column 7, bottom row
+CommandMap COMMAND_SLOT14
+ Key = KEY_M
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:CommandSlot14Description
+ DisplayName = GUI:CommandSlot14
+End
+
+;------------------------------------------------------------------------------
+; Category selection. CTRL + a grid letter picks a whole class of thing: the
+; row under the left hand reads Q W E / Z X C = units, and the second press of
+; the same key widens the same selection from the screen to the whole map.
+;------------------------------------------------------------------------------
+
+CommandMap SELECT_ALL_MILITARY
+ Key = KEY_Q
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllMilitaryDescription
+ DisplayName = GUI:SelectAllMilitary
+End
+
+CommandMap SELECT_ALL_VEHICLES
+ Key = KEY_W
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllVehiclesDescription
+ DisplayName = GUI:SelectAllVehicles
+End
+
+CommandMap SELECT_ALL_AIRCRAFT
+ Key = KEY_E
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllAircraftDescription
+ DisplayName = GUI:SelectAllAircraft
+End
+
+CommandMap SELECT_ALL_BARRACKS
+ Key = KEY_Z
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllBarracksDescription
+ DisplayName = GUI:SelectAllBarracks
+End
+
+CommandMap SELECT_ALL_WARFACTORIES
+ Key = KEY_X
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllWarFactoriesDescription
+ DisplayName = GUI:SelectAllWarFactories
+End
+
+CommandMap SELECT_ALL_AIRFIELDS
+ Key = KEY_C
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllAirfieldsDescription
+ DisplayName = GUI:SelectAllAirfields
+End
+
+;------------------------------------------------------------------------------
+; Displaced: the retail owners of the grid letters, and of the CTRL letters the
+; category selection above took.
+;------------------------------------------------------------------------------
+
+CommandMap SELECT_ALL
+ Key = KEY_A
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectAllDescription
+ DisplayName = GUI:SelectAll
+End
+
+CommandMap SELECT_MATCHING_UNITS
+ Key = KEY_E
+ Transition = DOWN
+ Modifiers = SHIFT_CTRL
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:TypeSelectDescription
+ DisplayName = GUI:TypeSelect
+End
+
+CommandMap SCATTER
+ Key = KEY_X
+ Transition = DOWN
+ Modifiers = SHIFT_CTRL
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ScatterDescription
+ DisplayName = GUI:SCATTER
+End
+
+CommandMap ALL_CHEER
+ Key = KEY_C
+ Transition = DOWN
+ Modifiers = SHIFT_CTRL
+ UseableIn = GAME
+ Category = TAUNT
+ Description = GUI:AllCheerDescription
+ DisplayName = GUI:AllCheer
+End
+
+;------------------------------------------------------------------------------
+; Fork commands.
+;------------------------------------------------------------------------------
+
+; cycle the dozers and workers that have nothing to do
+CommandMap SELECT_NEXT_IDLE_WORKER
+ Key = KEY_I
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = SELECTION
+ Description = GUI:SelectNextIdleWorkerDescription
+ DisplayName = GUI:SelectNextIdleWorker
+End
+
+; attack move. 'A' arms the mode, the next order click issues it (CommandXlat
+; clears the mode again right after, so it is single shot).
+CommandMap TOGGLE_ATTACKMOVE
+ Key = KEY_A
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ToggleAttackMoveDescription
+ DisplayName = GUI:ToggleAttackMove
+End
+
+; guard the spot you are standing on, without chasing anything
+CommandMap HOLD_POSITION
+ Key = KEY_G
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:HoldPositionDescription
+ DisplayName = GUI:HoldPosition
+End
+
+; single player and replays only
+CommandMap TOGGLE_PAUSE
+ Key = KEY_P
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:TogglePauseDescription
+ DisplayName = GUI:TogglePause
+End
+
+CommandMap GAME_SPEED_UP
+ Key = KEY_KPPLUS
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:GameSpeedUpDescription
+ DisplayName = GUI:GameSpeedUp
+End
+
+CommandMap GAME_SPEED_DOWN
+ Key = KEY_KPMINUS
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:GameSpeedDownDescription
+ DisplayName = GUI:GameSpeedDown
+End
+
+CommandMap GAME_SPEED_RESET
+ Key = KEY_KPPLUS
+ Transition = DOWN
+ Modifiers = CTRL
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:GameSpeedResetDescription
+ DisplayName = GUI:GameSpeedReset
+End
+
+;------------------------------------------------------------------------------
+; General's power shortcut bar, top right: F1..F8 press its visible buttons in
+; order. Retail's F1..F8 (go to a saved camera position) move onto SHIFT.
+; Slots 09..11 exist but are left unbound - an unbound slot just draws no label.
+;------------------------------------------------------------------------------
+
+CommandMap SHORTCUT_SLOT01
+ Key = KEY_F1
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot01Description
+ DisplayName = GUI:ShortcutSlot01
+End
+
+CommandMap SHORTCUT_SLOT02
+ Key = KEY_F2
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot02Description
+ DisplayName = GUI:ShortcutSlot02
+End
+
+CommandMap SHORTCUT_SLOT03
+ Key = KEY_F3
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot03Description
+ DisplayName = GUI:ShortcutSlot03
+End
+
+CommandMap SHORTCUT_SLOT04
+ Key = KEY_F4
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot04Description
+ DisplayName = GUI:ShortcutSlot04
+End
+
+CommandMap SHORTCUT_SLOT05
+ Key = KEY_F5
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot05Description
+ DisplayName = GUI:ShortcutSlot05
+End
+
+CommandMap SHORTCUT_SLOT06
+ Key = KEY_F6
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot06Description
+ DisplayName = GUI:ShortcutSlot06
+End
+
+CommandMap SHORTCUT_SLOT07
+ Key = KEY_F7
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot07Description
+ DisplayName = GUI:ShortcutSlot07
+End
+
+CommandMap SHORTCUT_SLOT08
+ Key = KEY_F8
+ Transition = DOWN
+ Modifiers = NONE
+ UseableIn = GAME
+ Category = CONTROL
+ Description = GUI:ShortcutSlot08Description
+ DisplayName = GUI:ShortcutSlot08
+End
+
+CommandMap VIEW_VIEW1
+ Key = KEY_F1
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView1Description
+ DisplayName = GUI:ViewView1
+End
+
+CommandMap VIEW_VIEW2
+ Key = KEY_F2
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView2Description
+ DisplayName = GUI:ViewView2
+End
+
+CommandMap VIEW_VIEW3
+ Key = KEY_F3
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView3Description
+ DisplayName = GUI:ViewView3
+End
+
+CommandMap VIEW_VIEW4
+ Key = KEY_F4
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView4Description
+ DisplayName = GUI:ViewView4
+End
+
+CommandMap VIEW_VIEW5
+ Key = KEY_F5
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView5Description
+ DisplayName = GUI:ViewView5
+End
+
+CommandMap VIEW_VIEW6
+ Key = KEY_F6
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView6Description
+ DisplayName = GUI:ViewView6
+End
+
+CommandMap VIEW_VIEW7
+ Key = KEY_F7
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView7Description
+ DisplayName = GUI:ViewView7
+End
+
+CommandMap VIEW_VIEW8
+ Key = KEY_F8
+ Transition = DOWN
+ Modifiers = SHIFT
+ UseableIn = GAME
+ Category = INTERFACE
+ Description = GUI:ViewView8Description
+ DisplayName = GUI:ViewView8
+End
diff --git a/GeneralsMD/Code/Data/Patch.str b/GeneralsMD/Code/Data/Patch.str
new file mode 100644
index 000000000..af0fd4ea7
--- /dev/null
+++ b/GeneralsMD/Code/Data/Patch.str
@@ -0,0 +1,298 @@
+// MASTER COPY - this is the tracked one. The build copies it to
+// Run/Data/Patch.str, which is where the game reads it from and which is
+// gitignored, so edit THIS file and rebuild (or copy it across by hand).
+//
+// Patch.str is the 1.04 string overlay from PatchData.big. The two original
+// strings are kept; everything after them is this fork's, and every command
+// added to Data/INI/CommandMap.ini needs a pair here or Options > Keyboard
+// shows a blank row.
+//
+// Comments are '//' - GameText.cpp parseStringFile skips exactly that.
+
+GUI:CustomMission
+"CUSTOM MISSION"
+END
+
+GUI:StartCustomMission
+"START GAME"
+END
+
+GUI:SelectNextIdleWorker
+"Select Next Idle Worker"
+END
+
+GUI:SelectNextIdleWorkerDescription
+"Selects the next dozer or worker that has nothing to do and centers the view on it."
+END
+
+GUI:CommandSlot01
+"Command Bar Slot 01"
+END
+
+GUI:CommandSlot01Description
+"Presses command bar slot 01 (column 1, top row, 'Q' in the default grid layout)."
+END
+
+GUI:CommandSlot02
+"Command Bar Slot 02"
+END
+
+GUI:CommandSlot02Description
+"Presses command bar slot 02 (column 1, bottom row, 'Z' in the default grid layout)."
+END
+
+GUI:CommandSlot03
+"Command Bar Slot 03"
+END
+
+GUI:CommandSlot03Description
+"Presses command bar slot 03 (column 2, top row, 'W' in the default grid layout)."
+END
+
+GUI:CommandSlot04
+"Command Bar Slot 04"
+END
+
+GUI:CommandSlot04Description
+"Presses command bar slot 04 (column 2, bottom row, 'X' in the default grid layout)."
+END
+
+GUI:CommandSlot05
+"Command Bar Slot 05"
+END
+
+GUI:CommandSlot05Description
+"Presses command bar slot 05 (column 3, top row, 'E' in the default grid layout)."
+END
+
+GUI:CommandSlot06
+"Command Bar Slot 06"
+END
+
+GUI:CommandSlot06Description
+"Presses command bar slot 06 (column 3, bottom row, 'C' in the default grid layout)."
+END
+
+GUI:CommandSlot07
+"Command Bar Slot 07"
+END
+
+GUI:CommandSlot07Description
+"Presses command bar slot 07 (column 4, top row, 'R' in the default grid layout)."
+END
+
+GUI:CommandSlot08
+"Command Bar Slot 08"
+END
+
+GUI:CommandSlot08Description
+"Presses command bar slot 08 (column 4, bottom row, 'V' in the default grid layout)."
+END
+
+GUI:CommandSlot09
+"Command Bar Slot 09"
+END
+
+GUI:CommandSlot09Description
+"Presses command bar slot 09 (column 5, top row, 'T' in the default grid layout)."
+END
+
+GUI:CommandSlot10
+"Command Bar Slot 10"
+END
+
+GUI:CommandSlot10Description
+"Presses command bar slot 10 (column 5, bottom row, 'B' in the default grid layout)."
+END
+
+GUI:CommandSlot11
+"Command Bar Slot 11"
+END
+
+GUI:CommandSlot11Description
+"Presses command bar slot 11 (column 6, top row, 'Y' in the default grid layout)."
+END
+
+GUI:CommandSlot12
+"Command Bar Slot 12"
+END
+
+GUI:CommandSlot12Description
+"Presses command bar slot 12 (column 6, bottom row, 'N' in the default grid layout)."
+END
+
+GUI:CommandSlot13
+"Command Bar Slot 13"
+END
+
+GUI:CommandSlot13Description
+"Presses command bar slot 13 (column 7, top row, 'U' in the default grid layout)."
+END
+
+GUI:CommandSlot14
+"Command Bar Slot 14"
+END
+
+GUI:CommandSlot14Description
+"Presses command bar slot 14 (column 7, bottom row, 'M' in the default grid layout)."
+END
+
+GUI:ToggleAttackMove
+"Attack Move"
+END
+
+GUI:ToggleAttackMoveDescription
+"Arms attack move: the next move order makes the selected units fight anything they meet on the way."
+END
+
+GUI:HoldPosition
+"Hold Position"
+END
+
+GUI:HoldPositionDescription
+"Every selected unit guards the spot it is standing on: it shoots what comes into range and never chases it."
+END
+
+GUI:TogglePause
+"Pause"
+END
+
+GUI:TogglePauseDescription
+"Pauses and resumes the game. Single player and replays only."
+END
+
+GUI:GamePaused
+"Game paused."
+END
+
+GUI:GameResumed
+"Game resumed."
+END
+
+GUI:GameSpeedUp
+"Game Speed Up"
+END
+
+GUI:GameSpeedUpDescription
+"Speeds the game up by five logic frames a second. Single player and replays only."
+END
+
+GUI:GameSpeedDown
+"Game Speed Down"
+END
+
+GUI:GameSpeedDownDescription
+"Slows the game down by five logic frames a second. Single player and replays only."
+END
+
+GUI:GameSpeedReset
+"Normal Game Speed"
+END
+
+GUI:GameSpeedResetDescription
+"Puts the game back to its normal speed. Single player and replays only."
+END
+
+GUI:SelectAllMilitary
+"Select Military Units"
+END
+
+GUI:SelectAllMilitaryDescription
+"Selects your armed units on screen. Press again to select them across the whole map."
+END
+
+GUI:SelectAllVehicles
+"Select Vehicles"
+END
+
+GUI:SelectAllVehiclesDescription
+"Selects your ground vehicles on screen, dozers and workers excluded. Press again for the whole map."
+END
+
+GUI:SelectAllBarracks
+"Select Barracks"
+END
+
+GUI:SelectAllBarracksDescription
+"Selects your infantry-producing buildings on screen. Press again to select them across the whole map."
+END
+
+GUI:SelectAllWarFactories
+"Select War Factories"
+END
+
+GUI:SelectAllWarFactoriesDescription
+"Selects your vehicle-producing buildings on screen. Press again to select them across the whole map."
+END
+
+GUI:SelectAllAirfields
+"Select Airfields"
+END
+
+GUI:SelectAllAirfieldsDescription
+"Selects your airfields and helipads on screen. Press again to select them across the whole map."
+END
+
+GUI:ShortcutSlot01
+"General's Power 1"
+END
+
+GUI:ShortcutSlot01Description
+"Presses the first button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot02
+"General's Power 2"
+END
+
+GUI:ShortcutSlot02Description
+"Presses the second button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot03
+"General's Power 3"
+END
+
+GUI:ShortcutSlot03Description
+"Presses the third button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot04
+"General's Power 4"
+END
+
+GUI:ShortcutSlot04Description
+"Presses the fourth button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot05
+"General's Power 5"
+END
+
+GUI:ShortcutSlot05Description
+"Presses the fifth button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot06
+"General's Power 6"
+END
+
+GUI:ShortcutSlot06Description
+"Presses the sixth button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot07
+"General's Power 7"
+END
+
+GUI:ShortcutSlot07Description
+"Presses the seventh button of the general's power bar in the top right corner."
+END
+
+GUI:ShortcutSlot08
+"General's Power 8"
+END
+
+GUI:ShortcutSlot08Description
+"Presses the eighth button of the general's power bar in the top right corner."
+END