home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia: Special Games / INFESPGAMES.mdf / os2 / backgam / source / output.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-29  |  2.3 KB  |  66 lines

  1. /*************************************************************
  2.  *    ______                                                 *
  3.  *   /     /\  TinyFugue was derived from a client initially *
  4.  *  /   __/  \ written by Anton Rang (Tarrant) and later     *
  5.  *  |  / /\  | modified by Leo Plotkin (Grod).  The early    *
  6.  *  |  |/    | versions of TinyFugue written by Greg Hudson  *
  7.  *  |  X__/  | (Explorer_Bob).  The current version is       *
  8.  *  \ /      / written and maintained by Ken Keys (Hawkeye), *
  9.  *   \______/  who can be reached at kkeys@ucsd.edu.         *
  10.  *                                                           *
  11.  *             No copyright 1992, no rights reserved.        *
  12.  *             Fugue is in the public domain.                *
  13.  *************************************************************/
  14.  
  15. #ifdef TERMCAP
  16. # define VISUAL
  17. #endif
  18. #ifdef HARDCODE
  19. # define VISUAL
  20. #endif
  21.  
  22.  
  23. extern void NDECL(ipos);
  24. extern void NDECL(clr);
  25. extern void FDECL(putch,(int c));
  26. extern void NDECL(init_term);
  27. extern void NDECL(setup_screen);
  28. extern void NDECL(oflush);
  29. extern void FDECL(clear_more,(int new));
  30. #ifdef VISUAL
  31. extern void FDECL(put_world,(char *name));
  32. extern void FDECL(put_mail,(int flag));
  33. extern void FDECL(put_logging,(int flag));
  34. extern void FDECL(put_active,(int count));
  35. #else
  36. # define put_world(name)
  37. # define put_mail(flag)
  38. # define put_logging(flag)
  39. # define put_active(count)
  40. #endif
  41. extern void NDECL(toggle_insert);
  42. extern void NDECL(fix_screen);
  43. extern void NDECL(clear_input_window);
  44. extern void FDECL(iputs,(char *s));
  45. extern void NDECL(inewline);
  46. extern void NDECL(ibs);
  47. extern void FDECL(ibackword,(int place));
  48. extern void FDECL(newpos,(int place));
  49. extern void NDECL(dEOL);
  50. extern void NDECL(do_refresh);
  51. extern void NDECL(do_page);
  52. extern void NDECL(do_hpage);
  53. extern void NDECL(do_line);
  54. extern void NDECL(do_flush);
  55. extern void NDECL(do_line_refresh);
  56. extern void NDECL(do_replace);
  57. extern void NDECL(reset_outcount);
  58. extern void FDECL(aoutput,(struct Aline *aline));
  59. #define output(s, attrs) aoutput(new_aline((s), (attrs)))
  60. #define oputs(s) output((s), F_NEWLINE)
  61. extern void FDECL(localoutput,(struct Aline *aline));
  62. extern void FDECL(enable_wrap,(int column));
  63. extern void NDECL(disable_wrap);
  64. extern int  NDECL(getwrap);
  65. extern void FDECL(setprompt,(char *s));
  66.