wattron(conio_scr,COLOR_PAIR(1+(color&7)+((color&112)>>1)));
}
+#ifdef SERGEEV
/* Call this before any call to linux conio - except the port functions ! */
void __attribute__((constructor)) initconio (void) /* This is needed, because ncurses needs to be initialized */
{
textcolor(7);
textbackground(0);
}
+#endif /* SERGEEV */
/* Call this on exiting your program */
void doneconio (void)
if(signal(SIGQUIT,SIG_IGN) != SIG_IGN)
(void)signal(SIGQUIT,fastexit);
-#ifndef SERGEEV
- if (curses = usecurses) {
-#else /* SERGEEV */
if ((curses = usecurses)) {
-#endif /* SERGEEV */
(void)initscr();
#ifdef KEY_MIN
keypad(stdscr, TRUE);
VERS=$(shell sed <sst.spec -n -e '/Version: \(.*\)/s//\1/p')
-#ifndef SERGEEV
CFLAGS= -O -g -DSSTDOC='"/usr/share/doc/sst/sst.doc"'
-#else /* SERGEEV */
-CFLAGS= -O1 -g -Wall -DSSTDOC='"/usr/share/doc/sst/sst.doc"'
-#endif /* SERGEEV */
.c.o:
$(CC) $(CFLAGS) -c $<
}\r
\r
void orbit(void) {\r
- double asave;\r
-\r
skip(1);\r
chew();\r
ididit=0;\r
2. deathray improvement (but keeping original failure alternatives)\r
\r
3. Tholian Web\r
-s\r
+\r
4. Enemies can ram the Enterprise. Regular Klingons and Romulans can\r
move in Expert and Emeritus games. This code could use improvement.\r
\r