summaryrefslogtreecommitdiff
path: root/src/network/network_client.cpp
AgeCommit message (Collapse)Author
2009-01-08(svn r14915) -Codechange: unify the receiving and sending of commands, and ↵rubidium
thus unifying most of the validity checking too.
2009-01-08(svn r14910) -Codechange: merge the command queue handling into a single ↵rubidium
location
2009-01-07(svn r14897) -Codechange: don't allow a few command flags to be sent over ↵rubidium
the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client. -Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-12-29(svn r14770) -Fix: gracefully handle an invalid packet instead of asserting.rubidium
2008-12-29(svn r14764) -Codechange: make the '***' chat messages like "Game paused ↵rubidium
(not enough players)" fully translateable.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-23(svn r14730) -Codechange: remove the need for networkclientsockets and ↵rubidium
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.
2008-12-23(svn r14726) -Fix (r14720): making new companies in network kinda failed...rubidium
2008-12-23(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/rubidium
2008-12-23(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as ↵rubidium
it's (way) more descriptive what it's used for.
2008-12-23(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and ↵rubidium
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)
2008-12-22(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ↵rubidium
ClientIndex
2008-12-22(svn r14716) -Codechange: move more network core querying to the network files.rubidium
2008-12-22(svn r14715) -Codechange: move some network code from the main gui file into ↵rubidium
one of the the network files.
2008-12-22(svn r14712) -Codechange: split server and client side w.r.t. the storage of ↵rubidium
network related company information.
2008-12-22(svn r14711) -Codechange: don't misuse the _network_company_info password ↵rubidium
field for changing the password on clients.
2008-12-22(svn r14710) -Change: simplify sending company information from the server ↵rubidium
to the client.
2008-12-22(svn r14709) -Codechange: make a clearer distinction between 'unique' client ↵rubidium
identification ids and the indices into the clients/client info arrays.
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-11(svn r14045) -Codechange: move the network's limitation to chat messages to ↵rubidium
a more logical location and give it a more consistent name.
2008-07-19(svn r13740) -Fix (r13731): one could only join the first company.rubidium
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13714) -Fix: remove the unique_id from the message that a client has ↵rubidium
joined as it is only exposes the unique_id more than needed. Patch by dih.
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13334) -Codechange: move the network settings variables from ↵rubidium
network/network_internal to settings.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-24(svn r13229) -Codechange: replace some global variables that are only ↵rubidium
initialised once and always with the same value with enums.
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.rubidium
2008-05-05(svn r12960) -Codechange: handle return values of (some) file system related ↵rubidium
functions.
2008-05-05(svn r12957) -Codechange: do not misuse snprintf when you just want to copy ↵rubidium
a string, also use DEBUG instead of fprintf in one case.
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2008-04-18(svn r12765) -Codechange: move some stuff out of variables.h that required ↵rubidium
including other headers in variables.h.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-12(svn r11816) -Fix: forgot clearing one byte, causing the passwords to differ ↵rubidium
slightly on different platforms.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11695) -Codechange: Converted the md5 algorithm to OOPskidd13
-Codechange: Adapt the md5 algorithm to the OpenTTD source
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.