home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 287.lha / TY_v1.3 / src / screen.c < prev    next >
Encoding:
Text File  |  1989-09-07  |  1.4 KB  |  32 lines

  1. /*************************************************************************
  2.  ***                        screen.c                     (JJB TEMPLAR) ***
  3.  *** Date modifications begun: 7/8/89.                                 ***
  4.  *** Last modified: 26/8/89.                                           ***
  5.  *************************************************************************/
  6. /*** Used to be termcap oriented. Now (since Amiga only) uses straight ***
  7.  *** in-line code strings.                                             ***
  8.  *** Well, actually, its all done with #defines now. Prestigiation!    ***
  9.  *** Well again, I've had to put some functions back. Basically all    ***
  10.  *** those that are used more than once elsewhere are back.            ***
  11.  *************************************************************************/
  12.  
  13. int     sc_width = 77;
  14. int     sc_height = 23;                 /* Height & width of screen */
  15. char    sc_lower_left[10] = "1H"; /* Updated by resize (win.c) */
  16.  
  17. char    sc_home[]      = "H";
  18. char    sc_addline[]   = "L";
  19. char    sc_clear[]     = "\f";
  20. char    sc_u_in[]      = "";   /* "Underline" mode on. */
  21. char    sc_out[]       = "";          /* ^^^^^ off. */
  22.  
  23. void    home() /*========================================================*/
  24. {
  25.     tputs(sc_home);
  26. }
  27.  
  28. void    clear() /*=======================================================*/
  29. {
  30.     tputs(sc_clear);
  31. }
  32.