summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
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.
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-10-20(svn r23045) -Change: copy 6 registers to newgrf textstack after cb23 ↵yexo
instead of 4
2011-10-20(svn r23040) -Add: [NewGRF] allow use of newgrf textstack during callback 23yexo
2011-08-27(svn r22850) -Feature: Display separate ocean and canal speeds in the ship ↵frosch
purchase list, if they differ.
2011-07-03(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to ↵frosch
StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
2011-04-30(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be ↵rubidium
declared in string_func.h.
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-01-15(svn r21803) -Cleanup: Remove unnecessary semicolons.terkhen
2010-12-05(svn r21410) -Codechange: limit engine name by amount of characters, not bytesrubidium
2010-11-27(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.terkhen
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-11-12(svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows ↵rubidium
causing it to be overwritten by the "sort by" string
2010-11-06(svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road ↵planetmaker
vehicles by tractive effort
2010-11-06(svn r21104) -Doc: Add doxygen commands to a few functionsplanetmaker
2010-11-06(svn r21103) -Change: Use the same sorting of the sorting criteria for both ↵planetmaker
trains and road vehicles
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-30(svn r20242) -Change: remove the need for "{WHITE}" control codes in some of ↵rubidium
the railtype NewGRF strings -Fix: make it possible to properly assess the length of the rail toolbar caption
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-17(svn r19669) -Fix: don't display an error message when double clicking on a ↵yexo
vehicle in the 'available vehicles'-window
2010-04-07(svn r19573) -Fix (r19541): Special cargos did not appear at the refit list.terkhen
2010-04-02(svn r19539) -Codechange: Use a macro to loop through the list of sorted ↵terkhen
cargo specifications.
2010-04-01(svn r19536) -Feature: Sort cargos at the filter by cargo dropdown in the ↵terkhen
build vehicle window.
2010-03-20(svn r19480) -Fix: Stop reducing the size of the vehicle list after ↵terkhen
selecting a vehicle with a long description.
2010-03-19(svn r19475) -Cleanup: Remove an unneeded for when drawing detail panels.terkhen
2010-03-18(svn r19451) -Cleanup: remove some unused codeyexo
2010-03-06(svn r19348) -Add: Allow to sort road vehicles by power and by power vs ↵terkhen
running cost at the engine preview window.
2010-03-06(svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort ↵terkhen
for road vehicles.
2010-02-10(svn r19087) -Codechange: some typos in StringIDsrubidium
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-30(svn r18963) -Codechange: Give AccelerationModel a generical name.terkhen
2010-01-15(svn r18818) -Fix [FS#3526] (r18766): some train acceleration type ↵rubidium
conversions were missed
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-13(svn r18797) -Fix (r18781): building wagons didn't add them to a trainrubidium
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11(svn r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
2009-12-23(svn r18612) -Fix [FS#3407]: Buy vehicle window did not properly disable ↵alberth
panel drawing while shaded.
2009-12-22(svn r18606) -Codechange: Introduce several forms of zero-size stacked ↵alberth
display planes.