Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / main @ 6b1998e0

# Date Author Comment
6b1998e0 02/14/2022 12:42 PM Leszek Koltunski

new API to enable/disable face culling

e4854e54 02/02/2022 11:47 PM Leszek Koltunski

FigureOutVersion before calling debugs.cgi !

a474ccde 02/02/2022 08:35 PM Leszek Koltunski

Switch off debugging.

9eeb9c88 02/02/2022 05:00 PM Leszek Koltunski

Make sure we always display some icon in the Popup dialog, even if we fail to download one (improvement)

526a5906 02/02/2022 04:25 PM Leszek Koltunski

Restore the list of objects before resotoring the list of records; otherwise we cannot restore records of downloaded objects.

e847c553 02/02/2022 01:36 PM Leszek Koltunski

Make 'downloaded' debugs controlled by a single boolean.

aec421fd 02/01/2022 10:45 PM Leszek Koltunski

Downloaded Objects: subtle bugfix. We cannot use ObjectType in ObjectControl to check if two objects are the same because DownloadedObjects have ObjectType null !

43c2812a 02/01/2022 03:11 PM Leszek Koltunski

Downloaded Objects: bugfixes

84d746d7 02/01/2022 01:30 PM Leszek Koltunski

Downloaded Objects more or less work now.

314e9ff0 01/30/2022 11:48 PM Leszek Koltunski

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

acabdd83 01/28/2022 10:17 PM Leszek Koltunski

Rename the 'network' package to 'external' since it will also deal with writing/reading files from local storage.

ffe7e55d 01/27/2022 12:21 AM Leszek Koltunski

Reorganize the Network so that concurrent network operattions are possible.
Finally figure out and fix the bug which was causing users to multi-submit the same records over and over.

c651024f 01/25/2022 01:30 AM Leszek Koltunski

Downloading updates: dialog progress.

9c39179e 01/24/2022 09:37 PM Leszek Koltunski

Downloading updates: dialog progress.

63dd19c4 01/21/2022 03:56 PM Leszek Koltunski

Progress downloading updates.

804293f0 01/17/2022 03:17 PM Leszek Koltunski

Re-organize tutorial list so that we can pull this one from JSON files.

6eb4c104 01/14/2022 12:18 AM Leszek Koltunski

Minor.

1fa125c2 01/10/2022 03:32 PM Leszek Koltunski

Add debugging for the case when people submit suspicious records.

1071fb69 01/06/2022 11:46 PM Leszek Koltunski

Corrections for the UI.

6e3fcb91 01/06/2022 10:39 PM Leszek Koltunski

Remove 3 out of 4 object icons.

d38a302b 12/18/2021 09:46 PM Leszek Koltunski

Crash fix. Also a fix for the fact that if we started solving, went out of the app, and resumed solving - the record wasn't remembered.

09cf2a36 12/07/2021 11:17 PM Leszek Koltunski

Introduce 'Simple' and 'Nice' meshes.

f12e4de9 12/06/2021 11:36 PM Leszek Koltunski

Progress with Config UI.

400ff34d 12/06/2021 01:46 AM Leszek Koltunski

Move the 'currObject' from RubikScreenPlay (WTF?) to RubikObjectList.

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.

51853bf2 11/24/2021 06:02 PM Leszek Koltunski

Improve initial detection of screenHeight.

1237d25d 11/24/2021 05:36 PM Leszek Koltunski

Beginnings of the ConfigActivity.

eb647d5e 11/18/2021 10:51 PM Leszek Koltunski

Better error reporting.

5c4ed8ed 11/14/2021 12:35 AM Leszek Koltunski

Make the ShapeChanging the default TouchControl during MODE_REPLACE.

dd874ae8 11/05/2021 10:41 AM Leszek Koltunski

Convert the theme to be a MaterialTheme and the TransparentImageButton to be a MaterialButton - the first forced by the second, and the second because a MaterialButton gives us control over the location of the icon in top of it. We need that because of the new 'solve/scramble' split-button in the lower right of the Play screen.

b20e89d2 10/30/2021 01:46 AM Leszek Koltunski

Move the main app to the 'J1M1' object creation mode, i.e. create them from the Json files and using the Dmesh fiels as well.

