MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / render_all

Method render_all

src/SB/Game/zTalkBox.cpp:1695–1725  ·  view source on GitHub ↗

namespace

Source from the content-addressed store, hash-verified

1693 static U32* pad_pressed()
1694 {
1695 if (shared.permit & 2)
1696 {
1697 return &globals.pad0->pressed;
1698 }
1699
1700 static U32 zero;
1701 zero = 0;
1702 return &zero;
1703 }
1704
1705}; // namespace
1706void ztalkbox::render_all()
1707{
1708 if (!(shared.permit & 1))
1709 {
1710 return;
1711 }
1712
1713 if (!shared.state)
1714 {
1715 return;
1716 }
1717
1718 if (!shared.active->flag.visible)
1719 {
1720 return;
1721 }
1722
1723 ztextbox& d = *shared.active->dialog_box;
1724
1725 if (d.flag.active)
1726 {
1727 d.deactivate();
1728 }

Callers

nothing calls this directly

Calls 3

render_backdropMethod · 0.80
deactivateMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected