Project

General

Profile

Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / main @ c9c71c3f

# Date Author Comment
c9c71c3f 11/08/2021 03:38 PM Leszek Koltunski

Abstract out the TouchControl stuff in preparation for its new type - TouchControlShapeChanging.

23afe4c4 11/08/2021 02:54 PM Leszek Koltunski

Move the Movement to its own package; abstract out some stuff.

6916789e 11/08/2021 02:27 PM Leszek Koltunski

call the appropriate TwistyObject constructor by reflection.

386af988 11/08/2021 01:51 PM Leszek Koltunski

Minor.

f86b282a 11/08/2021 01:49 PM Leszek Koltunski

Minor.

45e0065d 11/03/2021 04:24 PM Leszek Koltunski

Correct the next bug with settign the object size.
Multiply the time limits in BlockController by 2 - this way we can see if the ratio of (UI+Touch)/Thread Firebase non-fatals will observably drop below the current value of 4.

fd6e2b3b 11/03/2021 03:33 PM Leszek Koltunski

Set the initial object size correctly.

7fe64077 11/03/2021 01:57 PM Leszek Koltunski

Small things.

d5c71d02 11/03/2021 01:36 PM Leszek Koltunski

Make it possible to extract objects' sticker pngs.

3d093961 11/03/2021 01:10 AM Leszek Koltunski

Fix the solver (after rearranging the faces of the cuboids)

64c209f5 11/02/2021 11:30 PM Leszek Koltunski

Fix problems with TwistyObjectNode 'object scale' property.
Now this property is not part of the Node at all, but its initial value passed to the object in its constructor.

8c069e23 11/02/2021 10:38 PM Leszek Koltunski

Bugfix & debugging for a crash from Firebase.

a1bcb301 11/02/2021 10:09 PM Leszek Koltunski

Bugfixes for crashes from Firebase.

0f72365b 11/02/2021 04:58 PM Leszek Koltunski

Add 'shouldResetTextureMaps' to the JSON puzzle description.

c3639697 11/02/2021 02:29 PM Leszek Koltunski

Add the 7x7 cube.

0e1437c1 11/02/2021 10:30 AM Leszek Koltunski

Correct the way ObejctScale works in the TwistyObjectNode.

e1a86bf2 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.

39b4dcfd 10/28/2021 10:56 PM Leszek Koltunski

Remove ObjectType from a few moree places.

5cc61ae4 10/28/2021 10:45 PM Leszek Koltunski

Further simplify ObjectType

332e1fb0 10/28/2021 10:22 PM Leszek Koltunski

Make the meshAssociation of the Rotate effect independent of the global MAX_SIZE of any implemented object.
Now only the NUM_OF_AXIS*MAX_NUM_OF_LAYERS of any individual object needs to be <=32 - before the second factor was global, which - because of the recent introduction of the Cube6 - screwed the Gigaminx (!) where NUM_OF_AXIS=6 and GLOBAL_MAX_NUM_LAYERS = 6 now, so 6*6>32 !

cb8cae2f 10/28/2021 06:07 PM Leszek Koltunski

Rearrange object so that they look better in tthe popup.

3f7fad4f 10/28/2021 05:54 PM Leszek Koltunski

Add Cube6.

d887aa16 10/28/2021 01:59 AM Leszek Koltunski

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

e343f58d 10/28/2021 12:29 AM Leszek Koltunski

Bugfix.

594bbce0 10/27/2021 11:55 PM Leszek Koltunski

Progress with PuzzleTester app.

82eb152a 10/27/2021 12:33 AM Leszek Koltunski

JsonReader (?) finished: the creator app can now read objects from JSON files.

e26eb4e7 10/22/2021 04:49 PM Leszek Koltunski

Do not pull the inventors and the names of objects from Resources.

e32d318a 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)

7ba38dd4 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)

b146015e 10/21/2021 05:17 PM Leszek Koltunski

Standarize icon naming scheme.

a75ae1ee 10/21/2021 01:16 AM Leszek Koltunski

Separate the notions of a sticker shape and a sticker color.

43a4ccff 10/20/2021 01:21 PM Leszek Koltunski

simplify sticker/color map.

7b832206 10/20/2021 01:32 AM Leszek Koltunski

Progress with serializing object to JSON: cubits.
Only faceColorMap remains now.

e30c522a 10/20/2021 12:51 AM Leszek Koltunski

Progress with serializing object to JSON: shapes.

1bb09f88 10/19/2021 06:30 PM Leszek Koltunski

Progress with serializing object to JSON: stickers, quats.

7bbfc84f 10/18/2021 11:43 PM Leszek Koltunski

Progress with serializing object to JSON: rotations.

f9a81f52 10/18/2021 10:58 PM Leszek Koltunski

Progress with serializing object to JSON: scrambling.

59c20632 10/18/2021 02:06 PM Leszek Koltunski

Reorg for writing the JSON

b19a1d32 10/13/2021 12:29 PM Leszek Koltunski

Cuboids: fully implement the first 3 cuboids (2x3x2, 3x2x3, 3x4x3)

ab31cf6f 10/12/2021 11:45 PM Leszek Koltunski

