summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2019-01-19Fix 8859381: Display of requires/produces in Build Industry windowNiels Martin Hansen
Change the window to use a dynamically generated string of cargoes, instead of one of a few fixed-length lists. With up to 16 cargoes on each list, having 16 with the only difference how many are listed seems like a bad maintenance idea.
2019-01-11Change: OnGameTick() is only called when not paused.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-11-03Fix: Industry chain window layout no more unnecessarily large when the ↵Niels Martin Hansen
number of cargoes in/out isn't large either
2018-11-03Add: NewGRF support for 16-in-16-out industriesNiels Martin Hansen
2018-11-03Add: Industries can produce and accept up to 16 different cargoesNiels Martin Hansen
2018-10-31Fix: Remove various dead or unnecessary assignmentsCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2017-12-27(svn r27952) -Change: Reword texts in industry view, when stockpiling is used.frosch
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-02-26(svn r27751) -Feature: Display cargo suffix of accepted cargoes in industry ↵alberth
view based on cb37 result type. Industry-sets that have no stockpiling get better control over the displayed accepted cargo information. - result 0401 only prints the accepted cargo - results 0800-0BFF prints the accepted cargo and a string (but not the amount)
2017-02-26(svn r27750) -Codechange: Add cb37 result type to the cargo suffix.alberth
2017-02-26(svn r27749) -Codechange: Fold cb37 cargo suffix text in a structure.alberth
2015-05-09(svn r27277) -Codechange: Make _displayed_industries a std::bitset.frosch
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-08-09(svn r26723) -Fix[FS#5997]: Properly check for cargo acceptance of houses.alberth
2014-06-20(svn r26656) -Fix [FS#6044]: Production cheat cannot not be allowed to be ↵planetmaker
active in multiplayer for desync reasons, even when activated in singleplayer previously
2014-06-10(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.frosch
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-12(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-11-24(svn r26080) -Fix: possible out of bounds array accessrubidium
2013-10-12(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.frosch
2013-08-18(svn r25732) -Fix: In BuildIndustryWindow in RTL mode, draw industry color ↵frosch
icon at the right. (sbr)
2013-08-10(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0fonsinchen
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-05-12(svn r25238) -Feature: Display imminent closure of an industry in its view ↵alberth
window.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2012-11-25(svn r24764) -Change: Disable horizontal resizing of the industry chain ↵alberth
window, it's not useful.
2012-11-25(svn r24763) -Feature: Add industry type and cargo dropdown selection for ↵alberth
easier navigating in the industry chain window.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-07-10(svn r24395) -Doc: Fixed argument references in @param descriptions.alberth
2012-06-01(svn r24310) -Codechange: Add named constants for the dimensions of settings ↵frosch
buttons, and generally make their usage more consistent.
2012-06-01(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.hfrosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23706) -Codechange: prevent 'unknown command' doxygen errorssmatz
2011-12-16(svn r23534) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-08(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to ↵frosch
use instead of property 18.
2011-11-08(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks ↵frosch
returning D0xx texts.
2011-08-06(svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour.frosch