| 215 | } |
| 216 | |
| 217 | void PrintQLString(const Surface &out, int x, int y, string_view str, bool marked, bool disabled = false) |
| 218 | { |
| 219 | int width = GetLineWidth(str); |
| 220 | x += std::max((257 - width) / 2, 0); |
| 221 | if (marked) { |
| 222 | ClxDraw(out, GetPanelPosition(UiPanels::Quest, { x - 20, y + 13 }), (*pSPentSpn2Cels)[PentSpn2Spin()]); |
| 223 | } |
| 224 | DrawString(out, str, { GetPanelPosition(UiPanels::Quest, { x, y }), { 257, 0 } }, { disabled ? UiFlags::ColorWhitegold : UiFlags::ColorWhite }); |
| 225 | if (marked) { |
| 226 | ClxDraw(out, GetPanelPosition(UiPanels::Quest, { x + width + 7, y + 13 }), (*pSPentSpn2Cels)[PentSpn2Spin()]); |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | void StartPWaterPurify() |
| 231 | { |
no test coverage detected