summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libdos.h
blob: 38bbd486995bb67feef779380407d78c4a99ba91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __LIBDOS_H__
#define __LIBDOS_H__

void init_libdos();

int get_number_of_lines();
int get_number_of_cols();

inline void enable_smart_cursor(bool ) { }
inline bool is_smart_cursor_enabled()  { return (false); }
void set_cursor_enabled(bool enabled);
bool is_cursor_enabled();
void clear_to_end_of_line();
int getch_ck();
static inline void set_mouse_enabled(bool enabled) { }

void message_out(int mline, int colour, const char *str, int firstcol = 0,
                 bool newline = true);
void clear_message_window();
inline void update_screen()
{
}

void putwch(unsigned c);

#endif