projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First round of changes from Stas Sergeev.
[super-star-trek.git]
/
io.c
diff --git
a/io.c
b/io.c
index a5ac6d9e30411105399ca04869758b15ffcee87a..81f1c8a18b70fdb3953cb5d7530f43de77d1b1f6 100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-82,7
+82,7
@@
void clearscreen(void) {
#endif
}
#endif
}
-void pause(int i) {
+void pause
_game
(int i) {
char buf[BUFSIZ], *prompt;
if (i==1) {
if (skill > 2)
char buf[BUFSIZ], *prompt;
if (i==1) {
if (skill > 2)
@@
-121,13
+121,13
@@
void skip(int i) {
int y, x;
getyx(stdscr, y, x);
if (y == screenheight-1)
int y, x;
getyx(stdscr, y, x);
if (y == screenheight-1)
- pause(0);
+ pause
_game
(0);
else
waddch(stdscr, '\n');
} else {
linecount++;
if (linecount >= screenheight)
else
waddch(stdscr, '\n');
} else {
linecount++;
if (linecount >= screenheight)
- pause(0);
+ pause
_game
(0);
else
putchar('\n');
}
else
putchar('\n');
}