summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
2008-02-16(svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept inpeter1138
2008-02-14(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles ↵peter1138
correctly in the purchase list. Multiple cargo types can also now been shown.
2008-02-04(svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types...peter1138
2008-01-26(svn r11988) -Codechange: Add a generic way of changing a widget's size and ↵peter1138
adjust the widgets around it to suit.
2008-01-23(svn r11959) -Codechange: Use macro to loop for specific engine types ↵peter1138
instead of using specific indexes each time. -Codechange: Minor scope changes in said loops.
2008-01-18(svn r11918) -Codechange: Draw engine lists at widget positions instead of ↵peter1138
fixed pixel positions
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-17(svn r11904) -Codechange: use dropdown widget in 3 more windows, build ↵peter1138
vehicle, group vehicle list and station list.
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-09(svn r11785) -Codechange: remove some unneeded includes.rubidium
2008-01-07(svn r11781) -Codechange: variable scope and initializationpeter1138
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2007-12-27(svn r11710) -Feature: [build vehicles windows] added sorting for cost, ↵bjarni
running costs and speed to road vehicles and ships build windows
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-10-05(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these ordersglx
2007-09-17(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the ↵rubidium
articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
2007-08-27(svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" ↵rubidium
group. Patch by frosch.
2007-07-29(svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows.rubidium
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-17(svn r10603) -Codechange: avoid direct access to _engine_infopeter1138
2007-07-14(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by ↵rubidium
Matthias Wolf.
2007-07-13(svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaultedtruelight
2007-07-13(svn r10546) -Fix [FS#1026]: you can now have both Available Train as ↵truelight
Available Ship window open
2007-06-25(svn r10324) -Codechange: reference engine names by indexpeter1138
2007-06-22(svn r10265) -Feature: allow double-clicking on certain places: ↵truelight
build-vehicle and town-action
2007-06-21(svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵rubidium
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
2007-06-21(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to ↵rubidium
place money in some string.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-02(svn r10025) -Fix: [build windows] sorting planes for capacity didn't check ↵bjarni
mail capacity. Now mail capacity is used if passenger capacity is the same The sort will still resort to EngineID if both mail and passenger capacities are the same
2007-06-02(svn r10024) -Feature: [build windows] trains, road vehicles and ships can ↵bjarni
now be sorted by cargo capacity (planes already had this option)
2007-06-01(svn r10008) -Codechange: Move a couple of functions related to articulated ↵maedhros
vehicles to a file of their own.
2007-05-25(svn r9917) -Codechange: prepare some more areas for more road types. rubidium
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-18(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type ↵rubidium
strictness.
2007-05-12(svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity ↵peter1138
with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains.
2007-05-07(svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase ↵peter1138
lists and add running cost changing for ships.