#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers /***************************************************************************** * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * OpenRCT2 is the work of many authors, a full list can be found in contributors.md * For more information, visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * A full copy of the GNU General Public License can be found in licence.txt *****************************************************************************/ #pragma endregion #ifndef _CONSOLE_H_ #define _CONSOLE_H_ #include "../common.h" #include "../drawing/drawing.h" extern bool gConsoleOpen; void console_open(); void console_close(); void console_toggle(); void console_update(); void console_draw(rct_drawpixelinfo *dpi); void console_input(int c); void console_write(const utf8 *src); void console_writeline(const utf8 *src); void console_writeline_error(const utf8 *src); void console_writeline_warning(const utf8 *src); void console_printf(const utf8 *format, ...); void console_execute(const utf8 *src); void console_execute_silent(const utf8 *src); void console_clear(); void console_clear_line(); void console_refresh_caret(); void console_scroll(int delta); #endif