Orxonox  0.0.5 Codename: Arcturus
Namespaces | Macros | Functions
Gamestate.cc File Reference
#include "Gamestate.h"
#include <zlib.h>
#include "util/Output.h"
#include "util/OrxAssert.h"
#include "core/CoreIncludes.h"
#include "core/GameMode.h"
#include "core/object/ObjectList.h"
#include "network/synchronisable/Synchronisable.h"
#include "network/GamestateHandler.h"
#include "network/Host.h"

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 
 orxonox::packet
 

Macros

#define GAMESTATE_START(data)   (data + GamestateHeader::getSize())
 
#define PACKET_FLAG_GAMESTATE   0
 

Functions

void orxonox::packet::copyObject (uint8_t *&newData, uint8_t *&origData, uint8_t *&baseData, SynchronisableHeader &objectHeader, std::vector< uint32_t >::iterator &sizes)
 
void orxonox::packet::diffObject (uint8_t *&newDataPtr, uint8_t *&origDataPtr, uint8_t *&baseDataPtr, SynchronisableHeader &objectHeader, std::vector< uint32_t >::iterator &sizes)
 
bool orxonox::packet::findObject (uint8_t *&dataPtr, uint8_t *endPtr, SynchronisableHeader &objectHeader)
 
bool orxonox::packet::memzero (uint8_t *data, uint32_t datalength)
 

Macro Definition Documentation

#define GAMESTATE_START (   data)    (data + GamestateHeader::getSize())
#define PACKET_FLAG_GAMESTATE   0