From 84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71 Mon Sep 17 00:00:00 2001 From: Krzysztof H Date: Fri, 9 Mar 2012 17:08:05 +0100 Subject: Added license info using a small program SrcHead. --- src/taskmanager.cpp | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) (limited to 'src/taskmanager.cpp') diff --git a/src/taskmanager.cpp b/src/taskmanager.cpp index 0a61c93..b923edf 100644 --- a/src/taskmanager.cpp +++ b/src/taskmanager.cpp @@ -1,4 +1,18 @@ -// taskmanager.cpp +// * 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 +// * it under the terms of the GNU General Public License as published by +// * the Free Software Foundation, either version 3 of the License, or +// * (at your option) any later version. +// * +// * This program is distributed in the hope that it will be useful, +// * but WITHOUT ANY WARRANTY; without even the implied warranty of +// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// * 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 . #define STRICT #define D3D_OVERLOADS @@ -83,7 +97,7 @@ Error CTaskManager::StartTaskTurn(float angle) return ((CTaskTurn*)m_task)->Start(angle); } -// Atteint une position donnée. +// Atteint une position donn�e. Error CTaskManager::StartTaskGoto(D3DVECTOR pos, float altitude, TaskGotoGoal goalMode, TaskGotoCrash crashMode) { @@ -107,7 +121,7 @@ Error CTaskManager::StartTaskManip(TaskManipOrder order, TaskManipArm arm) return ((CTaskManip*)m_task)->Start(order, arm); } -// Met ou enlève un drapeau. +// Met ou enl�ve un drapeau. Error CTaskManager::StartTaskFlag(TaskFlagOrder order, int rank) { @@ -155,7 +169,7 @@ Error CTaskManager::StartTaskPen(BOOL bDown, int color) return ((CTaskPen*)m_task)->Start(bDown, color); } -// Récupère une ruine. +// R�cup�re une ruine. Error CTaskManager::StartTaskRecover() { @@ -163,7 +177,7 @@ Error CTaskManager::StartTaskRecover() return ((CTaskRecover*)m_task)->Start(); } -// Déploie le bouclier. +// D�ploie le bouclier. Error CTaskManager::StartTaskShield(TaskShieldMode mode, float delay) { @@ -208,7 +222,7 @@ Error CTaskManager::StartTaskGunGoal(float dirV, float dirH) return ((CTaskGunGoal*)m_task)->Start(dirV, dirH); } -// Suicide de l'araignée. +// Suicide de l'araign�e. Error CTaskManager::StartTaskSpiderExplo() { @@ -228,7 +242,7 @@ Error CTaskManager::StartTaskReset(D3DVECTOR goal, D3DVECTOR angle) -// Gestion d'un événement. +// Gestion d'un �v�nement. BOOL CTaskManager::EventProcess(const Event &event) { @@ -237,7 +251,7 @@ BOOL CTaskManager::EventProcess(const Event &event) } -// Indique si l'action est terminée. +// Indique si l'action est termin�e. Error CTaskManager::IsEnded() { @@ -255,8 +269,8 @@ BOOL CTaskManager::IsBusy() } -// Indique s'il est possible de piloter le robot pendant l'exécution -// de la tâche en cours. +// Indique s'il est possible de piloter le robot pendant l'ex�cution +// de la t�che en cours. BOOL CTaskManager::IsPilot() { -- cgit v1.2.3-1-g7c22