home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / TANK11.ZIP / SOURCE.ZIP / PUTSTR13.C < prev    next >
C/C++ Source or Header  |  1993-01-16  |  411b  |  16 lines

  1. #include "tankdefs.h"
  2. #include "types.h"
  3. #include "extern.h"
  4.  
  5. void PutString13(char *buf, int x, int y, int f, int b)
  6. /* requires: in graphics mode 13, buf contains a null terminated string
  7.  * ensures:  string buf written to screen starting at x,y
  8.  *            with characters 8 spaces apart and colors f/b
  9.  */
  10. {
  11.     int i;
  12.     for (i=0;buf[i];i++) {
  13.         DisplayChar13(*(buf+i), x, y, f, b);
  14.         x += 8;
  15.     }
  16. }