Commit Graph

568 Commits (ebf19d62197f4335e6efc58714efb7610d586074)

Author SHA1 Message Date
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
rubidium 876628e562 (svn r20581) -Codechange: simplify getting the station in CalcPercentVehicleFilled 14 years ago
rubidium 7caedf7810 (svn r20541) -Fix: when removing a vehicle update the "clone orders of"-vehicle of a backed up order, or remove it if there is no vehicle sharing orders with that vehicle. 14 years ago
alberth a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
rubidium b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 14 years ago
alberth 015195c312 (svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed. 14 years ago
alberth 2157341f90 (svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
yexo d94364c638 (svn r20234) -Fix [FS#3988]: refit costs from refit orders are subtracted from the vehicle yearly income 14 years ago
terkhen 5dfe48f2ce (svn r20142) -Fix [FS#3880]: Ships were not marked as dirty when stopping inside a depot. 14 years ago
frosch 782ec1bbff (svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available. 14 years ago
michi_cc 454144474a (svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes fail to release its reserved path. 14 years ago
alberth 0dd71a0d7e (svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation. 14 years ago
frosch 6f800a8407 (svn r20005) -Codechange: Enumify force_proceed. 14 years ago
frosch 604971bdb2 (svn r19992) -Fix [FS#3878]: Clear force_proceed when entering depots and when loading.
-Fix (r18515): Resetting of force_proceed on manual stopping did not work.
14 years ago
terkhen 76287b117f (svn r19963) -Add: Stop a vehicle after it crashes or is destroyed. 14 years ago
frosch a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
smatz 27949d219d (svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance 14 years ago
rubidium cb92cdf975 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth b04de719b3 (svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now. 15 years ago
alberth a8385d5bf5 (svn r19366) -Codechange: Move setting of _error_message from the callback check routine to the caller. 15 years ago
alberth 014f651e65 (svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp. 15 years ago
alberth 4c0d4990f5 (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
alberth d0ec21fd3f (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 15 years ago
alberth 6601623518 (svn r19289) -Codechange: Move _error_message assignment from check routine to caller. 15 years ago
alberth 16f52ec33a (svn r19288) -Codechange: Move EnsureNoVehicleOnGround() and HasVehicleOnTunnelBridge() functions. 15 years ago
alberth e6397cf68b (svn r19282) -Doc: Add some doxygen doc markup. 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
frosch 89e7d3bd2b (svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi) 15 years ago
smatz 50530a2529 (svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium ea240269dc (svn r18812) -Codechange: make some functions in train.h functions of Train. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium ad8d6e8dd2 (svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way 15 years ago
rubidium 1c9fc3f3eb (svn r18642) -Fix [FS#3432]: when a company goes bankrupt and has vehicles on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted 15 years ago
frosch 1e9c78b9c4 (svn r18571) -Fix (r18551): Vehicles not carrying any cargo (e.g. engines) were not considered for sending to depot for replacement. 15 years ago
frosch c22e462d96 (svn r18568) -Codechange: Bail out early. 15 years ago
frosch fec93aef84 (svn r18551) -Fix [FS#1762]: When autoreplace is the only allowed reason to send vehicles to depot, first check some minimal requirements (engine availability, refittability) and a heuristic for the needed money. 15 years ago
rubidium 0508f789e9 (svn r18549) -Fix: first do the time-since-last-service check and only then determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout. 15 years ago
rubidium 730f0483b9 (svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269 15 years ago
peter1138 5b07373aab (svn r18479) -Fix (r6532): Direction is accounted for long before motion counter is updated 15 years ago
rubidium 8d8207e285 (svn r18468) -Codechange: make sure one never makes self-loops using Vehicle::SetNext 15 years ago
rubidium 6600610e47 (svn r18402) -Codechange: unify/centralise the code for crashing vehicles 15 years ago
rubidium 6278f0b8a9 (svn r18385) -Cleanup: remove the now unneeded multistop slot management code 15 years ago
frosch f9c3055445 (svn r17974) -Fix (r17926)[FS#3300]: C != T 15 years ago
frosch 6fba936a1f (svn r17930) -Fix (r17926): Aircraft were not carrying mail anymore, when CB15 was in use. 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
frosch 9fafef56d0 (svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides. 15 years ago
frosch 020c53fc7e (svn r17899) -Codechange: Deduplicate code for refitting vehicles. 15 years ago
frosch 23980e6486 (svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
15 years ago
frosch 4cb5a3e8a2 (svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium ed8788d581 (svn r17682) -Codechange: remove erroneous space before some commas 15 years ago
frosch 1192ed4c2d (svn r17594) -Fix: Vehicle image was not always updated when needed. 15 years ago