home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display stack of things player is standing on.
[plomrogue]
/
src
/
client
/
draw_wins.c
diff --git
a/src/client/draw_wins.c
b/src/client/draw_wins.c
index 1a3c9ad16c1c392963fc62401e3253a7fc89c4d1..63fb8a0324c5ded1b1150dc5f4a5de533be12d92 100644
(file)
--- a/
src/client/draw_wins.c
+++ b/
src/client/draw_wins.c
@@
-325,7
+325,7
@@
static char * winconf_geom_helper(struct Win * win, char axis, char * sep,
}
char * p11 = ")";
uint8_t size = strlen(p0) + strlen(p1) + strlen(p2) + strlen(sep)
}
char * p11 = ")";
uint8_t size = strlen(p0) + strlen(p1) + strlen(p2) + strlen(sep)
- + strlen(p4) + strlen(sep) + strlen(p6) +
strlen(value_prefix)
+ + strlen(p4) + strlen(sep) + strlen(p6) +strlen(value_prefix)
+ strlen(p8) + strlen(p9) + strlen(p10) + strlen(p11)
+ strlen(newlines);
char * msg = try_malloc(size, __func__);
+ strlen(p8) + strlen(p9) + strlen(p10) + strlen(p11)
+ strlen(newlines);
char * msg = try_malloc(size, __func__);
@@
-434,6
+434,16
@@
extern void draw_win_inventory(struct Win * win)
+extern void draw_win_terrain_stack(struct Win * win)
+{
+ if (world.things_below_player)
+ {
+ add_text_with_linebreaks(win, world.things_below_player);
+ }
+}
+
+
+
extern void draw_win_keybindings_global(struct Win * win)
{
win->center.y = world.kb_global.select;
extern void draw_win_keybindings_global(struct Win * win)
{
win->center.y = world.kb_global.select;