Commit Graph

209 Commits

Author SHA1 Message Date
smatz 10d1ef5447 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 2009-05-22 15:23:47 +00:00
frosch 5507a5b233 (svn r16342) -Feature(tte): Display base graphics description in game options window. 2009-05-17 18:21:21 +00:00
yexo 31eff1d4c3 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 2009-05-15 23:55:06 +00:00
rubidium 5f81ba886c (svn r16297) -Codechange: silence more ICC warnings 2009-05-13 17:39:00 +00:00
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
alberth d0655084e0 (svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows. 2009-04-26 07:43:19 +00:00
rubidium 802d31aab6 (svn r16144) -Fix (r16129): setting the custom digit grouping separator required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators. 2009-04-25 20:16:56 +00:00
alberth 55336c4a9d (svn r16142) -Codechange: Use widgets in the custom currency window. 2009-04-25 17:51:10 +00:00
rubidium 59d45a04d6 (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. 2009-04-21 23:40:56 +00:00
alberth a2a2b183a5 (svn r16082) -Codechange: Completed the widget numbers of the advanced settings window. 2009-04-18 15:31:49 +00:00
rubidium 5790293af6 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 2009-04-12 14:11:14 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
yexo e02d31cd3a (svn r15874) -Codechange: New widgets for the game options window. 2009-03-28 11:17:38 +00:00
yexo e701019992 (svn r15868) -Codechange: remove the close box from the widget array instead of doing it in the constructor of the difficulty window. This makes it work again in rtl languages. 2009-03-28 02:54:40 +00:00
yexo 4a4ee9fb37 (svn r15866) -Codechange: New widgets for the difficulty window. 2009-03-28 02:11:41 +00:00
rubidium 716fa8b501 (svn r15840) -Codechange: complete the game option window widget enum and unify the naming. 2009-03-25 00:08:47 +00:00
yexo 84fb615344 (svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible. 2009-03-24 20:03:02 +00:00
yexo b61a681f02 (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 2009-03-23 00:08:59 +00:00
rubidium 9038733f1a (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 2009-03-22 14:39:20 +00:00
rubidium f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
rubidium 9003641095 (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
rubidium 45f189fdca (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium 7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
2009-03-02 22:57:47 +00:00
yexo 2860399397 (svn r15570) -Fix: Too long strings in the advanced settings window are now truncated. 2009-02-24 22:23:47 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium 986224519a (svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling. 2009-02-08 17:46:08 +00:00
peter1138 748d4d2fb9 (svn r15412) -Fix: Clearing custom engine names could cause desyncs due to be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented. 2009-02-08 12:58:14 +00:00
rubidium 377ce6c5bf (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 2009-02-08 12:25:13 +00:00
peter1138 967491a22d (svn r15389) -Feature: Add ability to select which base graphics set is used from the Game Options window. The change takes effect when the window is closed. This option can only be used from the intro menu, as reloading graphics during a game may cause issues. 2009-02-07 01:01:02 +00:00
smatz 832e392855 (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-04 20:17:25 +00:00
rubidium 09fca459a7 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 2009-02-04 16:09:16 +00:00
peter1138 6899955b0c (svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40. 2009-01-31 21:27:36 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
peter1138 c57f5ed668 (svn r15238) -Fix (r15236): Missed a file 2009-01-23 21:05:25 +00:00
Yexo db3ee34b44 (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 2009-01-21 02:31:55 +00:00
Yexo 8fabd3982d (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 2009-01-19 01:16:50 +00:00
truebrain a3dd7506d3 (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
2009-01-12 17:11:45 +00:00
rubidium 7947e78daa (svn r14999) -Change [FS#2523]: move service at helipad to the servicing options 2009-01-12 00:06:22 +00:00
rubidium f6f6f15604 (svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered 2009-01-10 19:48:11 +00:00
rubidium 238c0a5d1f (svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window 2009-01-10 19:22:05 +00:00
rubidium 496f6aed3c (svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth) 2009-01-10 17:35:19 +00:00
rubidium 8e42e20ebe (svn r14973) -Codechange: recursively fold subpages (Alberth) 2009-01-10 17:27:11 +00:00
rubidium 7039c84c6a (svn r14970) -Change: move all (patch) settings to a single "page" (Alberth) 2009-01-10 17:14:59 +00:00
rubidium 8ad56c4229 (svn r14969) -Codechange: make drawing trees possible (Alberth) 2009-01-10 17:13:41 +00:00
rubidium 52108959c9 (svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth) 2009-01-10 16:51:27 +00:00
rubidium d6d8411a5f (svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth) 2009-01-10 16:49:30 +00:00
rubidium eec72275f1 (svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth) 2009-01-10 16:46:10 +00:00
rubidium 1fbc41f1fd (svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth) 2009-01-10 16:44:51 +00:00