mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
* First time ever messing with sockets, but i think it should be good ? * Note: I put the definition alongside Windows64 but it may be more suited under a Linux.cmake file... No reason for the Windows64 group to be in Common though
19 lines
501 B
C
19 lines
501 B
C
#pragma once
|
|
|
|
#if defined(__linux__)
|
|
|
|
#define LINUX_NET_DEFAULT_PORT 25565
|
|
|
|
extern bool g_LinuxMultiplayerHost;
|
|
extern bool g_LinuxMultiplayerJoin;
|
|
extern bool g_LinuxMultiplayerQuitOnDisconnect;
|
|
extern int g_LinuxMultiplayerPort;
|
|
extern char g_LinuxMultiplayerIP[256];
|
|
extern bool g_LinuxDedicatedServer;
|
|
extern int g_LinuxDedicatedServerPort;
|
|
extern char g_LinuxDedicatedServerBindIP[256];
|
|
extern char g_LinuxDedicatedServerDescription[1024];
|
|
extern bool g_LinuxDedicatedServerLanAdvertise;
|
|
|
|
#endif
|