rubidium
d0ad020dc6
(svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc).
2007-06-10 19:59:08 +00:00
rubidium
02146b13c8
(svn r10075) -Fix [FS#844]: small memory leak on some early returns.
2007-06-09 04:01:40 +00:00
glx
32a04368b3
(svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings
2007-06-04 20:06:54 +00:00
glx
59cb4da628
(svn r10035) -Change: simplified network language string sorting
2007-06-04 19:49:00 +00:00
glx
cb340626ca
(svn r10032) -Add: sort the strings in server language dropdown
2007-06-04 16:07:22 +00:00
glx
6e653cd1ab
(svn r10017) -Add (FS#790): more languages flags for servers
2007-06-01 23:06:01 +00:00
rubidium
23492f1f34
(svn r9841) -Codechange: add a little more type strictness to the vehicle types.
2007-05-15 11:28:22 +00:00
peter1138
b02623901a
(svn r9727) -Fix (r8546): Company password field in network player info was inverted.
2007-04-27 20:50:49 +00:00
rubidium
b469c443e9
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
2007-04-26 07:41:24 +00:00
glx
c1b898392e
(svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag.
2007-04-25 17:40:06 +00:00
rubidium
2dc5589290
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
2007-04-18 22:41:53 +00:00
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
rubidium
db91588845
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
2007-04-04 12:03:10 +00:00
rubidium
80ef389080
(svn r9378) -Fix [FS#688] (r9038): cancel in password queries reduces amount of players in the network game when they haven't joined the game yet.
2007-03-20 20:11:17 +00:00
rubidium
ce919e8c71
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
2007-03-08 16:27:54 +00:00
rubidium
c89379f7eb
(svn r9061) -Fix [r9038, FS#668]: passwords are send when the server is in the 'authorizing' state, not 'inactive'.
2007-03-08 09:46:44 +00:00
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
2007-03-07 12:11:48 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
rubidium
a2b5b74b83
(svn r9038) -Fix [FS#115]: inactive connections are not automatically kicked, i.e. people who only open a telnet (or similar) connection to a server.
2007-03-06 22:00:42 +00:00
maedhros
1c7df202c6
(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states that are
...
mutually exclusive. At the same time, add an INITIALISED state which makes it
possible to check if a grf is not yet active but will be later on during the
GLS_ACTIVATION loading stage.
2007-03-06 19:33:28 +00:00
celestar
f8e7d08885
(svn r9016) [SunOS] -Fix: Don't use a struct-member that doesn't exist.
...
-Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10)
Note: With this commit, building and running on Solaris 10 works, thus
we officially support this OS now :)
2007-03-05 09:35:45 +00:00
rubidium
66487d59fd
(svn r8949) -Codechange: only test the first NETWORK_REVISION_LENGTH - 1 characters when determining network compatability. This makes it possible to have 'long' branch names while still being able to play network games.
2007-03-01 00:58:09 +00:00
celestar
0ed4b64e64
(svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-23 08:37:33 +00:00
truelight
0d91ed68a9
(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
...
-Add: added general header-inclusing for PSP
2007-02-11 13:57:35 +00:00
rubidium
b71d6e1401
(svn r8673) -Codechange: use SetNonBlocking instead of implementing yet another version.
2007-02-11 13:39:23 +00:00
truelight
c46a1cc2f6
(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects DEBUG() to a remote connection over TCP
...
For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982
Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9
And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
2007-02-08 12:27:53 +00:00
rubidium
500f9a971a
(svn r8546) -Codechange: add a seperate (wrapper) functions to send/receive booleans.
2007-02-02 23:16:58 +00:00
rubidium
9ddd227eb3
(svn r8544) -Codechange: move game list related function/struct declarations to network_gamelist.h
2007-02-02 21:32:58 +00:00
rubidium
6a820a30d1
(svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP.
2007-02-02 21:04:50 +00:00
rubidium
07b9d95c3c
(svn r8542) -Codechange (Fix?): tweak the gamelist requery timeout so more servers are found for slow network connections.
2007-02-02 20:57:03 +00:00
rubidium
59f4f056df
(svn r8525) -Codechange: make NetworkSend_Packet(s) and NetworkRecv_Packet functions of NetworkTCPSocketHandler.
2007-02-01 23:50:15 +00:00
rubidium
16ce6def09
(svn r8523) -Codechange: move all the Network(Recv|Send)_(uintXX|string) functions to Packet.
2007-02-01 23:26:44 +00:00
rubidium
99f860e686
(svn r8521) -Codechange: initial step in converting Packet to a class; make and use constructors and functions related to the reading/saving the packet size.
2007-02-01 22:30:35 +00:00
rubidium
15980fc023
(svn r8520) -Fix/Feature: requery gameservers that did not respond to their first query.
2007-02-01 21:04:40 +00:00
rubidium
c8882bd3d2
(svn r8511) -Codechange: make WindowClass an enumerated value.
2007-02-01 15:49:12 +00:00
KUDr
f9462a50e9
(svn r8479) -Fix (r8459): Silenced VC warning C4099: 'Packet' : type name first seen using 'class' now seen using 'struct'
...
-Codechange: 'typedef struct Packet' changed to 'struct Packet'
2007-01-31 09:51:22 +00:00
rubidium
86b046864a
(svn r8461) -Feature: check for NewGRF compatability before actually downloading the map from a game server when connecting from the command prompt and internal console.
2007-01-30 17:22:56 +00:00
rubidium
291b7925ee
(svn r8459) -Codechange: move (Send|Recv)GRFIdentifier to NetworkSocketHandler, so it can also be used the TCP socket handler.
2007-01-30 17:12:46 +00:00
rubidium
00782c089d
(svn r8446) -Fix (8445): accidentally made a function that should not be abstract abstract.
2007-01-28 20:54:30 +00:00
rubidium
f72dde5236
(svn r8445) -Cleanup: remove some @params from comments as the parameters did not exist anymore and add comments to several variables/functions.
2007-01-28 20:47:25 +00:00
rubidium
5d3ad5601d
(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp header.
2007-01-28 13:07:24 +00:00
Darkvater
50ca901b40
(svn r8428) -Codechange: Add proper names to aircraft subtypes instead of magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
2007-01-27 12:29:55 +00:00
truelight
cf07eafb97
(svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
2007-01-26 08:27:59 +00:00
rubidium
269c1a58a0
(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from openttd.h, which does not exist in the masterserver/updater.
2007-01-23 14:47:38 +00:00
rubidium
3e10a726e5
(svn r8361) -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD
...
-Codechange: use_password is a boolean variable
-Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
2007-01-22 21:38:16 +00:00
rubidium
cf83a9f065
(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused.
2007-01-21 17:29:38 +00:00
rubidium
dec9698edc
(svn r8198) -Codechange: two global variables are not needed when network is disabled.
2007-01-17 19:55:18 +00:00
rubidium
0bd6622c2e
(svn r8171) -Fix (FS#556): return SL_ERROR when unthreaded saves failed, to make sure we do not try to send zero-byte savegames.
2007-01-17 00:01:55 +00:00
Darkvater
1f3ea708c3
(svn r8168) -Regression (r6783): ParseConnectionstring didn't use the port parameter if a player was also specified. (both IP#Player:Port and IP:Port#Player btw)
2007-01-16 23:01:06 +00:00
rubidium
96b19ca23e
(svn r8167) -Fix (FS#556): a network client crashes, due to a division by zero, when the connection gets lost at the right moment or when the packet is malformed (server sends size 0 for the map).
2007-01-16 22:56:18 +00:00