]> git.gir.st - minesVIiper.git/log
minesVIiper.git
6 years agofix out of bounds check for right_click, use alternate screen
girst [Sat, 17 Feb 2018 17:40:55 +0000 (18:40 +0100)]
fix out of bounds check for right_click, use alternate screen

small bug with alt.screen: the cursor in the primary screen moves down
by 1 playfield's worth

6 years agoadd questionmark key
girst [Thu, 7 Sep 2017 16:15:19 +0000 (18:15 +0200)]
add questionmark key

allows to place question marks by hitting `?'. `-q' still sets what
flags can be set with `i'.

6 years agodeduplicate code for cursor movement; alias 0='^'
girst [Thu, 7 Sep 2017 16:12:11 +0000 (18:12 +0200)]
deduplicate code for cursor movement; alias 0='^'

adds a function that handles cursor movement. takes absolute
line/column-coordinates.

6 years agofix fallthrough bug in game loop
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 :| )

6 years agoadd link to homepage
girst [Tue, 18 Jul 2017 13:05:41 +0000 (15:05 +0200)]
add link to homepage

6 years agomake vt220 scheme use bright color and blink-effect
girst [Wed, 5 Jul 2017 16:05:16 +0000 (18:05 +0200)]
make vt220 scheme use bright color and blink-effect

6 years agoon win/lose: allow restarting with 'r'
girst [Wed, 5 Jul 2017 12:40:45 +0000 (14:40 +0200)]
on win/lose: allow restarting with 'r'

6 years agodec scheme: change flag character to "!"
girst [Tue, 4 Jul 2017 20:41:43 +0000 (22:41 +0200)]
dec scheme: change flag character to "!"

6 years agomore readme, update `-h`
girst [Tue, 4 Jul 2017 19:49:21 +0000 (21:49 +0200)]
more readme, update `-h`

still TODO: screenshot

6 years agoAdd readme
girst [Tue, 4 Jul 2017 19:11:15 +0000 (21:11 +0200)]
Add readme

contains a quick overview, and the keyboard mappings.
TODO: screenshot, vt220 mode, command line arguments, etc.

6 years agoadd ^$gG movements
girst [Tue, 4 Jul 2017 19:07:40 +0000 (21:07 +0200)]
add ^$gG movements

6 years agofinish VT220 mode
girst [Tue, 4 Jul 2017 18:25:31 +0000 (20:25 +0200)]
finish VT220 mode

6 years ago`-d` scheme now DEC Special Graphics Character Set
girst [Tue, 4 Jul 2017 18:04:32 +0000 (20:04 +0200)]
`-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

6 years agoadd restart game key, fix free()-segfault
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.

6 years agoihello world^[:wq
girst [Tue, 27 Jun 2017 14:04:33 +0000 (16:04 +0200)]
ihello world^[:wq

Imprint / Impressum