Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org @ c7cbf4db

# Date Author Comment
c7cbf4db 10/05/2020 11:05 AM Leszek Koltunski

Add the Redi Cube: part3.

962437b5 10/05/2020 12:27 AM Leszek Koltunski

Add the Redi Cube: part2.

68f6046c 10/04/2020 11:36 PM Leszek Koltunski

Add the Redi Cube: part1.

1d6c1eea 10/03/2020 12:11 PM Leszek Koltunski

Work around a rare crash on startup

b3ee0e78 10/02/2020 12:36 PM Leszek Koltunski

Correct a bug computing Hash and immediatelly bump to 1.5.2

a4259b7f 10/02/2020 09:08 AM Leszek Koltunski

adjust requesting for review a bit more - now it will happen after a user has launched the app twice and played 7 times.

ee526fe0 10/02/2020 08:39 AM Leszek Koltunski

adjust the objects some more.

e06e1b7e 10/01/2020 10:29 PM Leszek Koltunski

- after some time using it, request an App review
- some tweaking for the way the objects look (set internal_color to something slightly lighter than pure black, round the corners of the stickers better)
- set internal_node ratio to 1.42, this way the objects never get cut

e7e0a94d 10/01/2020 04:18 PM Leszek Koltunski

Simplify OpenGL error dialog. Show it only once.

db7eb1ad 09/30/2020 08:25 PM Leszek Koltunski

Minor.

76c2bd07 09/30/2020 06:08 PM Leszek Koltunski

Simplify drawing textures.

f18e8fae 09/29/2020 08:33 PM Leszek Koltunski

Simplify drawing textures.

045857e5 09/29/2020 02:31 PM Leszek Koltunski

Minor

1f7e0827 09/29/2020 01:50 PM Leszek Koltunski

Brighter background.

eb376d3a 09/29/2020 01:29 PM Leszek Koltunski

Bigger 'OK' button in Dialogs.

da768c35 09/29/2020 01:19 PM Leszek Koltunski

Transparent Buttons.

dca3888a 09/29/2020 11:02 AM Leszek Koltunski

1) report all solved levels to Analytics
2) automatically dismiss the NewRecord and Solved dialogs when one backs from the Done state.

6570171b 09/28/2020 09:28 PM Leszek Koltunski

Make the RubikScores class thread-safe.

30fdccf8 09/28/2020 01:54 PM Leszek Koltunski

New meshes for the Diamond and the Pyraminxes.

d33d0125 09/28/2020 01:40 PM Leszek Koltunski

Icons for the Diamond.

ac940e24 09/28/2020 12:59 PM Leszek Koltunski

Add a CubitFactory and convert all objects to use it. Biggest change is thr Pyramiinx which now uses a lattice of Octahedrons and Tetrahedrons, just like the Diamond.

ad6f6f03 09/27/2020 01:02 AM Leszek Koltunski

Fix Diamond's isSolved()

ee39837d 09/26/2020 11:30 PM Leszek Koltunski

Progress with the Diamond. Everything working except for the isSolved(): turns out the center cubits can end up rotated along the face by multitudes of 120 degrees.

cc99cf91 09/26/2020 08:44 PM Leszek Koltunski

Progress with the Diamond. Everything working, expect one thing: half of the faces are upside down, and computing offset doesn't work on those faces properly.

1cb36646 09/26/2020 01:10 PM Leszek Koltunski

Make the top and bottom bars transparent, above the GLSurfaceView.

5581ba2b 09/25/2020 06:33 PM Leszek Koltunski

Progress with the Skewb Diamond.

ab0c28f0 09/25/2020 06:10 PM Leszek Koltunski

Progress with the Skewb Diamond - it is rendered correctly now.

be576d14 09/25/2020 08:37 AM Leszek Koltunski

Rename some classes.

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

Rename some classes.

ca3300c3 09/25/2020 08:29 AM Leszek Koltunski

Rename 'RubikMovement' to 'Movement'

ece1b58d 09/25/2020 08:27 AM Leszek Koltunski

1) correction for Dino4's isSolved() [ remember about the mirror! ]
2) beginnings of support for the Skewb Diamond

2067efd8 09/24/2020 09:51 PM Leszek Koltunski

Fully support the 4-color Dino.

eaee1ddc 09/24/2020 08:35 PM Leszek Koltunski

Add the 4-color Dino.

Still one thing needs to be done about it: randomization of Moves (now sometimes in Level 1 the randomized move leads to an already solved position)

46405bb4 09/23/2020 09:29 PM Leszek Koltunski

Add lock button.

3717a94e 09/23/2020 01:28 PM Leszek Koltunski

