From dd70ed47b4d1e37c756fc35c04376ecdfb6654fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 24 Oct 2020 23:34:24 +0200 Subject: [PATCH] Move setting --- settings.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/settings.h b/settings.h index 98de913..4846ccb 100644 --- a/settings.h +++ b/settings.h @@ -25,7 +25,6 @@ (e.g. half FPS at half speed), so if you want to keep the FPS, divide it by the multiplier value. */ - #ifndef SFG_TIME_MULTIPLIER #define SFG_TIME_MULTIPLIER 1024 #endif @@ -369,6 +368,15 @@ #define SFG_ARDUINO 0 #endif +/** + Whether levels background (in distance or transparent wall textures) should + be drawn. If turned off, the background will be constant color, which can + noticably increase performance. +*/ +#ifndef SFG_DRAW_LEVEL_BACKGROUND + #define SFG_DRAW_LEVEL_BACKGROUND 1 +#endif + //------ developer/debug settings ------ /** @@ -421,13 +429,4 @@ #define SFG_UNLOCK_DOOR 0 #endif -/** - Whether levels background (in distance or transparent wall textures) should - be drawn. If turned off, the background will be constant color, which can - noticably increase performance. -*/ -#ifndef SFG_DRAW_LEVEL_BACKGROUND - #define SFG_DRAW_LEVEL_BACKGROUND 1 -#endif - #endif // guard