Commit Graph

1056 Commits (bad2326dadb5049778fba56d0863155feb43ee71)

Author SHA1 Message Date
smatz 2388149ea3 (svn r19609) -Fix: do not print 'Connection lost' message for clients who failed to enter correct password 14 years ago
smatz 535a3bf847 (svn r19608) -Fix: do not kick client if he entered password and the password was cleared meanwhile 14 years ago
smatz 150ae1c707 (svn r19607) -Codechange: use different packet types instead of packet subtypes 14 years ago
smatz ac82a8fee0 (svn r19606) -Codechange: remove global variable pw_type 14 years ago
rubidium ea7aececf8 (svn r19602) -Codechange: add the name of the command to the desync logs 14 years ago
rubidium ff6ec70007 (svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too 14 years ago
frosch 1d0335a798 (svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path. 14 years ago
glx b702b1f3fd (svn r19596) -Fix (r19593): dedicated server always fast forwarding if compiled without DEBUG_DUMP_COMMANDS 14 years ago
rubidium de155e78e7 (svn r19593) -Codechange: improve loading/executing the desync logs 14 years ago
rubidium ff5dfd9c7e (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 years ago
smatz 2682e34911 (svn r19508) -Codechange: remove semicolon after DEFINE_UNAVAILABLE_CONTENT_RECEIVE_COMMAND and DEFINE_UNAVAILABLE_UDP_RECEIVE_COMMAND 14 years ago
smatz d2e99657fa (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
alberth 68213d25ab (svn r19423) -Codechange: Move error message reporting of industry build in SE to a callback. 15 years ago
rubidium 017281bc22 (svn r19385) -Fix [FS#3684]: [IPv6] Netmask calculations were wrong if cidr >= 32. 15 years ago
peter1138 7d9b3ce17a (svn r19374) -Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help. 15 years ago
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
frosch e175c704a3 (svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though. 15 years ago
rubidium 04fbf762fb (svn r19262) -Feature: finalise BaNaNaS support for music sets 15 years ago
yexo daf89297fe (svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized 15 years ago
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 15 years ago
terkhen 6ccd15fd08 (svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop. 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
alberth e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 15 years ago
yexo 9a80d81f4c (svn r19094) -Codechange: don't check for NULL values before calling StrEmpty 15 years ago
rubidium a7a2568985 (svn r19090) -Codechange: some comment coding style fixes 15 years ago
rubidium 1c468db7d5 (svn r19087) -Codechange: some typos in StringIDs 15 years ago
rubidium 1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago
smatz c736bbb875 (svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword() 15 years ago
rubidium 78f5533141 (svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection 15 years ago
rubidium 5eb860dabe (svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated 15 years ago
rubidium 00f64a64d9 (svn r19001) -Fix: some GCC compile warnings 15 years ago
rubidium 416a47f9a2 (svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about 15 years ago
rubidium 57996b7cd5 (svn r18994) -Change: content mirroring support (based on work by TrueBrain). 15 years ago
rubidium b795af486d (svn r18992) -Codechange: move the file opening/closing out of the content download function 15 years ago
rubidium 6a4726020f (svn r18991) -Codechange: simplify memory management of DownloadSelectedContent 15 years ago
frosch 28bb97ffdf (svn r18967) -Fix (r18966): Never trust your copy&paste skills. 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
frosch c45c274daa (svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical. 15 years ago
rubidium 149af66877 (svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables 15 years ago
rubidium 8676af5618 (svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze) 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 2cbb3dd7d1 (svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD. 15 years ago
rubidium 1e68ee0de8 (svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different. 15 years ago
rubidium 119d742015 (svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though. 15 years ago
rubidium 7f1bf45c03 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 15 years ago
rubidium 89443276b1 (svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there. 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 3de085a143 (svn r18683) -Fix: it's not an other 15 years ago
smatz c031c9a731 (svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI 15 years ago
smatz f6177d9708 (svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
-Revert (r18637): it's not needed any more
15 years ago
rubidium 312e0a7580 (svn r18638) -Fix: downloading music sets would fail 15 years ago
rubidium 0946fd974f (svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it 15 years ago
rubidium 42d7f30dcc (svn r18608) -Change: add the concept of music sets 15 years ago
rubidium 7263d3ff34 (svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant. 15 years ago
alberth 2ac35a8cff (svn r18589) -Codechange: Add tooltip to some network windows, remove old comment. 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
rubidium 5f1bb2e882 (svn r18578) -Feature: initially select the last joined server when going to the server list 15 years ago
rubidium 2d249b9946 (svn r18493) -Fix: don't access something after deleting it 15 years ago
frosch a23b215b5a (svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it. 15 years ago
rubidium 86529556b1 (svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled 15 years ago
frosch 992bc6c345 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium fedb593293 (svn r18318) -Codechange: add an enum value for manual window placement 15 years ago
rubidium fe1dcdd635 (svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium 7824727828 (svn r18251) -Codechange: make the join status window big font aware 15 years ago
rubidium a71cc49498 (svn r18249) -Codechange: make the network client list big font aware 15 years ago
rubidium 845de0aac1 (svn r18240) -Change: align the 'select' sprite in the network content GUI based on the font height 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium a58582e6d1 (svn r18219) -Fix: the up/down buttons in the start network server window didn't work anymore 15 years ago
rubidium 892d877458 (svn r18218) -Codechange: make a few network windows big font aware 15 years ago
rubidium c227abd7c3 (svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars 15 years ago
rubidium f106bbbe5c (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
alberth 75e513d5b5 (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 15 years ago
rubidium 8d90052641 (svn r18175) -Codechange: make the network lobby and client list RTL aware 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
peter1138 d720ceb2e1 (svn r18146) -Codechange: Improve content download window scaling and offsets for different font size 15 years ago
rubidium a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
peter1138 cfcd6c13f3 (svn r18103) -Codechange: Base content window detail title height on font height. 15 years ago
rubidium bb5a43e609 (svn r18099) -Codechange: scale the edit boxes to the fontsize 15 years ago
rubidium e53f9d1885 (svn r18094) -Codechange: make the network content GUI work better with RTL 15 years ago
rubidium 1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 4fd93aecd2 (svn r18078) -Codechange: remove some duplicate (non translatable) strings 15 years ago
rubidium fbcd97528a (svn r18054) -Change/Fix [FS#3310]: make pause on join pause during the whole joining (including download) phase 15 years ago
rubidium a0840ee58b (svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are. 15 years ago
rubidium 0c20992c5b (svn r18051) -Codechange: make the active clients pause use a separate bit in the pause mode 15 years ago
rubidium d8580eb8b9 (svn r18048) -Change: make no distinction between unpausing because of a client aborting to join or actually joining 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
frosch 4691a2069a (svn r17977) -Fix: Busses and trucks are distinguished by cargo class. 15 years ago
rubidium 318c2fad7c (svn r17963) -Codechange: some documentation style 15 years ago
rubidium 483ff921ae (svn r17958) -Codechange: make the join progress window nested 15 years ago
rubidium 95bcee3fde (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 15 years ago
rubidium 3013be391e (svn r17954) -Codechange: make the network client list nested 15 years ago
rubidium 55a9b89233 (svn r17952) -Codechange: make the network client list popup nested 15 years ago
rubidium 8611df32f2 (svn r17951) -Codechange: simplify making the popup list, remove arbirary limitations and unused code/strings. 15 years ago
rubidium 719b995358 (svn r17948) -Codechange: remove some magic numbers from the network client list GUIs / use ResizeWindow instead of custom resize code. 15 years ago
rubidium c4c56ea04d (svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used 15 years ago
rubidium 4cb1409391 (svn r17946) -Codechange: move the widget definition of the client list closer to the window 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium bca2397f5a (svn r17905) -Codechange: make the network server list window nested (and increase the default size slightly) 15 years ago
rubidium a592d22c5c (svn r17887) -Codechange: remove some (now) unneeded {SKIP}s 15 years ago
rubidium 4b83775e6f (svn r17886) -Codechange: make the 'start server' window nested 15 years ago
rubidium 8a703a8a80 (svn r17885) -Codechange: make the network lobby window nested 15 years ago
rubidium 4376af5b04 (svn r17884) -Codechange: remove (most) magic numbers from drawing the details of the network lobby and split detail drawing to its own function 15 years ago
rubidium 2894071583 (svn r17882) -Codechange: make the code to draw the details in the server list a seperate function and remove some magic numbers 15 years ago
rubidium e0c72d2c98 (svn r17877) -Fix (r1322/r1174/r464): do not hardcode 'Ban' for GUI purposes, i.e. make it translatable 15 years ago
rubidium 1a4fb59437 (svn r17876) -Codechange: make the network company password window nested 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium 5fb9f8cb24 (svn r17846) -Codechange: make the network content window nested 15 years ago
rubidium ac055da444 (svn r17843) -Codechange: move the details drawing code of the content window to a separate function 15 years ago
rubidium 6eba9654a2 (svn r17841) -Codechange: move state changes from OnPaint to OnInvalidate for the content gui. 15 years ago
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium aec99b1790 (svn r17772) -Fix [FS#3264]: CJK languages don't have spaces, so for adding newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string. 15 years ago
smatz c2c23ec661 (svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless 15 years ago
rubidium 7312bdb362 (svn r17743) -Fix: (post 0.7) memory leak in server in case handling a packet caused the connection to be closed. Also force-close the connection on invalid packets. 15 years ago
rubidium 65f97fb38c (svn r17742) -Codechange: remove unused variable from Recv_Packet 15 years ago
rubidium 65d4612d2a (svn r17741) -Feature-ish [FS#3116]: show the nickname of the person you're PMing 15 years ago
rubidium 3a9a88782b (svn r17737) -Codechange: remove the chat window when you were chatting with someone who lost his/her connection or when you were team chatting and moved out of the company. 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 67a11a5776 (svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 7c74afb1c3 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium dd01e6196a (svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers. 15 years ago
rubidium 0855ae61de (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 15 years ago
rubidium ae115cda83 (svn r17667) -Fix [FS#3245]: autopause tried to (un)pause the server every tick when the pause command only gets processed once every frame_freq ticks. So it would spam the console with duplicate attempts. 15 years ago
rubidium e1e9b68b54 (svn r17635) -Codechange: make the chat gui nested 15 years ago
rubidium 99235a0d30 (svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset 15 years ago
rubidium d1032d69c8 (svn r17617) -Codechange: make the server side packet handling be more like the client side's handling, i.e. return the connection status
-Fix: do not do invalid reads when a packet handling function closed a connection
15 years ago
rubidium d579a9366a (svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet) 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
alberth 4ff755ac90 (svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array. 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium d9519fdf64 (svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data 15 years ago
frosch c192bbe800 (svn r17539) -Codechange: Replace a magic number. 15 years ago
frosch 804b40b48c (svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage. 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium fd04d4ed00 (svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI 15 years ago
frosch b3fd812eee (svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough. 15 years ago
frosch 3511a6a7c4 (svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum. 15 years ago
rubidium 0153e7a211 (svn r17467) -Change: show the client id in join messages at the server (patch by dihedral) 15 years ago
rubidium 6d72ae033a (svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers 15 years ago
glx cf2d2cb4b6 (svn r17350) -Fix (r17336): broken compilation with mingw 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 3af095aa19 (svn r17291) -Fix [FS#3147]: crash after upgrading base graphics/sound set when opening the game options menu and you were using the upgraded set 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium be9033295e (svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory. 15 years ago
rubidium 79844fd27f (svn r17245) -Fix [FS#3137] (r17015): you could, via unselect all, also unselect already installed content; it would not uninstall it though 15 years ago
smatz b8bd45ba4f (svn r17169) -Codechange: apply coding style to some for statements 15 years ago
smatz d64bdb138c (svn r17168) -Codechange: apply coding style to if and while statements 15 years ago
rubidium 93493827b6 (svn r17139) -Change: add the concept of sound sets 15 years ago
rubidium cdb969e164 (svn r17133) -Codechange: generalise the code that searches for base graphics 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
rubidium 5b315dacf2 (svn r17038) -Fix (r17015): don't download the stuff we already have 15 years ago
rubidium ede3aee313 (svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking 15 years ago
rubidium 871f3ec803 (svn r16981) -Fix [FS#3062]: the last manually added server would not be saved 15 years ago
rubidium 4874578e79 (svn r16930) -Codechange: more StringID name unification and grouping 15 years ago
rubidium 39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
rubidium 98b6faa2f6 (svn r16846) -Codechange: make the content download status window only use nested widgets 15 years ago
alberth fe9f5cbc46 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 15 years ago
rubidium 34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 15 years ago
rubidium 677b2d07bd (svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window. 15 years ago
smatz 54cbd17bd8 (svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany() 15 years ago
rubidium 71c7064ad6 (svn r16601) -Fix [FS#2880]: try 2... hopefully better this time 15 years ago
rubidium c011ea92f2 (svn r16594) -Fix [FS#2969]: mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible. 15 years ago
rubidium 8f74c85d74 (svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'. 15 years ago
rubidium f1840d084b (svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs. 15 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. 15 years ago
smatz a2567c84a0 (svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible 15 years ago
smatz 7d4d3850cb (svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker) 15 years ago
smatz f74b597c83 (svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit 15 years ago
rubidium f163217dbb (svn r16493) -Fix: missing/wrong @file doxygen 'headers' 15 years ago
alberth 580e478e4e (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 15 years ago
rubidium 78c726d2b1 (svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code. 15 years ago
rubidium 2832d69272 (svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts. 15 years ago
smatz 3793b966c3 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 15 years ago
smatz d6e203ebe2 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 15 years ago
smatz 50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 7eb14aa49f (svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index 15 years ago
rubidium 1daa10520c (svn r16361) -Fix: pointer incremented with wrong count 15 years ago
rubidium 789999ecf3 (svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP. 15 years ago
smatz 512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 15 years ago
rubidium f1955333c9 (svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions) 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz cf986c3099 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium 043c3c8b06 (svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions. 15 years ago
smatz d87206b6f7 (svn r16288) -Fix (r16237): crash after clicking in the ClientList window 15 years ago
smatz ce7dff4acc (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
smatz e5529d8995 (svn r16265) -Fix (r16238): wrong format string for debug output 15 years ago
alberth 9e99cbf93d (svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length. 15 years ago
frosch d84faa8209 (svn r16254) -Fix [FS#2886]: Magic constant removed. 15 years ago
rubidium 31b9cd6d03 (svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company 15 years ago
rubidium 241af768f0 (svn r16242) -Codechange: rework pausing
-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
15 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). 15 years ago
alberth 4c703618ff (svn r16237) -Codechange: Add nested widgets to remaining network windows. 15 years ago
alberth c6be093c89 (svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment. 15 years ago
alberth 2b78839ac9 (svn r16235) -Codechange (r16234): But keep the window description. 15 years ago
alberth 40a2e0d2a3 (svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk. 15 years ago
alberth a67052199f (svn r16233) -Codechange: Added nested widgets to network content windows. 15 years ago
alberth eab14e1e1c (svn r16232) -Codechange: Moving network content widgets enums outside window structs. 15 years ago
alberth b6f4126cf2 (svn r16231) -Codechange: Added nested widgets to chat window. 15 years ago
alberth 709acb38ed (svn r16230) -Codechange: Moving chat widgets enum outside window struct. 15 years ago
yexo 965b8196fb (svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands. 15 years ago
yexo f6070e2261 (svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI companies, since joining an AI company is not possible. 15 years ago
rubidium 156d45505d (svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...). 15 years ago
rubidium 3bd4eeb178 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 15 years ago
rubidium dd2661bbbd (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 15 years ago
rubidium 6c3fa9b487 (svn r16135) -Fix [FS#2856]: always give the server an already resolved 'client address' so we can be sure the client address is always resolved 15 years ago
rubidium c530ca27bb (svn r16134) -Change: do not add duplicates to the broadcast list 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium d3de980714 (svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow. 15 years ago
rubidium b34eb75c11 (svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted 15 years ago
rubidium 8ad5729e9c (svn r16064) -Fix: memory leak when querying a server multiple times. 15 years ago
glx 388dc27474 (svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available 15 years ago
rubidium b78820a361 (svn r16034) -Fix: compile warnings generated by 64 bits MSVC. 15 years ago
peter1138 f492281b9d (svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value. 15 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. 15 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] 15 years ago
rubidium 7ae8228ed3 (svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :( 15 years ago
rubidium c71e59263d (svn r16005) -Fix: assertion when there is no last joined server; when you've got an unresolved address, the hostname cannot be resolved either so return it as-is. 15 years ago
rubidium 04b174687b (svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse) 15 years ago
rubidium fe42ae8ad4 (svn r16000) -Feature: IPv6 support 15 years ago
rubidium b0113af67c (svn r15998) -Codechange: some coding style updates 15 years ago
rubidium be53295ee8 (svn r15993) -Codechange: clean up/generalise the handling of the server list 15 years ago
rubidium e321f5637f (svn r15991) -Fix: don't add 0.0.0.0/:: to the server list; you can't connect to them in any case 15 years ago
rubidium 19b50f8ed8 (svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString. 15 years ago
rubidium 6c6fb6a927 (svn r15989) -Fix (r15987: segfault due to uninitialised sockets. 15 years ago
rubidium 0630f0db4f (svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names. 15 years ago
rubidium f5339e492a (svn r15987) -Fix: make the master socket only listen on the IP the server is bound to. 15 years ago
rubidium 10ccad9d3d (svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists. 15 years ago
rubidium 1cd5ac75ff (svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string. 15 years ago
rubidium f9f61dc208 (svn r15981) -Fix: don't print the address family when writing the IP+port to the config file. 15 years ago
rubidium 5a6198092d (svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless. 15 years ago
rubidium edf4ab97e1 (svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding 15 years ago
rubidium ac043bc7e8 (svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses. 15 years ago
rubidium 632a263f8a (svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails 15 years ago
rubidium b9864e9988 (svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver 15 years ago
glx da49105b9e (svn r15974) -Fix (r15969): win32 compilation was broken (again) 15 years ago
rubidium a2c5cf906c (svn r15973) -Codechange: make it possible to listen on multiple TCP sockets 15 years ago
rubidium bc072884b0 (svn r15972) -Codechange: remove unneeded parameter 15 years ago
rubidium e1a7fad295 (svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets. 15 years ago
rubidium e3d183f3dd (svn r15970) -Codechange: make it possible to resolve a single address into multiple sockets. 15 years ago
rubidium f6e27e7274 (svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited. 15 years ago
rubidium d66827b289 (svn r15968) -Codechange: do not allocate a buffer for NetworkAddresses so passing it around is easier. 15 years ago
rubidium a25684b833 (svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly 15 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. 15 years ago
rubidium 3e6d3ff9a2 (svn r15954) -Fix: comparing addresses kinda fails (sometimes) causing duplicates in the game list 15 years ago
rubidium 3ce836c4af (svn r15951) -Fix (r15946) [FS#2803]: ofcourse a couple of OSes/compilers do not provide a nice 'interface', so we have to do it the ugly way. 15 years ago
glx d5e4f8152f (svn r15950) -Fix (r15946): mingw compilation 15 years ago
rubidium 2f220d09bb (svn r15948) -Fix: resolve network addresses before comparing them 15 years ago
rubidium a76218eab9 (svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address. 15 years ago
rubidium a5576bc6e1 (svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching. 15 years ago
glx a1b6c34623 (svn r15945) -Fix (r15944): win32 compilation 15 years ago
rubidium 1a0249f9d8 (svn r15944) -Codechange: disable IPv4 over IPv6 sockets as there is no default value and not all OSes actually support IPv4 over IPv6 so making it the same on all OSes eases debugging and such 15 years ago
rubidium c3af69eb9d (svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;) 15 years ago
rubidium e8852635ab (svn r15940) -Codechange: move setting reuse address to the binding process. 15 years ago
glx d3db002a4f (svn r15938) -Fix: broadcast addresses detection was broken for win32 15 years ago
rubidium cda1cb02ed (svn r15935) -Codechange: function to compare IP addresses (to sort them) 15 years ago
rubidium 627163b785 (svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications. 15 years ago
glx cfac582c36 (svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either 15 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. 15 years ago
rubidium bc7a870a61 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 15 years ago
glx 825aa87e80 (svn r15930) -Fix (r15926): MSVC compilation 15 years ago
rubidium 2b7a30f209 (svn r15926) -Codechange: make the broadcast IP list less AF dependent. 15 years ago
rubidium be8919c968 (svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant. 15 years ago
rubidium 197eff1fa9 (svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant. 15 years ago
rubidium 3e6c6d7294 (svn r15922) -Codechange: unify the ways to listen on a socket 15 years ago
rubidium 020b1f9328 (svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol 15 years ago
rubidium 34f9223f6a (svn r15920) -Codechange: make the (TCP) connecting less AF dependent. 15 years ago
glx c56767317f (svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning. 15 years ago
rubidium 6664998667 (svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb) 15 years ago
rubidium f22566f8df (svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP. 15 years ago
rubidium 785779ca62 (svn r15916) -Codechange: let the network game list use NetworkAddress 15 years ago
rubidium bdf3611d02 (svn r15915) -Codechange: let the udp code use NetworkAddress. 15 years ago
rubidium 822ff14d73 (svn r15914) -Codechange: let the content handling make use of NetworkAddress. 15 years ago
rubidium 9050f35f8f (svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
peter1138 3b748ec62f (svn r15848) -Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months. 16 years ago
yexo d8a0e59b9d (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 16 years ago
rubidium 0e96b7b7c0 (svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window. 16 years ago
alberth 8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 16 years ago
rubidium 2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 16 years ago
rubidium 12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 16 years ago
rubidium 31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
16 years ago
rubidium dcd5ad8b19 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 16 years ago
rubidium a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 16 years ago
rubidium 2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 16 years ago
rubidium 89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 16 years ago
rubidium 2f1bfe3813 (svn r15788) -Codechange: enumify the network join status widgets and use them. 16 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 16 years ago
glx 583c756679 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 16 years ago
rubidium b3b4be2dde (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 16 years ago
rubidium f524d39963 (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 16 years ago
rubidium 485961b260 (svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice. 16 years ago
smatz e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 16 years ago
rubidium 57c5ce84eb (svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth) 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 0bb1fd18ad (svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows. 16 years ago
yexo fbe159ab9e (svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open. 16 years ago
rubidium 880d296b25 (svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting 16 years ago
smatz 19c01ee0ec (svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block 16 years ago
rubidium d5762a5069 (svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas. 16 years ago
smatz 154b4da4cc (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 16 years ago
rubidium 34bd9ee636 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 16 years ago
rubidium 9e3449ecc9 (svn r15605) -Codechange: constify a function 16 years ago
rubidium 0d12c46b5e (svn r15580) -Fix [FS#2684]: last activity time not properly updated causing downloads to be aborted after a minute. 16 years ago
rubidium b2def94607 (svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp 16 years ago
yexo 7e818f0456 (svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum. 16 years ago
yexo bd2544b5ea (svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte. 16 years ago
smatz 3707a11e5e (svn r15571) -Fix: incorrect use of memset 16 years ago
rubidium 926b721cc2 (svn r15566) -Change: reintroduce space as valid method of selecting 'content' as long as the filter box is not focused. Enter will also work when the filter box is focused. 16 years ago
rubidium 39b6a2a507 (svn r15565) -Fix [FS#2675]: dependency information wasn't requested after the content state was reset causing the dependencies not always being selected (and thus downloaded) automatically. 16 years ago
rubidium 5c127d51b8 (svn r15552) -Fix (r15544): some compiler/OS combinations don't like closing the same FD twice and zlib's docs weren't very clear about whether it would close a FD it didn't open. 16 years ago
rubidium fcdeb5c522 (svn r15544) -Fix [FS#2650]: extracting downloaded content didn't work for Windows if one uses a non-ASCII. 16 years ago
rubidium e3ac127617 (svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game. 16 years ago
rubidium 426857bc72 (svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant. 16 years ago
peter1138 545804b67a (svn r15433) -Fix (r15126): Content download progress bar was not centered properly. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
rubidium 6ad9fcc6ec (svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server. 16 years ago
rubidium 9f1a20a2be (svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't deselect properly in some cases (Roujin) 16 years ago
rubidium cd0edc9201 (svn r15373) -Fix [FS#2606]: Kenobi denied the server's client name to the tab-completed. 16 years ago
rubidium a3da2d5145 (svn r15372) -Feature: filter the 'content' based on the tag/name. Based on a patch by Roujin. 16 years ago
rubidium 42fe0b65d2 (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
peter1138 bce50498fc (svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium bf45d44c3c (svn r15247) -Change: show a lock near the password/join button in the company window whenever the company is password protected 16 years ago
rubidium 2722cabcce (svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral) 16 years ago
Yexo 9fc9697929 (svn r15234) -Fix (r15176): Crash if you pressed space in the content download window before selecting an item. 16 years ago
rubidium 75055f011d (svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows. 16 years ago
rubidium fc5022d76e (svn r15217) -Fix [FS#2573] (r15176): more corner cases when removing things from iterated vectors 16 years ago
rubidium 80e59f375f (svn r15215) -Fix: various MSVC x64 compiler warnings 16 years ago
rubidium 2f282380ef (svn r15207) -Add: sorting to the content list. 16 years ago
rubidium bf47489d58 (svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download 16 years ago
rubidium 840217d717 (svn r15200) -Feature: give server admins a tool to combat profanity in nick names (based on patch by dihedral) 16 years ago
rubidium 3849dfce55 (svn r15196) -Fix (r15195): != != == :( 16 years ago
rubidium 40b7769723 (svn r15195) -Fix: don't crash when removing from something you're iterating over 16 years ago
peter1138 00aa88040e (svn r15194) -Fix: Don't count dedicated server as a spectator 16 years ago
rubidium fd7063530c (svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clear 16 years ago
rubidium 7c5a618639 (svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out. 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 12ff4cf083 (svn r15162) -Fix: the join status window didn't get properly created 16 years ago
rubidium ad43d72a3e (svn r15161) -Change: bump url to 96 bytes 16 years ago
glx 62ec25a8ff (svn r15160) -Fix (r15157): port != IP 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 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 7a81c0e5b4 (svn r15155) -Codechange: remove unused return value 16 years ago
rubidium 32e46fc067 (svn r15154) -Fix [FS#2555] (r15126): wrong tooltip for the matrix 16 years ago
rubidium 127d80d3f5 (svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set 16 years ago
rubidium 730ceecb8b (svn r15136) -Fix (r15126): (file) name could occasionally be wider than the download window causing glitches. 16 years ago
rubidium 1bc8e3f536 (svn r15135) -Fix/Change: allow str_validate (part of receiving strings from the network) to pass newlines instead of replacing them with question marks, but only when asked to do so. 16 years ago
rubidium 2ce42873d1 (svn r15134) -Fix (r15126): not selecting dependencies when pressing "select update" 16 years ago
rubidium 72b0341ed0 (svn r15126) -Feature: downloading content from a central server (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. 16 years ago
rubidium eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
peter1138 31a586dc6f (svn r15094) -Feature: Add support for IP range bans using CIDR notation. 16 years ago
rubidium 850a2735cc (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 16 years ago
rubidium 737c187f79 (svn r15053) -Cleanup: remove some unneeded includes 16 years ago
rubidium 01e92ac32a (svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information 16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 16 years ago
rubidium 054787f082 (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 16 years ago
belugas f0033f8003 (svn r14927) -Codechange: constify widget numbers in network chat gui. 16 years ago
rubidium 78c43297e2 (svn r14916) -Codechange: make it possible to send CommandContainers directly to DoCommand(P). 16 years ago
rubidium 0e1127e8b5 (svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too. 16 years ago
belugas da7da4c1c8 (svn r14914) -Documentation: Correct doxygen comment for file name. <nitpicked> by Swallow 16 years ago
rubidium 4df86694a7 (svn r14910) -Codechange: merge the command queue handling into a single location 16 years ago
rubidium 32d65845d4 (svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive or so. 16 years ago
rubidium 4231c3ee82 (svn r14897) -Codechange: don't allow a few command flags to be sent over the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
-Codechange: test earlier whether the command (send from the server) is actually valid.
16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
glx 06519a56f2 (svn r14816) -Fix: signed/unsigned warnings (MSVC) 16 years ago
rubidium 72d89337ee (svn r14804) -Codechange: unify opening the OSK (Zuu) 16 years ago
rubidium f55995f1ef (svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option. 16 years ago
rubidium 1892994ab2 (svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :( 16 years ago
rubidium b597e52e29 (svn r14770) -Fix: gracefully handle an invalid packet instead of asserting. 16 years ago
rubidium 42fb037005 (svn r14766) -Fix (r14730ish): remove unused typedef. 16 years ago
rubidium 0b806c7bbc (svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable. 16 years ago
rubidium 3b08d2ecaa (svn r14760) -Fix (rlongago): network connection of clients being closed twice (found due to added assertion in r14730) 16 years ago
rubidium 5fe023cb1b (svn r14759) -Fix (r14730): tab completion causing out-of-bounds read. 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium bf6ec8b19f (svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
16 years ago
rubidium 81f409e8e7 (svn r14733) -Fix (r14730): creating new companies didn't always work as expected. 16 years ago
rubidium 2b5362de13 (svn r14731) -Fix: don't initialise UDP multiple times without closing it. 16 years ago
rubidium 54f23ed0b3 (svn r14730) -Codechange: remove the need for networkclientsockets and 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.
16 years ago
rubidium 2576aceb21 (svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.
-Fix: don't show clients that are "only" in the lobby.
16 years ago
rubidium 4ce0e8ccce (svn r14727) -Codechange: replace some magic numbers with a constant. 16 years ago
rubidium b4f74d2e01 (svn r14726) -Fix (r14720): making new companies in network kinda failed... 16 years ago