Commit Graph

529 Commits (f1163f5c2076e732bd9fcbe668d50ff85d311e43)

Author SHA1 Message Date
rubidium c0f39415b9 (svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it 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
rubidium c7939e8a63 (svn r21932) -Document: some tidbits related to vehicles 14 years ago
alberth 5ef4317dd9 (svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions. 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
rubidium 54c0dec6aa (svn r21909) -Fix: some missing spaces 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
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
terkhen fdb720cc1a (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 14 years ago
terkhen 44a10ac857 (svn r21858) -Codechange: Give more similar names to ArticulatedPart functions. 14 years ago
rubidium 3dd1cf6049 (svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z]. 14 years ago
rubidium 79c908d6f3 (svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour 14 years ago
rubidium 6ae5911ed0 (svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen) 14 years ago
rubidium b9cd093c41 (svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen) 14 years ago
rubidium da371c5776 (svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen) 14 years ago
smatz 6d9789fed8 (svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead 14 years ago
smatz e98fe27c5d (svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day 14 years ago
frosch a0c7c3ad54 (svn r21738) -Fix (r21642)[FS#4384]: Start loading when cur_order_index points to the destination station, i.e. after deleting not-reached automatic orders. 14 years ago
rubidium 4f8cc1be46 (svn r21679) -Fix (r21642): reading a just freed variable 14 years ago
rubidium 1da871cc01 (svn r21643) -Fix (r21642): crash when a train with no orders (or actually no order list) stops at a station 14 years ago
rubidium 4d6841b553 (svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen 14 years ago
frosch 75b938beb7 (svn r21598) -Fix (r3139, r21236, r21249)[FS#4275]: The default visual effect only depends on properties of the Engine (wagon or not, tractiontype, ...), not whether it is used as articulated part, front engine or whatever in a specific consist. 14 years ago
frosch 84033e2876 (svn r21597) -Fix (r21239): Also catch the case when callback 10 returns VE_DEFAULT. 14 years ago
frosch cbb10918e2 (svn r21596) -Codechange: Rename a misleading-named variable. 14 years ago
terkhen 0cbf97bc0e (svn r21562) -Change: Add articulated parts of vehicles in a refit selection to that selection. 14 years ago
terkhen d3dd1b0e2f (svn r21561) -Change: Allow to specify the number of vehicles to refit in the refit vehicle command. 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
rubidium a4289a4e23 (svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function 14 years ago
rubidium d5bdeb3589 (svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle. 14 years ago
rubidium 6dc948c667 (svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo) 14 years ago
rubidium 3969e4f951 (svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo) 14 years ago
rubidium a56627cc77 (svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo) 14 years ago
rubidium 8ed1333952 (svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo) 14 years ago
rubidium 5f4754f2db (svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo) 14 years ago
terkhen b4c22e854f (svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers. 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
alberth e5b817e99a (svn r21088) -Doc: Additions/corrections of doxygen comments. 14 years ago
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
frosch edd01d21da (svn r21039) -Fix/Cleanup: Remove an unneeded and even wrong test, which is never reached anyway though. 14 years ago
frosch 4872b93e49 (svn r20847) -Codechange: Split most of GetEngineLivery() into a separate GetEngineLiveryScheme() function. 14 years ago
rubidium 1664ac1eb5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 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
rubidium adb7baf2d8 (svn r20646) -Codechange: make the code flow of breakdown handling a bit clearer 14 years ago
rubidium 64f4b0d718 (svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo) 14 years ago
rubidium 28d1d32161 (svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo) 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 514f566d7c (svn r20623) -Codechange: unify the storing of animation related information 14 years ago
rubidium 64264317a3 (svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not. 14 years ago