Move some types into NetworkTypes.h

This commit is contained in:
Matt 2020-07-26 16:13:46 +02:00
parent 37f6a11a1f
commit cf1fb9ecff
2 changed files with 13 additions and 13 deletions

View File

@ -7,7 +7,7 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "network.h"
#include "NetworkBase.h"
#include "../Context.h"
#include "../Game.h"
@ -24,7 +24,7 @@
#include "../ui/WindowManager.h"
#include "../util/SawyerCoding.h"
#include "../world/Location.hpp"
#include "NetworkBase.h"
#include "network.h"
#include <algorithm>
#include <iterator>
@ -92,17 +92,6 @@ static constexpr uint32_t CHUNK_SIZE = 1024 * 63;
using namespace OpenRCT2;
enum
{
SERVER_EVENT_PLAYER_JOINED,
SERVER_EVENT_PLAYER_DISCONNECTED,
};
enum
{
NETWORK_TICK_FLAG_CHECKSUMS = 1 << 0,
};
static void network_chat_show_connected_message();
static void network_chat_show_server_greeting();
static void network_get_keys_directory(utf8* buffer, size_t bufferSize);

View File

@ -13,6 +13,17 @@
#include "../core/Endianness.h"
#include "../ride/RideTypes.h"
enum
{
SERVER_EVENT_PLAYER_JOINED,
SERVER_EVENT_PLAYER_DISCONNECTED,
};
enum
{
NETWORK_TICK_FLAG_CHECKSUMS = 1 << 0,
};
enum
{
NETWORK_MODE_NONE,