1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Wrap code with macro test DISABLE_NETWORK

This commit is contained in:
Matt
2020-07-26 21:20:03 +02:00
parent 73bb5db99a
commit f258c8034d
3 changed files with 12 additions and 0 deletions

View File

@@ -10,6 +10,8 @@
#include <fstream>
#ifndef DISABLE_NETWORK
class NetworkBase
{
public:
@@ -229,3 +231,5 @@ private: // Client Data
bool _requireReconnect = false;
bool _clientMapLoaded = false;
};
#endif // DISABLE_NETWORK

View File

@@ -2,7 +2,11 @@
#include "NetworkBase.h"
#ifndef DISABLE_NETWORK
class NetworkClient final : public NetworkBase
{
public:
};
#endif // DISABLE_NETWORK

View File

@@ -2,7 +2,11 @@
#include "NetworkBase.h"
#ifndef DISABLE_NETWORK
class NetworkServer final : public NetworkBase
{
public:
};
#endif // DISABLE_NETWORK