summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
2021-05-29Codechange: Rename window related DeleteXXX to match new behaviourglx22
2021-05-29Codechange: move from C-string to std::string for DoCommandrubidium42
2021-04-25Fix: Count engine details text in lines rather than pixels. (#9107)PeterN
This allows the details panel to scale correctly for different zoom levels.
2021-03-11Fix #8733: Can't buy train engine when the "Engines only" filter is activestormcone
2021-03-08Add: filter for "engines only" in build train window (#8733)Didac Perez Parera
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-06-18Fix: Violation of strict weak ordering in engine name sorterJonathan G Rennison
This could be caused by an engine being renamed, and the old name being cached from a previous sort. See: #7838
2020-01-04Feature: Show the name of the NewGRF in the build vehicle window.stormcone
2019-12-21Codechange: Replace FOR_ALL_ENGINES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-21Fix #7561: Fix power/running-cost vehicle sorterdorobouNeko
2019-05-18Fix #7594: Max speed rendered incorrectly in road vehicle purchase window ↵Jonathan G Rennison
when using original acceleration model (#7597) An incorrect DParam index was used.
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove RailTypeByte typeCharles Pigott
2019-04-13Codechange: use std::sort() in EngList_Sort[Partial]()glx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Simplify refit cargo filter condition and stop mixing enum typesCharles Pigott
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
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-24Change: Show additional cost and refitted capacity in build vehicle window.peter1138
2019-03-24Feature: When filtering purchase list by cargo type, make buy button perform ↵peter1138
a refit if required.
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-02-14Fix #6599: Disable build and rename button in build vehicle window when no ↵Peter Nelson
vehicle is selected.
2019-01-26Add: more options for translatorsglx
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2017-03-18(svn r27799) -Add: Display aircraft type in buy window (patch by Samu)alberth
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 r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and ↵peter1138
purchase lists.
2014-09-18(svn r26849) -Fix[FS#6113]: Better display of refit information in ↵alberth
articulated vehicles.
2014-09-11(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.alberth
2014-09-07(svn r26804) -Feature: Allow hiding of non-interesting engines in the build ↵alberth
vehicle GUI.
2014-09-07(svn r26803) -Doc: Document some fields in the build vehicle gui, and the ↵alberth
rail definition struct.
2014-09-07(svn r26799) -Codechange: Export vehicle sorting data and functions.alberth
2014-09-07(svn r26798) -Codechange: Code style fixes.alberth
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-08-18(svn r25733) -Fix: Engine name was misaligned in purchase list for RTL. (sbr)frosch
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-06-24(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other ↵rubidium
than default fonts, so get rid of it
2013-06-11(svn r25394) -Fix: Restrict renaming engines to the server, just like ↵frosch
renaming towns.
2013-06-01(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all ↵frosch
of them.
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-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)