From f7d892cf4ef6bfce3747c4b6a810d4828b79833d Mon Sep 17 00:00:00 2001 From: Krzysztof H Date: Mon, 19 Mar 2012 12:44:39 +0100 Subject: Last coding fix ;) --- src/taskflag.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/taskflag.cpp') diff --git a/src/taskflag.cpp b/src/taskflag.cpp index 4c2c58c..e4ccc5b 100644 --- a/src/taskflag.cpp +++ b/src/taskflag.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/.// taskflag.cpp #define STRICT #define D3D_OVERLOADS @@ -60,7 +60,7 @@ CTaskFlag::~CTaskFlag() } -// Gestion d'un �v�nement. +// Gestion d'un événement. BOOL CTaskFlag::EventProcess(const Event &event) { @@ -75,7 +75,7 @@ BOOL CTaskFlag::EventProcess(const Event &event) -// Assigne le but � atteindre. +// Assigne le but à atteindre. Error CTaskFlag::Start(TaskFlagOrder order, int rank) { @@ -85,7 +85,7 @@ Error CTaskFlag::Start(TaskFlagOrder order, int rank) m_order = order; m_time = 0.0f; - m_bError = TRUE; // op�ration impossible + m_bError = TRUE; // opération impossible if ( !m_physics->RetLand() ) { pos = m_object->RetPosition(0); @@ -113,13 +113,13 @@ Error CTaskFlag::Start(TaskFlagOrder order, int rank) m_bError = FALSE; - m_motion->SetAction(MHS_FLAG); // met/enl�ve drapeau + m_motion->SetAction(MHS_FLAG); // met/enlève drapeau m_camera->StartCentering(m_object, PI*0.3f, 99.9f, 0.0f, 0.5f); return ERR_OK; } -// Indique si l'action est termin�e. +// Indique si l'action est terminée. Error CTaskFlag::IsEnded() { @@ -143,7 +143,7 @@ BOOL CTaskFlag::Abort() -// Retourne l'objet le plus proche d'une position donn�e. +// Retourne l'objet le plus proche d'une position donnée. CObject* CTaskFlag::SearchNearest(D3DVECTOR pos, ObjectType type) { @@ -223,7 +223,7 @@ int CTaskFlag::CountObject(ObjectType type) return count; } -// Cr�e un indicateur de couleur. +// Crée un indicateur de couleur. Error CTaskFlag::CreateFlag(int rank) { -- cgit v1.2.3-1-g7c22