Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add game system support and resource precaching #144

Merged
merged 4 commits into from
Dec 25, 2023
Merged

Conversation

xen-000
Copy link
Collaborator

@xen-000 xen-000 commented Dec 24, 2023

Game systems have a ton of useful callbacks at different stages of the game loop, such as before or after entities run their think functions, among many others.

One such callback is BuildGameSessionManifest which is called when a map is loading and it gets a resource manifest, to which resources like models can be added (or "precached") for use in game.

Right now the game system is solely used for precaching resources, but it can later be expanded to implement various callbacks depending on our needs.

This supersedes #123.

IEntityResourceManifest will be defined properly in the sdk, but until then I'll keep this one
@xen-000 xen-000 enabled auto-merge (rebase) December 24, 2023 16:33
@xen-000 xen-000 merged commit b9457ea into main Dec 25, 2023
3 checks passed
@xen-000 xen-000 deleted the resource-precache branch December 25, 2023 22:29
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