Commit Graph

432 Commits (7ba674dfc16a982e39aa4cec7724317b4f8b4abf)

Author SHA1 Message Date
rubidium 12d3422539 (svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view 14 years ago
frosch 7c04ea586d (svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index 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.
14 years ago
terkhen 0e51dab6a6 (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
14 years ago
frosch aab0eff930 (svn r21902) -Fix: Do not count articulated parts when passing the number of vehicles to refit to the command. That may exceed 8 bits. 14 years ago
frosch 8411b28dcf (svn r21901) -Codechange: Save some bits in p2 of CmdRefitVehicle. 14 years ago
frosch 6254ffc4d7 (svn r21899) -Fix: Do not show a vehicle selection in the RefitWindow for refit orders. You cannot select anything anyway. 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
smatz f2006f36a1 (svn r21875) -Codechange: indentation of some comments was wrong 14 years ago
alberth 5955e98b79 (svn r21666) -Codechange: Use GetCallbackWnd at more places. 14 years ago
rubidium 1446bfaac6 (svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders 14 years ago
terkhen 7fc32d3763 (svn r21583) -Fix (r21566): The new scrollbar was not ignored correctly for ships and aircrafts. 14 years ago
terkhen 9ff41df5e1 (svn r21570) -Add: Allow to select a vehicle and the following chain with a keyboard shortcut. 14 years ago
terkhen ab36448f46 (svn r21569) -Add: Don't close the refit window after refitting only a consist part. 14 years ago
terkhen 6848bb8eee (svn r21568) -Add: Show the selected consist part at the refit window. 14 years ago
terkhen cf07974aaf (svn r21567) -Feature: Allow to refit only the selected part of a train consist. 14 years ago
terkhen 60f3dc16a7 (svn r21566) -Add: Draw current vehicle at the refit window. 14 years ago
terkhen dfc460035b (svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage(). 14 years ago
terkhen df2a2615a4 (svn r21563) -Codechange: Add function to get the width of a vehicle. 14 years ago
terkhen f1c0366667 (svn r21560) -Codechange: Declare DrawVehicleImage in its header. 14 years ago
terkhen 080a52faf2 (svn r21559) -Add: Disable the refit button until a refit option is selected. 14 years ago
terkhen f69d280f14 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 14 years ago
terkhen f7c4d35f67 (svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from a Vehicle. 14 years ago
terkhen 74c061c29a (svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache. 14 years ago
terkhen 47c9189002 (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 14 years ago
terkhen 57790abb75 (svn r21515) -Codechange: Use cached_total_length where appropiate. 14 years ago
rubidium e4c8f79f94 (svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes 14 years ago
terkhen 64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
terkhen b4c22e854f (svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers. 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
terkhen 25e638adcb (svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache. 14 years ago
terkhen 79ab8cb571 (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 14 years ago
terkhen ca755e983c (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 14 years ago
terkhen 943c732756 (svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value. 14 years ago
belugas 377d11886c (svn r21083) -Codechange: Limit the number of exceptions in the refittable cargo list to 7 (Eddi) 14 years ago
planetmaker 310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 14 years ago
terkhen 699e077b6e (svn r20921) -Fix [FS#4160]: Refit costs were not shown for long cargo names. 14 years ago
rubidium 713165fba9 (svn r20777) -Codechange: make VehicleListIdentifier a variable of BaseVehicleList and use that instead of "dereferencing" the window number and storing some information twice 14 years ago
rubidium eeb53fc575 (svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well 14 years ago
rubidium 1664ac1eb5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 14 years ago
rubidium fcb4cfedb0 (svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters 14 years ago
rubidium 91ea9c969f (svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters 14 years ago
rubidium 56ebc2359e (svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot 14 years ago
rubidium db3a6485d7 (svn r20768) -Codechange: unify send-to-depot commands 14 years ago
smatz 63b8fea69f (svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window 14 years ago
frosch 46acb837eb (svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news. 14 years ago
frosch 41dac2e579 (svn r20719) -Codechange: Remove some hardcoded iconsizes. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 27e45d96a4 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 14 years ago
rubidium f4174fcc2f (svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot 14 years ago