summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2011-09-17(svn r22941) -Fix: Calculate the size of the start/stop vehicle button ↵terkhen
correctly.
2011-04-22(svn r22373) -Fix (r19955) (r20041) [FS#4592]: crash when clicking a removed ↵yexo
company in the vehiclelist dropdowns
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-13(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.frosch
2011-03-13(svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope ↵frosch
invalidations themself.
2011-03-13(svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope ↵frosch
invalidations themself (from autoreplace and refitting).
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-03-08(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs ↵frosch
list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-03-08(svn r22226) -Codechange: When autoreplace invalidates vehicle windows ↵frosch
because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them.
2011-02-24(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)frosch
2011-02-23(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, ↵frosch
process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
2011-02-20(svn r22118) -Fix [FS#4525]: The refit window was not correctly updated ↵terkhen
after selecting with Ctrl+Click (Regiovogel).
2011-02-08(svn r22034) -Fix [FS#4488]: crash when watching the vehicle view of a ↵rubidium
vehicle that has multiple sequential nearest depot orders (or consists of a single nearest depot order) when there is no depot with index 0
2011-02-05(svn r21991) -Fix [FS#4466]: The share/copy-orders-cursor was not updated to ↵frosch
refer to the new vehicle when it got autoreplaced/-renewed.
2011-02-05(svn r21990) -Cleanup (r14085): Remove unneeded test.frosch
2011-02-04(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the ↵rubidium
vehicle view
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)