Removed some unnecessary #includes.
This commit is contained in:
parent
1a0fb9fa4c
commit
841d9b248e
@ -18,14 +18,8 @@
|
|||||||
|
|
||||||
#include "network/network_manager.hpp"
|
#include "network/network_manager.hpp"
|
||||||
|
|
||||||
#include "network/protocols/hide_public_address.hpp"
|
#include "network/event.hpp"
|
||||||
#include "network/protocols/show_public_address.hpp"
|
|
||||||
#include "network/protocols/get_public_address.hpp"
|
|
||||||
|
|
||||||
#include "network/protocol_manager.hpp"
|
#include "network/protocol_manager.hpp"
|
||||||
#include "network/client_network_manager.hpp"
|
|
||||||
#include "network/server_network_manager.hpp"
|
|
||||||
|
|
||||||
#include "utils/log.hpp"
|
#include "utils/log.hpp"
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
@ -28,13 +28,14 @@
|
|||||||
|
|
||||||
#include "network/protocol_manager.hpp"
|
#include "network/protocol_manager.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/types.hpp"
|
||||||
#include "network/event.hpp"
|
|
||||||
#include "network/game_setup.hpp"
|
#include "network/game_setup.hpp"
|
||||||
#include "utils/singleton.hpp"
|
#include "utils/singleton.hpp"
|
||||||
#include "utils/synchronised.hpp"
|
#include "utils/synchronised.hpp"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
class Event;
|
||||||
|
|
||||||
/** \class NetworkManager
|
/** \class NetworkManager
|
||||||
* \brief Gives the general functions to use network communication.
|
* \brief Gives the general functions to use network communication.
|
||||||
* This class is in charge of storing the peers connected to this host.
|
* This class is in charge of storing the peers connected to this host.
|
||||||
|
@ -18,8 +18,9 @@
|
|||||||
|
|
||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
|
|
||||||
#include "network/protocol_manager.hpp"
|
#include "network/event.hpp"
|
||||||
#include "network/network_manager.hpp"
|
#include "network/network_manager.hpp"
|
||||||
|
#include "network/protocol_manager.hpp"
|
||||||
|
|
||||||
Protocol::Protocol(CallbackObject* callback_object, PROTOCOL_TYPE type)
|
Protocol::Protocol(CallbackObject* callback_object, PROTOCOL_TYPE type)
|
||||||
{
|
{
|
||||||
|
@ -23,10 +23,11 @@
|
|||||||
#ifndef PROTOCOL_HPP
|
#ifndef PROTOCOL_HPP
|
||||||
#define PROTOCOL_HPP
|
#define PROTOCOL_HPP
|
||||||
|
|
||||||
#include "network/event.hpp"
|
#include "network/network_string.hpp"
|
||||||
#include "network/types.hpp"
|
#include "network/types.hpp"
|
||||||
#include "utils/types.hpp"
|
#include "utils/types.hpp"
|
||||||
|
|
||||||
|
class Event;
|
||||||
class ProtocolManager;
|
class ProtocolManager;
|
||||||
|
|
||||||
/** \enum PROTOCOL_TYPE
|
/** \enum PROTOCOL_TYPE
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
#define CLIENT_LOBBY_ROOM_PROTOCOL_HPP
|
#define CLIENT_LOBBY_ROOM_PROTOCOL_HPP
|
||||||
|
|
||||||
#include "network/protocols/lobby_room_protocol.hpp"
|
#include "network/protocols/lobby_room_protocol.hpp"
|
||||||
|
#include "network/types.hpp"
|
||||||
|
|
||||||
|
class STKPeer;
|
||||||
|
|
||||||
class ClientLobbyRoomProtocol : public LobbyRoomProtocol
|
class ClientLobbyRoomProtocol : public LobbyRoomProtocol
|
||||||
{
|
{
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include "modes/world.hpp"
|
#include "modes/world.hpp"
|
||||||
#include "karts/abstract_kart.hpp"
|
#include "karts/abstract_kart.hpp"
|
||||||
|
#include "karts/controller/controller.hpp"
|
||||||
#include "network/network_manager.hpp"
|
#include "network/network_manager.hpp"
|
||||||
#include "network/network_world.hpp"
|
#include "network/network_world.hpp"
|
||||||
#include "utils/log.hpp"
|
#include "utils/log.hpp"
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
|
|
||||||
#include "input/input.hpp"
|
#include "input/input.hpp"
|
||||||
#include "karts/controller/controller.hpp"
|
|
||||||
|
class Controller;
|
||||||
|
class STKPeer;
|
||||||
|
|
||||||
class ControllerEventsProtocol : public Protocol
|
class ControllerEventsProtocol : public Protocol
|
||||||
{
|
{
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
class STKHost;
|
||||||
|
|
||||||
class GetPublicAddress : public Protocol
|
class GetPublicAddress : public Protocol
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
#include "network/protocol.hpp"
|
#include "network/protocol.hpp"
|
||||||
#include "utils/vec3.hpp"
|
#include "utils/vec3.hpp"
|
||||||
#include "LinearMath/btQuaternion.h"
|
#include "LinearMath/btQuaternion.h"
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include "pthread.h"
|
||||||
|
|
||||||
class AbstractKart;
|
class AbstractKart;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user