fixed tile selection cursor position for levels smaller than the playfield 4.1.0.0
authorHolger Schemel <info@artsoft.org>
Tue, 10 Apr 2018 19:44:08 +0000 (21:44 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 10 Apr 2018 19:44:08 +0000 (21:44 +0200)
commit7d85a53b341ca7a3dca87b6f2ccebf45ddf96c92
treebe123be61cb1462a64f9cc46dba9969bd955615e
parentb79766b48296f48b54891db91d1ca3a76861a5cc
fixed tile selection cursor position for levels smaller than the playfield

For centered levels that are smaller than the playfield (MM engine),
the tile selection cursor position was not shifted like the level,
but was still inside the top/left aligned grid as if the level was
not centered.

This fix also centers the tile selection cursor position accordingly.
src/game_mm/mm_tools.c
src/libgame/system.c
src/libgame/system.h