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/auto/autohuston.h | |
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/auto/autohuston.h')
-rw-r--r-- | src/object/auto/autohuston.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/object/auto/autohuston.h b/src/object/auto/autohuston.h index 32954f7..e17d04e 100644 --- a/src/object/auto/autohuston.h +++ b/src/object/auto/autohuston.h @@ -32,7 +32,7 @@ class CObject; -typedef struct
+struct HustonLens
{
int parti;
ParticuleType type;
@@ -40,11 +40,10 @@ typedef struct float dim;
float total;
float off;
-}
-HustonLens;
+};
-#define HUSTONMAXLENS 20
+const int HUSTONMAXLENS = 20;
class CAutoHuston : public CAuto
|