Sfoglia il codice sorgente

changed DEFAULT_ to DEV_ in config

quantumde1 2 mesi fa
parent
commit
b497ce2201
3 ha cambiato i file con 9 aggiunte e 9 eliminazioni
  1. 5 5
      conf/settings.conf
  2. 2 2
      source/system/config.d
  3. 2 2
      source/ui/effects.d

+ 5 - 5
conf/settings.conf

@@ -4,8 +4,8 @@ DIALOG_END_INDICATOR:res/misc/circle.png
 DIALOG_BOX:res/misc/TEX#win_01b.PNG
 FALLBACK_FONT:res/font_en.png
 ICON:res/icon.png
-DEFAULT_SCREEN_WIDTH:1344
-DEFAULT_SCREEN_HEIGHT:1008
-SCREEN_WIDTH:1344
-SCREEN_HEIGHT:1008
-DEFAULT_FULLSCREEN:false
+DEV_SCREEN_WIDTH:1344
+DEV_SCREEN_HEIGHT:1008
+SCREEN_WIDTH:1280
+SCREEN_HEIGHT:960
+DEFAULT_FULLSCREEN:false

+ 2 - 2
source/system/config.d

@@ -21,8 +21,8 @@ nothrow string parseConf(string type, string filename) {
             "dialog_end_indicator": "DIALOG_END_INDICATOR:",
             "dialog_box": "DIALOG_BOX:",
             "fallback_font": "FALLBACK_FONT:",
-            "default_screen_width": "DEFAULT_SCREEN_WIDTH:",
-            "default_screen_height": "DEFAULT_SCREEN_HEIGHT:",
+            "default_screen_width": "DEV_SCREEN_WIDTH:",
+            "default_screen_height": "DEV_SCREEN_HEIGHT:",
             "screen_width": "SCREEN_WIDTH:",
             "screen_height": "SCREEN_HEIGHT:",
             "default_fullscreen": "DEFAULT_FULLSCREEN:"

+ 2 - 2
source/ui/effects.d

@@ -12,8 +12,8 @@ int screenHeight;
 
 Texture2D[] loadAnimationFramesUI(const string fileDir, const string animationFileName)
 {
-    screenWidth = systemSettings.defaultScreenWidth;
-    screenHeight = systemSettings.defaultScreenHeight;
+    screenWidth = systemSettings.screenWidth;
+    screenHeight = systemSettings.screenHeight;
     Texture2D[] frames;
     uint frameIndex = 1;
     while (true)