Slight correction for devices which have scrWidth>scrHeight ( Huawei Mate Xs! )

b30695c6 09/23/2020 11:23 AM Leszek Koltunski

Do not forget the amount an Object has been changed in size when we switch between Objects.

7ea57482 09/23/2020 10:42 AM Leszek Koltunski

Compute the size of the Solver icon correctly.

c9556e1e 09/22/2020 10:57 PM Leszek Koltunski

Apply a hack so that the App enters fullscreen modee on some Huawei devices.

af7b68e6 09/22/2020 03:22 PM Leszek Koltunski

Remove LAYOUT_STABLE from the UI flags since that was causing trembling of the Scores dialog in some platforms.

23ac2462 09/20/2020 10:17 PM Leszek Koltunski

Progress with UI

af133d41 09/20/2020 09:00 PM Leszek Koltunski

Progress with UI

4fb1fc0d 09/20/2020 06:13 PM Leszek Koltunski

Progress with UI

e365b6c2 09/20/2020 05:09 PM Leszek Koltunski

Make the keyboard visible again

92843d3b 09/20/2020 01:22 PM Leszek Koltunski

Rework the bottom pane

466b2ffc 09/20/2020 10:37 AM Leszek Koltunski

Remove Navigation Bar in the last case, when we were popping out a PopupWindow!
Navigation Bar fully gone now!

ffd68f35 09/20/2020 10:15 AM Leszek Koltunski

Make it so that the Navigation Bar does not re-appear when we pop up a DialogFragment.

Now there's noly 1 case when it still reappears: it's when we pop up a PopupWindow.

d7e539d0 09/19/2020 10:21 PM Leszek Koltunski

Progress with Play state.

0254cfd7 09/19/2020 09:49 PM Leszek Koltunski

Add hiding the Navigation bar (still unfinished, the bar re-appears when a DialogFragment or a PopupWindow appears)
Integrate the Level Spinner and the Play button into one
Move the Menu button up

44f95b2a 09/18/2020 12:13 PM Leszek Koltunski

DMesh for the Helicopter.

475cbfe7 09/18/2020 11:56 AM Leszek Koltunski

Icons for the Helicopter.

7403cdfa 09/18/2020 10:42 AM Leszek Koltunski

Fix rotations of the Helicopter.

b0a56742 09/17/2020 11:44 PM Leszek Koltunski

More support for the Helicopter.

77899b4c 09/17/2020 11:02 PM Leszek Koltunski

More support for the Helicopter.

20a0214b 09/17/2020 10:31 PM Leszek Koltunski

More support for the Helicopter.

ee35e63c 09/16/2020 11:55 PM Leszek Koltunski

Beginnings of support for the Helicopter.

fcc0e034 09/16/2020 08:49 PM Leszek Koltunski

Correct the Dino mesh.

940100d1 09/15/2020 11:10 AM Leszek Koltunski

Minor.

63002261 09/15/2020 09:18 AM Leszek Koltunski

Skewb finished?

2f5783d4 09/14/2020 10:33 PM Leszek Koltunski

Skewb Mesh.

21e06b9c 09/14/2020 10:02 PM Leszek Koltunski

Icons for the Skewb.

eab9d8f8 09/14/2020 08:46 PM Leszek Koltunski

Progress with the Skewb.

fb52fae9 09/14/2020 01:38 PM Leszek Koltunski

Beginnings of support for the Skewb.

1576f41c 09/13/2020 12:35 AM Leszek Koltunski

Minor.

fa679111 09/11/2020 11:01 AM Leszek Koltunski

Make the ObjectPopup a 2D grid - corrections.

e07c48a2 09/11/2020 12:17 AM Leszek Koltunski

Make the ObjectPopup a 2D grid.

3e5ad461 09/10/2020 08:33 PM Leszek Koltunski

Improve the Scores dialog: now level sections are added one-by-one.

befd50be 09/10/2020 03:17 PM Leszek Koltunski

New meshes.

e35247b8 09/10/2020 02:06 PM Leszek Koltunski

Improve Pyraminx Mesh

2394e617 09/09/2020 12:27 PM Leszek Koltunski

Convert RubikDino to the new Polygon mesh.

52336e82 09/09/2020 12:13 PM Leszek Koltunski

Tweaks for the new RubikPyraminx mesh so it looks better.

231771f3 09/09/2020 12:58 AM Leszek Koltunski

Convert RubikPyraminx to the new MeshPolygon - better quality of the mesh and less vertices!

c0b37c89 09/08/2020 10:21 PM Leszek Koltunski

