Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java @ 1ef09d49

# Date Author Comment
1ef09d49 05/27/2020 11:43 AM Leszek Koltunski

Report a Crashlytics non-fatal if we fail to compile some shaders.

4f36e418 05/26/2020 11:42 PM Leszek Koltunski

Hopefully get rid of the most common crash in the field right now by changing the States to always create all their Views from scratch.

14bd7976 05/26/2020 12:53 PM Leszek Koltunski

1) Cube: convert it to the latest library. Main difference: objects are rendered better, individual cubits have rounded corners.
2) Examples: some adjustments to MeshJoin & Predeform
3) Library: fix a bug in main_vertex_shader's 'degree' function, which didn't work proprely in case of a vertex which was exactly at the center (i.e. vector PS was zero)

40ab026e 05/24/2020 09:03 PM Leszek Koltunski

In library: allow a mixture of a deep and shallow copy of a Mesh ( mVertAttribs1 might be copied deeply or shallowly, mVertAttribs2 are always copied deeeply).
Port RubikCube to the new library.

1f894991 05/08/2020 03:28 PM Leszek Koltunski

Fix a nasty logic error that let people submit bogus results.

d5032ac8 05/08/2020 10:13 AM Leszek Koltunski

Fix for the next crash seen in the field.

e319fe78 05/08/2020 09:48 AM Leszek Koltunski

Fix for a crasher seen in the field.

d5d503d0 05/07/2020 11:41 PM Leszek Koltunski

Minor.

13ed61b5 05/07/2020 10:13 PM Leszek Koltunski

Improve the way we fill up the Scores tab - now it follows what user's doing, so if he changes tabs when the dialog is filling up, he won't have to wait so long.

1335efec 05/06/2020 09:15 AM Leszek Koltunski

Smaller halo.

5f8c532e 05/05/2020 09:05 PM Leszek Koltunski

Fix for another crasher from the field.

d1016920 05/05/2020 12:55 PM Leszek Koltunski

Change the Postprocessing effects: separate the radius and the halo.
Reason: we needed a way to specify the size of the halo around a postprocessed object; before it was automatically (and not very correctly) computed from the radius - before we knew the size of the object's bounding box, so this automatic computation was possible. Now we're removing the MashBase.getBounding(0 API, so the size of the halo has to be explicitly given by the user. This way is more correct anyway and gives the user more control (as the Multiblur app proves!)...

b972c160 05/04/2020 04:01 PM Leszek Koltunski

Fix for the next crasher from the field.

2010c6f7 05/03/2020 11:41 PM Leszek Koltunski

Adjust the app to match the changes in library.

Looks like we'll have to add 1 dim to the GLOW effect.

4fd84652 05/03/2020 09:39 PM Leszek Koltunski

Remove the 'touchscreen required = false' from the manifest (because or a bug in Samsung App Store - it marks such apps as incompatible with any device)

c7f9e82d 05/03/2020 03:53 PM Leszek Koltunski

One more fix for the latest bug from the field with Play state Spinner.

7b7d65ce 05/03/2020 03:43 PM Leszek Koltunski

- bump version to 1.1.2
- fix one crasher observed in the field ( we need to adjust the Levels Spinner in Play state if Object changed in Pattern or Solver states )

1780dcb0 04/30/2020 04:13 PM Leszek Koltunski

Fix clicking on the 'Distorted.org' link; get app version from build.gradle (and not from strings.xml)

c5c8be3f 04/26/2020 02:58 PM Leszek Koltunski

Add Crashlytics logs

f8ce34ab 04/26/2020 02:23 PM Leszek Koltunski

Fix for the previous fix :)

001cc0e4 04/26/2020 11:27 AM Leszek Koltunski

Fix a potential crasher ( do not set up a callback for end of rotation effect on the very first cubit that belongs to a rotation if all belonging cubits have not been set up yet )

2e8ec627 04/25/2020 10:45 PM Leszek Koltunski

Fixes for the fact that one could easily cheat - just pause the app while solving and come back to it, the time would reset to 0 and the object to unscrambled :(

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

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

807d82b7 04/25/2020 05:33 PM Leszek Koltunski

Add two new UI States: Ready and Done.

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

Correct the last 6 patterns of the Pyra5.

b6d0c697 04/24/2020 06:26 PM Leszek Koltunski

Do not crash if we are running on device which does not support OpenGL ES 3.0

51297bfb 04/23/2020 10:04 AM Leszek Koltunski

Fix for another crash from the field.

ac130d72 04/23/2020 12:44 AM Leszek Koltunski

There's a real crash from the field in Firebase Crashlytics which must mean that Cubit.returnRotationAngle() returned null.
Leave some message in case this happens again.

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.

6d1ea5b9 04/21/2020 09:49 AM Leszek Koltunski

PYRAMINX: swap the red and blue face colors so that the whole thing matches randelshofer.ch

5d50e7a7 04/19/2020 10:51 PM Leszek Koltunski

Allow the server to correct our notion of country (improvement)

874c37b1 04/19/2020 10:32 PM Leszek Koltunski

Allow the server to correct our notion of country.

31911113 04/17/2020 09:58 AM Leszek Koltunski

Improve logging in case the Distorted Library returned an error - add Crashlytics custom keys.

f4ee4d70 04/15/2020 09:56 PM Leszek Koltunski

Do not allow more than 15 characters in the NAME.

9439f455 04/15/2020 03:18 PM Leszek Koltunski

Fix sa bug which showed itself only on Android API 21 and 22.

4d23405c 04/15/2020 11:56 AM Leszek Koltunski

Bugfix in StateSolving upper text - before when we won, and NewRecord dialog was on the screen, and at tis moment we rotated the screen, the uppoer text would revert back to 'Ready?'

2d942f35 04/15/2020 12:31 AM Leszek Koltunski

Bugfix in DialogSetName - before it would not dim the OK button initially

4b4e6837 04/15/2020 12:21 AM Leszek Koltunski

UII improvement in StatePattern

703aee64 04/14/2020 10:07 PM Leszek Koltunski

Fix clickable links in the About dialog.

85248b04 04/14/2020 09:16 PM Leszek Koltunski

Finally solve the bug on Samsung Android 9 and 10 phones that the Dialogs Main & patterns wouldn't be modeless: move the setting of this flag earlier, to the 'onCreateDialog()' function.

801b16db 04/14/2020 06:29 PM Leszek Koltunski

Minor.

b88be423 04/14/2020 06:26 PM Leszek Koltunski

Minor.

4413d9ad 04/14/2020 01:24 PM Leszek Koltunski

Only 2 dialogs are modeless now: MAIN & PATTERNS

90fd47b0 04/14/2020 01:20 PM Leszek Koltunski

Lots of bugfixes.

66e777b0 04/13/2020 08:22 PM Leszek Koltunski

Move to AndroidX, target API level 29.

316889cf 04/13/2020 04:03 PM Leszek Koltunski

Improve the Effects Dialog so it looks good on 'thin' screens ( 720x1440 )

8fcd8cba 04/13/2020 10:37 AM Leszek Koltunski

1) Relax requirements as to OpenGL ES ( now only 3.0 required )
2) fix a crash in Solving state

