X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=inline;f=io.c;h=f4ed854e99e215c1f677b559d54e6321ec6873da;hb=2e65db78c58369f165c7d5c4edc849300a2d7f53;hp=2e66d36f10ec197929d3fbcdd47fd3478de4aacf;hpb=134c4bd70409dcfae84913859263c93f96374f20;p=super-star-trek.git diff --git a/io.c b/io.c index 2e66d36..f4ed854 100644 --- a/io.c +++ b/io.c @@ -286,6 +286,23 @@ void prouts(char *fmt, ...) { #endif /* SERGEEV */ } +void warble(void) +{ +#ifdef SERGEEV + int posx, posy; + posx=wherex(); + posy=wherey(); + drawmaps(1); + setwnd(4); + gotoxy(posx,posy); + sound(50); + delay(1000); + nosound(); +#else + prouts(" . . . . . "); +#endif /* SERGEEV */ +} + void getline(char *line, int max) { if (curses) { #ifndef SERGEEV