summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13183) -Codechange: make a window class of the VehicleViewWindow.rubidium
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
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-16(svn r13128) -Codechange: Make a class of the refit windowpeter1138
2008-05-16(svn r13120) -Codechange: make a class of the VehicleDetailsWindow.rubidium
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 r13047) -Codechange: remove vp_dglx
2008-05-11(svn r13046) -Codechange: make classes of the VehicleListWindow and the ↵rubidium
VehicleGroupWindow.
2008-05-11(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.rubidium
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the ↵rubidium
.cpp files where they are actually used.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
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 r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
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-27(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each ↵bjarni
argument can be either a Vehicle pointer or a VehicleID
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.rubidium
2008-04-18(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by ↵rubidium
Sir Bob.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
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-04-13(svn r12687) -Change: show when a vehicle is actually leaving the station ↵rubidium
instead of loading/unloading.
2008-04-07(svn r12615) -Codechange: rename some enums related to depot orders to make ↵rubidium
it more clear that they are no loading/unloading flags. Also add more type strictness.
2008-04-06(svn r12593) -Codechange: hide Order's flags in most of the code.rubidium
2008-04-06(svn r12588) -Codechange: do not access the destination of an order directly.rubidium
2008-04-05(svn r12584) -Codechange: do not access the order type directly.rubidium
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-03-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium
2008-03-28(svn r12470) -Codechange: split order related types from order.h (and ↵rubidium
openttd.h) to order_type.h.
2008-03-27(svn r12441) -Feature: open the time table when pressing the order button ↵rubidium
while pressing the CTRL key. Patch by Phil Sophus.
2008-03-02(svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a ↵smatz
vehicle name changed - cached name was not invalidated
2008-03-01(svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it ↵smatz
was comparing two the same strings (when caching was not used)
2008-02-25(svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for ↵glx
timetable window
2008-02-20(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the ↵smatz
train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-02-13(svn r12133) -Fix: Vehicle sorting by max speed did not work properly for ↵peter1138
trains. Instead of trying to work it out again, just use the cached values...
2008-01-27(svn r11994) -Codechange: Remove numbers from string names where the strings ↵maedhros
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
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 r11912) -Codechange: use dropdown widget for autoreplace, station ↵peter1138
builder and (second?) vehicle list windows
2008-01-17(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically ↵frosch
a duplicate of ShowReplaceGroupVehicleWindow().
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
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 r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.