Skip to content

[pull] master from DCurrent:master#57

Merged
pull[bot] merged 8 commits into
sysfce2:masterfrom
DCurrent:master
Jul 11, 2026
Merged

[pull] master from DCurrent:master#57
pull[bot] merged 8 commits into
sysfce2:masterfrom
DCurrent:master

Conversation

@pull

@pull pull Bot commented Jul 11, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

DCurrent added 8 commits June 27, 2026 02:53
Rework collision structs and prototypes to restore attack and body boxes to fixed-slot collections backed by arrays and active masks.

This commit does not compile yet. Implementations still need to be updated to match the new collection API.
…tance model.

Collision boxes now use fixed array containers instead of linked lists, with each collection capped at 64 entries. Attack, body, and space collision boxes are represented through the shared `s_collision_instance` structure, while the previous attack/body-specific collection types have been replaced by `s_collision_collection`.

Legacy entity collision functions and properties were removed as part of the cleanup, with in-progress space boxes intended to replace their functionality. Collision debug display options were also expanded in `savedata.h`, including a new projected mode that draws perspective wireframe boxes for depth debugging.
…ed box instead of projecting Z front and bakc distances from parent entity.
Adds script-accessible system time support with Unix timestamps in seconds and milliseconds, plus local and UTC time standards.

Adds numeric datetime component accessors for gameplay logic, including year, month, day, hour, minute, and second. Also adds datetime_format() for strftime-style custom date/time output.

Component accessors and atetime_format() accept optional custom timestamps or default to the current system time. They also support local or UTC output.
…ted linked list and the fixed array of 16 elements. The entity structure has been restored to storing only a pointer, though it no longer points to a linked-list head node. Instead, a full collection of recursive-effect structures is lazy-allocated when an entity first receives a recursive effect. The maximum number of simultaneously active effects on a single entity is now 64, allowing the collection to use a 64-bit active mask.
- Replaces linked-list collision storage with indexed collections and active masks.
- Adds coordinate shortcuts and projected collision debugging.
- Introduces the datetime API.
- Updates recursive effects to use a lazily allocated 64-entry collection.
@pull pull Bot locked and limited conversation to collaborators Jul 11, 2026
@pull pull Bot added the ⤵️ pull label Jul 11, 2026
@pull pull Bot merged commit f23d173 into sysfce2:master Jul 11, 2026
3 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant