Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / patterns @ 7e97ea45

# Date Author Comment
f05e0259 07/15/2022 12:34 AM Leszek Koltunski

objects,patterns: license.

e4733ed7 02/28/2022 02:39 PM Leszek Koltunski

New, generic bandaged 3x3 class 'TwistyBandagedAbstract'.

Now, (almost!) any bandaged 3x3 can be created by extending this class and implementing one abstract method 'getPositions()'. Almost, because there's still one restriction: currently all cubits need to be one of the 5 allowed types: 1x1x1, 2x1x1, 3x1x1, 2x2x1, 2x2x2....

d433b50e 12/06/2021 12:59 AM Leszek Koltunski

In the 'magic' app, ObjectType is now only used in RubikObject and RubikObjectList classes and nowhere else.
This is a major step towards being able to download objects from an online repository.

a7d8c3cd 12/05/2021 10:19 PM Leszek Koltunski

Progress replacing the enum ObjetType with the class RubikObjectList.

e4f656d1 10/05/2021 12:52 PM Leszek Koltunski

Simplifications

2afc6754 10/05/2021 11:58 AM Leszek Koltunski

Move RubikControl to objectlib (as 'ObjectAutomator')
Hide ObjectPreRender inside objectlib and move its APi to ObjectControl.

8ab435b9 10/04/2021 10:11 PM Leszek Koltunski

1. Remove 'db level' from objectlib (this belongs to the app!)
2. change ScreenPlay's 'mObject' to be an ObjectType.

eaf46415 10/02/2021 12:07 PM Leszek Koltunski

Move PreRender to objectlib.
This code is now shared betweeen the Rubik and Tutorial activities.

88a3e972 10/01/2021 11:27 PM Leszek Koltunski

Move more code to objectlib.

318c0a7d 10/01/2021 04:33 PM Leszek Koltunski

Reename ObjectList to a more logical ObjectType.

7ac0ee88 10/01/2021 04:31 PM Leszek Koltunski

Simplify ObjectList: now there's just one object per size.

3f7a4363 09/29/2021 04:07 PM Leszek Koltunski

Remove all files that have been separated into a new library 'objectlib'

588ace55 09/29/2021 12:14 PM Leszek Koltunski

Prepare the 'objectlib' package to be separated into a library module

bdbbb4c5 09/28/2021 11:47 PM Leszek Koltunski

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

55e6be1d 06/29/2021 01:37 PM Leszek Koltunski

Abstract the part that controls the 'Locked' and 'Back Moves' buttons from the two activities: the main one and the tutorial one.
This code had been duplicated there.

96b75886 06/24/2021 04:10 PM Leszek Koltunski

Corrections for the new Pyraminx5 patterns.

82c27fc5 06/24/2021 03:59 PM Leszek Koltunski

Update the Pyraminx5 pretty patterns.

f185faf8 06/24/2021 01:15 AM Leszek Koltunski

New Megaminx & Gigaminx pretty patterns.

3c4495ac 06/22/2021 05:34 PM Leszek Koltunski

Convert the move format to one which can hold moves of the Megaminx and Gigaminx (in preparation for introduction of the Mega& Gigaminx Pretty Patterns)
Now we use 2 bits for the angle, 3 bits for the axis and 5 bits for the bitmap of layers. This totals 10 bits so 1024, but the whole thing will not spill over 3 digits, because in the Minxes we have total of 6 axis, not 8.

0594c61f 06/10/2021 12:31 AM Leszek Koltunski

Backing moves: constant angle speed (part 2).

925ed78f 06/04/2021 12:26 AM Leszek Koltunski

Make it possible for an object to have different 'basicAngles' along each of its axis.

234a7582 11/23/2020 10:23 AM Leszek Koltunski

Progress creating the Tutorial Dialog.

9c2f0c91 09/25/2020 08:35 AM Leszek Koltunski

Rename some classes.

054fbee1 07/06/2020 11:51 AM Leszek Koltunski

Reinvent the Pattern Dialog (Part 2)

5a4d4fba 06/09/2020 11:18 PM Leszek Koltunski

Convert the PostRender to a PreRender, called before we render.
This makes more sense as this way things are prepared for the very first render.

1701e7ae 04/25/2020 09:23 PM Leszek Koltunski

