Commit Graph

460 Commits (733516639d86fc58e4a9be2b41c1509eb61ff760)

Author SHA1 Message Date
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
michi_cc 957b643ae6 (svn r23504) -Feature: Aircraft range. 13 years ago
frosch e83fa1da5b (svn r23487) -Change/Fix: Make autoreplace, autorenew, cloning and autorefit check all articulated parts of a vehicle to find a shared cargo subtype. 13 years ago
rubidium 7abb74d4a2 (svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the vehicles when adding an extra order 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
frosch 6365d92776 (svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts. 13 years ago
michi_cc 2b64009657 (svn r23111) -Fix: Keep subtype when automatically choosing the cargo for auto-refitting. 13 years ago
michi_cc a50877bef7 (svn r23089) -Add: Allow specifying refits for go-to station orders. 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
frosch ad38f27242 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 13 years ago
frosch e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
frosch f9f257ce4a (svn r22984) -Feature: Display profit icons for groups in the group GUI. 13 years ago
terkhen bc1fc20e9c (svn r22941) -Fix: Calculate the size of the start/stop vehicle button correctly. 13 years ago
yexo 996f10b775 (svn r22373) -Fix (r19955) (r20041) [FS#4592]: crash when clicking a removed company in the vehiclelist dropdowns 13 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 13 years ago
frosch db3a8d1abf (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 13 years ago
frosch 071957f593 (svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself. 13 years ago
frosch afd2e51936 (svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope invalidations themself (from autoreplace and refitting). 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
frosch 1a14c133c6 (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. 14 years ago
frosch 0a28d212f4 (svn r22226) -Codechange: When autoreplace invalidates vehicle windows because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them. 14 years ago
frosch 04f56cf6ed (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 14 years ago
frosch 074548f8f3 (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, 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. 14 years ago
terkhen f0dbdf1544 (svn r22118) -Fix [FS#4525]: The refit window was not correctly updated after selecting with Ctrl+Click (Regiovogel). 14 years ago
rubidium 561b9b899f (svn r22034) -Fix [FS#4488]: crash when watching the vehicle view of a vehicle that has multiple sequential nearest depot orders (or consists of a single nearest depot order) when there is no depot with index 0 14 years ago
frosch 7d37b72b09 (svn r21991) -Fix [FS#4466]: The share/copy-orders-cursor was not updated to refer to the new vehicle when it got autoreplaced/-renewed. 14 years ago
frosch 761b74713f (svn r21990) -Cleanup (r14085): Remove unneeded test. 14 years ago
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