about summary refs log tree commit diff
diff options
context:
space:
mode:
authorxalduin <xalduin@gmail.com>2010-06-02 15:21:31 -0400
committerxalduin <xalduin@gmail.com>2010-06-02 15:21:31 -0400
commitcc181cda5be79c1097502ea30afb78400da962b7 (patch)
treeaa451cb046ef489dbbd7007f1cceb029e5879e48
parent9e6c9096248dc35a354050749b460fafdd21df7f (diff)
parent7a1953e60b58544144986d30cb30acfab6e0d465 (diff)
downloadzcatch-cc181cda5be79c1097502ea30afb78400da962b7.tar.gz
zcatch-cc181cda5be79c1097502ea30afb78400da962b7.zip
Merge remote branch 'upstream/master'
-rw-r--r--data/languages/portuguese.txt23
-rw-r--r--src/game/client/components/controls.cpp5
-rw-r--r--src/game/editor/ed_editor.cpp8
3 files changed, 24 insertions, 12 deletions
diff --git a/data/languages/portuguese.txt b/data/languages/portuguese.txt
index 3f811a6d..64bf7e6c 100644
--- a/data/languages/portuguese.txt
+++ b/data/languages/portuguese.txt
@@ -23,7 +23,7 @@ Are you sure that you want to quit?
 == Você tem certeza que deseja sair?
 
 As this is the first time you have launched the game, please enter your nickname below. It is recommended that you check your settings so you adjust them to your preferences before joining a server.
-== Como esta é a primeira vez que você abriu o jogo, por favor, entre com seu apelido abaixo. É recomendado que você cheque suas configurações e então ajuste elaspara suas preferências antes de entrar em um servidor.
+== Como esta é a primeira vez que você abriu o jogo, por favor, entre com seu apelido abaixo. É recomendado que você cheque suas configurações e então ajuste elas para suas preferências antes de entrar em um servidor.
 
 Blue team
 == Time azul
@@ -113,7 +113,7 @@ Fire
 == Atirar
 
 Force vote
-== Forçar votação
+== Forçar
 
 Fullscreen
 == Tela cheia
@@ -167,13 +167,13 @@ Internet
 == Internet
 
 Join blue
-== Entre no az.
+== Azul
 
 Join game
 == Entre no jogo
 
 Join red
-== Entre no verm.
+== Vermelho
 
 Jump
 == Pular
@@ -218,7 +218,7 @@ Movement
 == Movimento
 
 Mute when not active
-== Silenciar quando não ativo
+== Silenciar quando inativo
 
 Name
 == Nome
@@ -260,13 +260,13 @@ Pistol
 == Pistola
 
 Play
-== Jogar
+== Assistir
 
 Player
 == Jogador
 
 Players
-== Jogador
+== Jogadores
 
 Prev. weapon
 == Arma anterior
@@ -320,7 +320,7 @@ Score board
 == Placar
 
 Score limit
-== Pontuação máxima
+== Placar máx.
 
 Scoreboard
 == Placar
@@ -343,6 +343,9 @@ Settings
 Shotgun
 == Espingarda
 
+Show chat
+== Mostrar conversa
+
 Show name plates
 == Mostrar apelidos
 
@@ -389,7 +392,7 @@ The server is running a non-standard tuning on a pure game type.
 == O servidor está rodando uma modificação não padrão em um tipo de jogo puro.
 
 Time limit
-== Limite de tempo
+== Tempo máx.
 
 Try again
 == Tente novamente
@@ -435,8 +438,6 @@ Your skin
 
 ##### needs translation ####
 
-Show chat
-== Show chat
 
 ##### old translations ####
 
diff --git a/src/game/client/components/controls.cpp b/src/game/client/components/controls.cpp
index 0b4918b2..7b3f4716 100644
--- a/src/game/client/components/controls.cpp
+++ b/src/game/client/components/controls.cpp
@@ -19,7 +19,10 @@ void CControls::OnReset()
 {
 	m_LastData.m_Direction = 0;
 	m_LastData.m_Hook = 0;
-	m_LastData.m_Fire = 0;
+	// simulate releasing the fire button
+	if((m_LastData.m_Fire&1) != 0)
+		m_LastData.m_Fire++;
+	m_LastData.m_Fire &= INPUT_STATE_MASK;
 	m_LastData.m_Jump = 0;
 	m_InputData = m_LastData;
 	
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index 0e478753..35a0b03a 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -1045,6 +1045,14 @@ void CEditor::DoQuadPoint(CQuad *q, int QuadIndex, int v)
 			s_Operation = OP_CONTEXT_MENU;
 			m_SelectedQuad = QuadIndex;
 			UI()->SetActiveItem(pId);
+			if(!(m_SelectedPoints&(1<<v)))

+			{

+				if(Input()->KeyPressed(KEY_LSHIFT) || Input()->KeyPressed(KEY_RSHIFT))

+					m_SelectedPoints |= 1<<v;

+				else

+					m_SelectedPoints = 1<<v;

+				s_Moved = true;

+			}
 		}
 	}
 	else