summaryrefslogtreecommitdiff
path: root/src/network/network_gui.cpp
AgeCommit message (Collapse)Author
2009-04-15(svn r16065) -Fix: don't readd (and resolve) the last joined server each ↵rubidium
time the window gets repainted
2009-04-08(svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and ↵rubidium
NETWORK_CLIENT_NAME_LENGTH for the length of client names.
2009-04-08(svn r15982) -Codechange: use GetAddressAsString to get the name instead of ↵rubidium
passing the hostname and the IP into a string.
2009-04-04(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress ↵rubidium
client_address.
2009-04-03(svn r15931) -Codechange: let the host and ban lists use of SmallVector.rubidium
2009-04-02(svn r15916) -Codechange: let the network game list use NetworkAddressrubidium
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-23(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace ↵yexo
it with WWT_DROPDOWN.
2009-03-22(svn r15822) -Codechange: replace some magic numbers and improve alignment ↵rubidium
of the start server window.
2009-03-22(svn r15820) -Codechange: Some windows using nested widgetsalberth
2009-03-22(svn r15812) -Codechange: use the new DrawString API in another set of GUIsrubidium
2009-03-21(svn r15794) -Codechange: remove the DoDrawString part of the old text ↵rubidium
drawing API
2009-03-21(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.rubidium
2009-03-21(svn r15788) -Codechange: enumify the network join status widgets and use them.rubidium
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-21(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windowsglx
2009-03-21(svn r15782) -Codechange: replace some calls to the all text drawing API to ↵rubidium
the new one.
2009-03-15(svn r15726) -Codechange: unify coding style for const pointerssmatz
2009-03-15(svn r15724) -Codechange: some widget documentation/fixing of enumified ↵rubidium
constant names (Alberth)
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
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