Make it possible for any app descending from the 'objectlib' to use any of the J0M0, J0M1, J1M0, J1M1 modes.

8723caee 10/28/2021 10:56 PM Leszek Koltunski

Remove ObjectType from a few moree places.

95472aca 10/28/2021 01:59 AM Leszek Koltunski

Remove dependancies on Firebase from objectlib.
Report such errors to the application via the Interface.

e709e44d 10/27/2021 11:55 PM Leszek Koltunski

Progress with PuzzleTester app.

a946af34 10/22/2021 11:00 AM Leszek Koltunski

new API to make is possible to adjust default scale factor in each TwistyObjectNode.
(and use it in Tutorials, where the object needs to be smaller)

338babe8 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

ae77f661 10/16/2021 12:07 PM Leszek Koltunski

Correct the 'solved' icons in the Play popup.

4c9947bd 10/13/2021 04:14 PM Leszek Koltunski

1. Do not restore object scrambling if we freshly upgraded from some version older than 1.9.0
2. Bugfix for a recently introduced crasher in the Play screen.

2da68298 10/13/2021 01:59 PM Leszek Koltunski

Create the 3 Popups only on first button click - this time we can have the final screen dimensions (and also it starts faster ) Before we weree getting the screen size from before hiding navigation bars, which made the height smaller, which made the number of obejcts and levels in the popups sometimes too small!

f08ec48e 10/06/2021 11:40 PM Leszek Koltunski

Remove unneeded API.

0c52f5da 10/06/2021 11:25 PM Leszek Koltunski

Relax objectlib's requirements: it can be displayed not only on top of a DistortedScreen, but any DistortedFramebuffer.

33f6abfd 10/05/2021 10:53 PM Leszek Koltunski

Remove the 'setupObject()' redundant API.

f57d0ad9 10/05/2021 07:10 PM Leszek Koltunski

Minor

c65a5efe 10/05/2021 03:40 PM Leszek Koltunski

Further simplifications.

e019c70b 10/05/2021 03:12 PM Leszek Koltunski

Remove the concept of a 'TwistyActivity' altogether.

9523ae28 10/05/2021 02:12 PM Leszek Koltunski

Hide most of the TwistyActivity methods inside objectlib.

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.

1bafcba4 10/04/2021 03:33 PM Leszek Koltunski

Simplifications

05c20dad 10/04/2021 02:17 PM Leszek Koltunski

Simplifications

dd1a65c1 10/04/2021 01:39 PM Leszek Koltunski

Move ObjectControl, the next big chunk of code, to objectlib.

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

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

1cd323dd 10/02/2021 12:08 AM Leszek Koltunski

Move yet more code to objectlib.
It's almost possible to move the PreRender to objectlib now.

d2556e79 10/01/2021 11:31 PM Leszek Koltunski

Move yet more code to objectlib.

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

Move more code to objectlib.

c4175d85 10/01/2021 10:33 PM Leszek Koltunski

Simplify TwistyObject's API.

e8205412 10/01/2021 10:12 PM Leszek Koltunski

Simplify TwistyObject's API.

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.

fdb5f389 09/30/2021 04:14 PM Leszek Koltunski

Simplify objectlib's API.
Correct a recently introduced bug with resetting texture maps.

b6dcb62b 09/30/2021 04:03 PM Leszek Koltunski

Move QuatHelpeer to distorted-library

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.

4946b635 09/24/2021 11:30 AM Leszek Koltunski

Major abstraction - automatically compute the 'computeRowFromOffset()' function from CUTS.
Still one thing left: it appears like the CUTS of Mega/Kilominxes are not correct.

e9a87113 09/21/2021 12:59 AM Leszek Koltunski

Move the Movement class from ObjectList to individual object classes.

771f6dfa 09/18/2021 10:09 PM Leszek Koltunski

Move actual solving the object to PreRender.

(before we had a 'solveObejct()' in preRender already, but that one just starts the Solve Effect!)

214e301a 09/06/2021 02:59 PM Leszek Koltunski

Fix the problem reported by Samsung -

1. Fire off the app
2. minimize it, select 'Multi window'
3. put some other app in the lower half of the screen
4. close the lower app
5. our app used to fail to display the upper and lower menu bars.

