Bind 1-5 in defaults. Missions really need the option to pick a team though, using default team if none supplied.
authornemo
Sun, 04 Dec 2011 15:21:50 -0500
changeset 6497 2359798a8dce
parent 6496 7be68796d725
child 6498 5678806aafca
Bind 1-5 in defaults. Missions really need the option to pick a team though, using default team if none supplied.
hedgewars/uKeys.pas
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/FrontendDataUtils.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/GameMode.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Grave.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Map.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Scheme.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Team.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Weapon.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/UserInput/TouchInterface.java
share/hedgewars/Data/Scripts/plist/Racer.plist
--- a/hedgewars/uKeys.pas	Sun Dec 04 18:58:52 2011 +0100
+++ b/hedgewars/uKeys.pas	Sun Dec 04 15:21:50 2011 -0500
@@ -329,6 +329,7 @@
 {$ENDIF}
 
 for i:= 1 to 10 do DefaultBinds[KeyNameToCode('f'+IntToStr(i))]:= 'slot '+IntToStr(i);
+for i:= 1 to 5  do DefaultBinds[KeyNameToCode(IntToStr(i))]:= 'timer '+IntToStr(i);
 
 SetDefaultBinds();
 end;