summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
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 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.
2008-08-04(svn r13988) -Codechange: move the to IP resolving functions to a separate file.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 r13712) -Fix: enforce the length restrictions of company and president ↵rubidium
name in the commands too.
2008-07-08(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).belugas
2008-06-09(svn r13433) -Codechange: remove a now useless global variable.rubidium
-Fix: MP advertising was not advertising.
2008-06-03(svn r13369) -Codechange: remove duplication of network configuration ↵rubidium
settings between NetworkSettings and NetworkGameInfo. -Fix: failure of changing the server password during games because the password wasn't duplicated properly.
2008-05-30(svn r13344) -Codechange: remove some code duplication.rubidium
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 r13255) -Codechange: move _opt to _settings.rubidium
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-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-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
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-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-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-01-29(svn r12017) -Fix: when you have more than 9 network interfaces you'll enter ↵rubidium
the wonderfull world of overflows.
2008-01-29(svn r12004) -Codechange: refactor the random functions to reduce code ↵rubidium
duplication.
2008-01-13(svn r11840) -Codechange: split network.h so not everything in there needs ↵rubidium
to be included when wanting to know whether we are a server.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11829) -Feature: allow reloading openttd.cfg when starting a new game ↵rubidium
on a dedicated server. Patch by dihedral.