Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d8d6faf
first commit for 1.1.x
messdp Jun 16, 2026
8c12511
static is updated and bug-free
messdp Jun 17, 2026
6fa2adb
done
messdp Jun 17, 2026
fd87dff
done
messdp Jun 18, 2026
ee91da2
Merge pull request #76 from Spell-Bound-Studios/tinker_surfaceIndexByte
messdp Jun 18, 2026
cc4a79d
Merge pull request #75 from Spell-Bound-Studios/tinker_eventSurfaces
messdp Jun 18, 2026
2329585
added a serialize ref dropdown attribute for inspector capability
Judsin1349 Jul 7, 2026
eef1d23
ready for merge
Judsin1349 Jul 7, 2026
9db5ca7
Merge pull request #77 from Spell-Bound-Studios/judsin_serializerefdr…
Judsin1349 Jul 7, 2026
31fb207
adding assembly defs and clean up for packing
Judsin1349 Jul 26, 2026
802fa52
added tests and bug fixes
Judsin1349 Jul 26, 2026
d9da12d
added unit tests
Judsin1349 Jul 26, 2026
6c819ab
Merge pull request #78 from Spell-Bound-Studios/judsin_fixings
Judsin1349 Jul 26, 2026
e739d8e
bumped dev version
Judsin1349 Jul 26, 2026
eb99064
Merge branch 'dev' of github.com:Spell-Bound-Studios/Core into dev
Judsin1349 Jul 26, 2026
02167fe
updated core package name
Judsin1349 Jul 26, 2026
41bd285
minor updates to console
Judsin1349 Jul 27, 2026
31f0a2b
missed logger in the commit
Judsin1349 Jul 27, 2026
bf138ad
abstracted the registry, fixed the transforms, and added a remove sin…
Judsin1349 Aug 2, 2026
2e2ec32
console bug fix
Judsin1349 Aug 2, 2026
857e349
update with sbyte and minor improvements
Judsin1349 Aug 3, 2026
b9a0112
added the weighted sampling to core
Judsin1349 Sep 7, 2026
c10c806
weighted table rename
Judsin1349 Sep 7, 2026
d66cefc
pre warm arg
Judsin1349 Sep 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## [1.1.8] - 9/7/2026

- `WeightedPool<T>` renamed to `WeightedTableAsset<T>`. It is the asset form of a `WeightedTable<T>`, and the old name collided with `ObjectPool`.

## [1.1.7] - 9/7/2026

- `WeightedTable<T>` in `Spellbound.Core.Sampling`: a serializable weighted list with a nothing slot. One roll through `PickIndex` or `TryPick`, driven by any random source in `[0, TotalWeight)`, resolves by binary search over cumulative weights built once per table. `Sample` draws several picks with or without replacement. `Define` builds a table in code.
- `WeightedPool<T>`: a ScriptableObject holding one `WeightedTable<T>` for tables shared between assets.

## [1.1.6] - 8/2/2026

- `Packer` reads and writes `sbyte` through `WriteSByte` and `ReadSByte`, sharing the single-byte two's complement layout of `WriteByte`.
- `Packer` test coverage extended to every read and write pair, the bitwise variants, the smart packer helpers, and `BuildPayload`.
- `ObjectParent.GetNextInstanceIndex` advances a per-chunk cursor instead of rescanning from the seed count on every call, so placement cost stays flat as a chunk fills. Freed indices below the cursor are not reused within a chunk session.
- `ObjectParent.StaticEntityDistanceQuery` skips evaluation until the POV has moved 4m or the chunk's static entity count has changed, and returns whether it evaluated. Surface promotion and demotion can lag movement by up to 4m, well inside the default 50/70 interaction band.

## [1.1.5] - 8/1/2026

- `Log.ClearSinks` and `Log.SuspendSinks` mute sinks the caller does not hold a reference to. `LogBootstrap` now clears before registering and on returning to edit mode, so sinks no longer stack when domain reload is disabled.

## [1.1.4] - 8/1/2026

- Log sinks can now be unregistered with `Log.RemoveSink` or scoped to a `using` block with `Log.AddScopedSink`.
- `EntityPrefabRegistryAuthoring` takes a `PresetBakeManifest`, letting the prefab registry rebake when presets are added, removed, or edited.
- `TransformData.RotAsQuaternion` rebuilds rotation in XYZ euler order, matching how the constructors capture it. Composed rotations no longer come back skewed.
- `RecordingLogSink` captures log entries in memory for assertions, and sink discovery now ignores non-public types so test sinks no longer appear in the Log Config inspector.
- `ResourceRegistry<TEntry>` discovers registry entries under a Resources folder and adds the lazy load, name index, and per-entry validation that every registry was hand-rolling. `PresetRegistry` now sits on it; a failed load clears the registry and reports again on the next access instead of leaving it half populated.

## [2.0.0] - 4/18/2025

### Second Release
Expand Down
8 changes: 3 additions & 5 deletions Editor/LogConfigEditor.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// Copyright 2026 Spellbound Studio Inc.

// === LogConfigEditor.cs ===
// Copyright 2026 Spellbound Studio Inc.

#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -175,6 +171,9 @@ private static List<DiscoveredSink> DiscoverSinks() {
if (type.IsAbstract || type.IsInterface)
continue;

if (!type.IsPublic)
continue;

if (type.GetConstructor(Type.EmptyTypes) == null)
continue;

Expand Down Expand Up @@ -295,4 +294,3 @@ private struct DiscoveredSink {
}
}
}
#endif
Loading