Project

General

Profile

Download (59.8 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / main / TwistyObject.java @ 5e30b196

# Date Author Comment
5e30b196 03/14/2023 05:45 PM Leszek Koltunski

New PruningTable data structure for solvers.

716f5517 03/07/2023 04:26 PM Leszek Koltunski

Progress with Icosamate

c0266cb1 03/06/2023 01:29 AM Leszek Koltunski

Tablebase-based scrambling.

19c8e760 03/04/2023 11:30 PM Leszek Koltunski

Close assets after use.

cf93ea4e 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)

9283a268 02/20/2023 04:53 PM Leszek Koltunski

Constants for scrambling types.

a1f8dc90 02/13/2023 06:39 PM Leszek Koltunski

Progress with PDuo solver

be95dbf5 02/11/2023 10:47 PM Leszek Koltunski

- fix for the newly introduced TwistyObjectSolved
- fix for the solvedQuats of the Trajber 4x4

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

separate the 'isSolved' part from TwistyObject

605f319b 02/04/2023 11:27 PM Leszek Koltunski

Bugfixes for touch control - specifically for furious swiping and concurrect backing of moves.

37959420 02/01/2023 02:36 PM Leszek Koltunski

Some more debugging.

31ed545f 02/01/2023 02:22 PM Leszek Koltunski

Withdraw the last change.

bcdecc9f 01/31/2023 11:47 PM Leszek Koltunski

Make it impossible to addNewRotation() (i.e. the automatic rotations triggered from backMove, scrambleEffect etc) or beginNewRotation() (by swiping a finger) when we are currently finishing a previous rotation and haven't removed it yet.

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!

9cb7d66f 01/29/2023 01:54 AM Leszek Koltunski

Fix a bug with level buttons in objects with less than 9 numScramble.

4e0baf7b 01/29/2023 12:56 AM Leszek Koltunski

Correct scramble tables for Starminx, P. Crystal, Kilominx, Megaminx, Master Kilominx & Gigaminx.

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.

d85de775 01/20/2023 10:40 PM Leszek Koltunski

small improvement for the TwistyObject.

1f329dcc 01/17/2023 07:32 PM Leszek Koltunski

More debugging for the mysterious case of corrupted rotation quat (?)

5ea2d29e 01/11/2023 10:33 PM Leszek Koltunski

Additional debugging for one weird crash.

4e1f3a8e 01/11/2023 04:48 PM Leszek Koltunski

Additional debugging for one weird crash.

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!

b31249d6 12/06/2022 02:07 PM Leszek Koltunski

Progress with Masterball TouchControl.

c1452814 12/06/2022 12:38 AM Leszek Koltunski

Progress with Masterball - the whole object gets drawn more or less correctly now.
Remaining: issue with Sink effect not fully inflating the ball and TouchControl.

5caf2641 12/01/2022 10:36 PM Leszek Koltunski

Beginnings of support for TouchControl of Icosehedral and Ball-shaped objects.

b9c861cf 11/20/2022 11:12 PM Leszek Koltunski

Take pillowing into account when doing TouchControlShapemod.

4bd1b3d6 11/20/2022 12:02 AM Leszek Koltunski

Corrections for Megamorphix.

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

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

a0b0795b 11/16/2022 01:38 PM Leszek Koltunski

Introduce support for per-object pillowing.

826d293e 08/17/2022 03:02 PM Leszek Koltunski

IAP part 6: new 'Present' object effect.

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

main: license.

d356eecc 07/13/2022 10:52 PM Leszek Koltunski

Make the fastScramble incremental.

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.

40e76ea4 07/05/2022 12:03 AM Leszek Koltunski

Do not react on end of scramblng in FreePlay!

11d8426d 07/04/2022 11:46 PM Leszek Koltunski

Mark the 'Free Play' with green or red dot.

731ee18e 06/20/2022 11:44 AM Leszek Koltunski

Bugfix

7cd287b9 06/20/2022 12:23 AM Leszek Koltunski

Improve remembering cubit quats - correctly handle the case where there is more than one cubit with the same center.

93743a22 06/19/2022 12:27 AM Leszek Koltunski

More debugs for the case of impossible records.

b0c97683 06/18/2022 01:37 AM Leszek Koltunski

Sticker overrides finished. Add crazy planets JSONs and icons (correction)

0b050556 06/18/2022 01:15 AM Leszek Koltunski

Sticker overrides finished. Add crazy planets JSONs and icons.

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.

7d2fe403 06/16/2022 11:21 PM Leszek Koltunski

Decider&Follower cubits: fix solving the whole puzzle.

5a20f7a1 06/16/2022 05:13 PM Leszek Koltunski

Progress with Circle 2x2.

d31c5b24 06/16/2022 03:38 PM Leszek Koltunski

