summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-12(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window ↵rubidium
got closed
2010-12-04(svn r21389) -Feature: Use alphabetical order when sorting industries by ↵terkhen
type at the industry directory window.
2010-11-27(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.terkhen
2010-11-27(svn r21341) -Add: Use the complete industry name instead of only the town ↵terkhen
when sorting industries by name.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-23(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after ↵alberth
resize (partly by Krille).
2010-10-23(svn r21019) -Add: Use center of industry to focus on in the industry gui.alberth
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.