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

Function prepare_perminvent

src/invent.c:5548–5562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5546}
5547
5548void
5549prepare_perminvent(winid window)
5550{
5551 win_request_info *wri;
5552 int invmode = (int) iflags.perminv_mode;
5553
5554 if (perminv_flags != invmode) {
5555 wri_info = zerowri;
5556 wri_info.fromcore.invmode = invmode;
5557 /* relay the mode settings to the window port */
5558 wri = ctrl_nhwindow(window, set_mode, &wri_info);
5559 perminv_flags = invmode;
5560 nhUse(wri);
5561 }
5562}
5563
5564void
5565sync_perminvent(void)

Callers 3

display_pickinvFunction · 0.85
sync_perminventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected