summaryrefslogtreecommitdiffstats
path: root/src/group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.cpp')
-rw-r--r--src/group.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/group.cpp b/src/group.cpp
index a1cb379..c420515 100644
--- a/src/group.cpp
+++ b/src/group.cpp
@@ -1,4 +1,4 @@
-// * This file is part of the COLOBOT source code
+// * This file is part of the COLOBOT source code
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
// *
// * This program is free software: you can redistribute it and/or modify
@@ -12,7 +12,7 @@
// * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
-// * along with this program. If not, see http://www.gnu.org/licenses/.
+// * along with this program. If not, see http://www.gnu.org/licenses/.// group.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -48,7 +48,7 @@ CGroup::~CGroup()
}
-// Cr�e un nouveau bouton.
+// Crée un nouveau bouton.
BOOL CGroup::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
@@ -71,7 +71,7 @@ BOOL CGroup::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
}
-// Gestion d'un �v�nement.
+// Gestion d'un événement.
BOOL CGroup::EventProcess(const Event &event)
{
@@ -126,7 +126,7 @@ void CGroup::Draw()
uv2.y -= dp;
DrawIcon(m_pos, m_dim, uv1, uv2);
}
- if ( m_icon == 2 ) // d�grad� orange -> transparent ?
+ if ( m_icon == 2 ) // dégradé orange -> transparent ?
{
m_engine->SetTexture("button2.tga");
m_engine->SetState(D3DSTATETTw);
@@ -140,7 +140,7 @@ void CGroup::Draw()
uv2.y -= dp;
DrawIcon(m_pos, m_dim, uv1, uv2);
}
- if ( m_icon == 3 ) // d�grad� transparent -> gris ?
+ if ( m_icon == 3 ) // dégradé transparent -> gris ?
{
m_engine->SetTexture("button2.tga");
m_engine->SetState(D3DSTATETTw);
@@ -154,7 +154,7 @@ void CGroup::Draw()
uv2.y -= dp;
DrawIcon(m_pos, m_dim, uv1, uv2);
}
- if ( m_icon == 4 ) // coin bleu d�grad� ?
+ if ( m_icon == 4 ) // coin bleu dégradé ?
{
m_engine->SetTexture("button2.tga");
m_engine->SetState(D3DSTATETTw);
@@ -168,7 +168,7 @@ void CGroup::Draw()
uv2.y -= dp;
DrawIcon(m_pos, m_dim, uv1, uv2);
}
- if ( m_icon == 5 ) // coin orange d�grad� ?
+ if ( m_icon == 5 ) // coin orange dégradé ?
{
m_engine->SetTexture("button2.tga");
m_engine->SetState(D3DSTATETTw);
@@ -410,7 +410,7 @@ void CGroup::Draw()
corner.y = 6.0f/480.0f;
DrawIcon(m_pos, m_dim, uv1, uv2, corner, 2.0f/256.0f);
}
- if ( m_icon == 18 ) // fl�che > pour SatCom ?
+ if ( m_icon == 18 ) // flèche > pour SatCom ?
{
m_engine->SetTexture("button1.tga");
m_engine->SetState(D3DSTATETTw);
@@ -503,7 +503,7 @@ void CGroup::Draw()
{
m_engine->SetTexture("button3.tga");
m_engine->SetState(D3DSTATENORMAL);
- uv1.x = 80.0f/256.0f; // orang�
+ uv1.x = 80.0f/256.0f; // orangé
uv1.y = 192.0f/256.0f;
uv2.x = 96.0f/256.0f;
uv2.y = 208.0f/256.0f;
@@ -562,7 +562,7 @@ void CGroup::Draw()
DrawIcon(m_pos, m_dim, uv1, uv2);
}
- if ( m_icon >= 100 && m_icon <= 120 ) // b�timent ?
+ if ( m_icon >= 100 && m_icon <= 120 ) // bâtiment ?
{
pos = m_pos;
dim = m_dim;
@@ -630,7 +630,7 @@ void CGroup::Draw()
if ( m_icon == 112 ) icon = 44; // info ?
if ( m_icon == 113 ) icon = 46; // paratonnerre ?
if ( m_icon == 114 ) icon = 47; // coffre-fort ?
- if ( m_icon == 115 ) icon = 48; // centre de contr�le ?
+ if ( m_icon == 115 ) icon = 48; // centre de contrôle ?
uv1.x = (32.0f/256.0f)*(icon%8);
uv1.y = (32.0f/256.0f)*(icon/8); // uv texture
uv2.x = uv1.x+32.0f/256.0f;