lolirelia / Flappy

Multiplayer Flappy bird game made in C using Raylib for rendering and LibUV for UDP Networking
8 stars 1 forks source link

Move libuv code required from both client.c and server.c to a self contained source file #2

Closed lolirelia closed 1 week ago

lolirelia commented 1 week ago

Raylib has conflicting names with Win32 API and will not compile with anything including windows.h

Possible solution: Move libuv code to a separate source file self contained which includes uv.h.

It is doable but tricky since a lot of the libuv functions use libuv types. Which means function prototypes for a self contained source can not include uv.h. Maybe void pointers?