summaryrefslogtreecommitdiffstats
path: root/src/color.cpp
diff options
context:
space:
mode:
authorProgramerus <alcadeias95@gmail.com>2012-03-17 19:24:37 +0100
committerProgramerus <alcadeias95@gmail.com>2012-03-17 19:24:37 +0100
commit5433c7e6f3e008c34876c5dc29776232a3341afd (patch)
treea0131b07421062e4d13bfbfa21de17faa5098a83 /src/color.cpp
parent05a36732361d41bb2d0c6fbbd700e4f8af479f30 (diff)
downloadcolobot-5433c7e6f3e008c34876c5dc29776232a3341afd.tar.gz
colobot-5433c7e6f3e008c34876c5dc29776232a3341afd.tar.bz2
colobot-5433c7e6f3e008c34876c5dc29776232a3341afd.zip
Comments translated from French to English.
Diffstat (limited to 'src/color.cpp')
-rw-r--r--src/color.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/color.cpp b/src/color.cpp
index a6bf0ca..51f8493 100644
--- a/src/color.cpp
+++ b/src/color.cpp
@@ -38,7 +38,7 @@
-// Constructeur de l'objet.
+// Object's constructor.
CColor::CColor(CInstanceManager* iMan) : CControl(iMan)
{
@@ -53,7 +53,7 @@ CColor::CColor(CInstanceManager* iMan) : CControl(iMan)
m_color.a = 0.0f;
}
-// Destructeur de l'objet.
+// Object's destructor.
CColor::~CColor()
{
@@ -61,7 +61,7 @@ CColor::~CColor()
}
-// Cr�e un nouveau bouton.
+// Creates a new button.
BOOL CColor::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
@@ -84,7 +84,7 @@ BOOL CColor::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
}
-// Gestion d'un �v�nement.
+// Management of an event.
BOOL CColor::EventProcess(const Event &event)
{
@@ -156,7 +156,7 @@ void CColor::Draw()
#if _TEEN
color = ::RetColor(m_color);
- m_engine->SetTexture("xxx.tga"); // pas de texture
+ m_engine->SetTexture("xxx.tga"); // no texture
m_engine->SetState(D3DSTATENORMAL);
device = m_engine->RetD3DDevice();
@@ -190,7 +190,7 @@ void CColor::Draw()
color = ::RetColor(m_color);
- m_engine->SetTexture("xxx.tga"); // pas de texture
+ m_engine->SetTexture("xxx.tga"); // no texture
m_engine->SetState(D3DSTATENORMAL);
vertex[0] = D3DLVERTEX(D3DVECTOR(p1.x, p1.y, 0.0f), color,0x00000000, 0.0f,0.0f);