Make the top three controls in the Play state reach all the way from the left to the right edge of the screen.
Move the 'Effects' thing to a button in the Play state.
Report to Firebase exceptions with dismissing the Main Dialog.
On object change, report FPS to Firebase
Two-fingered object rotation seems to be finished.
Progress with dragging.
Simplify dragging. Now there's only 1 Quat, rather than the old way with two (Accumulated, Current).
Progress with improvements for cube manipulation.
Initial attempt at two-finger rotation.Mostly works; still, one corner case doesnt:
- put two fingers down, start rotating- lift one of them up- put it back down
depending if we lifted the first or second finger, weird things may happen.
Further improve rotations of a Object layer - make them independent of physical screen size (now it depends on the angle of rotation and, if that's 0, on the speed (in inches of second) of the finger swipe done by the user.
Make the rotations and drag be independent of physical screen dimensions - take into account pixel density.
Split up the onTouch() part of the View.
Improvements for the way we rotate layers of Objects: make it possible to begin a rotation during a WIN effect.
Improvements for the way we rotate layers of Objects. (take the speed into account - so even if we rotated a layer of a Cube to less than 45 degrees, but we did it fast, do a 90 degree rotation!)
Only compile the Full, Normal & OIT programs when they are actually needed.
Take advantage of recent improvements to the library and stop allocating a queue of 4 FBOs - even if we are running on a Mali r12.
Read the meshes from .dmesh files (rather than compute them dynamically).This (along with single-mesh mode) hopefully makes the rendering much faster, while keeping the time needed for Object Change low.
The only downside: this increases the size of the release APK from 6 MB to 9.6 MB.
Speedup for rendering: cubes 2,3 contain better quality cubit faces (more vertices) than cubes 4,5.
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.
Bugfixes.
Minor speedup
Bump version to 1.2.2
More progreess porting RubikCube. Rotation mostly working now.
More progreess porting RubikCube.
Progreess porting RubikCube to the new SingleMesh mode.
Begin porting RubikCube to the new SingleMesh library. This will make rendering much faster - e.g. in case of Cube 5, instead of 98 renders of individual Cubits, there will be one render of the whole Mesh.
Port RubikCube to the new library.
Only show the OpenGL Error dialog when the underlying hardwarre does not support OpenGL ES 3.0.
Add OpenGL Error dialog.
Progress making it possible to apply Vertex Effects only to some Components of a Mesh.
Correct a crasher introduced in 1.2.0
Switch off showing FPS.
Report an Analytics event when a user changes State or Object.
Report a Crashlytics non-fatal if we fail to compile some shaders.
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.
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 & Predeform3) 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)
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.
Fix a nasty logic error that let people submit bogus results.
Fix for the next crash seen in the field.
Fix for a crasher seen in the field.
Minor.
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.
Smaller halo.
Fix for another crasher from the field.
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!)...
Fix for the next crasher from the field.
Adjust the app to match the changes in library.
Looks like we'll have to add 1 dim to the GLOW effect.
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)
One more fix for the latest bug from the field with Play state Spinner.
- 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 )
Fix clicking on the 'Distorted.org' link; get app version from build.gradle (and not from strings.xml)
Add Crashlytics logs
Fix for the previous fix :)
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 )
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 :(
Fix the Solver broken by the change of move notation when importing Pyraminx Patterns :(
Add two new UI States: Ready and Done.
Correct the last 6 patterns of the Pyra5.
Do not crash if we are running on device which does not support OpenGL ES 3.0
Fix for another crash from the field.
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.
Add Pyraminx5 Pretty Patterns.
Add Pyraminx4 Pretty Patterns.
Add Pyraminx3 Pretty Patterns.
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.
PYRAMINX: swap the red and blue face colors so that the whole thing matches randelshofer.ch
Allow the server to correct our notion of country (improvement)
Allow the server to correct our notion of country.
Improve logging in case the Distorted Library returned an error - add Crashlytics custom keys.
Do not allow more than 15 characters in the NAME.
Fix sa bug which showed itself only on Android API 21 and 22.
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?'
Bugfix in DialogSetName - before it would not dim the OK button initially
UII improvement in StatePattern
Fix clickable links in the About dialog.
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.
Only 2 dialogs are modeless now: MAIN & PATTERNS
Lots of bugfixes.
Move to AndroidX, target API level 29.
Improve the Effects Dialog so it looks good on 'thin' screens ( 720x1440 )
1) Relax requirements as to OpenGL ES ( now only 3.0 required )2) fix a crash in Solving state
(Hopefully) make the Dialogs NOT disappear on clicks outside (previously this wasn't working on Android 9).Lower API requirements to 21.
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.
Add a 'withdraw move' button to the Solving UI state.
Bugfix
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.
Bugfix.
Each object size now has its own number of levels (not always 18!)
Reorganize UI of the Play state.
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 )
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!
Progress implementing RubikCube.retObjectString()
Progress making the Solver state more abstract.