frosch
|
3972c790c2
|
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
|
14 years ago |
frosch
|
a7e486360d
|
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
|
14 years ago |
yexo
|
d3c1be9abd
|
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
|
14 years ago |
yexo
|
6117b0abc7
|
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
|
14 years ago |
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
14 years ago |
alberth
|
137e2b64c9
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
14 years ago |
rubidium
|
062dd0e24c
|
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
rubidium
|
a70fd540fc
|
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
|
15 years ago |
yexo
|
404df87b1f
|
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
|
15 years ago |
yexo
|
23af928ce9
|
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
|
15 years ago |
frosch
|
3926b62446
|
(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though.
|
15 years ago |
frosch
|
e175c704a3
|
(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though.
|
15 years ago |
yexo
|
a9c8dbc0a0
|
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
|
15 years ago |
yexo
|
b21278659c
|
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
|
15 years ago |
yexo
|
6406b75b8f
|
(svn r19094) -Codechange: don't check for NULL values before calling StrEmpty
|
15 years ago |
yexo
|
9a80d81f4c
|
(svn r19094) -Codechange: don't check for NULL values before calling StrEmpty
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
rubidium
|
9467b7c6d6
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
rubidium
|
1967084bc3
|
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
|
15 years ago |
rubidium
|
0a54cc9335
|
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
|
15 years ago |
rubidium
|
860b9b1cea
|
(svn r18028) -Codechange: unglobalise some functions
|
15 years ago |
rubidium
|
224f4e0197
|
(svn r18028) -Codechange: unglobalise some functions
|
15 years ago |
rubidium
|
c2221885f4
|
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
|
15 years ago |
rubidium
|
b2d7edddfa
|
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
|
15 years ago |
smatz
|
6c7f8fc8b4
|
(svn r17701) -Codechange: don't start line with a space if it's not inside comment
|
15 years ago |
smatz
|
fa937901cb
|
(svn r17701) -Codechange: don't start line with a space if it's not inside comment
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
rubidium
|
982b8ee5fc
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
rubidium
|
07d2af338e
|
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
|
15 years ago |
rubidium
|
533e3da493
|
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
f8bccce555
|
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
|
16 years ago |
rubidium
|
8b8920533b
|
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
|
16 years ago |
smatz
|
10d1ef5447
|
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
|
16 years ago |
smatz
|
d6e203ebe2
|
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
|
16 years ago |
smatz
|
d4971a22d0
|
(svn r16265) -Fix (r16238): wrong format string for debug output
|
16 years ago |
smatz
|
e5529d8995
|
(svn r16265) -Fix (r16238): wrong format string for debug output
|
16 years ago |
rubidium
|
951b9e7615
|
(svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
|
16 years ago |
rubidium
|
dd0b93532a
|
(svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
|
16 years ago |
rubidium
|
2663ad302f
|
(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be 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.
|
16 years ago |
rubidium
|
a46de87b03
|
(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be 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.
|
16 years ago |
rubidium
|
7d3db3ee91
|
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
|
16 years ago |
rubidium
|
8cd7def31c
|
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
|
16 years ago |
rubidium
|
882e495f5c
|
(svn r15993) -Codechange: clean up/generalise the handling of the server list
|
16 years ago |
rubidium
|
be53295ee8
|
(svn r15993) -Codechange: clean up/generalise the handling of the server list
|
16 years ago |
rubidium
|
0f0cc67d62
|
(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.
|
16 years ago |
rubidium
|
19b50f8ed8
|
(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.
|
16 years ago |
rubidium
|
e779c56e31
|
(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.
|
16 years ago |
rubidium
|
6c6fb6a927
|
(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.
|
16 years ago |
rubidium
|
08e37a6f10
|
(svn r15987) -Fix: make the master socket only listen on the IP the server is bound to.
|
16 years ago |
rubidium
|
f5339e492a
|
(svn r15987) -Fix: make the master socket only listen on the IP the server is bound to.
|
16 years ago |
rubidium
|
080095ade5
|
(svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists.
|
16 years ago |
rubidium
|
10ccad9d3d
|
(svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists.
|
16 years ago |
rubidium
|
1eb4aa971e
|
(svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver
|
16 years ago |
rubidium
|
b9864e9988
|
(svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver
|
16 years ago |
rubidium
|
2a6e9288fd
|
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
|
16 years ago |
rubidium
|
e1a7fad295
|
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
|
16 years ago |
rubidium
|
82f8badc07
|
(svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited.
|
16 years ago |
rubidium
|
f6e27e7274
|
(svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited.
|
16 years ago |
rubidium
|
0678cb561d
|
(svn r15961) -Codechange: prepare the 'client' side for receiving 'session keys' from the masterserver so servers can register with multiple IPs as the same server.
|
16 years ago |
rubidium
|
22ab962baf
|
(svn r15961) -Codechange: prepare the 'client' side for receiving 'session keys' from the masterserver so servers can register with multiple IPs as the same server.
|
16 years ago |
rubidium
|
5386fe1a1c
|
(svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates.
|
16 years ago |
rubidium
|
2d140fab62
|
(svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates.
|
16 years ago |
rubidium
|
11723c40b2
|
(svn r15926) -Codechange: make the broadcast IP list less AF dependent.
|
16 years ago |
rubidium
|
2b7a30f209
|
(svn r15926) -Codechange: make the broadcast IP list less AF dependent.
|
16 years ago |
rubidium
|
47602d7b60
|
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
|
16 years ago |
rubidium
|
be8919c968
|
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
|
16 years ago |
rubidium
|
632d74c6b1
|
(svn r15922) -Codechange: unify the ways to listen on a socket
|
16 years ago |
rubidium
|
3e6c6d7294
|
(svn r15922) -Codechange: unify the ways to listen on a socket
|
16 years ago |
rubidium
|
c5160c7c8e
|
(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.
|
16 years ago |
rubidium
|
f22566f8df
|
(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.
|
16 years ago |
rubidium
|
1e205e01b8
|
(svn r15916) -Codechange: let the network game list use NetworkAddress
|
16 years ago |
rubidium
|
785779ca62
|
(svn r15916) -Codechange: let the network game list use NetworkAddress
|
16 years ago |
rubidium
|
c0c6e07081
|
(svn r15915) -Codechange: let the udp code use NetworkAddress.
|
16 years ago |
rubidium
|
bdf3611d02
|
(svn r15915) -Codechange: let the udp code use NetworkAddress.
|
16 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
c3e87f345d
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
smatz
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
rubidium
|
28a641066e
|
(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers.
|
16 years ago |
rubidium
|
206841ba5f
|
(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers.
|
16 years ago |
rubidium
|
6a3aaef486
|
(svn r15159) -Fix: move the UDP queries that resolve a hostname into threads so they don't freeze OpenTTD when for example the network connection got severed. Thanks to glx for writing the mutex implementation for Windows.
|
16 years ago |
rubidium
|
82e98c2188
|
(svn r15159) -Fix: move the UDP queries that resolve a hostname into threads so they don't freeze OpenTTD when for example the network connection got severed. Thanks to glx for writing the mutex implementation for Windows.
|
16 years ago |
rubidium
|
5f3772a42c
|
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
|
16 years ago |
rubidium
|
4aabc91c04
|
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
|
16 years ago |
rubidium
|
11da45ee55
|
(svn r14949) -Cleanup: pointer coding style
|
16 years ago |
rubidium
|
28ea38ae55
|
(svn r14949) -Cleanup: pointer coding style
|
16 years ago |
rubidium
|
ece37ca2c0
|
(svn r14731) -Fix: don't initialise UDP multiple times without closing it.
|
16 years ago |
rubidium
|
2b5362de13
|
(svn r14731) -Fix: don't initialise UDP multiple times without closing it.
|
16 years ago |
rubidium
|
abc903d625
|
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
|
16 years ago |
rubidium
|
d146b48063
|
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
|
16 years ago |
skidd13
|
706dd0f86c
|
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
|
16 years ago |
skidd13
|
9b282b3e51
|
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
|
16 years ago |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
rubidium
|
f56e630e5c
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
rubidium
|
c88cb1daa0
|
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
|
16 years ago |
rubidium
|
eb5fb4443a
|
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
|
16 years ago |
rubidium
|
3a799389eb
|
(svn r13731) -Codechange: make a pool of the array of players.
|
16 years ago |
rubidium
|
cde65455ac
|
(svn r13731) -Codechange: make a pool of the array of players.
|
16 years ago |
rubidium
|
60a6582590
|
(svn r13713) -Fix: possible crash on creating a network packet.
|
16 years ago |
rubidium
|
348600eca9
|
(svn r13713) -Fix: possible crash on creating a network packet.
|
16 years ago |
rubidium
|
657bbf305e
|
(svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
|
17 years ago |
rubidium
|
35f3284a60
|
(svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
|
17 years ago |
rubidium
|
abf2b0efc3
|
(svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
|
17 years ago |
rubidium
|
994779e9e2
|
(svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
|
17 years ago |
rubidium
|
2f3b88ef9a
|
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
|
17 years ago |
rubidium
|
bae02e8c67
|
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
|
17 years ago |
rubidium
|
c33164831d
|
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
|
17 years ago |
rubidium
|
02dbab8721
|
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
|
17 years ago |
rubidium
|
923e21129c
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
17 years ago |
rubidium
|
e7a501100a
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
17 years ago |
rubidium
|
8c9cc415e3
|
(svn r13255) -Codechange: move _opt to _settings.
|
17 years ago |
rubidium
|
d289464d69
|
(svn r13255) -Codechange: move _opt to _settings.
|
17 years ago |
glx
|
e48a351f8e
|
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
|
17 years ago |
glx
|
a28ea38653
|
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
|
17 years ago |
maedhros
|
8da41ec62e
|
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
|
17 years ago |
maedhros
|
28e1da6c5d
|
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
|
17 years ago |
rubidium
|
acafc26426
|
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
|
17 years ago |
rubidium
|
f4b07a78c4
|
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
|
17 years ago |
rubidium
|
e9661fb420
|
(svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces.
|
17 years ago |
rubidium
|
fcf888799f
|
(svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces.
|
17 years ago |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
a3ccdcea36
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
17 years ago |
rubidium
|
b09d957f31
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
17 years ago |
rubidium
|
b9046c97fb
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
db73addb43
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
2786d789a1
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
17 years ago |
rubidium
|
f82aeb82c5
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
17 years ago |
rubidium
|
b3f6c0734b
|
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
|
17 years ago |
rubidium
|
851f19b341
|
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
|
17 years ago |
skidd13
|
eeaa348f8b
|
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
3ae50673a3
|
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
|
17 years ago |
peter1138
|
06986b7744
|
(svn r10736) -Fix: Correct all mispellings of 'successful'.
|
17 years ago |
peter1138
|
61f94c2d5e
|
(svn r10736) -Fix: Correct all mispellings of 'successful'.
|
17 years ago |
rubidium
|
fda75ae603
|
(svn r10694) -Codechange: update the server information in the game list every once in a while so the information stays fairly up-to-date when you are looking through the servers.
|
17 years ago |
rubidium
|
6806635971
|
(svn r10694) -Codechange: update the server information in the game list every once in a while so the information stays fairly up-to-date when you are looking through the servers.
|
17 years ago |
rubidium
|
a775cdc03a
|
(svn r10352) -Fix: the network did not request the newgrf names of newgrfs that it couldn't find; it only wanted to request the newgrf names of newgrfs that where available locally and than were called "<Unknown>".
|
18 years ago |
rubidium
|
f603383eb9
|
(svn r10352) -Fix: the network did not request the newgrf names of newgrfs that it couldn't find; it only wanted to request the newgrf names of newgrfs that where available locally and than were called "<Unknown>".
|
18 years ago |
rubidium
|
ce91598e3c
|
(svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa.
|
18 years ago |
rubidium
|
e0a9a7d388
|
(svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa.
|
18 years ago |
rubidium
|
6402d00190
|
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
|
18 years ago |
rubidium
|
627aa240ba
|
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
|
18 years ago |
rubidium
|
2dc5589290
|
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
|
18 years ago |
rubidium
|
2ce514284c
|
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
|
18 years ago |