summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
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.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
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 r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-01(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so ↵peter1138
that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
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-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
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-21(svn r11672) -Codechange: refactor some stuff out of gui.h.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-08(svn r11601) -Codechange: more strict break conditions for _userstring, ↵smatz
assert when it overflows anyway (eg. code change without proper check change)
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-09(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of ↵truelight
course be 'static inline bool' (SmatZ)
2007-11-04(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer ↵truelight
a macro (skidd13)
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-26(svn r11348) -Fix (r11049): [OSX] killed a warning (don't ask why only OSX ↵bjarni
showed this one)
2007-10-20(svn r11304) -Feature: Control-Clicking the Center Main View button on the ↵belugas
vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium