Yoohoo, I've made it! Please enjoy a DR port of a classical game. Unpack to SD card, you'll get a folder <sdcard>/Programs/Games/Xmahjongg/ . I hope there will be more games ported, thus the name
Browse to this folder and select any layout you like. It is highly recommendable to play in landscape mode.
Should work on DR1000 as well, with no additional tab though ..
Developers, pls see here:
Spoiler:
** Compilation went in two steps. First compiled for x86 host, a file image.c was generated - I've made its backup. Then after configuring for arm target I removed creation of image.c and restored the backup.
** A small method was added and used for partial/full refreshes. See main.cc. This was once mentioned by Inigo or Mackx as a "good small library to have". Well, it's even smaller than a library
** XCopyArea and XFillRectangle are good friends of partial refresh, while XCopyPlane - only of a full refresh. As a workaround I apply inverted mask on the selected image. This behaves fine on partial refreshes. See board.cc for //dima comments