Commit graph Aetheria/Assets/Scripts/UI/Menu
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
4d89c6d932 Fix the sector map label pivot after the CultMath sign swap
CultMath's sign(float) returns int, as HLSL does, so sign(x)/2+.5f became
integer division and pinned the pivot at 0.5. Scale by .5f instead so the
pivot is 0 or 1 again. The other sign( uses in Assets combine the int with
a float by multiplication or compare it against a float threshold, so their
values are unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 17:58:53 +02:00
Meta Vens
2281793154 Convert engine types through CultMath.UnityBridge
CultMath has no implicit conversions to or from Vector*, Quaternion or
Color, so Assembly-CSharp converts explicitly with ToCultMath/ToUnity at
each engine boundary: FieldDriver, GuidedProjectile(Manager),
EntityInstance, ActionGameManager, HullCollider, GridObject, ShipInstance,
ShieldManager, ItemPickup, FieldTester, PlaceUIElementWorldspace,
MapMenuInput, MapRenderer, SectorRenderer and ZoneRenderer. CultMath math
calls that were handed Unity vectors now take converted values;
Vector3.Scale in FieldDriver becomes a float3 product, and ItemPickup's
Vector3.Dot on float3s becomes dot. packages-lock.json records the
cultmath git package at f0605367 and demotes com.unity.mathematics to a
transitive dependency.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 17:47:33 +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
a330e24d96 Make trade acceptance daemon authoritative 2026-07-15 20:46:05 +01:00
Meta Vens
6f0375f4ad Publish gravity fog through generic Eve fields 2026-07-15 20:17:05 +01:00
Meta Vens
b88bafd9e1 Use managed Verse target copy 2026-07-06 01:29:53 +01:00
Meta Vens
0751d3baa2 Remove RTS vocabulary from Unity map icons 2026-07-05 22:31:10 +01:00
Meta Vens
911bb72f69 Make game viewport authority runtime-neutral 2026-07-05 19:56:18 +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
ab6387fe1e Use managed RTS viewport document handles 2026-06-29 12:54:07 +01:00
Meta Vens
f09c298bcd Remove Unity runtime state call chains 2026-06-29 12:33:48 +01:00
Meta Vens
7285a82cb1 Expose native Unity indexed document access 2026-06-29 12:27:34 +01:00
Meta Vens
988b72d2ba Expose native Unity current document access 2026-06-29 12:17:14 +01:00
Meta Vens
cf5897a98c Expose native Unity docking state access 2026-06-29 12:12:16 +01:00
Meta Vens
ed1ac90b3a Read local story docking through current state 2026-06-29 11:51:21 +01:00
Meta Vens
8b718d0da9 Map inventory docking from typed state 2026-06-29 11:41:32 +01:00
Meta Vens
ca8b5858a2 Read menu docking through current typed state 2026-06-29 11:36:38 +01:00
Meta Vens
c5c7498a14 Collapse menu tabs into MenuPanel 2026-06-29 10:52:47 +01:00
Meta Vens
77c92643e8 Sample map settings through current typed access 2026-06-29 10:40:37 +01:00
Meta Vens
6497636bb2 Sample inventory panel through current typed access 2026-06-29 10:36:52 +01:00
Meta Vens
f47b0f2d7d Sample inventory menu through current typed access 2026-06-29 10:31:54 +01:00
Meta Vens
071c1febbd Sample trade menu through current typed access 2026-06-29 10:24:52 +01:00
Meta Vens
10186bd078 Sample sector renderer through current typed access 2026-06-29 10:20:35 +01:00
Meta Vens
19ca2619c8 Sample sector map through current typed access 2026-06-29 10:16:04 +01:00
Meta Vens
ade95ae5b6 Sample docking state through current typed access 2026-06-29 09:54:19 +01:00
Meta Vens
2941847112 Share Unity docking document access 2026-06-29 09:33:22 +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
c2ef01f8b4 Add named map and zone document access 2026-06-29 07:43:02 +01:00
Meta Vens
6f666fd6cf Add named daemon render document access 2026-06-29 07:36: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
7b261aaf47 Add named current docking document access 2026-06-29 07:14:40 +01:00
Meta Vens
ae3c1f9ff2 Use provider UI handle for Unity commands 2026-06-29 06:46:38 +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
6600df0718 Build trade interaction models directly 2026-06-29 05:49:10 +01:00
Meta Vens
9e89bb0e8b Build trade cargo selector model directly 2026-06-29 05:46:13 +01:00
Meta Vens
80cda5245b Build inventory dropdown model directly 2026-06-29 05:44:24 +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
09a5b019af Build trade item details directly 2026-06-29 05:31:23 +01:00
Meta Vens
1674acb678 Build zone details surfaces directly 2026-06-29 05:29:42 +01:00
Meta Vens
e3716fac6d Build runtime menu tabs directly 2026-06-29 05:27:10 +01:00