namespace
| 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 |
| 1706 | void 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 | } |
nothing calls this directly
no test coverage detected