MCPcopy Create free account
hub / github.com/NetHack/NetHack / init_text

Function init_text

win/X11/winmap.c:1649–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647}
1648
1649static void
1650init_text(struct xwindow *wp)
1651{
1652 struct map_info_t *map_info = wp->map_information;
1653
1654 /* set up map_info->text_map->text */
1655 map_all_unexplored(map_info);
1656
1657 get_char_info(wp);
1658 get_text_gc(wp, X11_get_map_font(wp));
1659}
1660
1661static char map_translations[] = "#override\n\
1662 <Key>Left: scroll(4)\n\

Callers 1

create_map_windowFunction · 0.85

Calls 4

map_all_unexploredFunction · 0.85
get_char_infoFunction · 0.85
get_text_gcFunction · 0.85
X11_get_map_fontFunction · 0.85

Tested by

no test coverage detected