X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=conio.c;h=d603349ad0934eb705ad4da2245c8fd5105bb520;hp=9c37ad5225c654155d7474ad6a1ea2ff3f0e56d5;hb=2e65db78c58369f165c7d5c4edc849300a2d7f53;hpb=134c4bd70409dcfae84913859263c93f96374f20 diff --git a/conio.c b/conio.c index 9c37ad5..d603349 100644 --- a/conio.c +++ b/conio.c @@ -276,11 +276,14 @@ void textbackground (int color) docolor(color); } + void textcolor (int color) { +#ifdef SERGEEV fgc=color; color=(bgc*16)+fgc; docolor(color); +#endif /* SERGEEV */ } void textmode (int mode)