summaryrefslogtreecommitdiffstats
path: root/src/ui/map.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-11 17:28:27 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-11 17:28:27 +0200
commita8665d204255b4b0ad9ae6982f77ecd5e053c1b6 (patch)
tree5f7e58785f5175e7f067ffaf8f96d16272c92d1e /src/ui/map.h
parent8ffdf2583e4ea77731490dcaad51dbc08d7f26fa (diff)
downloadcolobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.gz
colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.bz2
colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.zip
Changed #defined constants to consts; typedef struct -> struct
Diffstat (limited to 'src/ui/map.h')
-rw-r--r--src/ui/map.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/map.h b/src/ui/map.h
index 0a10dbf..f2df265 100644
--- a/src/ui/map.h
+++ b/src/ui/map.h
@@ -31,7 +31,7 @@ class CRobotMain;
-#define MAPMAXOBJECT 100
+const int MAPMAXOBJECT = 100;
enum MapColor
{
@@ -48,7 +48,7 @@ enum MapColor
MAPCOLOR_BBOX,
};
-typedef struct
+struct MapObject
{
char bUsed;
CObject* object;
@@ -56,8 +56,7 @@ typedef struct
ObjectType type;
FPOINT pos;
float dir;
-}
-MapObject;
+};