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

Function mswin_update_inventory

win/win32/mswproc.c:1252–1259  ·  view source on GitHub ↗

-- Indicate to the window port that the inventory has been changed. -- Merely calls repopulate_perminvent() for window-ports that leave the window up, otherwise empty. */

Source from the content-addressed store, hash-verified

1250 window up, otherwise empty.
1251*/
1252void
1253mswin_update_inventory(int arg)
1254{
1255 logDebug("mswin_update_inventory(%d)\n", arg);
1256 if (iflags.perm_invent && program_state.something_worth_saving
1257 && iflags.window_inited && WIN_INVEN != WIN_ERR)
1258 repopulate_perminvent();
1259}
1260
1261win_request_info *
1262mswin_ctrl_nhwindow(

Callers 2

mswin_map_modeFunction · 0.70
mswin_preference_updateFunction · 0.70

Calls 2

repopulate_perminventFunction · 0.85
logDebugFunction · 0.70

Tested by

no test coverage detected