diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/d3dapp.cpp | 10 | ||||
-rw-r--r-- | src/app/d3dapp.h | 1 |
2 files changed, 5 insertions, 6 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;
diff --git a/src/app/d3dapp.h b/src/app/d3dapp.h index a40dd1b..7cb13b7 100644 --- a/src/app/d3dapp.h +++ b/src/app/d3dapp.h @@ -20,7 +20,6 @@ #define D3D_OVERLOADS
-
#include <d3d.h>
#include "graphics/d3d/d3dengine.h"
|