 |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Namespace surrounding all major engine components.
Definition: blam_api.h:28
BLAM bool Receive(Socket *socket, UINT8 *buffer, UINT32 bufferSize, UINT32 *packetSizeOut, Endpoint *endpoint)
Definition: socket.cpp:324
#define BLAM
Definition: blam_api.h:22
UINT16 port
Definition: socket.h:16
BLAM bool Init()
Definition: socket.cpp:248
UINT8 * next
Definition: socket.h:27
Endpoint * endpoints
Definition: socket.h:42
UINT8 * packets
Definition: socket.h:40
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
UINT64 bytesRemaining
Definition: socket.h:28
UINT32 BufferCap
Definition: socket.cpp:9
PacketBuffer recvBuf
Definition: socket.h:50
SOCKET handle
Definition: socket.h:21
SOCKADDR_IN ip_endpoint_to_sockaddr_in(Blam::Endpoint *ip_endpoint)
Definition: socket.cpp:18
UINT8 * socketBuffer
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:74
UINT32 * packetSizes
Definition: socket.h:41
UINT32 bytesReceived
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:77
BLAM void linearAllocCreate(Blam::LinearAllocator *alloc, UINT64 size)
Definition: socket.cpp:157
LARGE_INTEGER * times
Definition: socket.h:43
ServerMessages
Definition: messages.h:24
BLAM bool Bind(Socket *socket, Endpoint *endpoint)
Definition: socket.cpp:292
Blam::LinearAllocator allocator
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:76
void socket_close(Blam::Socket *sock)
Definition: socket.cpp:91
BLAM bool IsConnected()
Definition: socket.cpp:380
bool socket(Blam::Socket *outSocket)
Definition: socket.cpp:52
BLAM UINT16 ReadShort(UINT8 **buffer)
Definition: messages.cpp:15
BLAM bool Send(Socket *socket, UINT8 *packet, UINT32 packetSize, Endpoint *endpoint)
Definition: socket.cpp:304
@ ServerHello
Definition: messages.h:26
date New Shallow[BAP] Thanks from and for his item placement Zed the best gf sock
Definition: chiropteraDM.txt:63
Blam::Socket sock
Definition: socket.h:48
bool socket_bind(Blam::Socket *sock, Blam::Endpoint *localEndpoint)
Definition: socket.cpp:98
Definition: socket.cpp:16
BLAM bool Start(Socket *socket, LinearAllocator *allocator)
Definition: socket.cpp:263
BLAM UINT8 * linearAlloc(Blam::LinearAllocator *alloc, UINT64 size)
Definition: socket.cpp:164
UINT8 * memory
Definition: socket.h:26
bool isConnected
Whether or not the socket is currently connected.
Definition: socket.cpp:14
BLAM void HandleReceive(Socket *sock, UINT8 *socketBuffer, UINT32 bufferSize, UINT32 *outPacketSize, Endpoint *outFrom)
Definition: socket.cpp:364
BLAM void Close(Socket *socket)
Definition: socket.cpp:278
bool socket_send(Blam::Socket *sock, UINT8 *packet, UINT32 packetSize, Blam::Endpoint *endpoint)
Definition: socket.cpp:112
bool receive
Definition: socket.h:51
PacketBuffer sendBuf
Definition: socket.h:49
UINT32 address
Definition: socket.h:15
UINT32 BufferMask
Definition: socket.cpp:10
Blam::Endpoint from
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:78
bool socket_receive(Blam::Socket *sock, UINT8 *buffer, UINT32 bufferSize, UINT32 *outSize, Blam::Endpoint *endpoint)
Definition: socket.cpp:130
UINT32 size
Definition: socket.h:39
UINT32 index
Definition: socket.h:38