Skip to content

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.

@slipher
Copy link
Member Author

slipher commented Dec 9, 2024

@illwieckz Does the LGTM on #1430 apply to this also?

@slipher
Copy link
Member Author

slipher commented Jan 3, 2025

Bump

Copy link
Contributor

@VReaperV VReaperV 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 705b497 into master Jan 30, 2025
@slipher slipher deleted the slipher/snapshot-cleanup/sync branch January 30, 2025 00:46
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