Bring public main's Steam co-op, the removal of the old co-op and the launcher's Steam library file into the 0.10.0 line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-13 04:37:01 -05:00
61 changed files with 3270 additions and 19149 deletions

View File

@@ -2579,7 +2579,7 @@ void plat_ipc_close(PlatIpc *p) {
free(p);
}
// ---- UDP sockets (platform.h): the co-op layer's transport
// ---- UDP sockets (platform.h)
struct PlatUdp { int fd, v6; };
static void addr_from_sockaddr(PlatAddr *out, const struct sockaddr_storage *ss) {

View File

@@ -463,7 +463,7 @@ int plat_is_wine(void); // 1 when the Windows
// The file the process's stderr (the log) goes to, as a UTF-8 path; 0 when stderr is not a file (a console, a pipe).
int plat_stderr_path(char *out, size_t cap);
// ---- desktop: the in-game menu's "Copy system info", "Open log folder" and the Co-op tab's secret
// ---- desktop: the in-game menu's "Copy system info" and "Open log folder"
int plat_clipboard_set(const char *utf8); // replaces the clipboard's text; 1 on success
// The clipboard's text as UTF-8 in out (cap bytes with the NUL; a longer text: "" on Windows, cut at a character
// elsewhere); 1 when it had text. With SDL only on the window thread, as SDL asks: the menu goes through
@@ -539,7 +539,7 @@ int plat_ipc_read(PlatIpc *p, void *buf, size_t n, uint32_t ms);
int plat_ipc_write(PlatIpc *p, const void *buf, size_t n); // 1 when all n bytes were written, 0 the connection broke
void plat_ipc_close(PlatIpc *p);
// ---- UDP sockets: the co-op layer's transport (coop.c). One unconnected datagram socket per PlatUdp; who a datagram
// ---- UDP sockets. One unconnected datagram socket per PlatUdp; who a datagram
// came from is checked by the protocol, not by the OS. On Windows the first call of any of these starts Winsock.
// A PlatAddr is an IPv6 address (an IPv4 one as ::ffff:a.b.c.d), the port and the scope id in the same layout on every
// OS, so two equal addresses compare equal bytewise (plat_addr_eq) whichever way the OS reported them.

View File

@@ -2168,7 +2168,7 @@ void plat_ipc_close(PlatIpc *p) {
free(p);
}
// ---- UDP sockets (platform.h): the co-op layer's transport. Winsock starts at the first call that needs it.
// ---- UDP sockets (platform.h). Winsock starts at the first call that needs it.
#ifndef SIO_UDP_CONNRESET
#define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR, 12)
#endif