Commit graph Aetheria/Assets/Scripts/UI/Menu/InventoryMenu.cs
Author SHA1 Message Date
Meta Vens
9bdf6ef23f Replace the Database Tools with the Studio and cut Unity over
Cut 8b. The Unity project compiles with 0 errors in 6000.3.24f1 batchmode.

Packages: manifest.json pins org.gamecult.cultlib at cultlib-unity-v1.0.57
and org.gamecult.caching.unity at caching-unity-v1.2.0, next to the 8a
CultMath tag. Aetheria.Shared.Unity references GameCult.CultLib and keeps
noEngineReferences.

The Database Tools (Assets/Scripts/CultCache/Editor) are deleted in this
commit, alongside their five ported drawers in
Assets/Scripts/Editor/CultCacheDrawers.cs, each an
[CultInspectorDrawer] ICultInspectorDrawer:
- InspectableType: popup of the attribute type's [Union] member names,
  writing the string.
- InspectableColor: float3 and float4 through ColorField.
- InspectableAnimationCurve: float4[] and BezierCurve through CurveField.
- InspectableTemperature: Kelvin, Celsius and Fahrenheit fields over one
  value.
- InspectableSchematicShape: size and cell toggles. The old drawer also
  drew the item's schematic texture and tinted hull hardpoints, which need
  the parent document. The tagged Studio hands a drawer only the value, so
  those wait on the Studio exposing the open record.

Unity call sites:
- ActionGameManager opens the catalog through AetheriaStores; Cut 10 adds
  the run and player stores.
- Refs resolve through ItemManager.GetData or Get(ref); orbit, planet and
  belt maps key by CultRecordKey; identity is compared by reference or key.
- The PlayerSettings.msgpack reader and writer, which Cut 10 deletes, pass
  CultDocumentMessagePackSerialization.OptionsFor, since the embedded run
  reaches CultMath values and refs. Keyboard layouts need no resolver and
  keep MessagePack's defaults until Cut 10.
- The input map uses the nested action to binding shape.
- PropertiesPanel reads CultInspectorRangeAttribute.
- NameTools loses its legacy name-file writer.
- Slime compares serialized settings instead of the deleted SHA1 helper.
- FieldDriver drops InspectorHeader.
- .gitignore covers the test project's build output.

