summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libdos.h
blob: 1b8ae87e7590dd6565591efaf47c37ac1ff9296c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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();

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

#endif