- Fix chat state at start
authorunc0rr
Thu, 12 Jun 2008 10:50:05 +0000
changeset 993 4319810f23c1
parent 992 c16355b0c982
child 994 ea415d03968c
- Fix chat state at start - Team bind for history
QTfrontend/binds.cpp
QTfrontend/binds.h
hedgewars/uChat.pas
--- a/QTfrontend/binds.cpp	Wed Jun 11 22:19:14 2008 +0000
+++ b/QTfrontend/binds.cpp	Thu Jun 12 10:50:05 2008 +0000
@@ -46,6 +46,7 @@
 	{"timer 4",	"4",	QT_TRANSLATE_NOOP("binds", "timer 4 sec"),	false},
 	{"timer 5",	"5",	QT_TRANSLATE_NOOP("binds", "timer 5 sec"),	true},
 	{"chat",	"t",	QT_TRANSLATE_NOOP("binds", "chat"),	false},
+	{"history",	"`",	QT_TRANSLATE_NOOP("binds", "chat history"),	false},
 	{"pause",	"p",	QT_TRANSLATE_NOOP("binds", "pause"),	false},
 	{"+voldown",	"9",	QT_TRANSLATE_NOOP("binds", "volume down"),	false},
 	{"+volup",	"0",	QT_TRANSLATE_NOOP("binds", "volume up"),	false},
--- a/QTfrontend/binds.h	Wed Jun 11 22:19:14 2008 +0000
+++ b/QTfrontend/binds.h	Thu Jun 12 10:50:05 2008 +0000
@@ -21,7 +21,7 @@
 
 #include <QString>
 
-#define BINDS_NUMBER 33
+#define BINDS_NUMBER 34
 
 struct BindAction
 {
--- a/hedgewars/uChat.pas	Wed Jun 11 22:19:14 2008 +0000
+++ b/hedgewars/uChat.pas	Thu Jun 12 10:50:05 2008 +0000
@@ -25,7 +25,7 @@
 procedure KeyPressChat(Key: Longword);
 
 var UserNick: shortstring = '';
-	showAll: boolean = true;
+	showAll: boolean = false;
 
 implementation
 uses uMisc, uStore, uConsts, SDLh, uConsole, uKeys;