--- a/QTfrontend/binds.cpp Sat Jul 05 14:27:55 2008 +0000
+++ b/QTfrontend/binds.cpp Sat Jul 05 15:13:33 2008 +0000
@@ -51,7 +51,7 @@
{"confirm", "y", QT_TRANSLATE_NOOP("binds", "confirmation"), false},
{"+voldown", "9", QT_TRANSLATE_NOOP("binds", "volume down"), false},
{"+volup", "0", QT_TRANSLATE_NOOP("binds", "volume up"), false},
- {"fullscr", "f", QT_TRANSLATE_NOOP("binds", "change mode"), false},
+ {"fullscr", "f12", QT_TRANSLATE_NOOP("binds", "change mode"), false},
{"capture", "c", QT_TRANSLATE_NOOP("binds", "capture"), false},
{"rotmask", "delete", QT_TRANSLATE_NOOP("binds", "hedgehogs\ninfo"), false},
{"quit", "escape", QT_TRANSLATE_NOOP("binds", "quit"), true}
--- a/hedgewars/CCHandlers.inc Sat Jul 05 14:27:55 2008 +0000
+++ b/hedgewars/CCHandlers.inc Sat Jul 05 15:13:33 2008 +0000
@@ -448,7 +448,7 @@
buf: array[byte] of char;
{$ENDIF}
begin
-if Length(s) = 0 then exit //cFullScreen:= not cFullScreen
+if Length(s) = 0 then cFullScreen:= not cFullScreen
else cFullScreen:= s = '1';
{$IFDEF DEBUGFILE}
--- a/hedgewars/uKeys.pas Sat Jul 05 14:27:55 2008 +0000
+++ b/hedgewars/uKeys.pas Sat Jul 05 15:13:33 2008 +0000
@@ -117,13 +117,15 @@
DefaultBinds[ 57]:= '+voldown';
DefaultBinds[ 96]:= 'history';
DefaultBinds[ 99]:= 'capture';
-DefaultBinds[102]:= 'fullscr';
DefaultBinds[104]:= 'findhh';
DefaultBinds[112]:= 'pause';
DefaultBinds[115]:= '+speedup';
DefaultBinds[116]:= 'chat';
DefaultBinds[121]:= 'confirm';
DefaultBinds[127]:= 'rotmask';
+
+DefaultBinds[KeyNameToCode('f12')]:= 'fullscr';
+
SetDefaultBinds
end;