Commit Graph

783 Commits (0571d871d4b418a4dba85879be5bd34e4a6a22fd)

Author SHA1 Message Date
frosch a7e486360d (svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions. 14 years ago
frosch cb2b666229 (svn r20951) -Codechange: Add SmallMap::Contains() and use it. 14 years ago
rubidium cac1a9f33f (svn r20939) -Fix: some MSVC warnings 14 years ago
rubidium b6799a23c4 (svn r20938) -Codechange: make the code for listening on a socket (more) reusable 14 years ago
rubidium a0f7099a7d (svn r20937) -Codechange: move some variables from client/server to server only 14 years ago
rubidium 332a1bfdea (svn r20936) -Codechange: make server side packet sending methods class methods 14 years ago
rubidium 66087c5e60 (svn r20935) -Codechange: only let the server side use a pool of connected sockets 14 years ago
rubidium 04ce759165 (svn r20934) -Codechange: move NetworkGetClientName to the server's socket 14 years ago
rubidium 1ae97e4d0e (svn r20933) -Codechange: move some more client related methods and such to network_client.cpp 14 years ago
rubidium f9c53fc9bb (svn r20930) -Codechange: simplify the socket handler allocation 14 years ago
rubidium 6ff39fc5ec (svn r20929) -Codechange: make NetworkCloseClient a class method 14 years ago
rubidium 8f4638ed0f (svn r20925) -Codechange: make the client send commands have a slightly more sensible name 14 years ago
rubidium 41e6567c0d (svn r20924) -Codechange: make the game connection packet handling look more like UDP/content packet handling 14 years ago
rubidium 594faf45d9 (svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side 14 years ago
frosch 46acb837eb (svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news. 14 years ago
frosch 41dac2e579 (svn r20719) -Codechange: Remove some hardcoded iconsizes. 14 years ago
yexo faccfb921d (svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible 14 years ago
yexo 5192a7c90c (svn r20692) -Fix [FS#4055]: crash after downloading missing content 14 years ago
alberth 2b4da1d345 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 14 years ago
alberth 0439025e74 (svn r20678) -Codechange: Remove unused NetworkFindClientInfoFromIndex(), NetworkFindClientInfoFromIP(). 14 years ago
alberth e45a8f61cc (svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 6d3c747d05 (svn r20553) -Feature: allow rate limiting of incoming commands 14 years ago
rubidium 8f82b2b588 (svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server) 14 years ago
rubidium 3ed6ca0aed (svn r20548) -Codechange: rename some variables giving them slightly more meaningful names 14 years ago
rubidium 27e45d96a4 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 14 years ago
rubidium 8a9929d702 (svn r20542) -Codechange: generalise the setting of "p2" to the ClientID. 14 years ago
rubidium 6f81fa7215 (svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n) 14 years ago
alberth a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
rubidium 71498d6d79 (svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 4817d5dcd6 (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
alberth 2182b44bb6 (svn r20291) -Codechange: Unify break coding style. 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth 603c33efc1 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 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
terkhen c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
frosch 13a46514a7 (svn r20089) -Fix [FS#3932]: Access of already freed memory, esp. due to hidden destructor call from Swap(). 14 years ago
rubidium 5003a7e311 (svn r20082) -Fix [FS#3899]: reading deleted memory when selecting a NewGRF in the content download window of which the data has not been acquired from the content server. The crash would occur after the content server's reply was processed and the ContentInfo object was replaced with another. 14 years ago
alberth c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 14 years ago
rubidium 858bd09623 (svn r20035) -Fix [FS#3909]: under some circumstances you could get into an infinite loop 14 years ago
michi_cc a8864b2296 (svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well. 14 years ago