summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
2021-12-16Codechange: Un-bitstuff vehicle/engine commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).Michael Lutz
2021-12-16Codechange: Template DoCommandP to automagically reflect the parameters of ↵Michael Lutz
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing.
2021-12-16Codechange: Template DoCommand to automagically reflect the parameters of ↵Michael Lutz
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing.
2021-12-16Codechange: Make TileIndex a "strong" typedef to give it a distinct type.Michael Lutz
This is accomplished by changing it to a single member struct with the appropriate operator overloads to make it all work with not too much source modifications.
2021-12-16Codechange: Move command callback declarations to the cmd header files.Michael Lutz
2021-12-16Codechange: Untangle command code, flags and error string for DoCommand*.Michael Lutz
2021-12-16Codechange: Move command arguments to the back of the networked command ↵Michael Lutz
function calls.
2021-12-16Codechange: Move command arguments to the back of the DoCommand function call.Michael Lutz
2021-07-19Fix 57734fd: Don't enable rename button for network clients in build vehicle ↵Loïc Guilloux
window (#9452)
2021-07-09Codechange: Remove FOR_ALL_SORTED_STANDARD_CARGOSPECSglx22
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