projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40c993b
)
added support for fourth digit for inventory (dynamite) count on game panel
author
Holger Schemel
<info@artsoft.org>
Sun, 6 Feb 2022 19:00:52 +0000
(20:00 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 6 Feb 2022 19:00:52 +0000
(20:00 +0100)
src/conf_gfx.c
patch
|
blob
|
history
src/game.c
patch
|
blob
|
history
diff --git
a/src/conf_gfx.c
b/src/conf_gfx.c
index 62326d7a972d5924b5db09f9ceed03bd6ba3c52b..c321bcf0eb00e4a5bba9510790a0fdf645bfdb76 100644
(file)
--- 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.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", "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" },
{ "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 defb1d08802b16814dc27065efd95ddd776bf296..8422878aeff98cd52891afaa1411fa5300fabf9f 100644
(file)
--- 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 ||
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);
nr == GAME_PANEL_TIME)
{
boolean use_dynamic_size = (size == -1 ? TRUE : FALSE);