summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2009-05-26(svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the ↵rubidium
company was changed from spectator to company 0 in the network code.
2009-05-24(svn r16422) -Codechange: use const_cast for removing const and warn when ↵rubidium
const is (accidentally?) removed using C-style casts.
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-19(svn r16361) -Fix: pointer incremented with wrong countrubidium
2009-05-19(svn r16360) -Codechange: don't use _network_playas as a 'second' ↵rubidium
_local_company, but only as a storage location for the company you want to join in MP.
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 ↵rubidium
with < .. - 1 (both caused due to wrapper functions)
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-14(svn r16305) -Codechange: force-enable extra sync checking when random ↵rubidium
debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
2009-05-13(svn r16288) -Fix (r16237): crash after clicking in the ClientList windowsmatz
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10(svn r16265) -Fix (r16238): wrong format string for debug outputsmatz
2009-05-09(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window ↵alberth
used incorrect length.
2009-05-08(svn r16254) -Fix [FS#2886]: Magic constant removed.frosch
2009-05-07(svn r16250) -Fix (r16242): do not try to unpause when paused for a joining ↵rubidium
company
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-06(svn r16238) -Change: improve/clarify some network related debug "error" ↵rubidium
messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
2009-05-05(svn r16237) -Codechange: Add nested widgets to remaining network windows.alberth
2009-05-05(svn r16236) -Codechange: Make widget enums complete of various network ↵alberth
windows, and add them as comment.
2009-05-05(svn r16235) -Codechange (r16234): But keep the window description.alberth
2009-05-05(svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk.alberth
2009-05-05(svn r16233) -Codechange: Added nested widgets to network content windows.alberth
2009-05-05(svn r16232) -Codechange: Moving network content widgets enums outside ↵alberth
window structs.
2009-05-05(svn r16231) -Codechange: Added nested widgets to chat window.alberth
2009-05-05(svn r16230) -Codechange: Moving chat widgets enum outside window struct.alberth
2009-04-26(svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' ↵yexo
console commands.
2009-04-26(svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI ↵yexo
companies, since joining an AI company is not possible.
2009-04-26(svn r16163) -Codechange: instead of SetDParamStr(0, string); ↵rubidium
DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).
2009-04-26(svn r16162) -Codechange: remove needless TC_ colours from DrawString when ↵rubidium
they are part of strings and add some colours to a few strings.
2009-04-26(svn r16156) -Codechange: make the parameters of DrawStringMultiline the ↵rubidium
same as for DrawString (except the addition of the bottom parameter)
2009-04-24(svn r16135) -Fix [FS#2856]: always give the server an already resolved ↵rubidium
'client address' so we can be sure the client address is always resolved
2009-04-24(svn r16134) -Change: do not add duplicates to the broadcast listrubidium
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-17(svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due ↵rubidium
to mathematical overflow.
2009-04-15(svn r16065) -Fix: don't readd (and resolve) the last joined server each ↵rubidium
time the window gets repainted
2009-04-15(svn r16064) -Fix: memory leak when querying a server multiple times.rubidium
2009-04-12(svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the ↵glx
fallback even when freeaddrinfo is available
2009-04-11(svn r16034) -Fix: compile warnings generated by 64 bits MSVC.rubidium
2009-04-11(svn r16026) -Codechange: Use font height for chat line spacing instead of ↵peter1138
fixed value.
2009-04-10(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be ↵rubidium
delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary.
2009-04-10(svn r16014) -Feature(-ish): allow binding to several IPs; ↵rubidium
[network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
2009-04-10(svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make ↵rubidium
the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :(
2009-04-09(svn r16005) -Fix: assertion when there is no last joined server; when ↵rubidium
you've got an unresolved address, the hostname cannot be resolved either so return it as-is.
2009-04-09(svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try ↵rubidium
to register an IPv6 address (only if it could ofcourse)
2009-04-09(svn r16000) -Feature: IPv6 supportrubidium