summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorProgramerus <alcadeias95@gmail.com>2012-04-10 00:05:01 +0300
committerProgramerus <alcadeias95@gmail.com>2012-04-10 00:05:01 +0300
commit356e9ef5e0f6235926a55a4157cc29ab7d417b65 (patch)
tree34e6f2b7efae28ae0922714f381726968c955aa9 /src
parent265f6942414b2275acb3b01f2e2faa48af77e7f8 (diff)
downloadcolobot-356e9ef5e0f6235926a55a4157cc29ab7d417b65.tar.gz
colobot-356e9ef5e0f6235926a55a4157cc29ab7d417b65.tar.bz2
colobot-356e9ef5e0f6235926a55a4157cc29ab7d417b65.zip
Comments translated from French to English.
Diffstat (limited to 'src')
-rw-r--r--src/task.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/task.cpp b/src/task.cpp
index 459dfec..427e73f 100644
--- a/src/task.cpp
+++ b/src/task.cpp
@@ -12,7 +12,9 @@
// * 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/.// task.cpp
+// * along with this program. If not, see http://www.gnu.org/licenses/.
+
+// task.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -44,7 +46,7 @@
-// Constructeur de l'objet.
+// Object's constructor.
CTask::CTask(CInstanceManager* iMan, CObject* object)
{
@@ -66,14 +68,14 @@ CTask::CTask(CInstanceManager* iMan, CObject* object)
m_motion = m_object->RetMotion();
}
-// Destructeur de l'objet.
+// Object's destructor.
CTask::~CTask()
{
}
-// Gestion d'un événement.
+// Management of an event.
BOOL CTask::EventProcess(const Event &event)
{
@@ -81,7 +83,7 @@ BOOL CTask::EventProcess(const Event &event)
}
-// Indique si l'action est terminée.
+// Indicates whether the action is finished.
Error CTask::IsEnded()
{
@@ -89,7 +91,7 @@ Error CTask::IsEnded()
}
-// Indique si l'action est en cours.
+// Indicates whether the action is pending.
BOOL CTask::IsBusy()
{
@@ -97,7 +99,7 @@ BOOL CTask::IsBusy()
}
-// Termine brutalement l'action en cours.
+// Suddenly ends the current action.
BOOL CTask::Abort()
{