summaryrefslogtreecommitdiff
path: root/src/network/network_gui.cpp
AgeCommit message (Collapse)Author
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-11(svn r15669) -Change: Key presses that are not handles by an input box are ↵yexo
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.
2009-03-06(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list ↵smatz
window crashed the server
2009-03-04(svn r15605) -Codechange: constify a functionrubidium
2009-02-25(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't ↵yexo
hardcode the values for that enum.
2009-02-24(svn r15571) -Fix: incorrect use of memsetsmatz
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15424) -Codechange: make it possible to have multiple windows with ↵rubidium
edit box open simultaniously (Zuu).
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
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.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-20(svn r15162) -Fix: the join status window didn't get properly createdrubidium
2009-01-20(svn r15157) -Codechange: wrap the hostname/ip and port into a single ↵rubidium
structure so we can pass either one of them and not convert an ip to a string and then back again.
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(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.
2009-01-16(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes ↵rubidium
strings.
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-09(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with ↵rubidium
spaces
2009-01-03(svn r14816) -Fix: signed/unsigned warnings (MSVC)glx
2009-01-03(svn r14804) -Codechange: unify opening the OSK (Zuu)rubidium
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(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.
2008-12-23(svn r14730) -Codechange: remove the need for networkclientsockets and ↵rubidium
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.
2008-12-23(svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.rubidium
-Fix: don't show clients that are "only" in the lobby.
2008-12-23(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/rubidium
2008-12-23(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and ↵rubidium
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)
2008-12-22(svn r14712) -Codechange: split server and client side w.r.t. the storage of ↵rubidium
network related company information.
2008-12-22(svn r14709) -Codechange: make a clearer distinction between 'unique' client ↵rubidium
identification ids and the indices into the clients/client info arrays.
2008-11-17(svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based ↵rubidium
on the maximum number of clients, not the maximum number of companies.
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-28(svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure ↵rubidium
they will not overflow their buffers.
2008-10-25(svn r14534) -Codechange [FS#2382]: Enumify magic return values of ↵glx
HandleEditBox function (Zuu)
2008-10-25(svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window.frosch
2008-10-22(svn r14517) -Feature: arrow key scrolling in the server list (Roujin)rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-09-02(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't worksmatz
2008-08-31(svn r14209) -Feature(tte): doubleclick to join selected server/companysmatz
2008-08-11(svn r14047) -Codechange: move chatmessage handling to the network directory ↵rubidium
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-08-11(svn r14046) -Codechange: make the size of querystring "widgets" more ↵rubidium
configurable.
2008-08-03(svn r13970) -Codechange: Replace numbers with Colours enum on network, ↵belugas
toolbar and dropdown guis. Mostly forgotten ones.
2008-08-01(svn r13907) -Codechange: Replace a number with Colours enum on ↵belugas
DrawFrameRect usage
2008-07-23(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the ↵rubidium
"start server window"'s list of scenarios.
2008-07-18(svn r13732) -Feature: add a few extra columns with information to the ↵rubidium
server list. Patch by Pegasus.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
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'.
2008-06-09(svn r13433) -Codechange: remove a now useless global variable.rubidium
-Fix: MP advertising was not advertising.