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/common/modfile.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/common/modfile.h')
-rw-r--r-- | src/common/modfile.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/common/modfile.h b/src/common/modfile.h index c6fc43b..8095a91 100644 --- a/src/common/modfile.h +++ b/src/common/modfile.h @@ -27,7 +27,7 @@ class CInstanceManager; -typedef struct
+struct OldModelTriangle1
{
char bUsed; // true -> using
char bSelect; // true -> selected
@@ -38,10 +38,9 @@ typedef struct char texName[20];
float min;
float max;
-}
-OldModelTriangle1; // length = 196 bytes
+}; // length = 196 bytes
-typedef struct
+struct OldModelTriangle2
{
char bUsed; // true -> used
char bSelect; // true -> selected
@@ -57,10 +56,9 @@ typedef struct short reserve2;
short reserve3;
short reserve4;
-}
-OldModelTriangle2;
+};
-typedef struct
+struct ModelTriangle
{
char bUsed; // true -> used
char bSelect; // true -> selected
@@ -76,8 +74,7 @@ typedef struct short reserve2;
short reserve3;
short reserve4;
-}
-ModelTriangle; // length = 208 bytes
+}; // length = 208 bytes
|