summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2011-01-31(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵frosch
and cur_real_order_index to keep track of the current real order in an unambiguous way. -Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing. -Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-29(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.terkhen
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-23(svn r21902) -Fix: Do not count articulated parts when passing the number of ↵frosch
vehicles to refit to the command. That may exceed 8 bits.
2011-01-23(svn r21901) -Codechange: Save some bits in p2 of CmdRefitVehicle.frosch
2011-01-23(svn r21899) -Fix: Do not show a vehicle selection in the RefitWindow for ↵frosch
refit orders. You cannot select anything anyway.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-21(svn r21875) -Codechange: indentation of some comments was wrongsmatz
2010-12-30(svn r21666) -Codechange: Use GetCallbackWnd at more places.alberth
2010-12-26(svn r21644) -Change: keep showing "No orders" when the order list is filled ↵rubidium
with only automatic orders
2010-12-21(svn r21583) -Fix (r21566): The new scrollbar was not ignored correctly for ↵terkhen
ships and aircrafts.
2010-12-21(svn r21570) -Add: Allow to select a vehicle and the following chain with a ↵terkhen
keyboard shortcut.
2010-12-21(svn r21569) -Add: Don't close the refit window after refitting only a ↵terkhen
consist part.
2010-12-21(svn r21568) -Add: Show the selected consist part at the refit window.terkhen
2010-12-21(svn r21567) -Feature: Allow to refit only the selected part of a train consist.terkhen
2010-12-21(svn r21566) -Add: Draw current vehicle at the refit window.terkhen
2010-12-21(svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage().terkhen
2010-12-21(svn r21563) -Codechange: Add function to get the width of a vehicle.terkhen
2010-12-21(svn r21560) -Codechange: Declare DrawVehicleImage in its header.terkhen
2010-12-21(svn r21559) -Add: Disable the refit button until a refit option is selected.terkhen
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-14(svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from ↵terkhen
a Vehicle.
2010-12-14(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.terkhen
2010-12-14(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.terkhen
2010-12-14(svn r21515) -Codechange: Use cached_total_length where appropiate.terkhen
2010-12-05(svn r21416) -Codechange: limit vehicle name by amount of characters, not bytesrubidium
2010-11-27(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.terkhen
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-16(svn r21214) -Add: Display mail capacity when refitting an aircraft to ↵terkhen
passengers.
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-11-06(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.terkhen
2010-11-06(svn r21098) -Codechange: Ships now store their max speed in the cache ↵terkhen
instead of recalculating it every time.
2010-11-06(svn r21097) -Codechange: Unify cached max speed for all vehicle types.terkhen
2010-11-06(svn r21096) -Fix: Display the real max speed for aircrafts instead of ↵terkhen
always using the engine value.
2010-11-04(svn r21083) -Codechange: Limit the number of exceptions in the refittable ↵belugas
cargo list to 7 (Eddi)
2010-10-19(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could ↵planetmaker
be too small
2010-10-15(svn r20921) -Fix [FS#4160]: Refit costs were not shown for long cargo names.terkhen
2010-09-09(svn r20777) -Codechange: make VehicleListIdentifier a variable of ↵rubidium
BaseVehicleList and use that instead of "dereferencing" the window number and storing some information twice
2010-09-08(svn r20773) -Codechange: use packed VehicleListIdentifiers for some ↵rubidium
commands as well
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
2010-09-08(svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle ↵rubidium
list instead of a string of parameters
2010-09-08(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parametersrubidium
2010-09-08(svn r20769) -Codechange: move some depot flags from p2 to p1 in ↵rubidium
CmdSendVehicleToDepot
2010-09-08(svn r20768) -Codechange: unify send-to-depot commandsrubidium
2010-09-06(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone ↵smatz
and vehicle to clone orders from directly from vehicle lists and depot window
2010-09-02(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive ↵frosch
rights and unread news.
2010-09-02(svn r20719) -Codechange: Remove some hardcoded iconsizes.frosch
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-18(svn r20547) -Change: the way order backups are performed. Now restoring an ↵rubidium
order doesn't require up to 765 commands.
2010-08-18(svn r20545) -Codechange: make sure an OrderBackup gets cleared when the ↵rubidium
depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot
2010-08-18(svn r20539) -Codechange: make order backups more self-contained.rubidium