summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2020-01-12Codechange: Use cached town name for town list window filteringJonathan G Rennison
2020-01-12Codechange: Use cached town, station, industry names for list window sortingJonathan 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-12Change: Only resort town directory window on population change if necessaryJonathan G Rennison
2020-01-07Fix 196d5868: Always apply filter on town directory rebuildglx
2019-12-21Codechange: Replace FOR_ALL_TOWNS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-30Fix: clang and MSVC warnings (glx)Charles Pigott
2019-09-07Fix #7188: check the validity of command callback for scripts (#7701)glx22
2019-08-17Add #6887: Option to show zone inside local authority boundary of townsGabda
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually
2019-07-22Feature: Town name filtering (#7621)TELK
2019-04-27Fix 81d335b: Coverage button missing from town window in scenario editor.peter1138
2019-04-25Feature: Add station coverage area display for towns.peter1138
2019-04-13Codechange: use std::sort() in GUIListglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-03-13Cleanup: Remove questionable syntax in town rating displayJohannes E. Krause
2018-06-23Feature #4186: Append '(City)' behind cities in the town directory (sbr)Alberth289346
2018-06-04Change: Use name of cargo instead of Passengers/Mail in town statistics. (#6801)PeterN
* Change: Use name of cargo instead of Passengers/Mail in town statistics. * Cleanup: Remove strings from all language files.
2018-05-02Change: Switch town growth rate and counter to actual game ticks (#6763)Pavel Stupnikov
2018-04-30Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.J0an Josep
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2016-05-22(svn r27577) -Fix [FS#6386]: Dock and roadstop picker, client list and town ↵frosch
authority window did not auto-resize according to their content when they were positioned at the bottom of the screen. (Eearslya)
2015-07-26(svn r27341) -Fix [FS#6332]: Do not rerandomise the town name when only ↵frosch
cost-estimating the founding.
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-09-20(svn r26859) -Fix [FS#6119]: Height computation of game script text in town ↵frosch
GUI did not consider margins.
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-03-23(svn r26422) -Fix [FS#5946]: Some road constructions used the rail sound ↵frosch
effect. Rename the enum items to properly reflect their purpose.
2013-10-28(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is ↵frosch
not tied to funding a town.
2013-07-27(svn r25630) -Fix [FS#5666]: city list sort of population and rating are ↵rubidium
reversed compared to the icon
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-03-17(svn r25097) -Feature[FS#5288]: Add sorting on rating for the town directory ↵alberth
window (based on work by sbr).
2013-03-17(svn r25096) -Feature: Do descending sort order on population by default, ↵alberth
and stabilize sort of equally populated towns.
2013-03-17(svn r25095) -Codechange: Immediately save the sort order of the town ↵alberth
directory instead of when closing the window.
2013-03-17(svn r25094) -Feature: Introduce dropdown for selecting the sort criterion ↵alberth
in the town directory window (sbr)
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-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-14(svn r24747) -Fix: Some editboxes had a different colour than the rest of ↵frosch
the window.
2012-11-14(svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵frosch
QueryStrings per widget instead.
2012-11-14(svn r24740) -Codechange: Remove duplicate members from ↵frosch
QueryStringBaseWindow and directly use QueryString.