summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
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-21(svn r16111) -Cleanup: remove some duplicate/unused stringsrubidium
-Change: move a string to a more sensible location
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-04-13(svn r16054) -Fix: non advanced vehicle list didn't handle company switching ↵glx
correctly
2009-04-13(svn r16053) -Codechange: Added nested widgets to vehicle refit and vehicle ↵alberth
details windows.
2009-04-13(svn r16052) -Codechange: Applying VehicleRefitWidgets in RefitWindow, fixed ↵alberth
widget number comment in _vehicle_refit_widgets
2009-04-13(svn r16051) -Codechange: Adding widget numbers enum for vehicle refit window.alberth
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-22(svn r15821) -Fix (r15813): Wrong widget selection prevented drop down label ↵peter1138
showing in vehicle list windows. Instead of drawing the label ourselves we can set the dropdown's data property to the string to draw.
2009-03-22(svn r15820) -Codechange: Some windows using nested widgetsalberth
2009-03-22(svn r15813) -Codechange: remove the last remnants of the old text drawing API.rubidium
2009-03-22(svn r15807) -Codechange: let the build vehicle gui helper function pass ↵rubidium
around left and right instead of only left and assuming infinite width.
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-21(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the ↵rubidium
new one.
2009-03-21(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windowsglx
2009-03-21(svn r15782) -Codechange: replace some calls to the all text drawing API to ↵rubidium
the new one.
2009-03-15(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinatesmatz
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-27(svn r15592) -Fix: Refit-info in purchase list did only check the first ↵frosch
articulated part.
2009-02-14(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details ↵michi_cc
window.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15236) -Codechange: Rename realistic_acceleration patch option to ↵peter1138
train_acceleration_model, and change from boolean to value. Don't forget to update your settings.
2009-01-13(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEARsmatz
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-03(svn r14819) -Change: make details and order menu stickyable, like the ↵rubidium
timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied.
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2009-01-03(svn r14801) -Codechange: don't reference Vehicle::num_orders directly but ↵rubidium
through a method GetNumOrders() (PhilSophus)
2009-01-02(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when ↵rubidium
station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
2009-01-02(svn r14784) -Change: don't close and reopen the vehicle order/detail ↵rubidium
windows, just refocus them instead.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-16(svn r14683) -Change: only say a engine/vehicle is refittable when it can be ↵rubidium
refitted to at least two cargo type or when it has subcargos. NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
2008-11-20(svn r14599) -Fix (r14598)[FS#2417]: Show again group-membership in the ↵frosch
vehicle-lists. (Based on patch by PhilSophus)
2008-10-24(svn r14524) -Add: stop-in-depot as part of orders (PhilSophus)rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-24(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is ↵smatz
deleted/modified while the timetable window is open -Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-17(svn r14352) -Feature: Allow sorting vehicles by remaining life time.belugas
Patch by yorick
2008-09-15(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, ↵smatz
president and company renaming commands, too
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-09-15(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.rubidium
2008-09-13(svn r14306) -Codechange: unify the code to draw the vehicle list.rubidium
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-12(svn r14302) -Codechange: simplify and make the vehicle list and group ↵rubidium
windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
2008-09-12(svn r14301) -Codechange: give the vehicle list and group list the same ↵rubidium
relative size and the same absolute height for the vehicle list items.
2008-08-24(svn r14150) -Add: Add the count of trains using the current waypoint in the ↵belugas
vehicle list window's caption