added font definition for narrow variant of existing font
authorHolger Schemel <info@artsoft.org>
Fri, 20 Apr 2018 18:18:39 +0000 (20:18 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 20 Apr 2018 18:18:39 +0000 (20:18 +0200)
src/conf_gfx.c
src/main.c
src/main.h

index 4e1b54ba0d9ab884eb0ad7928bc634f2b1d13f13..2b4d4199e9a80fa17b548d1dee094540c4945c85 100644 (file)
@@ -6627,6 +6627,8 @@ struct ConfigInfo image_config[] =
   { "font.value_old.y",                                "160"                   },
   { "font.value_old.width",                    "32"                    },
   { "font.value_old.height",                   "32"                    },
+  { "font.value_old_narrow",                   UNDEFINED_FILENAME      },
+  { "font.value_old_narrow.clone_from",                "font.text_2.LEVELS"    },
   { "font.value_narrow",                       UNDEFINED_FILENAME      },
   { "font.value_narrow.clone_from",            "font.text_4.LEVELS"    },
 
index 36cd516fb627d0c425581265c7421b4300c3063b..b46609a18602558b3223bc72469dd66ee38c79f7 100644 (file)
@@ -7483,6 +7483,7 @@ struct FontInfo font_info[NUM_FONTS + 1] =
   { "font.option_on"           },
   { "font.value_1"             },
   { "font.value_2"             },
+  { "font.value_old_narrow"    },
   { "font.value_old"           },
   { "font.value_narrow"                },
   { "font.level_number.active" },
index 77c2677957f26a34347f1cf0536d8f540846358c..d688627d87903d2bc41555f757dea25c38ebfc37 100644 (file)
 #define FONT_OPTION_ON                 30
 #define FONT_VALUE_1                   31
 #define FONT_VALUE_2                   32
-#define FONT_VALUE_OLD                 33
-#define FONT_VALUE_NARROW              34
-#define FONT_LEVEL_NUMBER_ACTIVE       35
-#define FONT_LEVEL_NUMBER              36
-#define FONT_TAPE_RECORDER             37
-#define FONT_GAME_INFO                 38
-#define FONT_INFO_ELEMENTS             39
-#define FONT_INFO_LEVELSET             40
-
-#define NUM_FONTS                      41
+#define FONT_VALUE_OLD_NARROW          33
+#define FONT_VALUE_OLD                 34
+#define FONT_VALUE_NARROW              35
+#define FONT_LEVEL_NUMBER_ACTIVE       36
+#define FONT_LEVEL_NUMBER              37
+#define FONT_TAPE_RECORDER             38
+#define FONT_GAME_INFO                 39
+#define FONT_INFO_ELEMENTS             40
+#define FONT_INFO_LEVELSET             41
+
+#define NUM_FONTS                      42
 #define NUM_INITIAL_FONTS              4
 
 /* values for toon animation configuration */