summaryrefslogtreecommitdiff
path: root/src/train_gui.cpp
AgeCommit message (Collapse)Author
2010-05-23(svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot ↵alberth
gui (sbr).
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11(svn r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
2009-11-29(svn r18344) -Change [FS#2923]: do not split up articulated vehicles in the ↵rubidium
train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too. Based on work by frosch123.
2009-11-29(svn r18342) -Fix: erroneous spaces before ;rubidium
2009-11-23(svn r18256) -Codechange: make the vehicle details window big font awarerubidium
2009-11-18(svn r18162) -Fix: rest-of-train train selectionrubidium
2009-11-17(svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and ↵rubidium
graphical glitches due to (incorrect) SETX(Y) usage
2009-11-17(svn r18142) -Codechange: make the vehicle details RTL (and huge ↵rubidium
ship/aircraft) aware
2009-11-17(svn r18136) -Codechange: support RTL in the vehicle listsrubidium
2009-11-16(svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Imagerubidium
2009-11-16(svn r18129) -Codechange: Fix up train details window for correct offsets ↵peter1138
and line spacing.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-15(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text ↵frosch
overlaps less with vehicle images.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-02(svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important.frosch
2009-07-20(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().frosch
2009-07-17(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains ↵frosch
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
2009-07-13(svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn ↵frosch
instead of the one of the front vehicle.
2009-07-13(svn r16818) -Feature(ette): Highlight whole articulated vehicles in ↵frosch
traindepot instead of only the first part.
2009-07-13(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of ↵frosch
1/8 vehicle length.
2009-07-12(svn r16799) -Codechange: When drawing articulated road vehicles in the ↵frosch
vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-05-31(svn r16483) -Codechange: Enumerate tabs in train details window.frosch
2009-05-26(svn r16442) -Codechange: use new Vehicle accessors at more placessmatz
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-22(svn r16393) -Codechange: move VehicleRail to Train.rubidium
2009-05-22(svn r16392) -Codechange: move some variables (the ones that aren't caches) ↵rubidium
from VehicleRail to Train
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16162) -Codechange: remove needless TC_ colours from DrawString when ↵rubidium
they are part of strings and add some colours to a few strings.
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-20(svn r16102) -Codechange: unify the vehicle info strings; reduce the number ↵rubidium
of duplicate strings and unifies the GUIs quite a bit
2009-03-22(svn r15806) -Codechange: pass both left and right to the vehicle details ↵rubidium
drawing functions instead of only the left.
2009-02-14(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details ↵michi_cc
window.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-08-18(svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire ↵celestar
consist, not only the first vehicle
2008-08-01(svn r13907) -Codechange: Replace a number with Colours enum on ↵belugas
DrawFrameRect usage
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.