summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
AgeCommit message (Collapse)Author
2008-07-31(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, ↵belugas
build_vehicle, cheat, depot and dock guis. The fact that it goes alphabetically is pure coincidence.
2008-07-27(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated ↵frosch
vehicles during autoreplace.
2008-07-26(svn r13840) -Fix: Some glitches in the autoreplace GUI.frosch
2008-07-22(svn r13784) -Codechange: Truncate vehicle names in purchase list to width ↵peter1138
of window.
2008-07-20(svn r13760) -Codechange: With multiple NewGRF engine sets, engine IDs may ↵peter1138
not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types.
2008-05-28(svn r13314) -Codechange: Switch EngineList from std::vector to GUIListpeter1138
2008-05-28(svn r13313) -Fix-ish (r13306): List was copied in another place the ↵peter1138
autoreplace gui...
2008-05-28(svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a ↵peter1138
copy of it.
2008-05-27(svn r13287) -Codechange: move engine list gui code away from engine.cpp ↵peter1138
(and its headers) to engine_gui.cpp
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-13(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if ↵rubidium
the vehicle isn't a train.
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-11(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-10(svn r13037) -Codechange: make a class of the ReplaceVehicle window.rubidium
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
2008-05-10(svn r13035) -Codechange: remove two needless global-ish variables.rubidium
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-29(svn r12917) -Codechange: standardise variable names called with ↵peter1138
FOR_ALL_ENGINEIDS_OF_TYPE
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-22(svn r12837) -Codechange: Alignment of widget arraybelugas
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-28(svn r12469) -Codechange: split type related stuff from group.h (and ↵rubidium
openttd.h) to group_type.h.
2008-02-04(svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types...peter1138
2008-01-26(svn r11989) -Fix: Resize autoreplace window to fit purchase information ↵peter1138
text if it is too large.
2008-01-18(svn r11918) -Codechange: Draw engine lists at widget positions instead of ↵peter1138
fixed pixel positions
2008-01-17(svn r11912) -Codechange: use dropdown widget for autoreplace, station ↵peter1138
builder and (second?) vehicle list windows
2008-01-17(svn r11911) -Codechange: use enum for autoreplace window widgetspeter1138
2008-01-17(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically ↵frosch
a duplicate of ShowReplaceGroupVehicleWindow().
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-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-01(svn r11737) -Fix: Reinstate NewGRF-specified engine list order in ↵peter1138
autoreplace window.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
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-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 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-18(svn r11664) -Codechange: use more specific ("rail_type.h" instead of ↵rubidium
"rail.h" that includes way more than only "rail_type.h") includes at some places.
2007-12-16(svn r11643) -Codechange: conform with the coding style for the WP macro uses.rubidium
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)