projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull SERGEEV dependencies out of reports.c.
[super-star-trek.git]
/
sst.c
diff --git
a/sst.c
b/sst.c
index 409b489520104737673bfa7bf41782906ee49f94..346bb4c740c4a697ed76451183eadf6375f923b9 100644
(file)
--- a/
sst.c
+++ b/
sst.c
@@
-261,8
+261,9
@@
static void helpme(void) {
fclose(fp);
}
fclose(fp);
}
+void drawmaps(short l) {
+/* hook to be called after moving to redraw maps */
#ifdef SERGEEV
#ifdef SERGEEV
-void drawmaps(short l){
_setcursortype(_NOCURSOR);
if (l==1) sensor();
if (l!=2) setwnd(1);
_setcursortype(_NOCURSOR);
if (l==1) sensor();
if (l!=2) setwnd(1);
@@
-279,8
+280,8
@@
void drawmaps(short l){
lrscan();
_setcursortype(_NORMALCURSOR);
}
lrscan();
_setcursortype(_NORMALCURSOR);
}
-}
#endif /* SERGEEV */
#endif /* SERGEEV */
+}
static void makemoves(void) {
int i, hitme;
static void makemoves(void) {
int i, hitme;
@@
-289,9
+290,7
@@
static void makemoves(void) {
setwnd(4);
#endif /* SERGEEV */
while (TRUE) { /* command loop */
setwnd(4);
#endif /* SERGEEV */
while (TRUE) { /* command loop */
-#ifdef SERGEEV
drawmaps(1);
drawmaps(1);
-#endif /* SERGEEV */
while (TRUE) { /* get a command */
hitme = FALSE;
justin = 0;
while (TRUE) { /* get a command */
hitme = FALSE;
justin = 0;