KryScene->Scene, KryNode->Node, KryonProperty*->Property*,
KrySignal*->Signal*, KryTransform2D->Transform2D, and the
KRY_NODE_/KRY_SCENE_/KRYON_PROPERTY_/KRY_SIGNAL_ enum and macro
families to NODE_/SCENE_/PROPERTY_/SIGNAL_. Header guards keep their
original names (internal). The lowercase kry_ module namespaces
(kry_json, kry_term, ...) and the raymath-shadowing helpers
(KryVector2*, KryClamp, KryLerp) stay prefixed: their unprefixed names
collide with the raylib API surface kryon tracks.
Kinds beyond the builtin enum can now be allocated at runtime
(KryNodeRegisterCustomKind) so games can put their own entity types
into the scene tree and the editor property model without forking
KryNodeKind. Ops/destroyers/spec tables register against the returned
id like any builtin. Custom-kind property access dispatches to
registered getter/setter callbacks; indices 0..2 stay the shared
transform fields handled generically. Kind tables are growable (cap 64)
and bounds checks use the dynamic count.
Kryon's library headers should stay IDE-agnostic; the comment named Krait's
Inspector specifically, which trips downstream boundary checks that forbid
kryon library code from referencing standalone IDE repositories.
Property model (scene_property.h/.c):
- KrySceneRegisterProperties / KryScenePropertySpecs per-kind spec tables
- KrySceneNodeGetProperty/SetProperty read/write runtime KryNode fields
(transform fields + kind-specific props) through the existing
KryonPropertySpec/Value model so the editor Inspector can edit every
field generically instead of special-casing bounds
- Builtin tables for Node2D (position/rotation/scale), Camera2D (+zoom/
active), Sprite2D (+asset_path/size/tint); registered in
KrySceneRegisterBuiltins
Signal bus (kry_signal.h/.c):
- KrySignalConnect / KrySignalEmit: declarative node-to-node events
- Per-kind signal handler hook dispatched on emit
- KrySignalDisconnectNode auto-invoked from KryNodeRemove so removed nodes
don't leave dangling connections
- Connection pool keyed by scene pointer (KryScene stays a fixed struct)