1 /***************************************************************************** 2 * Copyright (c) 2014-2020 OpenRCT2 developers 3 * 4 * For a complete list of all authors, please refer to contributors.md 5 * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 6 * 7 * OpenRCT2 is licensed under the GNU General Public License version 3. 8 *****************************************************************************/ 9 10 #pragma once 11 12 #include "../common.h" 13 14 #include <cstdarg> 15 16 namespace Console 17 { 18 void Write(char c); 19 void Write(const utf8* str); 20 void WriteSpace(size_t count); 21 void WriteFormat(const utf8* format, ...); 22 void WriteLine(); 23 void WriteLine(const utf8* format, ...); 24 25 namespace Error 26 { 27 void Write(char c); 28 void Write(const utf8* str); 29 void WriteFormat(const utf8* format, ...); 30 void WriteLine(); 31 void WriteLine(const utf8* format, ...); 32 void WriteLine_VA(const utf8* format, va_list args); 33 } // namespace Error 34 } // namespace Console 35