summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
2008-05-13(svn r13074) -Fix: For multiheaded engines, halve power and running cost ↵peter1138
when used instead of when loading, to allow callback values to work properly.
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-13(svn r13068) -Codechange: make a class of the BuildVehicleWindow.rubidium
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-08(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)glx
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-07(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ ↵smatz
wrapper for CBlobT
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-22(svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in ↵bjarni
both directions The code to open this window is also unified for all vehicle types
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-02-21(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road ↵peter1138
vehicles' running cost, and show running cost of wagons if they have it.
2008-02-20(svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to ↵peter1138
running_cost, inline with other vehicle types (It is the factor, not the base)
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