| 7 | namespace TEN::Renderer |
| 8 | { |
| 9 | void Renderer::AddDebugString(const std::string& string, const Vector2& pos, const Color& color, float scale, RendererDebugPage page) |
| 10 | { |
| 11 | constexpr auto FLAGS = (int)PrintStringFlags::Outline | (int)PrintStringFlags::Center; |
| 12 | |
| 13 | if (_isLocked) |
| 14 | return; |
| 15 | |
| 16 | if (!DebugMode || (_debugPage != page && page != RendererDebugPage::None)) |
| 17 | return; |
| 18 | |
| 19 | AddString(string, pos, color, scale, FLAGS); |
| 20 | } |
| 21 | |
| 22 | void Renderer::AddString(int x, int y, const std::string& string, D3DCOLOR color, int flags) |
| 23 | { |