summaryrefslogtreecommitdiff
path: root/src/station_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-13Codechange: Refactor FindStationsAroundTiles to avoid code duplicationdP
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.
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-30Fix: Crash on waypoint selection windowkiwitree
2019-04-25Feature: Add existing station coverage area display when placing new station ↵peter1138
parts.
2019-04-25Feature: Add coverage area display for existing stations.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: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Erase() with std::vector::erase()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + nHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Contains() with std::find() patternHenry Wilson
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-01-17Fix: Some code and comment typosnikolas
Found with codespell
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-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-04-30Codechange: Use TileAddBy(Diag)Dir when possible.J0anJosep
2017-08-20(svn r27894) -Fix [FS#6608]: Typo fix in STATIOV_* string names (Wolf01)alberth
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-11-18(svn r27063) -Fix [FS#6172]: Some lists did not use natural string sorting.frosch
2014-10-21(svn r27030) -Fix: crash when having the vehicle list opened from a buoy or ↵rubidium
oil rig while the buoy/oil rig gets its final removal (i.e. the sign gets removed)
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-10-04(svn r26957) -Codechange: Spread the station cargo icons out by GUI scale.peter1138
2014-05-11(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do ↵rubidium
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
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
2013-11-24(svn r26083) -Codechange: pass the CommandContainer for the station joiner ↵rubidium
around using a reference instead of by-value
2013-08-18(svn r25731) -Fix [FS#5692]: Minor RTL alignment issues. (sbr)frosch
2013-06-22(svn r25432) -Fix [FS#5608]: clang compiler error; sometimes it's more ↵rubidium
strict than others
2013-06-18(svn r25426) -Fix: highlight the right entry in the sorting selector in ↵fonsinchen
station view window
2013-06-15(svn r25405) -Feature-ish: differentiate between total waiting cargo count ↵rubidium
and available (not reserved) cargo count in the station list -Change: sort based on the cargo count, not the cargo value
2013-06-09(svn r25365) -Feature: show cargo by next hops and final destinations in the ↵fonsinchen
station GUI
2013-06-09(svn r25361) -Feature: distribute cargo according to plan given by linkgraphfonsinchen
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-20(svn r25272) -Feature: show the approximate monthly supply to a station of ↵rubidium
the different cargoes (fonsinchen)
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-06(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by ↵rubidium
descriptive function
2013-02-17(svn r25013) -Feature: show the amount of cargo that has already been ↵rubidium
reserved by full loading vehicles in the station (fonsinchen)
2012-11-12(svn r24703) -Fix: Disallow closing oilrig airports in SE.frosch