From: Holger Schemel Date: Sun, 6 Feb 2022 19:00:52 +0000 (+0100) Subject: added support for fourth digit for inventory (dynamite) count on game panel X-Git-Tag: 4.3.1.1~6 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=88fd751f97e6f0f4acb3a9b790f98e3291960c2a added support for fourth digit for inventory (dynamite) count on game panel --- 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);