Convert RubikCubes to the new MeshPolygon - better quality of the mesh and less vertices!

b376bfd7 09/07/2020 11:29 PM Leszek Koltunski

Fix for a crasher.

efa8aa48 08/28/2020 12:37 AM Leszek Koltunski

Rename Meshes.

dfbb340a 08/27/2020 12:51 PM Leszek Koltunski

Fix: nwo we need to explicitly set mesh center to negative Z if we want to GLOW a flat object.

74b08185 08/26/2020 09:18 PM Leszek Koltunski

Fix for Samsung Android 5

49595e4b 08/26/2020 02:53 PM Leszek Koltunski

Fix for one bug seen in Firebase and additional debugging for another.

6b6504fe 08/26/2020 12:55 PM Leszek Koltunski

Finally fix the Dino's 'isSolved()' - Dino can be mirrored and then it is also solved!

1ebc4767 08/19/2020 09:10 PM Leszek Koltunski

Fix detecting if an Object is solved. Before, the generic Cubit.thereIsNoVisibleDifference(0 would not work correctly in case of the Dino.

7c969a6d 08/16/2020 06:34 PM Leszek Koltunski

Adjust randomizing new rotations so that:

1) it works for basicAngle=5 (Megaminx) (so now basicAngle=2,3,4,5 supported)
2) it leaves the decision as to what can be the next rotation to the Object class, as in case of certain Objects (the Dino, or the Helicopter, the Megaminx) the next rotation doesn't have to 'intersect' the old rotation always when oldRotAxis != newRotAxis (that's so simple only in case of the Cube and - only partly - the Pyraminx!)

f05807f7 08/11/2020 08:33 PM Leszek Koltunski

Add the Dino dmesh file.

935f3663 08/11/2020 06:12 PM Leszek Koltunski

Fix the way we continue rotation: when rotating a layer, we need to be doing it with respect to the RotAxis which has been first casted to the touched face, and only then this casted one is casted to the surface of the screen.

Before we were casting the rotAxis directly to the screen without the intermediate casting to the face, which doesn't really work in case of the Dino: if the touched face is rotated away by quite a lot, the rotAxis is then completely counterintuitive.

fb377dae 08/11/2020 02:19 PM Leszek Koltunski

Major progress with Dino; rotations (almost?) work now.

ee64e15a 08/11/2020 10:21 AM Leszek Koltunski

A bit less Sink effect (1.25) when creating the individual cubits of the Dino - with the previous 1.30 there was a bit of an artifact visible when rotating.

5944e760 08/10/2020 11:49 PM Leszek Koltunski

Fix the bug reported by Antonio Campos Galán: sometimes the app would not detect that the Cube is solved.

c7e79b69 08/10/2020 09:31 PM Leszek Koltunski

Progress with Dino Movement

faa3aed0 08/10/2020 06:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 2 )

ad38d800 08/09/2020 10:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 1 )

736bbd74 08/08/2020 10:56 PM Leszek Koltunski

Correct Dino row chances ( the middle row should never move! )

2c699055 08/08/2020 10:36 PM Leszek Koltunski

New Dino images.

f6d06256 08/07/2020 11:09 PM Leszek Koltunski

Move the knowledge about colors of individual cubit faces down to each Object subclass.

7ec268b1 08/07/2020 10:48 PM Leszek Koltunski

Stop crashing when the last installed version has an Object remembered, then we install a new version without this Object in the RubikObjectList.

380162cb 08/07/2020 12:13 AM Leszek Koltunski

Progress with RubikDino.

8f53e513 08/01/2020 09:37 PM Leszek Koltunski

Progress with the Dino.

418aa554 07/30/2020 10:32 PM Leszek Koltunski

Beginnings of support for a new Object: the Dino.

db19ef39 07/30/2020 10:46 AM Leszek Koltunski

We need to up the version to 1.3.5 - new release to AppInChina because of the previous commit

4489e68e 07/24/2020 02:50 PM Leszek Koltunski

Catch possible exceptions setting up the Renderer (possible on very old devices) and display the OpenGL error popup.

82f42eeb 07/22/2020 09:53 AM Leszek Koltunski

We need to pause an Activity in the following way:

1) Activity.onPause()
2) View.onPause()
3) Library.onPause()

otherwise sometimes there are artifacts when pausing!

b1e9596b 07/09/2020 10:48 PM Leszek Koltunski

Display the 'Privacy Policy' dialog (only if locale is set to ZH - chinese requirement)

6d4d56cb 07/06/2020 10:03 PM Leszek Koltunski

Correction of the size of '3x3x3 Solver' bitmaps.