Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-08 | Fix: Apply unscaled padding to Viewport inside WWT_INSET. (#9219) | PeterN | |
Since pixel dimensions in SetPadding() are scaled by GUI size, padding for inset viewports was excessive. Instead, automatically apply padding for WWT_INSET at widget level. This applies to all widgets inside a WWT_INSET, which in all instances is a NWID_VIEWPORT. | |||
2021-05-06 | Codechange: add DrawString(Multiline) that accepts std::string& | rubidium42 | |
2021-05-06 | Codechange: add SetDParamStr that accepts std::string& | rubidium42 | |
2021-04-30 | Fix: Scale cargo lines in industry chain window. | Peter Nelson | |
Replaces constant pixel values with values scaled based on font size. This allows the industry chain to maintain a consistent look across different sizes. Previously all except cargo line height were fixed. | |||
2021-04-30 | Fix: Scale industry chain legend blob by font size. | Peter Nelson | |
2021-04-30 | Fix: Scale legend blobs in Fund new industry window. | Peter Nelson | |
2021-02-19 | Codechange: Apply coding style | SamuXarick | |
2021-02-10 | Feature: Remove all industries button in scenario editor (#8550) | Kuhnovic | |
2021-01-22 | Feature: Allow GameScripts to add additional text to Industry view window | dP | |
2021-01-11 | Change: Relocate rename and location buttons in all windows. | frosch | |
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2020-12-27 | Codechange: Replace assert_compile macro with static_assert | Charles Pigott | |
2020-12-15 | Codechange: Make use of the improved C++17 emplace_back function. | Michael Lutz | |
2020-12-14 | Add: new economy "frozen" that stops production changes and industry ↵ | Pavel Stupnikov | |
closures (#8282) | |||
2020-09-25 | Fix 70f9c3c6: The *_filter_criteria variables contain an index, not a cargo. ↵ | stormcone | |
(#8320) | |||
2020-07-27 | Codechange: Spell 'Viewport' consistently | TechGeekNZ | |
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent. | |||
2020-06-01 | Codechange: remove has_newindustries global | Yexo | |
2020-06-01 | Codechange: replace custom timer and OnGameTick() with OnHundrethTick() | Yexo | |
2020-01-12 | Codechange: Use cached town, station, industry names for list window sorting | Jonathan G Rennison | |
This is to avoid needing to expensively regenerate name strings on every comparison when sorting by name in the town/station/industry list windows. | |||
2020-01-12 | Change: Only resort industry directory window on production change if necessary | Jonathan G Rennison | |
2020-01-07 | Fix: Non-deterministic name sorting in industry directory window | Jonathan G Rennison | |
In the case where multiple industries have the same name, sorting in the industry directory window is non-deterministic. This results in the order changing on each re-sort, and is noticeable when the industries have different production or transported values. | |||
2020-01-05 | Change: In the industry directory window an industry will be greyed out if ↵ | stormcone | |
it temporarily does not accept the cargo selected by the acceptance cargo filter. | |||
2020-01-05 | Change: Move the filtered cargo to the first place in the industry directory ↵ | stormcone | |
window's cargo lists | |||
2020-01-05 | Feature: Industry directory cargo filtering | stormcone | |
2019-12-21 | Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loops | glx | |
2019-11-13 | Fix #7631: 16 out cargo support for industry directory | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-10-19 | Codechange: Use std::vector for industry tile layouts | Niels Martin Hansen | |
2019-09-07 | Fix #7188: check the validity of command callback for scripts (#7701) | glx22 | |
2019-04-29 | Codechange: Remove Company/OwnerByte types | Charles Pigott | |
2019-04-18 | Codechange: use std::array for _sorted_industry_types | glx | |
2019-04-13 | Codechange: use std::sort() in GUIList | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-09 | Codechange: Switch DropDownList to directly use std::vector, thus making ↵ | Michael Lutz | |
AutoDeleteSmallVector obsolete. DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate copy-free code for most situations. | |||
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-24 | Codechange: Use override specifier in Window-derived classes. | peter1138 | |
2019-03-20 | Fix #7384: Industry Chain tooltips did not display on right-click. | peter1138 | |
This is fixed by handling the new Window::OnTooltip() event instead of OnHover() | |||
2019-01-19 | Fix 8859381: Display of requires/produces in Build Industry window | Niels 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-11 | Change: OnGameTick() is only called when not paused. | Peter Nelson | |
2019-01-11 | Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵ | Peter Nelson | |
timers to work with milliseconds instead of ticks. | |||
2018-11-03 | Fix: Industry chain window layout no more unnecessarily large when the ↵ | Niels Martin Hansen | |
number of cargoes in/out isn't large either | |||
2018-11-03 | Add: NewGRF support for 16-in-16-out industries | Niels Martin Hansen | |
2018-11-03 | Add: Industries can produce and accept up to 16 different cargoes | Niels Martin Hansen | |
2018-10-31 | Fix: Remove various dead or unnecessary assignments | Charles Pigott | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |