From: Stas Sergeev Date: Fri, 22 Sep 2006 17:09:23 +0000 (+0000) Subject: Another rollup patch. X-Git-Tag: 2.0~200 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=c2847bb7511b0cf8472ba3a0a170a4fedd3b2861;hp=c2847bb7511b0cf8472ba3a0a170a4fedd3b2861 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. ---