summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2009-06-24(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to ↵yexo
prevent unnecessary inclusion newgrf.h anyway
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
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-06-01(svn r16490) -Fix: Do not draw train details over the scrollbar.frosch
2009-05-31(svn r16483) -Codechange: Enumerate tabs in train details window.frosch
2009-05-26(svn r16439) -Change: Make the default vehicle servicing settings ↵yexo
company-based settings, so in a multiplayer game everyone can change them.
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-24(svn r16422) -Codechange: use const_cast for removing const and warn when ↵rubidium
const is (accidentally?) removed using C-style casts.
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-23(svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵rubidium
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
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-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and ↵frosch
make it static.
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-03(svn r16216) -Codechange: Added nested widgets to vehicle view window.alberth
2009-05-03(svn r16215) -Codechange: Added tooltip to resizebox of vehicle view window.alberth
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-26(svn r16157) -Fix: wrong truncation of refit cost/graph x labels because ↵rubidium
they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
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.