Age | Commit message (Collapse) | Author |
|
|
|
when SendPackets closed the connection
|
|
style
|
|
|
|
|
|
|
|
network_client.cpp
|
|
client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
|
|
NetworkSend_Init() is useless
|
|
|
|
|
|
|
|
|
|
to multiple sockets.
|
|
|
|
up the mess when cancelling a download
|
|
and connect to game servers.
|
|
is for UDP.
|
|
twice (found due to added assertion in r14730)
|
|
networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
-Note: 255 should really be enough for now... making it any more means network protocol bumps.
|
|
it's (way) more descriptive what it's used for.
|
|
identification ids and the indices into the clients/client info arrays.
|
|
headers so that nothing from the network directory needs to include basically all network headers.
|
|
including other headers in variables.h.
|
|
unneeded include from openttd.h.
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
|
|
functions of NetworkTCPSocketHandler.
|
|
and use constructors and functions related to the reading/saving the packet size.
|
|
did not exist anymore and add comments to several variables/functions.
|
|
and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|