summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
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)
2012-12-23(svn r24848) -Fix [FS#5386]: Consider regearing-like cargos as no-cargo in ↵frosch
cargo filters.
2012-12-23(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list ↵michi_cc
sprites. (Based on patch by Eddi)
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-06-03(svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase ↵frosch
list properly by source GRF, but also consider engine GRFID overrides.
2012-05-05(svn r24203) -Fix: Make the engine name not overdraw the engine count in the ↵frosch
autoreplace GUI.
2012-04-17(svn r24137) -Feature(ette): Draw indicator icon in the replace vehicle ↵michi_cc
window for vehicles which have a replacement set.
2012-01-12(svn r23792) -Feature [FS#4958]: move 'refitable to' text above custom ↵yexo
newgrf text in build vehicle gui
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-13(svn r23508) -Add: Engine sorter for aircraft range.michi_cc
2011-12-13(svn r23504) -Feature: Aircraft range.michi_cc
2011-11-26(svn r23335) -Change: Make determination of vehicle weight when loaded ↵frosch
consistent between road and rail vehicle purchase info.
2011-11-26(svn r23334) -Fix [FS#4820]: Road vehicle purchase info failed to display ↵frosch
vehicles carrying no cargo. (Can only happen when NewGRFs are screwed up.)
2011-11-08(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks ↵frosch
returning D0xx texts.