Skip to content

Minor fixes#67

Merged
IJARika merged 5 commits into
mainfrom
minor_fixes
Jul 4, 2025
Merged

Minor fixes#67
IJARika merged 5 commits into
mainfrom
minor_fixes

Conversation

@Mauler125

Copy link
Copy Markdown
Collaborator

No description provided.

Model and settings dependencies need to be explicitly defined; a pointer needs to be set to the start of the model dependencies GUID, along with its count. Settings assets have the exact same process. The runtime uses this to precache models and all other assets inside the settings assets when an animation is getting loaded and played. This patch allows common.rpak to be fully rebuilt while maintaining original quality and behavior.
Check error field first before checking if the pointer points to the end.
Use a 64bit type for consistency throughout the code base.
Check for duplicate GUID's (collisions or user errors) already takes place within BeginAsset(), doing it in AddJSONAsset() is extraneous, and also will not guarantee full coverage as the auto-add feature bypasses this check all together. The check in BeginAsset() guarantees full coverage. Also did some improvements to the existing error to report whether we have a collision or when the user has made a mistake.
@IJARika IJARika merged commit 81e38a2 into main Jul 4, 2025
3 checks passed
@Mauler125 Mauler125 deleted the minor_fixes branch July 10, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants