From 88fd751f97e6f0f4acb3a9b790f98e3291960c2a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 6 Feb 2022 20:00:52 +0100 Subject: [PATCH] added support for fourth digit for inventory (dynamite) count on game panel --- src/conf_gfx.c | 3 ++- src/game.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 62326d7a..c321bcf0 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -8549,8 +8549,9 @@ struct ConfigInfo image_config[] = { "game.panel.inventory_count.y", "89" }, { "game.panel.inventory_count.align", "center" }, { "game.panel.inventory_count.valign", "top" }, - { "game.panel.inventory_count.digits", "3" }, + { "game.panel.inventory_count.digits", "-1" }, { "game.panel.inventory_count.font", "font.text_2" }, + { "game.panel.inventory_count.font_narrow", "font.text_1" }, { "game.panel.inventory_count.draw_masked", "true" }, { "game.panel.inventory_count.draw_order", "0" }, { "game.panel.inventory_count.class", "none" }, diff --git a/src/game.c b/src/game.c index defb1d08..8422878a 100644 --- a/src/game.c +++ b/src/game.c @@ -2681,6 +2681,7 @@ static void DisplayGameControlValues(void) if (type == TYPE_INTEGER) { if (nr == GAME_PANEL_LEVEL_NUMBER || + nr == GAME_PANEL_INVENTORY_COUNT || nr == GAME_PANEL_TIME) { boolean use_dynamic_size = (size == -1 ? TRUE : FALSE); -- 2.34.1