summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
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
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-25(svn r17863) -Codechange: make the build vehicle window nestedrubidium
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-24(svn r17850) -Codechange: remove most usage of delta on OnResizerubidium
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-06(svn r17729) -Cleanup: Deduplicate some code.frosch
2009-10-06(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.frosch
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.