From c25e2499bcfcdc43202f7a59ab97ce802d418a6c Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 15 Mar 2015 17:20:59 +0100
Subject: [PATCH] Client: Shrink "stats"/"info" window (7DRL: expect GOD_MOOD
 to vanish).

---
 confclient/interface_conf |  4 ++--
 src/client/draw_wins.c    | 16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/confclient/interface_conf b/confclient/interface_conf
index 8da5769..259dd02 100644
--- a/confclient/interface_conf
+++ b/confclient/interface_conf
@@ -80,13 +80,13 @@ WINDOW i
 NAME 'Stats'
 BREAK 2
 WIDTH 33
-HEIGHT 3
+HEIGHT 1
 
 WINDOW l
 NAME 'Log'
 BREAK 0
 WIDTH 33
-HEIGHT -9
+HEIGHT -7
 
 WINDOW m
 NAME 'Please the Island God'
diff --git a/src/client/draw_wins.c b/src/client/draw_wins.c
index d9b0b15..c21a971 100644
--- a/src/client/draw_wins.c
+++ b/src/client/draw_wins.c
@@ -546,18 +546,18 @@ extern void draw_win_map(struct Win * win)
 
 extern void draw_win_info(struct Win * win)
 {
-    char * dsc_turn      = "Turn: ";
-    char * dsc_hitpoints = "\nHitpoints: ";
-    char * dsc_satiation = "\nSatiation: ";
-    char * dsc_godsmood  = "\nGod's mood: "; // 7DRL
-    char * dsc_godsfavor = "\nGod's favor: "; // 7DRL
+    char * dsc_turn      = "T:";
+    char * dsc_hitpoints = " | H:";
+    char * dsc_satiation = " S:";
+    // char * dsc_godsmood  = "\nGod's mood: "; // 7DRL
+    char * dsc_godsfavor = " G:"; // 7DRL
     uint16_t maxl =   strlen(dsc_turn) + 5 + strlen(dsc_hitpoints) + 3 //
-                    + strlen(dsc_satiation) + 6 + strlen(dsc_godsmood) + 6 //
+                    + strlen(dsc_satiation) + 6 + /*strlen(dsc_godsmood) + 6*/ //
                     + strlen(dsc_godsfavor) + 6; //
     char * text = try_malloc(maxl + 1, __func__);
-    int test = sprintf(text, "%s%d%s%d%s%d%s%d%s%d", dsc_turn, world.turn,
+    int test = sprintf(text, "%s%d%s%d%s%d%s%d", dsc_turn, world.turn,
                        dsc_hitpoints, world.player_lifepoints, dsc_satiation,
-                       world.player_satiation, dsc_godsmood, world.godsmood, //
+                       world.player_satiation, /*dsc_godsmood, world.godsmood,*/ //
                        dsc_godsfavor, world.godsfavor); //
     exit_trouble(test < 0, __func__, "sprintf");
     add_text_with_linebreaks(win, text);
-- 
2.30.2