diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-11 17:28:27 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-11 17:28:27 +0200 |
commit | a8665d204255b4b0ad9ae6982f77ecd5e053c1b6 (patch) | |
tree | 5f7e58785f5175e7f067ffaf8f96d16272c92d1e /src/object/object.cpp | |
parent | 8ffdf2583e4ea77731490dcaad51dbc08d7f26fa (diff) | |
download | colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.gz colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.bz2 colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.zip |
Changed #defined constants to consts; typedef struct -> struct
Diffstat (limited to 'src/object/object.cpp')
-rw-r--r-- | src/object/object.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/object/object.cpp b/src/object/object.cpp index 9fb7ae8..0f8eb29 100644 --- a/src/object/object.cpp +++ b/src/object/object.cpp @@ -91,11 +91,11 @@ #define ADJUST_ONBOARD false // true -> adjusts the camera ONBOARD
-#define ADJUST_ARM false // true -> adjusts the manipulator arm
-#define VIRUS_DELAY 60.0f // duration of virus infection
-#define LOSS_SHIELD 0.24f // loss of the shield by shot
-#define LOSS_SHIELD_H 0.10f // loss of the shield for humans
-#define LOSS_SHIELD_M 0.02f // loss of the shield for the laying
+#define ADJUST_ARM false // true -> adjusts the manipulator arm
+const float VIRUS_DELAY = 60.0f; // duration of virus infection
+const float LOSS_SHIELD = 0.24f; // loss of the shield by shot
+const float LOSS_SHIELD_H = 0.10f; // loss of the shield for humans
+const float LOSS_SHIELD_M = 0.02f; // loss of the shield for the laying
#if ADJUST_ONBOARD
static float debug_x = 0.0f;
|