diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index 0c0e4f4e22..6b12b1f9f9 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -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 #include @@ -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); diff --git a/src/openrct2/network/NetworkTypes.h b/src/openrct2/network/NetworkTypes.h index b501f7007b..9e7c6f6e50 100644 --- a/src/openrct2/network/NetworkTypes.h +++ b/src/openrct2/network/NetworkTypes.h @@ -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,