First attempt at a Circle 2x2 - but this is implemented wrong. The smallInner pieces next to the FLD corner should never move relative to the corner.

39c6b370 06/16/2022 01:57 AM Leszek Koltunski

Crazy Planets: J1 M1 mode works now.

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.

d844220f 06/15/2022 09:52 PM Leszek Koltunski

Crazy Planets: minor

fbd18fc7 06/15/2022 02:37 PM Leszek Koltunski

Crazy Planets: progress

bc008758 06/14/2022 04:21 PM Leszek Koltunski

Crazy Planets: progress

a8295031 06/06/2022 03:47 PM Leszek Koltunski

Introduce InitData, a data structure used to initialize a TwistyObject.
Current (optional) members: int[] numLayers, int param [intended: type of the Crazy 3x3 planet], float[][] pos [position of a bandaged cube] )

00a28d71 05/18/2022 12:01 AM Leszek Koltunski

Big step towards the Mixup Cube.

a72a4b6a 05/11/2022 03:13 PM Leszek Koltunski

Improve scrambling locally-produced bandaged cuboid.

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.

ea739ec8 04/24/2022 10:51 PM Leszek Koltunski

Actually remove preferences of a deleted bandaged cube in a safe way.

405b22da 04/24/2022 09:41 PM Leszek Koltunski

Improvements.

c60d98c4 04/23/2022 02:07 AM Leszek Koltunski

Bugfix

c9e40dfc 04/23/2022 01:30 AM Leszek Koltunski

Bugfix

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) ]

df781f1d 04/22/2022 02:54 PM Leszek Koltunski

BandagedCreator: colorful cube.

dcce7b29 04/21/2022 01:12 PM Leszek Koltunski

Progress with cubit quaternions.

9554f5d4 04/21/2022 01:33 AM Leszek Koltunski

Progress with cubit quaternions.

a4af26c1 04/20/2022 11:41 PM Leszek Koltunski

Progress with cubit quaternions.

97a6aa87 04/20/2022 12:28 AM Leszek Koltunski

Progress with cubit quaternions.

a0ccffb4 04/19/2022 02:47 PM Leszek Koltunski

FactorySticker: further improvements.

78cb3c28 04/14/2022 02:03 PM Leszek Koltunski

preparation for dual animation on/off modes in BandagedPlay

3ef1609d 04/13/2022 01:07 AM Leszek Koltunski

Simplify the way we remember cubit quats, and delete those from SharedPrefs when we delete a bandaged object.

8b5894af 04/06/2022 06:29 PM Leszek Koltunski

Bandaged 3x3: remember object state and move history.

0ed726d2 04/02/2022 09:35 PM Leszek Koltunski

Bugfix: if a puzzle has overridden 'getCubitFaceMap()' method (like for example Container, in order to make internal walls colorful) then before this might have screwed up computation of the solvedGroups. Correct that.

3bf19410 03/29/2022 05:20 PM Leszek Koltunski

Mode the 'iconMode' from static variable in ObjectControl to member varaible in TwistyObject (safer)

690557d9 03/19/2022 11:40 PM Leszek Koltunski

Special isSolved() function for the case where a puzzle has no corner or edge cubits (Trajber 4x4!)

8409826d 03/05/2022 02:19 AM Leszek Koltunski

Pyraminx Crystal: beginnings.

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.

325a17e0 02/14/2022 11:33 PM Leszek Koltunski

Progress with Axis Cube - model the first 2 cubits.

3d2493ea 02/07/2022 11:04 AM Leszek Koltunski

Simplify coloring internal stickers

7ec32155 02/06/2022 10:07 PM Leszek Koltunski

Make it possible to color internal walls as well.

05b0a7dd 02/03/2022 12:27 AM Leszek Koltunski

Bugfix for a rare (?) crash.

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!

dae74fc9 01/13/2022 03:44 PM Leszek Koltunski

Finish the Container.

0e161d26 01/13/2022 12:32 AM Leszek Koltunski

Container Cube: mostly done.

cd2e8d4c 01/08/2022 12:33 PM Leszek Koltunski

Implement new TouchControlShapemod

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.

f5426a4c 01/05/2022 02:04 PM Leszek Koltunski

fix the non-standard isSolved() functions to reflect the changes in order of the quaternions in the group.

1b7ece90 01/05/2022 12:16 PM Leszek Koltunski

Standarize two next functions - getSolvedQuats and getSolvedFunctionIndex.
Now all objects except Dino6, Dino4 and Square-2 have them the same.

89a00832 01/05/2022 12:37 AM Leszek Koltunski

Convert Minx'es.

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.

d55d2c6a 01/04/2022 09:27 PM Leszek Koltunski

Clenups.

a05b6e06 01/04/2022 04:39 PM Leszek Koltunski

Clenups.

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

Simplification.