Commit Graph

255 Commits (fd2f1399d4d1f319cc313045e06dabb530cbe007)

Author SHA1 Message Date
terkhen 75f86a7a21 (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 14 years ago
terkhen f2cc73bb51 (svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name. 14 years ago
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
alberth df7a32d364 (svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille). 14 years ago
alberth cccbc8f418 (svn r21019) -Add: Use center of industry to focus on in the industry gui. 14 years ago
planetmaker c2a7b82a9f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 14 years ago
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.
14 years ago
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. 14 years ago
frosch 286aba3492 (svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick(). 14 years ago
frosch 168b0a733f (svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero. 14 years ago
frosch 566ba0fccc (svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow. 14 years ago
frosch a0a51c2ac1 (svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview. 14 years ago
frosch 22842fe035 (svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows. 14 years ago
frosch ce83378e3d (svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists. 14 years ago
frosch e4091f16d0 (svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses. 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
alberth 35fec79700 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
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. 14 years ago
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
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.
14 years ago
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
rubidium 10ced06205 (svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits 14 years ago
alberth 7ad1f5ccef (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 14 years ago
alberth 2fa665114e (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 14 years ago
alberth e1e8e245a0 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 14 years ago
alberth f5d972cade (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 14 years ago
alberth 16dfc7a04d (svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'. 14 years ago
alberth d9c9ae8fcf (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 14 years ago
alberth 3ca0ed3e82 (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth 2dd77d0ef9 (svn r20241) -Codechange: Move variable declarations to their first use. 14 years ago
alberth 4203e641f8 (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
alberth b59a6a53de (svn r20216) -Fix: Increase scrolling speed of industry cargoes window, enlarge height slightly so small chains fit by default. 14 years ago
alberth 645b6ce773 (svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too. 14 years ago
alberth a9b492c050 (svn r20209) -Add: Allow access to the industry cargoes window from the fund industry window. 14 years ago
alberth 27dba2b3b2 (svn r20208) -Add: Allow access of the industry cargoes window from the industry view window. 14 years ago
alberth f601259f46 (svn r20207) -Codechange: Move variable declaration to first use. 14 years ago
alberth 85c775e7f3 (svn r20206) -Feature: Display suppliers and customers of an industry or cargo. 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 73527b7b45 (svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld 14 years ago
frosch edcc7f3cbc (svn r20086) -Add: Textstack support for CB 38. 14 years ago
frosch 1d3adb2b66 (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch 9db3cde73a (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch ca9a015984 (svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries. 14 years ago
yexo 316384a26f (svn r19538) -Fix: sorting industries by production was broken for newgrf industries 14 years ago