RigsofRods
Soft-body Physics Simulation
Macros | Functions | Variables
Network.cpp File Reference
#include "Network.h"
#include "Application.h"
#include "ChatSystem.h"
#include "Console.h"
#include "ErrorUtils.h"
#include "GameContext.h"
#include "GUIManager.h"
#include "GUI_TopMenubar.h"
#include "Language.h"
#include "RoRVersion.h"
#include "ScriptEngine.h"
#include "Utils.h"
#include <Ogre.h>
#include <SocketW.h>
#include <algorithm>
#include <chrono>
#include <cstring>
+ Include dependency graph for Network.cpp:

Go to the source code of this file.

Macros

#define LOG_THREAD(_MSG_)   { std::stringstream s; s << _MSG_ << " (Thread ID: " << std::this_thread::get_id() << ")"; LOG(s.str()); }
 
#define LOGSTREAM   Ogre::LogManager().getSingleton().stream()
 

Functions

void DebugPacket (const char *name, RoRnet::Header *header, char *buffer)
 

Variables

static Ogre::ColourValue MP_COLORS []
 
static const unsigned int m_packet_buffer_size = 20
 

Macro Definition Documentation

◆ LOG_THREAD

#define LOG_THREAD (   _MSG_)    { std::stringstream s; s << _MSG_ << " (Thread ID: " << std::this_thread::get_id() << ")"; LOG(s.str()); }

Definition at line 84 of file Network.cpp.

◆ LOGSTREAM

#define LOGSTREAM   Ogre::LogManager().getSingleton().stream()

Definition at line 85 of file Network.cpp.

Function Documentation

◆ DebugPacket()

void DebugPacket ( const char *  name,
RoRnet::Header header,
char *  buffer 
)

Definition at line 104 of file Network.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ m_packet_buffer_size

const unsigned int m_packet_buffer_size = 20
static

Definition at line 82 of file Network.cpp.

◆ MP_COLORS

Ogre::ColourValue MP_COLORS[]
static

Definition at line 47 of file Network.cpp.