root/gameio.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* gameio.h */
   2 
   3 #ifndef _GAME_IO_H_
   4 #define _GAME_IO_H_
   5 
   6 /* store terminal environment 
   7    This have to be called before
   8    other functions in this file!! */
   9 void gameioinit(void);
  10 
  11 /* read one character from keyboard */ 
  12 int gameioread(void);
  13 
  14 /* recover terminal environment
  15    This have to be called before 
  16    the end of your program!! */
  17 void gameiopost(void);
  18 
  19 /* clear terminal */
  20 void gameioclear(void);
  21 
  22 /* refresh terminal */
  23 void gameiorefresh(void);
  24 
  25 /* put character ch at x,y  */
  26 void gameioput(int x, int y, char ch);
  27 
  28 /* sleep t microseconds */
  29 void gameiousleep(int t);
  30 
  31 #endif
  32 

/* [<][>][^][v][top][bottom][index][help] */