Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / config @ ce31f774

Latest revisions

# Date Author Comment
ce31f774 04/04/2023 11:19 AM Leszek Koltunski

remove all references to android.Context and android.Activity from distorted-objectlib

025e7153 03/31/2023 05:48 PM Leszek Koltunski

Decouple (to a large degree) the OpenGL Library from Android.

d0ad3964 03/31/2023 05:24 PM Leszek Koltunski

Decouple (to a large degree) the OpenGL Library from Android.

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)

919b830e 01/22/2023 11:55 PM Leszek Koltunski

Some improvements to blocking, mostly to the names of variables.

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....

27401bea 01/19/2023 06:12 PM Leszek Koltunski

More fixes for UI in case of extreme screen (w/h) ratios ( from 1.0 to 2.0 ).

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)

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!

View revisions

Also available in: Atom