summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
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.
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-12-11(svn r18464) -Fix (r17863): Caption of the build vehicle window did not have ↵alberth
company colours.
2009-12-09(svn r18447) -Change: make some more windows (e.g. graphs, company view) ↵rubidium
stickyable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-22(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.alberth
2009-11-22(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, ↵rubidium
WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as ↵rubidium
it has nothing to do with the height of the vehicle lists.
2009-11-16(svn r18122) -Fix: the build vehicle GUI would draw a (few) pixels over the ↵rubidium
border
2009-11-16(svn r18121) -Codechange: pass the maximum left/right location to the ↵rubidium
Draw*Engine functions
2009-11-16(svn r18119) -Codechange/Fix: always call OnResize so the ↵rubidium
matrices/scrollbars are initialised without the need for duplicating the OnResize code
2009-11-16(svn r18118) -Codechange: improve behaviour of the engine lists (both build ↵rubidium
vehicle/autoreplace) w.r.t. large(r) fonts and RTL. RTL support for 'wider than usual' vehicles is still needed though.
2009-11-16(svn r18117) -Codechange: don't pass the location of the vehicle count but ↵rubidium
whether to show the vehicle count
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch