From a8665d204255b4b0ad9ae6982f77ecd5e053c1b6 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 11 Jun 2012 17:28:27 +0200 Subject: Changed #defined constants to consts; typedef struct -> struct --- src/ui/map.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/ui/map.h') 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; +}; -- cgit v1.2.3-1-g7c22