frosch
88a1b8c8d9
(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
75f0653bdf
(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
1bbf059934
(svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick().
14 years ago
frosch
83a94cd560
(svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero.
14 years ago
frosch
ec38c7d687
(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow.
14 years ago
frosch
ebb4f36f34
(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview.
14 years ago
frosch
a2ad453239
(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
221c1a259f
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
14 years ago
frosch
563afd0717
(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses.
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
alberth
a51d34c048
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
14 years ago
frosch
1bc01bc4b6
(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
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
4817d5dcd6
(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
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
rubidium
13fbe57957
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
14 years ago
alberth
9b10773428
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
14 years ago
alberth
15f407acea
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
14 years ago
alberth
5967b81124
(svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick.
14 years ago
alberth
a90c30d614
(svn r20397) -Feature: Display industry smallmap colour in the industry chain window.
14 years ago
alberth
9fed86a814
(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
03e8fe7c0e
(svn r20386) -Fix: Initialize fund-industry buttons when opening window.
14 years ago
alberth
5f9d74467f
(svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
alberth
3cd9351618
(svn r20241) -Codechange: Move variable declarations to their first use.
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
b378deff33
(svn r20216) -Fix: Increase scrolling speed of industry cargoes window, enlarge height slightly so small chains fit by default.
14 years ago
alberth
3dc9989841
(svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too.
14 years ago
alberth
a5e0362851
(svn r20209) -Add: Allow access to the industry cargoes window from the fund industry window.
14 years ago
alberth
76a00e51ad
(svn r20208) -Add: Allow access of the industry cargoes window from the industry view window.
14 years ago
alberth
6490c06a66
(svn r20207) -Codechange: Move variable declaration to first use.
14 years ago
alberth
b4358056ee
(svn r20206) -Feature: Display suppliers and customers of an industry or cargo.
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
60b93f5c69
(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld
14 years ago
frosch
4da8f78f5b
(svn r20086) -Add: Textstack support for CB 38.
14 years ago
frosch
a5bea603ea
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
15 years ago
frosch
ee53807e51
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
15 years ago
rubidium
cb92cdf975
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
15 years ago
frosch
b4a9e9cadc
(svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries.
15 years ago
yexo
1c9877b0c7
(svn r19538) -Fix: sorting industries by production was broken for newgrf industries
15 years ago
terkhen
a68f917179
(svn r19522) -Feature: Sort industries alphabetically at the fund new industry window.
15 years ago
terkhen
bda9ad98c1
(svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array.
15 years ago
alberth
68213d25ab
(svn r19423) -Codechange: Move error message reporting of industry build in SE to a callback.
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
yexo
edf2fd1433
(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" in the scenario editor the "build" button wasn't enabled
15 years ago
rubidium
1c468db7d5
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago