2019-06-19 21:41:22 +02:00
|
|
|
// The OS/K Team licenses this file to you under the MIT license.
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
2019-06-21 19:38:31 +02:00
|
|
|
// Critical ordering
|
2019-06-19 21:41:22 +02:00
|
|
|
#include <pc/arch.h>
|
2019-06-19 23:16:30 +02:00
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
#include <SDL2/SDL_ttf.h>
|
2019-06-21 19:38:31 +02:00
|
|
|
#include <pc/keybd.h>
|
2019-06-19 21:41:22 +02:00
|
|
|
|
2019-08-03 19:01:12 +02:00
|
|
|
void console_init(void);
|
|
|
|
void console_exit(void);
|
2019-06-19 23:16:30 +02:00
|
|
|
|
2019-08-03 19:01:12 +02:00
|
|
|
void console_render(void);
|
|
|
|
void console_putat(char ch, int x, int y);
|
|
|
|
void console_putc(char ch);
|
|
|
|
void console_update(void);
|
2019-06-21 19:38:31 +02:00
|
|
|
|
2019-08-03 19:01:12 +02:00
|
|
|
void console_clear(void);
|
2019-07-10 22:37:59 +02:00
|
|
|
|
2019-08-03 19:01:12 +02:00
|
|
|
void console_handle_input(SDL_Keycode);
|
2019-06-19 21:41:22 +02:00
|
|
|
|