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 trap_GetPings, so that engine does not mutate playerstate #1450

Open
wants to merge 2 commits into
base: for-0.56.0/sync
Choose a base branch
from

Conversation

slipher
Copy link
Member

@slipher slipher commented Nov 26, 2024

Have sgame retrieve pings by using a syscall, instead of the engine writing the ping into shared memory.

This is an attempt to simplify the interface between the engine and the VM, which could benefit future sandboxing technology migrations. The player state portion of the shared memory will now be readonly for the engine, rather than a two-way communication channel. Hopefully I can do the same for the entity state next, so that all of the shared memory is read-only for the engine.

Companion: Unvanquished/Unvanquished#3207

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.

1 participant