Project

General

Profile

Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / json @ 68d51549

# Date Author Comment
68d51549 03/23/2023 01:03 AM Leszek Koltunski

Up the MAJOR version to 9 to account for the new SPLIT type supported by the interpreter.

6a3c7c84 02/22/2023 10:24 PM Leszek Koltunski

Bump major to 8 (in accoount of the BAN6_4 - Burr Cube - where scrambling woudn't work with version 7)

5618c5a9 02/11/2023 06:39 PM Leszek Koltunski

separate the 'isSolved' part from TwistyObject

8f44228f 02/11/2023 12:26 AM Leszek Koltunski

Make the JSON reader capable of handling possible future 'BAN*_*' objects.

7bcd501d 02/09/2023 11:53 PM Leszek Koltunski

BAN5_4 and BAN6_4: fix creating their signatures (improper signatures --> wrong scrambling type 2!)

731280f7 01/31/2023 01:10 PM Leszek Koltunski

Minor.

28bfa000 01/31/2023 10:38 AM Leszek Koltunski

Make it possible to (fully!) read version 6 JSONs - some users might have Pyraminx Duo v. 6 already downloaded!

27a44b5e 01/29/2023 02:57 AM Leszek Koltunski

We need to support reading from earlier JSONs. Support v. 6 (partially - only the objects which do not have the new in v. 7 algorithms & edges - i.e. locally created bandaged cuboids)

e9ec2e9d 01/28/2023 08:38 PM Leszek Koltunski

Bugfixes

27249eea 01/28/2023 06:10 PM Leszek Koltunski

Produce new JSONs files (version 7, with new scrambling method)

9ba7f3f6 01/28/2023 02:28 AM Leszek Koltunski

Move scrambling to a new model where there are spearete scrambling 'algorithms' and 'edges' of the scrambling graph.
Now each edge can contain a whole algorithm, i.e. a sequence of moves leading from state to state, which permits construction of scrambling for more complicated bandaged objects such as the AI cube....

51262d81 01/24/2023 01:37 PM Leszek Koltunski

Fix touch-replacing colors of the stickers. Now correctly takes into account the shape of the sticker.

80fd07aa 01/09/2023 01:09 AM Leszek Koltunski

Bugfixes.

f8a992a9 01/08/2023 11:58 PM Leszek Koltunski

Bugfix for reading JSONs version 6.

8bb3e677 01/08/2023 10:14 PM Leszek Koltunski

Minor bugfixes for creating JSON files version 6 (with per-cubit lists of VertexEffects)

84a17011 01/08/2023 03:36 AM Leszek Koltunski

Major change in JSOn file format:

replace the old (corners,centers) system with a list of VertexEffects which are applied to each cubit variant.

958a6e81 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!

8b3b1d85 12/20/2022 02:59 PM Leszek Koltunski

Changes to the initialization - initialize the 'bought objects'

b63235a0 12/09/2022 01:17 AM Leszek Koltunski

Make it possible to create Diamond and Icosahedron-shaped objects to be read from json.

6db8fe2e 11/16/2022 02:14 PM Leszek Koltunski

More support for pillowing; pillow Morphix and Jing by default.

c2b997b2 08/13/2022 11:50 PM Leszek Koltunski

IAP, part 3: non-free objects appear in the popup with a lock icon.

84224c99 08/12/2022 12:37 AM Leszek Koltunski

IAP, part 1: Introduce the concept of a 'free' and 'not free' object to

- ObjectType
- DownloadedObject
- RubikObject
- jsons

882a8142 07/28/2022 12:20 AM Leszek Koltunski

Make ObjectSignature ready for any size bandaged cube.

4c87f159 07/15/2022 12:56 AM Leszek Koltunski

main: license.

3ce95490 07/12/2022 03:28 PM Leszek Koltunski

Do not crash when something's wrong with the JSON file - handle this gracefully, do not change the object then, and report this to Firebase.

52cc8639 06/20/2022 12:33 AM Leszek Koltunski

Bugfix

69bd6b70 06/18/2022 11:59 PM Leszek Koltunski

A few code improvements.

fd9d4a2c 06/18/2022 01:55 AM Leszek Koltunski

Bugfix the the sticker overrides.

ff60e713 06/18/2022 12:49 AM Leszek Koltunski

Progress with sticker overrides.

3a0a23bf 06/17/2022 05:58 PM Leszek Koltunski

Beginnings of support for 'sticker overrides' - possibility to override the color of an individual face of an individual cubit. Ultimately this will enable overriding with any bitmap; so far only a solid color.

Also, fixes for two crashers.

40e77224 06/16/2022 01:12 AM Leszek Koltunski

Crazy Planets: now can be created in J1 M0 mode. J1 M1 still doesn't work.

7aae846c 06/15/2022 10:37 PM Leszek Koltunski

Crazy Planets: introduce cubit type and offset to the JSON; create (shared) mesh and all the JSONs.

dc369304 06/09/2022 12:48 AM Leszek Koltunski

Bugfix

1f656ca7 06/06/2022 05:23 PM Leszek Koltunski

Make the 4 built-in BandagedCuboids use the introduced InitData concept and remove all specific bandaged object classes.

8c8c6fcf 05/18/2022 12:47 AM Leszek Koltunski

Bump MAJOR version to 3 (we cannot intermix the new Mixup json objects with version 2 app interpreter)

efeca8ef 05/09/2022 03:01 PM Leszek Koltunski

Fixes for scrambling locally-produced bandaged cuboid.
Still does not work completely.

1d581993 05/08/2022 11:15 PM Leszek Koltunski

Introduce ObjectSignature that can incorporate 192-bit signatures (for 5x5x5 bandaged cubes).
ObjectScrambler does not fully work yet.

95123ad0 04/29/2022 04:28 PM Leszek Koltunski

Bandaged: progress with creating the object.

e7d3259a 04/24/2022 04:54 PM Leszek Koltunski

If we're updating an object, and it is the current object, reload it immediatelly so that the new version appears by itself.

938fc9af 04/24/2022 03:00 PM Leszek Koltunski

Support reading num of scrambles from json version 2.

beee90ab 04/22/2022 05:32 PM Leszek Koltunski

Preparation for Mixup Cube: take advantage of the recent bump in MAJOR_VERSION number and change the format of basicAngles to int[][] 'per-axis-per-layer' [ Mixup Cube has different basicAngle in its middle layers (8) - and different in its edge layers (4) ]

89bbd329 04/22/2022 04:00 PM Leszek Koltunski

Turns out latest changes to the FactorySticker force us to increment the MAJOR_VERSION as now we produce incompatible stickers. We'll also use this occasion to support the Mixup Cube (change basic rotations to per-layer-per-axis)

e85c8f90 03/28/2022 12:17 PM Leszek Koltunski

Bandaged 3x3: progress with saving.

5f54927b 02/25/2022 03:34 PM Leszek Koltunski

Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.

10b7e306 02/21/2022 02:29 PM Leszek Koltunski

New, generalized ScrambleState generator that should work for any bandaged 3x3.

ef021035 02/01/2022 03:11 PM Leszek Koltunski

Downloaded Objects: bugfixes

bf52deb2 02/01/2022 01:30 PM Leszek Koltunski

Downloaded Objects more or less work now.

4bf52f4f 01/20/2022 08:21 PM Leszek Koltunski

Progress downloading objects and extras.

a2d6c41a 01/17/2022 03:17 PM Leszek Koltunski

Re-organize tutorial list so that we can pull this one from JSON files.

052e0362 01/16/2022 03:59 PM Leszek Koltunski

Step towards tutorial JSON files.

253e440f 01/13/2022 04:57 PM Leszek Koltunski

Configurable internal colors. This somehow screwed up the Container!

82904e62 01/07/2022 11:16 PM Leszek Koltunski

Implement the Windmill Cube

3c48fab9 01/06/2022 12:00 AM Leszek Koltunski

unify every isSolved() routine except one: part II : new JSONs.

ed0988c0 01/05/2022 11:04 PM Leszek Koltunski

unify every isSolved() routine except one - the Dino4 is still special.

19595510 01/05/2022 03:56 PM Leszek Koltunski

Preparation for further unification of the isSolved() routine.

802fe251 01/04/2022 11:27 PM Leszek Koltunski

Convert Ulti, Jing, Pyra, Diamond, Dinos, Redi, Skewbs, Ivy & Rex to the new scheme where the quaternion group is computed automatically.

d0e6cf7f 01/04/2022 01:17 AM Leszek Koltunski

Simplification.

d4105efe 01/04/2022 12:55 AM Leszek Koltunski

Simplification.

59a971c1 01/04/2022 12:40 AM Leszek Koltunski

Remove the need to provide the number of outer faces of a ObjectShape.

d66e98d7 01/01/2022 07:37 PM Leszek Koltunski

Remove the 'getNumCubitFaces()' object API: correction.

fb9d7614 01/01/2022 07:12 PM Leszek Koltunski

Remove the 'getNumCubitFaces()' object API (forgotten part)

1f264f3e 01/01/2022 07:08 PM Leszek Koltunski

Remove the 'getNumCubitFaces()' object API.

ac97ecc0 01/01/2022 01:44 PM Leszek Koltunski

Progress towards removing the 'getNumCubitFaces()' object API.

3ee1d662 12/31/2021 12:37 AM Leszek Koltunski

Split ObjectShape into ObjectShape and ObjectFaceShape

ec42a6fe 12/30/2021 11:15 PM Leszek Koltunski

Finally move the 'getVariantFaceColor()' method to the base class.

7af68038 12/28/2021 02:07 AM Leszek Koltunski

Progress

2617d26b 12/25/2021 09:48 PM Leszek Koltunski

Progress

c187cb69 12/24/2021 09:50 PM Leszek Koltunski

Initial commit

a72cd106 12/08/2021 01:46 PM Leszek Koltunski

Include the info about 'numFaces' of a puzzle in the jsons.
Based on this, and the recently introduced 'DEFAULT_ROTs' to the basic Shape classes, rotate each object in the Config so it looks attractive.

b4223a92 11/29/2021 01:01 AM Leszek Koltunski

Progress with ConfigPane.

b39f8e39 11/27/2021 01:40 AM Leszek Koltunski

Progress with ConfigScreen.

11fa413d 11/14/2021 12:35 AM Leszek Koltunski

Make the ShapeChanging the default TouchControl during MODE_REPLACE.

57ef6378 11/11/2021 04:22 PM Leszek Koltunski

Float vertices - scratchbook

c9c71c3f 11/08/2021 03:38 PM Leszek Koltunski

Abstract out the TouchControl stuff in preparation for its new type - TouchControlShapeChanging.

23afe4c4 11/08/2021 02:54 PM Leszek Koltunski

Move the Movement to its own package; abstract out some stuff.

0f72365b 11/02/2021 04:58 PM Leszek Koltunski

Add 'shouldResetTextureMaps' to the JSON puzzle description.

e1a86bf2 10/30/2021 01:46 AM Leszek Koltunski

Move the main app to the 'J1M1' object creation mode, i.e. create them from the Json files and using the Dmesh fiels as well.

Make it possible for any app descending from the 'objectlib' to use any of the J0M0, J0M1, J1M0, J1M1 modes.

de4a7e02 10/28/2021 11:07 PM Leszek Koltunski

Remove ObjectType and info it held (icons, mesh file, num of scrambles, shortname) from the JSON file.

594bbce0 10/27/2021 11:55 PM Leszek Koltunski

Progress with PuzzleTester app.

9e8eb9e4 10/27/2021 05:20 PM Leszek Koltunski

Correect JSON reading and writing: shape corners and centers are optional!

82eb152a 10/27/2021 12:33 AM Leszek Koltunski

JsonReader (?) finished: the creator app can now read objects from JSON files.

e26eb4e7 10/22/2021 04:49 PM Leszek Koltunski

Do not pull the inventors and the names of objects from Resources.