diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-24 22:48:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-24 22:48:35 +0300 |
commit | b474de4a54c9b1d4d863971e40b807588d554436 (patch) | |
tree | 761e71f86ea232d1688ee2838bd2294c59dea947 /src/being.h | |
parent | a316d537dce50f4b4e1e10f5c26a7851baddbd8b (diff) | |
download | mv-b474de4a54c9b1d4d863971e40b807588d554436.tar.gz mv-b474de4a54c9b1d4d863971e40b807588d554436.tar.bz2 mv-b474de4a54c9b1d4d863971e40b807588d554436.tar.xz mv-b474de4a54c9b1d4d863971e40b807588d554436.zip |
replace defines to consts.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/being.h b/src/being.h index ded3f9962..66e6618e2 100644 --- a/src/being.h +++ b/src/being.h @@ -34,12 +34,12 @@ #include <map> #include <set> -#define FIRST_IGNORE_EMOTE 14 -#define STATUS_EFFECTS 32 +static const unsigned int FIRST_IGNORE_EMOTE = 14; +static const unsigned int STATUS_EFFECTS = 32; -#define SPEECH_TIME 500 -#define SPEECH_MIN_TIME 200 -#define SPEECH_MAX_TIME 800 +static const unsigned int SPEECH_TIME = 500; +static const unsigned int SPEECH_MIN_TIME = 200; +static const unsigned int SPEECH_MAX_TIME = 800; static const int DEFAULT_BEING_WIDTH = 32; static const int DEFAULT_BEING_HEIGHT = 32; |