summaryrefslogtreecommitdiffstats
path: root/src/app/d3dapp.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/app/d3dapp.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/app/d3dapp.cpp')
-rw-r--r--src/app/d3dapp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/d3dapp.cpp b/src/app/d3dapp.cpp
index 6122feb..3d8f798 100644
--- a/src/app/d3dapp.cpp
+++ b/src/app/d3dapp.cpp
@@ -48,14 +48,14 @@
#endif
-#define AUDIO_TRACK 13 // total number of audio tracks on the CD
-#define MAX_STEP 0.2f // maximum time for a step
+const int AUDIO_TRACK = 13; // total number of audio tracks on the CD
+const float MAX_STEP = 0.2f; // maximum time for a step
-#define WINDOW_DX (640+6) // dimensions in windowed mode
-#define WINDOW_DY (480+25)
+const int WINDOW_DX = (640+6); // dimensions in windowed mode
+const int WINDOW_DY = (480+25);
#define USE_THREAD false // true does not work!
-#define TIME_THREAD 0.02f
+const float TIME_THREAD = 0.02f;