Commit Graph

140 Commits (ec97e1fd0d6ca942805fa25d94007437bc0ed952)

Author SHA1 Message Date
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 054787f082 (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 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 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 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 768fdee77a (svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/ 16 years ago
rubidium 9a96557763 (svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used) 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
rubidium 6d23f48bb6 (svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays. 16 years ago
rubidium ed649dddba (svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based on the maximum number of clients, not the maximum number of companies. 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 db1fd2e085 (svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers. 16 years ago
glx 48a047d73b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 16 years ago
frosch ee393d5693 (svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window. 16 years ago
rubidium 040950f56e (svn r14517) -Feature: arrow key scrolling in the server list (Roujin) 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 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 f49d5057ee (svn r14390) -Codechange: replace magic constants with symbolic constants. 16 years ago
smatz ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
smatz 97b1eb2c6f (svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work 16 years ago
smatz 3c5ab035d8 (svn r14209) -Feature(tte): doubleclick to join selected server/company 16 years ago
rubidium 31d69a49e8 (svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support. 16 years ago
rubidium 122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
belugas 98d8501278 (svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
Mostly forgotten ones.
16 years ago
belugas 1648da0e47 (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 16 years ago
rubidium 59d815b391 (svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios. 16 years ago
rubidium 6ecfaa5c84 (svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus. 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium 5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
rubidium 35f3284a60 (svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
16 years ago
glx f4b1d4b48b (svn r13380) -Fix (r13327): MSVC signed/unsigned warning 16 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.
16 years ago
skidd13 f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
16 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. 16 years ago
rubidium 02dbab8721 (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 16 years ago
smatz 713923cd7e (svn r13330) -Fix: 'Player name' dialog was broken in two ways 16 years ago
skidd13 c624a20a32 (svn r13328) -Fix (r13327): Don't access an item when there isn't any 16 years ago
skidd13 73cf52a7c4 (svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now 16 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. 16 years ago
peter1138 44dd8955d1 (svn r13291) -Fix (r13266): qsort passed wrong sizeof data 16 years ago
peter1138 781b90ac91 (svn r13266) -Codechange: Use SmallVector in GUIList 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium a21d3fc63b (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 16 years ago
rubidium d284ba2283 (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 16 years ago
rubidium ad6e52080c (svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago