summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2010-10-19(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could ↵planetmaker
be too small
2010-10-04(svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most ↵frosch
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(svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing ↵frosch
production rates does not work (anymore), so allow changing the production multiplier instead.
2010-10-04(svn r20899) -Codechange: Switch order of if-tests in ↵frosch
IndustryViewWindow::OnClick().
2010-10-04(svn r20898) -Change: When entering a production rate, round to nearest ↵frosch
possible rate instead towards zero.
2010-10-04(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a ↵frosch
member variable of IndustryViewWindow.
2010-10-04(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the ↵frosch
industryview.
2010-10-03(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to ↵frosch
alter industry production did not work for large industry windows.
2010-09-22(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines ↵frosch
like other lists.
2010-09-05(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check ↵frosch
climate-availability of houses.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-15(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and ↵frosch
255 constants are used all over the place, no need for trivial wrapper functions.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
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(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-10(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then ↵rubidium
converting it to 64 bits
2010-08-08(svn r20415) -Add: Clicking at the smallmap disables updates from the ↵alberth
industry chain window.
2010-08-08(svn r20414) -Feature: Enable industries in the smallmap displayed in the ↵alberth
industry chain window.
2010-08-08(svn r20412) -Codechange: Replace an if by a switch in ↵alberth
IndustryCargoesWindow::OnClick.
2010-08-07(svn r20397) -Feature: Display industry smallmap colour in the industry ↵alberth
chain window.
2010-08-06(svn r20387) -Fix [FS#4000]: Allow the industry-chain button for ↵alberth
non-fundable industries, and disallow for the 'many random industries'.
2010-08-06(svn r20386) -Fix: Initialize fund-industry buttons when opening window.alberth
2010-08-06(svn r20385) -Codechange: Move updating of buttons in the fund-industry ↵alberth
window to a method.
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-30(svn r20241) -Codechange: Move variable declarations to their first use.alberth
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-25(svn r20216) -Fix: Increase scrolling speed of industry cargoes window, ↵alberth
enlarge height slightly so small chains fit by default.
2010-07-23(svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too.alberth
2010-07-23(svn r20209) -Add: Allow access to the industry cargoes window from the fund ↵alberth
industry window.
2010-07-23(svn r20208) -Add: Allow access of the industry cargoes window from the ↵alberth
industry view window.
2010-07-23(svn r20207) -Codechange: Move variable declaration to first use.alberth
2010-07-23(svn r20206) -Feature: Display suppliers and customers of an industry or cargo.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
2010-07-07(svn r20086) -Add: Textstack support for CB 38.frosch
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-04-23(svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly ↵frosch
and cancel object placement when selecting not available industries.
2010-04-02(svn r19538) -Fix: sorting industries by production was broken for newgrf ↵yexo
industries
2010-03-28(svn r19522) -Feature: Sort industries alphabetically at the fund new ↵terkhen
industry window.
2010-03-28(svn r19521) -Codechange: Use a IndustryType array to sort industries by ↵terkhen
name instead of a LegendAndColour array.
2010-03-14(svn r19423) -Codechange: Move error message reporting of industry build in ↵alberth
SE to a callback.
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-20(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" ↵yexo
in the scenario editor the "build" button wasn't enabled
2010-02-10(svn r19087) -Codechange: some typos in StringIDsrubidium
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().