Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / purchase @ db4775f7

Latest revisions

# Date Author Comment
2876aeb6 03/06/2023 01:29 AM Leszek Koltunski

Tablebase-based scrambling.

50e6c5d6 03/04/2023 12:06 AM Leszek Koltunski

Introduce InitAssets. We'll use this later to pass on references to the tablebase file to the TwistyObject (so that it can use this for perfect scrambling)

aa622165 01/21/2023 11:31 AM Leszek Koltunski

Finally fix the 'impossible records' bug!

Thanks for a bug report from Jacob Powell - if one, during scrambling, minimized the app and re-entered it, the UI lock got removed (by a call to 'unblockEverything' from RubikActivity's onResume) and one could then keep solving the object mid-scramble....

b1178f5f 01/19/2023 04:55 PM Leszek Koltunski

Move the control of object scaling out the objectlib.
Thee xact way the object is scaled needs to be decided in the app, as only the app knows that e.g. in the Rubik main screen, if it is a square, then obejct needs to be a bit smaller than in case of Config screen (if that one happens to be a square)

cc0fc0c5 01/18/2023 09:51 PM Leszek Koltunski

Further improvements for the UI.

9dfb553f 01/18/2023 03:02 PM Leszek Koltunski

Improve UI proportions on squarish screens.

6b034729 01/18/2023 01:45 PM Leszek Koltunski

Add Stars to the main menu.

4d6327a1 01/04/2023 03:35 PM Leszek Koltunski

Dialog 'buy stars'

5305fdc8 01/03/2023 03:27 PM Leszek Koltunski

Very important bugfix for an issue which probably has been the reason for many mysterious behaviours in the past: the JsonReader class cannot be a singleton! Convert it into a normal 'instanced' class.
With it being a singleton there's a major issue: when we create a new TwistyObject from a JSON file (by, for example, going to PurchaseActivity) and then we come back to the old object (by, for example, going back to the main RubikActivity) - then the JsonReader inside the old object has read the new JSON file and thus many of the 'abstract' methods in the old TwistyObject (for example getShortName()) all of the sudden start returning new values!

e3abaab9 01/03/2023 01:16 AM Leszek Koltunski

Purchase Pane: further progress.

View revisions

Also available in: Atom