summaryrefslogtreecommitdiffstats
path: root/src/ui/maindialog.cpp
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/maindialog.cpp
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/maindialog.cpp')
-rw-r--r--src/ui/maindialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 40ac4c9..175474d 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -61,15 +61,15 @@
-#define KEY_VISIBLE 6 // number of visible keys redefinable
+const int KEY_VISIBLE = 6; // number of visible keys redefinable
#if _SCHOOL & _TEEN
-#define KEY_TOTAL 13 // total number of keys redefinable
+const int KEY_TOTAL = 13; // total number of keys redefinable
#else
-#define KEY_TOTAL 21 // total number of keys redefinable
+const int KEY_TOTAL = 21; // total number of keys redefinable
#endif
-#define WELCOME_LENGTH 6.0f
+const int WELCOME_LENGTH = 6.0f;