Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
amount of slots in the array, but one less as a dedicated server takes a slot too.
|
|
#include dependencies.
|
|
|
|
it's (way) more descriptive what it's used for.
|
|
latter describes the name more precisely.
|
|
replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
|
|
non-network locations.
|
|
ClientIndex
|
|
variables (password/months not used) when needed, i.e. only for servers.
|
|
network related company information.
|
|
identification ids and the indices into the clients/client info arrays.
|
|
and strecpy where direct conversion is possible
|
|
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
|
|
constants.
|
|
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
|
|
|
|
|
|
with all other structs/classes that are in a pool.
|
|
name in the commands too.
|
|
|
|
-Fix: MP advertising was not advertising.
|
|
settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
|
|
|
|
headers so that nothing from the network directory needs to include basically all network headers.
|
|
network/network_internal to settings.
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
initialised once and always with the same value with enums.
|
|
|
|
from openttd.h to their own headers.
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
including other headers in variables.h.
|
|
operators.
|
|
the wonderfull world of overflows.
|
|
duplication.
|
|
to be included when wanting to know whether we are a server.
|
|
|
|
on a dedicated server. Patch by dihedral.
|
|
unneeded include from openttd.h.
|
|
|
|
move the debugdumpcommand stuff out of the network 'area').
|
|
when it's not necessary.
|