ggpo
ggpo copied to clipboard
[RFC] Port the vectorwar example application to Linux using libSDL2, based on PR 52
I have tested that the vectorwar application compiles and runs both on Linux and Windows (10).
I am not too familiar with Windows development so I only managed to compile this by installing the SDL2 vcpkg package and adding a environment variable to CMake so it can find the library. The build process would have to be streamlined on Windows for sure (the vectorwar binaries are also created in different locations when built on Windows vs Linux. Not sure that is expected behaviour due to Visual Studio or not).
There are still quite a few bugs and unimplemented things (see below). If you are not opposed to porting vectorwar using libSDL2 I can continue to work on those.
- the ggpo network performance graph application has not been ported to libSDL2 yet
- PID printing in Windows window (ha!) title bar is broken
- disconnect timeout bar rendering is wrong
- currently I don't render an inner box in the vectorwar window
- currently I don't adjust window positions (this will most likely not work on Wayland at least anyways)
- to draw the text I currently use a font atlas (to avoid more library dependencies). This font atlas is defined in a byte array in
font.h
(mostly to avoid having to get CMake to copy a binary file to a place where it can be found on all platforms)
Would you be willing to get the vectorwar application ported to more platforms using libSDL2? If so, I can invest more time into this and make a proper PR out of it.
Looks good.
@Shugyousha any plan to rebase ?
@Shugyousha any plan to rebase ?
As far as I am aware neither PR52 nor the one that PR52 is based on (PR37) have been changed in the meantime. I don't think any rebasing should be necessary.
Hey, since this repo seems to be basically abandonded, is anyone interested in just taking this branch and making it the main ggpo repo instead?
I feel like someone should take lead on a multi platform ggpo fork. Something with enough support that people can get behind and do incremental fixes on.
On Sat, Mar 20, 2021 at 8:34 PM ValorZardK @.***> wrote:
Hey, since this repo seems to be basically abandonded, is anyone interested in just taking this branch and making it the main ggpo repo instead?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pond3r/ggpo/pull/57#issuecomment-803506309, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHU46CGYW3BXTDJI5QT6FLTEVSNBANCNFSM4NOVHANA .