girst [Sun, 6 Aug 2017 16:25:01 +0000 (18:25 +0200)]
fix fallthrough bug in game loop
somehow, I managed to insert the case statement for restarting the game in
between the cases for flagging with the mouse and keyboard, which are connected
together with a fallthrough. That made the game restart whenever the mouse was
used to flag. I didn't notice this earlier, since I mostly play this game with the keyboard. (shame on me for not testing my code :| )
`-d` scheme now DEC Special Graphics Character Set
the double width character scheme was always intended for my VT220, not
another (subjectively worse) xterm mode) - therefore, I've replaced it
with the proprietary DEC charset.
TODO: add something to swich charset on beginning/exit
girst [Thu, 29 Jun 2017 22:47:52 +0000 (00:47 +0200)]
add restart game key, fix free()-segfault
if help screen was requested, the program will terminate. this causes
quit() to be called (set by atexit()), which in turn tried to free the
elements of f.c, which have not been created then.