Commit Graph

186 Commits

Author SHA1 Message Date
rubidium 7086bb3017 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 2011-02-04 15:37:23 +00:00
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
terkhen 9df9575e72 (svn r21806) -Codechange: Correct additional appearances of the same typo. 2011-01-15 16:27:04 +00:00
terkhen 98e0a17c47 (svn r21805) -Codechange: Correct a typo. 2011-01-15 15:58:03 +00:00
alberth 7d989073d4 (svn r21627) -Codechange: Remove _place_proc global variable. 2010-12-24 15:08:19 +00:00
alberth 38a59fb3f3 (svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing of areas. 2010-12-23 14:38:01 +00:00
alberth b78387b68d (svn r21545) -Codechange: Replace the callback by another switch. 2010-12-20 13:19:59 +00:00
alberth 5a75937649 (svn r21544) -Codechange: Fold the small static click functions into the switch. 2010-12-20 13:17:54 +00:00
alberth 7ad959b4bc (svn r21543) -Codechange: Remove _build_docks_button_proc array. 2010-12-20 13:16:22 +00:00
rubidium 0f52366443 (svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels 2010-12-11 19:49:44 +00:00
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
terkhen f12391dcb0 (svn r20932) -Add [FS#4153]: Highlight all destination tiles when building a lock. (uni657) 2010-10-15 19:14:43 +00:00
terkhen 0a8adab770 (svn r20931) -Document: Waterways toolbar click functions. 2010-10-15 19:05:17 +00:00
terkhen 6c9580d6d0 (svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when the first vehicle of their type becomes available. 2010-09-28 21:58:06 +00:00
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium 71118b60ec (svn r20438) -Fix [FS#4022]: for docks "facing" north, i.e. having the watery part a the northern side, the joiner had an off-by-one to the north w.r.t. the station spread against the actual other (correct) building tools 2010-08-10 16:13:51 +00:00
frosch d19a8038f4 (svn r20071) -Codechange: Consistently return the toolbar window for ShowBuildXxxToolbar(). 2010-07-04 09:27:15 +00:00
yexo d96aa7abfa (svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03 21:43:44 +00:00
yexo 4cac42fa43 (svn r20063) -Feature: customizable hotkeys for the dock toolbar 2010-07-03 18:18:58 +00:00
frosch 099f734be9 (svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL. 2010-04-17 23:34:00 +00:00
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium 26b203e3ff (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 2009-11-28 15:01:49 +00:00
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium 877307a0eb (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 2009-11-28 14:36:43 +00:00
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
rubidium 12294c9426 (svn r18216) -Codechange: make the scenario editor dock tool big font aware 2009-11-22 12:24:33 +00:00
rubidium f106bbbe5c (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 2009-11-22 11:20:12 +00:00
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium a906b4bf8e (svn r18061) -Fix: glitches with the dock GUI when the title is very long 2009-11-13 19:46:12 +00:00
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium 5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
rubidium 3321f45246 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 2009-07-26 21:07:03 +00:00
alberth 2399f91f62 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 2009-07-21 22:25:21 +00:00
alberth d79a1543bc (svn r16895) -Codechange: Build dock window uses nested widget tree. 2009-07-21 10:46:32 +00:00
alberth a591dc6c8c (svn r16893) -Codechange: Ship depot build window uses nested widget tree. 2009-07-20 19:45:12 +00:00
alberth 8af9329010 (svn r16891) -Codechange: Docks toolbar uses nested widget tree. 2009-07-20 18:43:02 +00:00
yexo bd8f92d3ff (svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows. 2009-07-10 22:03:09 +00:00
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 2009-05-17 01:00:56 +00:00
rubidium 08655368eb (svn r16297) -Codechange: silence more ICC warnings 2009-05-13 17:39:00 +00:00
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. 2009-04-21 23:40:56 +00:00