projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Incorporate BSD-Trek visual-scan code, just in case.
[super-star-trek.git]
/
src
/
sst.c
diff --git
a/src/sst.c
b/src/sst.c
index d19698491d71a64611cf7b7a0fd6a99591a9d6cd..0ae5598fda18feb55d90af6e39fc5e25ce446751 100644
(file)
--- a/
src/sst.c
+++ b/
src/sst.c
@@
-291,6
+291,10
@@
commands[] = {
{"HELP", HELP, 0},
#define SEED 37
{"SEED", SEED, 0},
{"HELP", HELP, 0},
#define SEED 37
{"SEED", SEED, 0},
+#if BSD_BUG_FOR_BUG
+#define VISUAL 38
+ {"VISUAL", VISUAL, 0},
+#endif
};
#define NUMCOMMANDS sizeof(commands)/sizeof(commands[0])
};
#define NUMCOMMANDS sizeof(commands)/sizeof(commands[0])
@@
-572,6
+576,11
@@
static void makemoves(void)
if (key == IHREAL)
seed = (int)aaitem;
break;
if (key == IHREAL)
seed = (int)aaitem;
break;
+#if BSD_BUG_FOR_BUG
+ case VISUAL:
+ visual(); // perform visual scan
+ break;
+#endif
}
commandhook(commands[i].name, false);
for (;;) {
}
commandhook(commands[i].name, false);
for (;;) {