pond3r / ggpo

Good Game, Peace Out Rollback Network SDK
MIT License
3.11k stars 360 forks source link

Separate network protocol from the rollback logic #50

Open lvenerosy opened 4 years ago

lvenerosy commented 4 years ago

I don't know how tightly coupled they are but it would be nice if they could be isolated from each other and maybe show how to combine them in an example. For example if I use an engine which has its own protocol I might want to skip ggpo's implementation and only use the rollback.

erebuswolf commented 4 years ago

This pull request allows the user to inject their own network object, though there are issues with C support and it will be in limbo for a while. https://github.com/pond3r/ggpo/pull/42