summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
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.
2012-11-14(svn r24739) -Codechange: Simplify some code by using Textbuf::Assign.frosch
2012-11-14(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.frosch
2012-11-13(svn r24733) -Codechange: Move handling of editbox keys to window class.frosch
2012-11-13(svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes.frosch
2012-11-13(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.frosch
2012-11-13(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-11-11(svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the ↵frosch
same functionality.
2012-06-04(svn r24324) -Codechange: Turn functions dealing with Textbufs into member ↵frosch
functions.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-04-17(svn r24141) -Feature: Display rating in the town directory window. ↵michi_cc
(Inspired by patch from MagicBuzz)
2012-01-11(svn r23787) -Fix: add some missing spacesrubidium
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-16(svn r23542) -Codechange: unify and document town related widgetsrubidium
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain