summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
AgeCommit message (Collapse)Author
2009-04-03(svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want ↵rubidium
sizeof(sockaddr) or whatever is 'valid' for the given protocol
2009-04-02(svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' ↵rubidium
data (as spotted by SpComb)
2009-04-02(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.rubidium
2009-04-02(svn r15916) -Codechange: let the network game list use NetworkAddressrubidium
2009-03-19(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properlyrubidium
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-08(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case ↵rubidium
that sending packets starts failing while disconnecting
2009-03-07(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so ↵smatz
always allocate at least one pool block
2009-02-25(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpprubidium
2009-02-20(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly ↵rubidium
cleaned when leaving a game meaning you could end up executing commands of the previous network game.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15242) -Feature: allow moving clients between companies/spectators by ↵rubidium
the server and the clients themselves (dihedral)
2009-01-21(svn r15194) -Fix: Don't count dedicated server as a spectatorpeter1138
2009-01-20(svn r15176) -Fix [FS#2554]: querying the content server could free when ↵rubidium
resolving the hostname or connecting takes long/is timing out.
2009-01-20(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname ↵rubidium
and connect to game servers.
2009-01-20(svn r15160) -Fix (r15157): port != IPglx
2009-01-20(svn r15157) -Codechange: wrap the hostname/ip and port into a single ↵rubidium
structure so we can pass either one of them and not convert an ip to a string and then back again.
2009-01-19(svn r15155) -Codechange: remove unused return valuerubidium
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
2009-01-15(svn r15094) -Feature: Add support for IP range bans using CIDR notation.peter1138
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-09(svn r14944) -Cleanup: add spaces around some operatorsrubidium
2009-01-09(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with ↵rubidium
spaces
2009-01-08(svn r14910) -Codechange: merge the command queue handling into a single ↵rubidium
location
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 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 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 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 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 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 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-10-18(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was brokensmatz
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-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-13(svn r14063) -Codechange: replace some "magic" constants with enumified ↵rubidium
constants.
2008-08-11(svn r14047) -Codechange: move chatmessage handling to the network directory ↵rubidium
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.