summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2009-09-02(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar ↵rubidium
wrappers
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
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-15(svn r17182) -Feature(ish) [FS#2945]: sort vehicle lists on (timetable) delayrubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-22(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the ↵rubidium
setting of the error message to a single place
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16920) -Codechange: shuffle some strings around to simplify looking up ↵rubidium
vehicle type specific strings for a specific message
2009-07-22(svn r16919) -Codechange: unify some more StringID w.r.t. their namingrubidium
2009-07-22(svn r16914) -Codechange: split Station and BaseStation into different filesrubidium
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-21(svn r16901) -Fix [FS#3046] (rpbs): when marking trains stuck don't reset ↵rubidium
the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
2009-07-21(svn r16900) -Codechange: prepare the waypoint window for buoysrubidium
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-20(svn r16885) -Codechange: reduce (string) duplication with vehicle listsrubidium
2009-07-19(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings ↵rubidium
used in the vehicle list GUIs.
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-13(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of ↵frosch
1/8 vehicle length.
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
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-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-07-08(svn r16772) -Fix [FS#3019]: don't use the same error message for turning ↵rubidium
around road vehicles and flipping parts of trains in the depot
2009-07-07(svn r16757) -Fix [FS#3018]: in the refit window the "Select cargo type to ↵rubidium
carry" line always showed the ship refit tooltip
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
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-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)