Age | Commit message (Collapse) | Author |
|
is for UDP.
|
|
|
|
to network_server.cpp as the server's the one that sends that information
|
|
|
|
thus unifying most of the validity checking too.
|
|
|
|
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.
|
|
function/definitions closer together.
|
|
#include dependencies.
|
|
it's (way) more descriptive what it's used for.
|
|
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)
|
|
network related company information.
|
|
identification ids and the indices into the clients/client info arrays.
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
doesn't guarantee the resulting string is '\0'-terminated.
|
|
|
|
|
|
constants.
|
|
configurable and increase the default size slightly so it can hold the longest chat messages.
|
|
a more logical location and give it a more consistent name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name in the commands too.
|
|
|
|
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.
|
|
|
|
always have the NORETURN attribute
|
|
including other headers in variables.h.
|
|
some NewGRF data.
|
|
|
|
unneeded include from openttd.h.
|
|
|
|
when it's not necessary.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
logical locations.
|
|
to/in the servers.
Each server and game yield a (usually) different 'salt'. This salt is used by the clients to hash their passwords. This way the passwords are not sent in clear text and it is not trivial to use those hashes on other servers.
NOTE: It is still NOT safe to use your trusted passwords and it will not stop people from being able to 'hijack' your password, it only makes it harder to do and certainly much less trivial than just dumping passwords from the memory.
|
|
style
|
|
This fixes also FS#1450
|
|
with the coding style
|
|
generate is 32. So reduce the size a bit. Pointed out by dihedral, so give him a big hug ;)
|