mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 04:01:47 +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=`
|
||||
RenderNetworkStatus=N
|
||||
ShowFullConsole=M
|
||||
ShowFullConsole=Z
|
||||
Screenshot=E
|
||||
FreeCameraMode=F
|
||||
ResetCameraMode=space
|
||||
@@ -39,6 +39,7 @@ HotKeyRotateUnitDuringPlacement=R
|
||||
HotKeySelectDamagedUnit=D
|
||||
HotKeySelectStoreUnit=T
|
||||
HotKeySelectedUnitsAttack=A
|
||||
HotKeySelectedUnitsMove=M
|
||||
HotKeySelectedUnitsStop=S
|
||||
HotKeyToggleOSMouseEnabled=/
|
||||
ChatTeamMode=H
|
||||
@@ -53,5 +54,5 @@ SaveGame=f11
|
||||
BookmarkAdd=f2
|
||||
BookmarkRemove=f3
|
||||
CameraFollowSelectedUnit=f4
|
||||
; === propertyMap File ===
|
||||
; === propertyMap File ===
|
||||
|
||||
|
@@ -432,6 +432,10 @@ void Gui::hotKey(SDL_KeyboardEvent key) {
|
||||
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsAttack"),key) == true) {
|
||||
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(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsStop"),key) == true) {
|
||||
clickCommonCommand(ccStop);
|
||||
|
Reference in New Issue
Block a user