#include <sys/indirect.h>

#define REAL_SCREEN_W 28
#define REAL_SCREEN_H 18
#define SCREEN_W REAL_SCREEN_W
#define SCREEN_H REAL_SCREEN_H

typedef struct {
  IL super;
  void (far *move)(int y, int x);
  int (far *getcurx)();
  int (far *getcury)();
  void (far *addch)(int c);
  void (far *insch)(int c);
  void (far *delch)();
  void (far *addstr)(char far *string);
  void (far *insertln)();
  void (far *deleteln)();

  int (far *initscr)();
  int (far *getscr)();
  void (far *endwin)();
  void (far *set_stdout_flag)(int flag);
  int (far *get_stdout_flag)();
} TScreenIL;
