2015-05-19 04:53:37 +02:00
|
|
|
#ifndef _CONSOLE_H_
|
|
|
|
#define _CONSOLE_H_
|
|
|
|
|
|
|
|
#include "../common.h"
|
2015-05-25 21:36:40 +02:00
|
|
|
#include "../drawing/drawing.h"
|
2015-05-19 04:53:37 +02:00
|
|
|
|
|
|
|
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 char *src);
|
|
|
|
void console_writeline(const char *src);
|
2015-05-20 03:12:09 +02:00
|
|
|
void console_writeline_error(const char *src);
|
|
|
|
void console_writeline_warning(const char *src);
|
2015-05-19 19:46:05 +02:00
|
|
|
void console_printf(const char *format, ...);
|
2015-05-19 04:53:37 +02:00
|
|
|
void console_execute(const char *src);
|
2015-05-20 03:12:09 +02:00
|
|
|
void console_execute_silent(const char *src);
|
2015-05-19 04:53:37 +02:00
|
|
|
void console_clear();
|
2015-05-19 19:46:05 +02:00
|
|
|
void console_clear_line();
|
2015-05-20 03:37:44 +02:00
|
|
|
void console_refresh_caret();
|
2015-05-20 03:12:09 +02:00
|
|
|
void console_scroll(int delta);
|
2015-05-19 04:53:37 +02:00
|
|
|
|
|
|
|
#endif
|