Fix the Solver broken by the change of move notation when importing Pyraminx Patterns :(

38c52ed0 04/25/2020 11:00 AM Leszek Koltunski

Correct the last 6 patterns of the Pyra5.

77c41840 04/22/2020 11:57 PM Leszek Koltunski

Add Pyraminx5 Pretty Patterns.

4a40166d 04/22/2020 11:22 PM Leszek Koltunski

Add Pyraminx4 Pretty Patterns.

a46893d7 04/22/2020 10:50 AM Leszek Koltunski

Add Pyraminx3 Pretty Patterns.

906cc928 04/21/2020 10:49 PM Leszek Koltunski

Change the format of moves in Pretty Patterns to more terse, so that patterns of objects with 4 axis of rotation ( Pyraminx!) fit into 3 digits.

dc1d2820 04/10/2020 08:49 PM Leszek Koltunski

Bugfix

7f84a768 04/06/2020 12:34 AM Leszek Koltunski

Progress with the 3x3x3 Solver.

Hopefully the only thing that remains to be done is to implement the RubikStateSolver.retCubeString().

1f9772f3 04/05/2020 02:10 PM Leszek Koltunski

More support for the 3x3x3 Solver: more of the actual 3x3x3 solver mechanism.

8a64eaa4 04/02/2020 12:23 AM Leszek Koltunski

Minor.

ba29975c 04/01/2020 09:37 PM Leszek Koltunski

Minor

b498f3f6 04/01/2020 09:36 PM Leszek Koltunski

Introduce RubikPatternsList. Now, if one wants to contribute patterns for a new object, all one has to be is give the list of strings describing the patterns and add them to the List.

48145a5b 04/01/2020 01:55 PM Leszek Koltunski

Speed up displaying the Patterns Dialog - do not read the whole thing, but only one Category at a time as required.

c6bd472b 03/31/2020 11:47 PM Leszek Koltunski

Pretty Patterns: slight speedup.

f86d48c8 03/31/2020 11:45 PM Leszek Koltunski

Pretty Patterns: some patterns had 'empty' moves (i.e. angle 0). Correct the last 5 such patterns.

8d822a78 03/31/2020 11:20 PM Leszek Koltunski

Pretty Patterns: some patterns had 'empty' moves (i.e. angle 0). Correct the next 6 such patterns.

c0495b7d 03/31/2020 10:55 PM Leszek Koltunski

Pretty Patterns: some patterns had 'empty' moves (i.e. angle 0). Protect the parser against such sequences and correct the first 12 such patterns.

c715128d 03/31/2020 09:49 PM Leszek Koltunski

Pretty Patterns Dialog: remember the positions of scrollbars.

6f2a942e 03/31/2020 08:36 PM Leszek Koltunski

Bugfixes for Pretty Patterns

d12bb11b 03/31/2020 04:37 PM Leszek Koltunski

Bugfixes - do more stuff 'post render'

a31d25de 03/31/2020 11:03 AM Leszek Koltunski

Major progress with Prretty Patterns.

Two things remain:

1) looks like sometimes making/backing Moves in a Pattern gets stuck. ( Pattern.mCanRotate! )
2) we need to add RubikPatternList!

8becce57 03/30/2020 09:19 PM Leszek Koltunski

Major progress with Prretty Patterns - hopefully only initializing the Object remains!

aa171dee 03/29/2020 11:41 PM Leszek Koltunski

More support for actual patterns!

044529c1 03/28/2020 11:35 PM Leszek Koltunski

Remember state of the dialog.

bcd6384a 03/28/2020 06:43 PM Leszek Koltunski

Improve the Pattern data: unique names, more even splitting into categories.

39566863 03/28/2020 02:00 AM Leszek Koltunski

Minor.

3a9d19ed 03/28/2020 01:05 AM Leszek Koltunski

Progress with Pretty Patterns.

53f23b64 03/27/2020 01:08 AM Leszek Koltunski

Progress with Pretty Patterns - do away with the tabbed dialog!

4f470e00 03/26/2020 05:34 PM Leszek Koltunski

Progress with Pretty Patterns.

d18993ac 03/26/2020 02:37 PM Leszek Koltunski

Progress with Pretty Patterns.

4ed3823a 03/26/2020 12:16 AM Leszek Koltunski

Beginnings of the 3x3x3 Solver and Pretty Patterns.