home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
TANK11.ZIP
/
SOURCE.ZIP
/
PUTSTR13.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-16
|
411b
|
16 lines
#include "tankdefs.h"
#include "types.h"
#include "extern.h"
void PutString13(char *buf, int x, int y, int f, int b)
/* requires: in graphics mode 13, buf contains a null terminated string
* ensures: string buf written to screen starting at x,y
* with characters 8 spaces apart and colors f/b
*/
{
int i;
for (i=0;buf[i];i++) {
DisplayChar13(*(buf+i), x, y, f, b);
x += 8;
}
}