mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +02:00
add hotkey value for "move"
This is needed now that
2c4fc340de
has been implemented
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
; === propertyMap File ===
|
; === propertyMap File ===
|
||||||
|
|
||||||
RenderInGamePerformance=`
|
RenderInGamePerformance=`
|
||||||
RenderNetworkStatus=N
|
RenderNetworkStatus=N
|
||||||
ShowFullConsole=M
|
ShowFullConsole=Z
|
||||||
Screenshot=E
|
Screenshot=E
|
||||||
FreeCameraMode=F
|
FreeCameraMode=F
|
||||||
ResetCameraMode=space
|
ResetCameraMode=space
|
||||||
@@ -39,6 +39,7 @@ HotKeyRotateUnitDuringPlacement=R
|
|||||||
HotKeySelectDamagedUnit=D
|
HotKeySelectDamagedUnit=D
|
||||||
HotKeySelectStoreUnit=T
|
HotKeySelectStoreUnit=T
|
||||||
HotKeySelectedUnitsAttack=A
|
HotKeySelectedUnitsAttack=A
|
||||||
|
HotKeySelectedUnitsMove=M
|
||||||
HotKeySelectedUnitsStop=S
|
HotKeySelectedUnitsStop=S
|
||||||
HotKeyToggleOSMouseEnabled=/
|
HotKeyToggleOSMouseEnabled=/
|
||||||
ChatTeamMode=H
|
ChatTeamMode=H
|
||||||
@@ -53,5 +54,5 @@ SaveGame=f11
|
|||||||
BookmarkAdd=f2
|
BookmarkAdd=f2
|
||||||
BookmarkRemove=f3
|
BookmarkRemove=f3
|
||||||
CameraFollowSelectedUnit=f4
|
CameraFollowSelectedUnit=f4
|
||||||
; === propertyMap File ===
|
; === propertyMap File ===
|
||||||
|
|
||||||
|
@@ -432,6 +432,10 @@ void Gui::hotKey(SDL_KeyboardEvent key) {
|
|||||||
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsAttack"),key) == true) {
|
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsAttack"),key) == true) {
|
||||||
clickCommonCommand(ccAttack);
|
clickCommonCommand(ccAttack);
|
||||||
}
|
}
|
||||||
|
//else if(key == configKeys.getCharKey("HotKeySelectedUnitsAttack")) {
|
||||||
|
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsMove"),key) == true) {
|
||||||
|
clickCommonCommand(ccMove);
|
||||||
|
}
|
||||||
//else if(key == configKeys.getCharKey("HotKeySelectedUnitsStop")) {
|
//else if(key == configKeys.getCharKey("HotKeySelectedUnitsStop")) {
|
||||||
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsStop"),key) == true) {
|
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsStop"),key) == true) {
|
||||||
clickCommonCommand(ccStop);
|
clickCommonCommand(ccStop);
|
||||||
|
Reference in New Issue
Block a user