summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2008-12-29(svn r14772) -Codechange: make the "dump log of game to reproduce" desync ↵rubidium
debug stuff a runtime configurable debug option instead of a compile time option.
2008-12-29(svn r14771) -Fix (r14764): resolving of error types to error messages kinda ↵rubidium
failed :(
2008-12-29(svn r14770) -Fix: gracefully handle an invalid packet instead of asserting.rubidium
2008-12-29(svn r14766) -Fix (r14730ish): remove unused typedef.rubidium
2008-12-29(svn r14764) -Codechange: make the '***' chat messages like "Game paused ↵rubidium
(not enough players)" fully translateable.
2008-12-28(svn r14760) -Fix (rlongago): network connection of clients being closed ↵rubidium
twice (found due to added assertion in r14730)
2008-12-28(svn r14759) -Fix (r14730): tab completion causing out-of-bounds read.rubidium
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24(svn r14733) -Fix (r14730): creating new companies didn't always work as ↵rubidium
expected.
2008-12-23(svn r14731) -Fix: don't initialise UDP multiple times without closing it.rubidium
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 r14728) -Fix [FS#2470]: don't select anything when opening the client list.rubidium
-Fix: don't show clients that are "only" in the lobby.
2008-12-23(svn r14727) -Codechange: replace some magic numbers with a constant.rubidium
2008-12-23(svn r14726) -Fix (r14720): making new companies in network kinda failed...rubidium
2008-12-23(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the ↵rubidium
amount of slots in the array, but one less as a dedicated server takes a slot too.
2008-12-23(svn r14724) -Codechange: move some NetworkClientSocket related ↵rubidium
function/definitions closer together.
2008-12-23(svn r14723) -Codechange: shuffling some stuff around to reduce indirect ↵rubidium
#include dependencies.
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 r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the ↵rubidium
latter describes the name more precisely.
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 r14718) -Change: remove some direct network core variable accesses from ↵rubidium
non-network locations.
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 r14714) -Codechange: only allocate the company network "state" ↵rubidium
variables (password/months not used) when needed, i.e. only for servers.
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-12-16(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map ↵rubidium
scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
2008-12-13(svn r14671) -Fix: compilation was broken for some systemssmatz
2008-11-17(svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based ↵rubidium
on the maximum number of clients, not the maximum number of companies.
2008-11-04(svn r14564) -Fix (r14555): one more incorrect use of lastof()smatz
2008-11-03(svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by ↵smatz
lastof() in some cases (part by Aali)
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-28(svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure ↵rubidium
they will not overflow their buffers.
2008-10-25(svn r14534) -Codechange [FS#2382]: Enumify magic return values of ↵glx
HandleEditBox function (Zuu)
2008-10-25(svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window.frosch
2008-10-22(svn r14517) -Feature: arrow key scrolling in the server list (Roujin)rubidium
2008-10-22(svn r14514) -Codechange: use 'size' instead of 'length' for querystring and ↵smatz
textbuf, explicitly say it includes the terminating zero -Fix: one couldn't rename things with too long default/automatic name -Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-10-18(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was brokensmatz
2008-10-14(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter ↵rubidium
names in comments and add a little more doxygen documentation.
2008-09-30(svn r14423) -Codechange: also do r14221 for the strings.rubidium
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-09-29(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy ↵rubidium
doesn't guarantee the resulting string is '\0'-terminated.
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()