This commit is contained in:
jl777
2019-02-17 00:58:04 -11:00
parent 413b477db0
commit bc1fc144ae
3 changed files with 3 additions and 6 deletions

View File

@@ -16,6 +16,7 @@
#include "cursesd.h"
static int32_t endwinflag;
WINDOW *stdscr;
WINDOW *newwin(int32_t nlines,int32_t ncols,int32_t begin_y,int32_t begin_x)
{

View File

@@ -40,7 +40,8 @@ struct cursesd_info
{
uint8_t screen[LINES][COLS];
int32_t x,y;
} *stdscr;
};
extern WINDOW *stdscr;
typedef struct cursesd_info WINDOW;
typedef char chtype;

View File

@@ -8,11 +8,6 @@
//#include <curses.h>
//#include <ctype.h>
//#include <string.h>
#ifndef BUILD_ROGUE
#include <curses.h>
#else
#include "cursesd.h"
#endif
#include "rogue.h"