]> git.draconx.ca Git - rrace.git/commit
Only redraw changed tiles when right clicking.
authorNick Bowler <nbowler@draconx.ca>
Sat, 12 Mar 2022 21:11:02 +0000 (16:11 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 12 Mar 2022 21:20:34 +0000 (16:20 -0500)
commit23aee3322744aa3c65de28c3ebe1509e291b8702
treef0053ea5e17c895ebee4bb2580d3f3daa77e2ad5
parent991d1e7ca8ae3bee59619812e9f08bde8c17ad02
Only redraw changed tiles when right clicking.

By changing the definition of game_check_goal to return a bit-mask
of mismatched positions, we can just pass that to the redraw mask to
reduce the amount of rendering needed.
src/game.c
src/game.h
src/motif_ui.c