Builds: Aetheria.Shared, AetherDb, Aetheria.Shared.Tests (6/6), Unity
batchmode (0 errors).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 19:15:20 +02:00
Meta Vens
6140a06a0a Swap Unity.Mathematics usings for CultMath
Every Unity.Mathematics using, alias and qualified name under Assets\Scripts
and tools now names CultMath. The nine `using static ...noise;` lines are
gone: snoise lives on CultMath's math. UnityExtensions loses float4.ToColor
and Color.ToFloat4, which duplicate the bridge's ToColor and ToCultMath; the
float3 colour pair stays because the bridge has none.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 17:39:12 +02:00
Meta Vens
3dcfaf9783 Delete commented-out code blocks
Git keeps the history. SimpleCommodityData records its retired
MessagePack keys so they are not reused against old data.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 22:14:58 +02:00
Meta Vens
7006a6b0dd Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
Meta Vens
4d7bb65868 Integrate CultMesh UI and URP cleanup 2026-06-30 19:14:49 +01:00
Meta Vens
4981e9d1fa Fix typed Unity state compile errors 2026-06-29 13:07:24 +01:00
Meta Vens
7285a82cb1 Expose native Unity indexed document access 2026-06-29 12:27:34 +01:00
Meta Vens
8b718d0da9 Map inventory docking from typed state 2026-06-29 11:41:32 +01:00
Meta Vens
f47b0f2d7d Sample inventory menu through current typed access 2026-06-29 10:31:54 +01:00
Meta Vens
ade95ae5b6 Sample docking state through current typed access 2026-06-29 09:54:19 +01:00
Meta Vens
29111f74f4 Normalize menu shared document snapshots 2026-06-29 09:25:56 +01:00
Meta Vens
e08819dbbb Normalize inventory typed state reads 2026-06-29 09:21:29 +01:00
Meta Vens
aa45a6bb07 Add named parameterized document access 2026-06-29 07:51:45 +01:00
Meta Vens
a3d6df3bfd Add named catalog and settings document access 2026-06-29 07:30:21 +01:00
Meta Vens
baac952fe3 Add named entity and refit document access 2026-06-29 07:21:01 +01:00
Meta Vens
d27e8ccee1 Use provider-native observed docking access 2026-06-29 06:35:20 +01:00
Meta Vens
d10da01a69 Expose native Unity runtime state access 2026-06-29 06:10:30 +01:00
Meta Vens
7714d85583 Build equipped item details directly 2026-06-29 05:38:44 +01:00
Meta Vens
3be8e8fb31 Build cargo item details directly 2026-06-29 05:35:20 +01:00
Meta Vens
cf09a33731 Build ship settings surfaces directly 2026-06-29 05:33:45 +01:00
Meta Vens
759caaaf17 Describe inventory access as typed documents 2026-06-29 05:11:56 +01:00
Meta Vens
a21f7be296 Use typed indexed Aetheria state access 2026-06-29 05:01:45 +01:00
Meta Vens
e58cc2a5e8 Treat trade item pricing as values 2026-06-29 04:50:04 +01:00
Meta Vens
6439809c7e Scope managed client document selectors 2026-06-29 04:37:22 +01:00
Meta Vens
296a0b6de8 Add native reactive client state access 2026-06-29 04:18:22 +01:00
Meta Vens
0830588cbb Flatten Aetheria CultMesh reactive access 2026-06-29 02:42:08 +01:00
Meta Vens
3048b52058 Use generic current state documents 2026-06-29 00:08:58 +01:00
Meta Vens
033acd17e6 Use generic parameterized viewport documents 2026-06-29 00:01:21 +01:00
Meta Vens
e9c5281e3f Use generic reactive fixed documents 2026-06-28 23:50:28 +01:00
Meta Vens
b3faf12fd6 Use reactive documents in inventory UI 2026-06-28 23:00:02 +01:00
Meta Vens
aaada3d382 Use reactive shared documents in inventory menu 2026-06-28 22:22:51 +01:00
Meta Vens
c0f72a9425 Rename inventory detail surface composers 2026-06-28 15:45:26 +01:00
Meta Vens
d25b9c959c Split inventory docking state access 2026-06-28 15:12:19 +01:00
Meta Vens
d6bee723ec Centralize inventory state sessions 2026-06-28 14:25:08 +01:00
Meta Vens
a035a55fc3 Remove Aetheria client state alias 2026-06-28 13:13:07 +01:00
Meta Vens
0bb0c3c62a Route inventory docking reads through observed index 2026-06-28 12:27:31 +01:00
Meta Vens
0cf4591b8f Centralize catalog item object lookup 2026-06-28 12:21:38 +01:00
Meta Vens
ca92227ec2 Promote composed reactive state accessors 2026-06-28 11:01:19 +01:00
Meta Vens
759afb0044 Use reactive docking state snapshots 2026-06-28 10:07:05 +01:00
Meta Vens
86fabfd2ec Use reactive inventory validation documents 2026-06-28 09:48:19 +01:00
Meta Vens
e5799e4950 Use reactive shared state in inventory menu 2026-06-28 09:02:22 +01:00
Meta Vens
68fc0b0aa1 Use named managed shared state accessors 2026-06-28 08:02:16 +01:00
Meta Vens
a924b0e35b Centralize managed docking snapshot reads 2026-06-28 07:50:11 +01:00
Meta Vens
14a4680c5f Use managed typed inventory documents 2026-06-28 07:45:31 +01:00
Meta Vens
ee0f73d40d Rename observed facades as entity snapshots 2026-06-28 03:34:08 +01:00
Meta Vens
dea31eed1b Remove facade wording from inventory docking helpers 2026-06-28 03:24:07 +01:00
Meta Vens
de7d576b37 Route inventory menu through managed runtime client 2026-06-28 02:44:03 +01:00
Meta Vens
2d8432ad27 Centralize inventory docking facade resolution 2026-06-28 02:04:56 +01:00
Meta Vens
03b1e082ea Route catalog reads through managed document 2026-06-28 01:58:58 +01:00
Meta Vens
943a210bc5 Route Unity settings reads through managed documents 2026-06-28 01:52:11 +01:00