Commit graph Aetheria/Assets/Scripts/UI/Menu/SectorRenderer.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
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
b88bafd9e1 Use managed Verse target copy 2026-07-06 01:29:53 +01:00
Meta Vens
4d7bb65868 Integrate CultMesh UI and URP cleanup 2026-06-30 19:14:49 +01:00
Meta Vens
7285a82cb1 Expose native Unity indexed document access 2026-06-29 12:27:34 +01:00
Meta Vens
10186bd078 Sample sector renderer through current typed access 2026-06-29 10:20:35 +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
a3d6df3bfd Add named catalog and settings document access 2026-06-29 07:30:21 +01:00
Meta Vens
d10da01a69 Expose native Unity runtime state access 2026-06-29 06:10:30 +01:00
Meta Vens
1674acb678 Build zone details surfaces directly 2026-06-29 05:29:42 +01:00
Meta Vens
a21f7be296 Use typed indexed Aetheria state access 2026-06-29 05:01:45 +01:00
Meta Vens
0e10805e33 Treat zone details as managed facts 2026-06-29 04:54:16 +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
f907b47df6 Use reactive documents in sector details UI 2026-06-28 22:55:45 +01:00
Meta Vens
20fdf19245 Use reactive shared documents in sector renderer 2026-06-28 22:26:55 +01:00
Meta Vens
90630cbc31 Centralize sector map state sessions 2026-06-28 14:14:50 +01:00
Meta Vens
a035a55fc3 Remove Aetheria client state alias 2026-06-28 13:13:07 +01:00
Meta Vens
df67219fae Use reactive sector map documents 2026-06-28 09:43:47 +01:00
Meta Vens
3b10a20ee0 Use reactive shared state in sector renderer 2026-06-28 09:07:28 +01:00
Meta Vens
e1052eba30 Use named managed map and viewport accessors 2026-06-28 08:13:17 +01:00
Meta Vens
68fc0b0aa1 Use named managed shared state accessors 2026-06-28 08:02:16 +01:00
Meta Vens
5d03a64ddb Cache managed runtime clients by runtime id 2026-06-28 02:39:41 +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
Meta Vens
e0acc8a1b5 Route viewport projections through managed documents 2026-06-28 01:37:43 +01:00
Meta Vens
e0e8265682 Use Aetheria state handles for sector map reads 2026-06-27 14:03:57 +01:00
Meta Vens
2e96660d48 Build typed Aetheria client surfaces 2026-06-25 18:09:33 +01:00
Meta Vens
3370802cd0 Project sector zone details from daemon snapshots 2026-06-21 23:07:16 +01:00
Meta Vens
a6508332ce Move zone details projection into runtime 2026-06-21 22:00:17 +01:00
Meta Vens
43c8c0ed76 Query observed zone snapshots explicitly 2026-06-21 19:40:29 +01:00
Meta Vens
09389d9e68 Query observed run zone explicitly 2026-06-21 19:36:32 +01:00
Meta Vens
2cc4598915 Route map galaxy projection through observed accessor 2026-06-21 19:31:59 +01:00
Meta Vens
d7fc9d29eb Query daemon zones by explicit zone index 2026-06-21 19:02:23 +01:00
Meta Vens
0a21e44f54 Project current zone from daemon run 2026-06-21 17:10:27 +01:00
Meta Vens
142e1db6a9 Project sector details from daemon zone snapshots 2026-06-21 16:53:33 +01:00
Meta Vens
be1207c585 Move runtime API namespace to Verse 2026-06-21 09:54:15 +01:00
Meta Vens
39a0dc8737 Sync daemon authority migration 2026-06-21 09:37:54 +01:00
Meta Vens
0a2f65670d Delete dead popup menu shell 2026-06-17 03:59:14 +01:00
Meta Vens
bd84882d2b Move sector zone details onto Eve surfaces 2026-06-16 21:23:05 +01:00
Meta Vens
8ea97a08f8 Use faction keys for shell identity 2026-06-16 11:43:37 +01:00
Meta Vens
d52fa4894a Count sector summaries from runtime owners 2026-06-14 18:53:57 +01:00