Commit Graph

269 Commits

Author SHA1 Message Date
frosch 22286bd7b6 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
terkhen 10caf391a1 (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch 652c9cb663 (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 2011-03-13 21:34:21 +00:00
frosch ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
frosch 77d1dcb926 (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. 2011-03-08 20:52:59 +00:00
alberth 4364cec392 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 2011-02-06 18:26:50 +00:00
alberth d84502c432 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 2011-02-06 18:11:39 +00:00
alberth 1e65afc62a (svn r21927) -Change: Comment-style fixes. 2011-01-30 12:58:54 +00:00
rubidium 8017c2a3d7 (svn r21909) -Fix: some missing spaces 2011-01-26 08:14:36 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
alberth 22a13850cb (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 2010-12-30 13:16:31 +00:00
alberth 852e647bcc (svn r21627) -Codechange: Remove _place_proc global variable. 2010-12-24 15:08:19 +00:00
rubidium a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
terkhen 77cb1b7e06 (svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window. 2010-12-04 22:54:11 +00:00
terkhen 75f86a7a21 (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
terkhen f2cc73bb51 (svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name. 2010-11-27 22:42:24 +00:00
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
alberth df7a32d364 (svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille). 2010-10-23 20:51:48 +00:00
alberth cccbc8f418 (svn r21019) -Add: Use center of industry to focus on in the industry gui. 2010-10-23 20:34:12 +00:00
planetmaker c2a7b82a9f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 2010-10-19 21:48:20 +00:00
frosch 510ef76386 (svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most NewGRF industries.
The NewGRF either has to use properties 12/13, or it needs to set property 0B to 'primary industry'.
 So it will not work for bank-like industries which use pure production-callback production.
2010-10-04 20:20:50 +00:00
frosch c49debbe63 (svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing production rates does not work (anymore), so allow changing the production multiplier instead. 2010-10-04 20:12:38 +00:00
frosch 286aba3492 (svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick(). 2010-10-04 20:00:23 +00:00
frosch 168b0a733f (svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero. 2010-10-04 19:45:27 +00:00
frosch 566ba0fccc (svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow. 2010-10-04 19:35:40 +00:00
frosch a0a51c2ac1 (svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview. 2010-10-04 19:14:43 +00:00
frosch 22842fe035 (svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows. 2010-10-03 15:49:44 +00:00
frosch ce83378e3d (svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists. 2010-09-22 19:47:01 +00:00
frosch e4091f16d0 (svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses. 2010-09-05 19:46:04 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
alberth 35fec79700 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 2010-08-15 14:06:43 +00:00
frosch bdb4ae940d (svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions. 2010-08-15 10:14:08 +00:00
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
frosch 71ca58c2bb (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
rubidium 10ced06205 (svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits 2010-08-10 16:17:51 +00:00
alberth 7ad1f5ccef (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 2010-08-08 11:21:24 +00:00
alberth 2fa665114e (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 2010-08-08 11:17:14 +00:00
alberth e1e8e245a0 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 2010-08-08 11:02:57 +00:00
alberth f5d972cade (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 2010-08-07 20:36:23 +00:00
alberth 16dfc7a04d (svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'. 2010-08-06 12:23:44 +00:00
alberth d9c9ae8fcf (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 2010-08-06 12:19:01 +00:00
alberth 3ca0ed3e82 (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 2010-08-06 12:12:20 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth 2dd77d0ef9 (svn r20241) -Codechange: Move variable declarations to their first use. 2010-07-30 10:39:24 +00:00
alberth 4203e641f8 (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00