summaryrefslogtreecommitdiff
path: root/src/ship_gui.cpp
AgeCommit message (Collapse)Author
2016-10-16(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.frosch
2016-10-16(svn r27666) -Codechange: Pass vehicle sprites around using a struct ↵frosch
VehicleSpriteSeq.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-10-04(svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and ↵peter1138
purchase lists.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-06-24(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other ↵rubidium
than default fonts, so get rid of it
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-01-11(svn r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
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 r18136) -Codechange: support RTL in the vehicle listsrubidium
2009-11-16(svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Imagerubidium
2009-10-25(svn r17870) -Codechange: Use fontsize when drawing roadveh, ship, and ↵alberth
aircraft details.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
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-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
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-08-01(svn r13907) -Codechange: Replace a number with Colours enum on ↵belugas
DrawFrameRect usage
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-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-30(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
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 r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
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-09-28(svn r11184) -Codechange: cleanup the code related to backup orders.rubidium
2007-09-05(svn r11049) -Codechange: unify a large part of the vehicle details window. ↵rubidium
Based on a patch by nycom.
2007-08-29(svn r10999) -Codechange: unify the way the running cost of a vehicle is ↵rubidium
determined. Patch by nycom.
2007-08-29(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.rubidium
2007-08-28(svn r10995) -Codechange: unify the way to get the displayed maxium speed of ↵rubidium
a vehicle. Patch by nycom.
2007-08-26(svn r10985) -Codechange: unify/remove duplicate ↵rubidium
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
2007-08-26(svn r10984) -Codechange: unify the way one can get the current speed in the ↵rubidium
same forwat so we can display it.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-10(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)peter1138
2007-07-01(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of ↵rubidium
Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-06-25(svn r10328) -Codechange: Close the timetable window when closing the ↵maedhros
vehicle window.
2007-06-25(svn r10324) -Codechange: reference engine names by indexpeter1138