584585d0 04/12/2020 06:13 PM Leszek Koltunski

(Hopefully) make the Dialogs NOT disappear on clicks outside (previously this wasn't working on Android 9).
Lower API requirements to 21.

86cbdab1 04/12/2020 12:06 PM Leszek Koltunski

Minor tweaks to the 'Prev' buton in Solving state;
Relax requirements in the Manifest - now only 'android.hardware.faketouch' supporting device is required, i.e. something that supports basic point-click-drag-unclick. No need for full 'android.hardware.touchscreen' thing with its multitouch silliness.

0e5ad27c 04/10/2020 11:23 PM Leszek Koltunski

Add a 'withdraw move' button to the Solving UI state.

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

Bugfix

5cf34c5f 04/10/2020 12:46 PM Leszek Koltunski

Make chances to randimoze a given row when scrambling dependant on the type of Object.

The point: in case of the Cube, all rows should have equal chances. In case of the Pyraminx, the smaller the row, the smaller the chance should be. In particular the trivial 4 corners of the tetraherdon should have a very small chance to be selected.

4e248bcc 04/10/2020 12:38 AM Leszek Koltunski

Bugfix.

8e3898c8 04/09/2020 10:09 PM Leszek Koltunski

Each object size now has its own number of levels (not always 18!)

85b09df4 04/09/2020 02:04 PM Leszek Koltunski

Reorganize UI of the Play state.

46a961fd 04/08/2020 10:13 PM Leszek Koltunski

The 3x3x3 Solver finished - here the last piece of work, locking the centers of the 3x3x3 cube in place so that RubikStateSolver's color picker cannot change them ( the CUBE3 solver assumes this )

fa0f7a56 04/07/2020 11:18 PM Leszek Koltunski

Progress with the Solver - RubikCube.retObjectString() finished.

What remains to be done here: ban changing colors of the centers of 3x3x3 faces, this shouldn't be allowed!

a304ee64 04/06/2020 10:18 PM Leszek Koltunski

Progress implementing RubikCube.retObjectString()

373fa45f 04/06/2020 08:10 PM Leszek Koltunski

Progress making the Solver state more abstract.

41748f19 04/06/2020 01:29 PM Leszek Koltunski

Progress making the Solver state more abstract.

20931cf6 04/06/2020 01:08 PM Leszek Koltunski

Progress making the Solver state more abstract.

f0336037 04/06/2020 11:17 AM Leszek Koltunski

Make the Solver state more abstract.

4262a13b 04/06/2020 12:43 AM Leszek Koltunski

Formatting: remove tabs.

efe00e0f 04/06/2020 12:41 AM Leszek Koltunski

Formatting: remove tabs.

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

9621255f 04/05/2020 10:45 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

ca292407 04/05/2020 09:53 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

473611ee 04/05/2020 06:42 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

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

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

5660465b 04/03/2020 11:08 PM Leszek Koltunski

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

b95ceafc 04/03/2020 10:25 PM Leszek Koltunski

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

811b0446 04/03/2020 10:19 PM Leszek Koltunski

More support for the 3x3x3 Solver.

264af0ad 04/03/2020 09:54 PM Leszek Koltunski

More support for the 3x3x3 Solver.

7289fd6c 04/03/2020 09:40 PM Leszek Koltunski

Beginnings of support for the 3x3x3 Solver.

a42e25a6 04/02/2020 08:48 PM Leszek Koltunski

Bugfixes.

fb6a40c8 04/02/2020 12:59 PM Leszek Koltunski

Minor.

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.

de44c2b4 04/01/2020 12:06 AM Leszek Koltunski

Minor.

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!

9224ffd2 03/30/2020 12:29 PM Leszek Koltunski

extend the RubikObject API to make it possible to add rotations of multiple rows simultaneously (all along the same axis of course!)

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

More support for actual patterns!

11877284 03/29/2020 03:18 PM Leszek Koltunski

Beginnings of support for actual patterns!

0a57000c 03/29/2020 12:18 AM Leszek Koltunski

Beginnings of support for actual patterns!

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

Remember state of the dialog.

e0e84674 03/28/2020 11:01 PM Leszek Koltunski

Improve the upper_text.

95292d05 03/28/2020 10:13 PM Leszek Koltunski

Prettier spinner.