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

Clean up snapshot mess with #including gamelogic #1421

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slipher
Copy link
Member

@slipher slipher commented Nov 6, 2024

A shared header defined snapshot_t which was used in both the client and cgame, but with different definitions of the player state struct. For the cgame definition of playerState_t it included the file shared/bg_public.h from the gamelogic.
Instead of this define an ipcSnapshot_t type which has a consistent definition and is used for IPC messages. Now snapshot_t will be defined and used only in the cgame.

Companion: Unvanquished/Unvanquished#3182

A shared header defined snapshot_t which was used in both the client
and cgame, but with different definitions of the player state struct.
For the cgame definition of playerState_t it included the file
shared/bg_public.h from the gamelogic.
Instead of this define an ipcSnapshot_t type which has a consistent
definition and is used for IPC messages. Now snapshot_t will be defined
and used only in the cgame.
@VReaperV
Copy link
Contributor

VReaperV commented Nov 9, 2024

This can be rebased on for-0.56.0/sync now.

@slipher
Copy link
Member Author

slipher commented Nov 18, 2024

This can be rebased on for-0.56.0/sync now.

Not needed, it doesn't change the ABI.

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