Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Macros | |
#define | GAMESERVER_VERSION 0.2 |
#define | ACCOUNTSERVER_VERSION 0.2 |
#define | NETCLIENT_VERSION 0.2 |
#define | SERVER_PORT 6777 |
#define | CLIENT_PORT 6778 |
#define | ACCT_PORT 6779 |
#define | VIDEO_PORT 6776 |
#define | HASHMETHOD SHA |
#define | DESKEY_SIZE 64 |
#define | MAXBUFFER 16384 |
#define | MAXSERIAL 0xFFFF |
#define | OBJSERIAL_ToBig POSH_WriteU16ToBig |
#define | INSTSERIAL_ToBig POSH_WriteU32ToBig |
#define | OBJSERIAL_FromBig POSH_ReadU16FromBig |
#define | INSTSERIAL_FromBig POSH_ReadU32FromBig |
#define | SOCKET_ERROR -1 |
#define | LOCALCONST_DECL(Type, cName, Value) static const Type cName = Value; |
#define | LOCALCONST_DEF(Class, Type, cName, Value) |
Typedefs | |
typedef unsigned short | ObjSerial |
typedef unsigned int | InstSerial |
Variables | |
double | NETWORK_ATOM |
double | DAMAGE_ATOM |
#define ACCT_PORT 6779 |
Definition at line 35 of file const.h.
Referenced by AccountServer::start(), and NetServer::start().
#define HASHMETHOD SHA |
Definition at line 38 of file const.h.
Referenced by FileUtil::HashCompare(), FileUtil::HashCompute(), FileUtil::HashFileCompute(), and FileUtil::HashStringCompute().
#define INSTSERIAL_FromBig POSH_ReadU32FromBig |
#define INSTSERIAL_ToBig POSH_WriteU32ToBig |
#define LOCALCONST_DECL | ( | Type, | |
cName, | |||
Value | |||
) | static const Type cName = Value; |
#define MAXBUFFER 16384 |
Definition at line 40 of file const.h.
Referenced by NetBuffer::NetBuffer(), AccountServer::recvMsg(), NetworkCommunication::RecvSound(), NetworkCommunication::SendSound(), VsnetUDPSocket::VsnetUDPSocket(), SaveGame::WriteDynamicUniverse(), SaveGame::WritePlayerData(), and XMLnode::WriteString().
#define MAXSERIAL 0xFFFF |
Definition at line 42 of file const.h.
Referenced by getUniqueSerial().
#define OBJSERIAL_FromBig POSH_ReadU16FromBig |
#define OBJSERIAL_ToBig POSH_WriteU16ToBig |
#define SERVER_PORT 6777 |
Definition at line 33 of file const.h.
Referenced by NetUITCP::createServerSocket(), NetUIUDP::createServerSocket(), NetUITCP::createSocket(), and NetUIUDP::createSocket().
#define SOCKET_ERROR -1 |
Definition at line 61 of file const.h.
Referenced by bindFd(), NetUIBase::createClientSocket(), and NetUIBase::createServerSocket().
typedef unsigned int InstSerial |
double DAMAGE_ATOM |
Definition at line 77 of file netserver.cpp.
Referenced by NetServer::start().
double NETWORK_ATOM |
Definition at line 77 of file netclient.cpp.
Referenced by NetClient::init(), NetClient::isTime(), and NetServer::start().