Skip to content

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

Copy link
Member

@illwieckz illwieckz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@slipher slipher merged commit 47400a2 into for-0.56.0/sync Jan 10, 2025
8 checks passed
@slipher slipher deleted the slipher/trap-ping/sync branch January 10, 2025 05:12
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.

3 participants