Commit Graph

555 Commits (68f969282e646b3fde7797a91beb3e38701564a6)

Author SHA1 Message Date
frosch 68f969282e (svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle(). 13 years ago
frosch b6766c2ed5 (svn r22976) -Codechange: Split group statistics into separate struct. 13 years ago
frosch 2188383658 (svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors. 13 years ago
frosch b642b4a881 (svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew. 13 years ago
frosch 28117b3eb0 (svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts. 13 years ago
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
michi_cc 050a212195 (svn r22572) -Fix: MSVC performance warning (assigning int to bool). 13 years ago
michi_cc c9af6126f8 (svn r22532) -Fix: Do not create an implicit order if the current order is the first order in the order list and we visit the station of the last entry of the order list. 14 years ago
frosch 460d24fd83 (svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries. 14 years ago
frosch 87515d0873 (svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc. 14 years ago
frosch 474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 14 years ago
planetmaker 43c8cd1d5e (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 14 years ago
frosch 204a6b16c3 (svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones. 14 years ago
frosch 74069dbda3 (svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders. 14 years ago
frosch 8dd2f413bd (svn r22331) -Change: When inserting an (automatic) order A in front of an order B, disable modifications of automatic orders for all vehicles currently heading for B as we do not know whether they will reach A or B first. (except for the vehicle causing the insertion of the automatic order itself) 14 years ago
frosch 709f0e4f83 (svn r22329) -Change: When the current orders are interrupted for non-ordered service, disable modifications to automatic orders until the next real order is completed. (train part already slipped by in r22328) 14 years ago
frosch 194a941a37 (svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal of automatic orders until the next real order is reached. 14 years ago
frosch aedd38255b (svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing GroundVehicle<>::gv_flags through a Vehicle struct. 14 years ago
frosch 5eafcd8de6 (svn r22324) -Fix: Vehicles skipped orders when inserting automatic orders failed. 14 years ago
frosch dd20823277 (svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself. 14 years ago
frosch 19b7249ade (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
smatz 756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
rubidium 68bc93f950 (svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools 14 years ago
smatz 7af2470a78 (svn r22022) -Fix [FS#4468]: verify we can allocate an order before we actually try to do so 14 years ago
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium 64cba95fbe (svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under bridges, or rather through bridges 14 years ago
rubidium 4c5ca17486 (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 a97d52a29a (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 67a5cd0b18 (svn r21932) -Document: some tidbits related to vehicles 14 years ago
alberth eea2f90da7 (svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions. 14 years ago
terkhen 734994c9ba (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 8017c2a3d7 (svn r21909) -Fix: some missing spaces 14 years ago
frosch 9a1c0f139a (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 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
terkhen b5468e7a80 (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 14 years ago
terkhen cfbbcf1597 (svn r21858) -Codechange: Give more similar names to ArticulatedPart functions. 14 years ago
rubidium d89095b3ec (svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z]. 14 years ago
rubidium 62128e8263 (svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour 14 years ago
rubidium bd9f07e5a0 (svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen) 14 years ago
rubidium 4784c3ac3c (svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen) 14 years ago
rubidium bc9afec3b0 (svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen) 14 years ago
smatz 0ab078158e (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 2709454040 (svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day 14 years ago
frosch be106c77a9 (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 64c7cc51b5 (svn r21679) -Fix (r21642): reading a just freed variable 14 years ago
rubidium b06b05c360 (svn r21643) -Fix (r21642): crash when a train with no orders (or actually no order list) stops at a station 14 years ago
rubidium 64f04c3a74 (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 c4ad5d6fea (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 4b2624de1d (svn r21597) -Fix (r21239): Also catch the case when callback 10 returns VE_DEFAULT. 14 years ago
frosch fbe653d4ef (svn r21596) -Codechange: Rename a misleading-named variable. 14 years ago