Commit Graph

186 Commits (53ae829b0bef4624ff8588552437f4fa31ef7edd)

Author SHA1 Message Date
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz d87206b6f7 (svn r16288) -Fix (r16237): crash after clicking in the ClientList window 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
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
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 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 b34eb75c11 (svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted 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 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 a76218eab9 (svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address. 15 years ago
rubidium bc7a870a61 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 15 years ago
rubidium 785779ca62 (svn r15916) -Codechange: let the network game list use NetworkAddress 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
yexo d8a0e59b9d (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 15 years ago
rubidium 0e96b7b7c0 (svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window. 15 years ago
alberth 8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 15 years ago
rubidium 2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 15 years ago
rubidium a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 15 years ago
rubidium 89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 15 years ago
rubidium 2f1bfe3813 (svn r15788) -Codechange: enumify the network join status widgets and use them. 15 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 15 years ago
glx 583c756679 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 15 years ago
rubidium b3b4be2dde (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 15 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
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
smatz 154b4da4cc (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 16 years ago
rubidium 9e3449ecc9 (svn r15605) -Codechange: constify a function 16 years ago
yexo 7e818f0456 (svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum. 16 years ago
smatz 3707a11e5e (svn r15571) -Fix: incorrect use of memset 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 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
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 12ff4cf083 (svn r15162) -Fix: the join status window didn't get properly created 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 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
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 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