Cuboids: movement.

ba6d9ee9 10/12/2021 10:42 PM Leszek Koltunski

Cuboids

4a5157a1 10/12/2021 05:39 PM Leszek Koltunski

Rotations of a Cuboid - finished.

d6998705 10/12/2021 02:20 PM Leszek Koltunski

Improve rotations of a Cuboid.

e7daa161 10/12/2021 01:59 PM Leszek Koltunski

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

7dab2aea 10/12/2021 12:28 PM Leszek Koltunski

Progress with cuboids.

a135652b 10/12/2021 11:40 AM Leszek Koltunski

Improve cuboids: single-layer cuboids should work. 1x1x1 does!

dfdb26a9 10/12/2021 01:40 AM Leszek Koltunski

First attempt at cuboids. 2x2x3 and 3x3x4 mostly working :)

a57e6870 10/11/2021 10:53 PM Leszek Koltunski

make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!

8da6b1c9 10/11/2021 02:34 PM Leszek Koltunski

Changes to the Cube cubits; new cube meshes.

568d4698 10/11/2021 11:00 AM Leszek Koltunski

New API to objectlib to recreate an already displayed object (because the settings, like 'IconMode' might have changed) and using the new API in puzzle-creator.

8592461c 10/11/2021 12:24 AM Leszek Koltunski

'IconMode' finished.

ee6bb8d7 10/08/2021 11:27 PM Leszek Koltunski

New API for the IconMode: set scale of the object.

2289cab1 10/08/2021 05:56 PM Leszek Koltunski

New 'IconMode' and some APIs to support it.

758b028d 10/07/2021 10:32 PM Leszek Koltunski

Improvements for the new Border effect. Now works, but covers the object - to be corrected.

dd00d051 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.

3e9df6aa 10/06/2021 05:54 PM Leszek Koltunski

Mesh creation: finished.

b80e6524 10/06/2021 12:35 PM Leszek Koltunski

No, move the object afterall. Why? See in Tutorials - a moved node has the right side missing.

d3371e37 10/06/2021 12:30 PM Leszek Koltunski

minor

b6a71581 10/06/2021 12:29 PM Leszek Koltunski

Improve 'off-center' objects: move the node, not the object!
This simplifies the Effects and makes them more correct (glow!)

72d6857c 10/06/2021 12:23 AM Leszek Koltunski

off-center objects: finished.

02d80fe6 10/06/2021 12:06 AM Leszek Koltunski

progress with off-center objects.

ecf3d6e3 10/05/2021 11:38 PM Leszek Koltunski

1) introduce possibility to move objects, i.e. display them not in the middle of the screen (not fully functional yet)
2) do away with unneeded any more interface 'EffectController' - since ObjectPreRender is the only implementation now.

81141862 10/05/2021 10:53 PM Leszek Koltunski

Remove the 'setupObject()' redundant API.

2fca02cf 10/05/2021 03:40 PM Leszek Koltunski

Further simplifications.

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

Remove the concept of a 'TwistyActivity' altogether.

b9956428 10/05/2021 02:12 PM Leszek Koltunski

Hide most of the TwistyActivity methods inside objectlib.

17d623f1 10/05/2021 12:58 PM Leszek Koltunski

Bugfix: we shouldn't be calling TwsityObject.solve() directly from the app, only through ObjectControl.solveOnly().

2df35810 10/05/2021 12:52 PM Leszek Koltunski

Simplifications

9276dced 10/05/2021 11:58 AM Leszek Koltunski

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

046104f5 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.

00469c40 10/04/2021 04:59 PM Leszek Koltunski

Remove from ObjectType info which row given object is supposed to be in. This belongs to the applcations.

f1bd7340 10/04/2021 03:33 PM Leszek Koltunski

Simplifications

b09dd39b 10/04/2021 03:23 PM Leszek Koltunski

Simplifications

b78ebd76 10/04/2021 03:02 PM Leszek Koltunski

Simplifications

15e5214c 10/04/2021 02:17 PM Leszek Koltunski

Simplifications

880beeea 10/04/2021 01:39 PM Leszek Koltunski

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

7c111294 10/02/2021 12:06 PM Leszek Koltunski

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

198c5bf0 10/01/2021 11:26 PM Leszek Koltunski

Move more code to objectlib.

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

Simplify TwistyObject's API.

9a316d92 10/01/2021 10:12 PM Leszek Koltunski

Simplify TwistyObject's API.

ad9f5cae 10/01/2021 10:01 PM Leszek Koltunski

Correct a recently introduced bug with restoring records.
Slightely simplify ObjectType.

8005e762 10/01/2021 04:33 PM Leszek Koltunski

Reename ObjectList to a more logical ObjectType.

61aa85e4 10/01/2021 04:31 PM Leszek Koltunski

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

4e1dc313 10/01/2021 12:09 AM Leszek Koltunski

move the resourceIDs from ObjectList to individual object classes.

0310ac32 09/30/2021 07:05 PM Leszek Koltunski

Bugfixes

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

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

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

Move QuatHelpeer to distorted-library

29b82486 09/29/2021 04:27 PM Leszek Koltunski

Initial commit