MCPcopy Create free account
hub / github.com/davemoore22/sorcery / _setup_windows

Method _setup_windows

src/core/ui.cpp:729–751  ·  view source on GitHub ↗

Preset all the (transparent) windows we will need (this should be called before anything else is drawn to the screen during each render)

Source from the content-addressed store, hash-verified

727 _ctx.get_flag_ref("want_elevator_bottom"));
728 if (modal_inspect->show)
729 modal_inspect->display(_ctx.get_flag_ref("want_inspect"));
730 if (modal_identify->show)
731 modal_identify->display(_ctx.get_flag_ref("want_identify"));
732 if (modal_equip->show)
733 modal_equip->display(_ctx.get_flag_ref("want_equip"));
734 if (modal_remove->show)
735 modal_remove->display(_ctx.get_flag_ref("want_remove"));
736 if (modal_drop->show)
737 modal_drop->display(_ctx.get_flag_ref("want_drop"));
738 if (modal_trade->show)
739 modal_trade->display(_ctx.get_flag_ref("want_trade"));
740 if (modal_give->show)
741 modal_give->display(_ctx.get_flag_ref("want_give"));
742 if (modal_use->show)
743 modal_use->display(_ctx.get_flag_ref("want_use"));
744 if (modal_invoke->show)
745 modal_invoke->display(_ctx.get_flag_ref("want_invoke"));
746 if (modal_spell->show)
747 modal_spell->display(_ctx.get_flag_ref("want_spell"));
748 if (notice_pool_gold->show)
749 notice_pool_gold->display(_ctx.get_flag_ref("want_pool_gold"));
750 if (_ctx.get_flag("interface_ui") && _ctx.get_flag("interface_party_panel"))
751 _draw_party_panel();
752 if (_ctx.get_flag("interface_ui")) {
753 _draw_compass();
754 _draw_buffbar();

Callers

nothing calls this directly

Calls 1

with_WindowFunction · 0.85

Tested by

no test coverage detected