c7c83fb7 07/30/2021 01:27 AM Leszek Koltunski

TwistyObject's ObejctScreenRatio and InitScreenRatio shouldn't be static. Make them non-static.
Otherwise, if the current object is, say, a cube (initSR=0.5), we fire up tutorials and start a tutorial for something with vastly different ObjectScreenRatio (Jing- initSR=1.64), then come back to the Main Activity - so there's a cube on the screen again - the ratios stay at their Jing values, which screws up detection of rotations.

8fa39aa6 07/15/2021 11:26 PM Leszek Koltunski

Improve debugging in BlockController.

598de3ee 07/15/2021 05:08 PM Leszek Koltunski

add possible scrolling to the 'object' popup in case the grid of objects does not fit on the screen.

7aa4c349 07/09/2021 02:42 PM Leszek Koltunski

Progress with RubikControl.

b9d4aa3b 07/08/2021 01:58 PM Leszek Koltunski

Lots of changes :)

967b79dc 07/06/2021 12:33 PM Leszek Koltunski

Progress with RubikControl.

9d591756 06/30/2021 10:52 PM Leszek Koltunski

Fix the reddening the Lock icon.

03822c33 06/30/2021 09:56 PM Leszek Koltunski

Fix a rare crash.

809c3432 06/30/2021 06:05 PM Leszek Koltunski

Introduce a BlockController - a watchdog which makes sure the Touch and UI blocks do not take too long.
If it detecs a long block, it unblocks and reports the situation to Crashylytics.

cc88f2fa 06/29/2021 05:03 PM Leszek Koltunski

Give visual indication when dragging is locked.

146661ec 06/29/2021 04:34 PM Leszek Koltunski

Change the 'Cube Back' icon when there are no moves to back.

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.

7a733a8c 06/25/2021 11:35 PM Leszek Koltunski

Important bugfix: no we cannot unblock touch when WIN effect finishes, because

1) starting the WIN effect does not block touch in the first place
2) it can happen that this unblocking happens when we have started finishing the rotation but haven't removed it yet...

0812242b 06/16/2021 01:29 PM Leszek Koltunski

Improve scrambling of the Minx'es and the Redi, which in full scramble mode were frequently leaving large corners unscrambled.

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

Backing moves: constant angle speed (part 2).

3f372405 06/09/2021 01:04 PM Leszek Koltunski

Backing moves: constant angle speed.

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

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

c4f0dbce 06/03/2021 04:00 PM Leszek Koltunski

improvements for FactorySticker

834b2618 06/03/2021 01:40 PM Leszek Koltunski

Square-1: beginnings

a034956d 05/19/2021 11:53 PM Leszek Koltunski

RubikControl: rotate the cube 2.

8ba7aeb1 05/19/2021 03:45 PM Leszek Koltunski

RubikControl: rotate the cube.

9205f15e 05/19/2021 12:51 AM Leszek Koltunski

Simplify RubikSurfaceView and the touchscreen control.

314bffaf 05/16/2021 11:19 PM Leszek Koltunski

RubikControl: fixes; progress.

8badfe2a 05/08/2021 04:39 PM Leszek Koltunski

Progress with RubikControl.

f8eece7d 05/07/2021 11:55 AM Leszek Koltunski

Attach the control nodes directly to the screen, not to the Object Node.

f5da732a 05/04/2021 12:52 AM Leszek Koltunski

Cube Control: step 2.

fcd5b990 05/02/2021 01:56 PM Leszek Koltunski

Rename 'state' to 'screen'

52573991 04/23/2021 04:36 PM Leszek Koltunski

Minor.

6a083c6a 04/23/2021 02:18 PM Leszek Koltunski

- report the Graphics driver's Renderer and Version.
- new Diamond, Skewb2 and Skewb3 meshes.

eaf87d1d 04/14/2021 09:51 AM Leszek Koltunski

Rename packages

c5b4af4a 03/27/2021 11:27 AM Leszek Koltunski

Fix the 6fad862b commit and remove the UI block in a proper way (i.e. the problem was that popping up the Object, Play or Menu windows was impossible while the 'WIN' glow was active)