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

Function set_msg_dir

src/pline.c:83–89  ·  view source on GitHub ↗

set the direction where next message happens */

Source from the content-addressed store, hash-verified

81
82/* set the direction where next message happens */
83void
84set_msg_dir(int dir)
85{
86 dirtocoord(&a11y.msg_loc, dir);
87 a11y.msg_loc.x += u.ux;
88 a11y.msg_loc.y += u.uy;
89}
90
91/* set the coordinate where next message happens */
92void

Callers 1

pline_dirFunction · 0.85

Calls 1

dirtocoordFunction · 0.85

Tested by

no test coverage detected