]> git.gir.st - minesVIiper.git/commit
stomp radius now with mouse, renamed partial_show_minefield()
authorgirst <girst@users.noreply.github.com>
Mon, 30 Apr 2018 16:21:21 +0000 (18:21 +0200)
committergirst <girst@users.noreply.github.com>
Mon, 30 Apr 2018 16:26:42 +0000 (18:26 +0200)
commiteb7455d3d97815b4b2584f68a16916c11c5ab415
tree15842b5d0d2c5a93c8775a1c30bedd7a6923a41c
parent392b85a1788edd84f99ea7f8359b59aba8c46bd3
stomp radius now with mouse, renamed partial_show_minefield()

partial_show_minefield() -> redraw_cell(): more intuitive, less long
stomp radius:
factored out into functions show_stomp() and wait_stomp().
initially, I just used them as-is in wait_mouse_up(), but then
do_uncover() showed the stomp _again_, which is undesired.
do_uncover() now takes a new parameter, actor, which tells it
what method the user used to activate it. (feels like a dirty
hack :( )

PS: this took 2 --amends to get right m(
mines.c
mines.h
Imprint / Impressum