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/object/motion/motiontoto.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/object/motion/motiontoto.h') diff --git a/src/object/motion/motiontoto.h b/src/object/motion/motiontoto.h index 1c7f871..935e4a5 100644 --- a/src/object/motion/motiontoto.h +++ b/src/object/motion/motiontoto.h @@ -34,10 +34,13 @@ class CBrain; class CPhysics; -#define MT_ERROR 0 -#define MT_WARNING 1 -#define MT_INFO 2 -#define MT_MESSAGE 3 +enum MotionTotoAction +{ + MT_ERROR = 0, + MT_WARNING = 1, + MT_INFO = 2, + MT_MESSAGE = 3 +}; class CMotionToto : public CMotion -- cgit v1.2.3-1-g7c22