summaryrefslogtreecommitdiffstats
path: root/src/taskshield.h
diff options
context:
space:
mode:
authorProgramerus <alcadeias95@gmail.com>2012-04-10 20:46:56 +0300
committerProgramerus <alcadeias95@gmail.com>2012-04-10 20:46:56 +0300
commit41974696596622c1a4b56c4cf267b57d6fc2aa5d (patch)
treec6bdabf35840e54f4065a324fbc016d6d5758bb9 /src/taskshield.h
parent121248c58ec31f0c8cdb9fd0ff8f26698105d89a (diff)
downloadcolobot-41974696596622c1a4b56c4cf267b57d6fc2aa5d.tar.gz
colobot-41974696596622c1a4b56c4cf267b57d6fc2aa5d.tar.bz2
colobot-41974696596622c1a4b56c4cf267b57d6fc2aa5d.zip
Comments translated from French to English.
Diffstat (limited to 'src/taskshield.h')
-rw-r--r--src/taskshield.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/taskshield.h b/src/taskshield.h
index 5b50e22..6e3f2c8 100644
--- a/src/taskshield.h
+++ b/src/taskshield.h
@@ -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/.// taskshield.h
+// * along with this program. If not, see http://www.gnu.org/licenses/.
+
+// taskshield.h
#ifndef _TASKSHIELD_H_
#define _TASKSHIELD_H_
@@ -25,25 +27,25 @@ class CPhysics;
class CObject;
-#define RADIUS_SHIELD_MIN 40.0f // rayon min de la zone protégée
-#define RADIUS_SHIELD_MAX 100.0f // rayon max de la zone protégée
+#define RADIUS_SHIELD_MIN 40.0f // minimal radius of the protected zone
+#define RADIUS_SHIELD_MAX 100.0f // maximal radius of the protected zone
enum TaskShieldPhase
{
- TS_UP1 = 1, // monte
- TS_UP2 = 2, // monte
- TS_SHIELD = 3, // bouclier déployé
- TS_SMOKE = 4, // fume
- TS_DOWN1 = 5, // descend
- TS_DOWN2 = 6, // descend
+ TS_UP1 = 1, // up
+ TS_UP2 = 2, // up
+ TS_SHIELD = 3, // shield deployed
+ TS_SMOKE = 4, // smoke
+ TS_DOWN1 = 5, // down
+ TS_DOWN2 = 6, // down
};
enum TaskShieldMode
{
- TSM_UP = 1, // déploie le bouclier
- TSM_DOWN = 2, // rentre le bouclier
- TSM_UPDATE = 3, // changement de rayon
+ TSM_UP = 1, // deploys shield
+ TSM_DOWN = 2, // returns the shield
+ TSM_UPDATE = 3, // radius change
};