Another rollup patch.
- use ARRAY_SIZE
- cleaned up srscan()
- introduced a separate ncurses window for status
- removed completed TODO entries
- fixed SIGSEGV in tty mode when env LINES is undefined (always!)
- made "Please enter password" message visible
- made the above message to appear for OPTION_PLAIN instead of !OPTION_CURSES
- killed enqueue()
- localized status() (added helper prstat() )
- enabled gcc to check the format arguments, which uncovered a lot of
the real bugs!
- fixed the bugs uncovered by the gcc format checking (the last one in
ai.c is left for Eric :)
- fixed problem with skip(): it relied on "linecount", but "linecount"
doesn't increment when you enter the multiline answers, like, for example,
the torpedo courses. The fix works only in curses mode though - no idea
how to fix this for tty.
- localized prouts(), however, not very cleanly. Any help is appreciated,
see the added comments.
12 files changed: