Commit Graph

652 Commits (688ee9ac11e01a7efc489d24d9e93527f0ec943a)

Author SHA1 Message Date
peter1138 0887289e3d (svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display to group vehicle list (mtm, JGR) 7 years ago
frosch ba566e9126 (svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites. 8 years ago
frosch a37bb32fd6 (svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw. 8 years ago
frosch f36539837e (svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq. 8 years ago
frosch a66e0ff1f4 (svn r27584) -Codechange: Add some assertions about Vehicle::cargo_payment. 8 years ago
frosch 0f8f738942 (svn r27426) -Change: Round loading percentage in loading indicators and conditional orders towards 50%, so that 0% and 100% mean completely empty or full. 9 years ago
planetmaker da9a1d0c14 (svn r27222) -Fix [FS#6278]: Use the current maximum speed as limited by bridges, orders etc. for all vehicle types alike when considering increased smoke emissions of vehicles. 9 years ago
frosch 891e4c40ce (svn r27148) -Fix: Rounding and unit-conversion inconsistencies in calls to MarkAllViewportsDirty. 10 years ago
rubidium dc2b4f2498 (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
rubidium ac269a3f08 (svn r26863) -Codechange: move a number of Vehicle* functions into the Vehicle class 10 years ago
frosch 5853f9c714 (svn r26756) -Fix (r26747): Ground vehicle breakdown smoke was not supposed to be available yet, since it is a looping animation. 10 years ago
frosch c6cd861997 (svn r26755) -Fix (r26747) [FS#6093]: Silence MSVC warning. 10 years ago
frosch e704ab3921 (svn r26747) -Feature: [NewGRF] Advanced visual effects with multiple effect sprites independent of spawning model. 10 years ago
frosch 156fed1b61 (svn r26746) -Codechange: Separate enums for visual effect type and spawning model. 10 years ago
frosch 07077c2088 (svn r26745) -Codechange: Deduplicate calls to CreateEffectVehicleRel for vehicle visual effects. 10 years ago
rubidium 498556d6ce (svn r26706) -Fix [FS#6015] (r20644): wrong breakdown sound was played for ships 10 years ago
rubidium 0d2f141c10 (svn r26699) -Fix-ish: do not crash when trying to show an error about vehicle in a NewGRF and the NewGRF was not loaded at all 10 years ago
fonsinchen 957b7c0199 (svn r26594) -Fix [FS#6006]: Don't call UpdateVehicleTimetable with dummy orders 10 years ago
fonsinchen c81a6070cb (svn r26547) -Codechange: Collect order travel and wait times independent of timetables 10 years ago
fonsinchen d49dad9f9c (svn r26546) -Codechange: Make order wait_time, travel_time and max_speed private 10 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
frosch eb6974179d (svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to. 11 years ago
rubidium 379e83f042 (svn r26101) -Fix: NULL pointer dereference when one can't allocate an order list but wants to make implicit orders 11 years ago
frosch e580a3fe8a (svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour palette when leaving a station. 11 years ago
fonsinchen fb281ce23c (svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class LinkRefresher. 11 years ago
fonsinchen d0c610f0ec (svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges. 11 years ago
fonsinchen 67e0f7416a (svn r25883) -Fix: Limit recursion and branching in RefreshNextHopsStats more aggressively. 11 years ago
fonsinchen 9eb73939c9 (svn r25738) -Feature: recursively walk all branches of conditional orders in the order prediction logic 11 years ago
fonsinchen 0d9612a0fb (svn r25737) -Codechange: move inner workings of RefreshNextHopsStats into separate function 11 years ago
fonsinchen 40120e1bad (svn r25736) -Codechange: move condition prediction out of GetNextStoppingOrder so that we can access both branches in calling code 11 years ago
fonsinchen 2c2e143026 (svn r25735) -Feature: allow implicit orders even if no explicit ones are given. 11 years ago
fonsinchen cb4bde78b1 (svn r25717) -Fix: check for type of order before checking for refit type 11 years ago
frosch bab22f7c1b (svn r25695) -Fix [FS#5700] (r24882, r25648): Vehicle::MarkDirty must be called for the front engine. 11 years ago
frosch 206616bf37 (svn r25648) -Change [FS#5669]: [NewGRF] Invalidate vehicle recolour palette during (un)loading. 11 years ago
fonsinchen c827eb9e0e (svn r25636) -Fix: invalidate last_loading_station when stopping in depot 11 years ago
rubidium 67bb165b9d (svn r25604) -Fix [FS#5550]: Only the front engine's date of last service was updated 11 years ago
fonsinchen ae5e88e186 (svn r25565) -Codechange: Rewrite order prediction logic to introduce proper refit prediction 11 years ago
fonsinchen f022550df9 (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 11 years ago
fonsinchen 2ad1f88feb (svn r25329) -Fix [FS#5582]: for refreshing next hops implicit orders are equivalent to explicit stopping orders 11 years ago
rubidium 46df11b74a (svn r25319) -Fix [FS#5570]: crash when train with reserved cargo vanishes 11 years ago
rubidium 6b746167e4 (svn r25259) -Codechange: track capacities and usage of links 11 years ago
rubidium f952f0bfdd (svn r25235) -Fix [FS#5543]: keep all cargo whenever cancelling reservations (fonsinchen) 11 years ago
frosch 464ec793e8 (svn r25226) -Fix/Change [FS#5538]: [NewGRF] Revise when vehicle running sound effects 04, 07 and 08 are played.
In depot or tunnel, or when crashed or stopped: No sound.
  Braking: Effect 08 instead of 07.
11 years ago
frosch fd321c6e5f (svn r25225) -Fix: [NewGRF] Play vehicle sound effect also for planes. 11 years ago
frosch 803046d32b (svn r25224) -Fix [part of FS#5534]: cur_speed is only valid for the front engine, so make other engines in the consist use the speed of the front. 11 years ago
frosch c5d7445704 (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 11 years ago
rubidium e0d3265546 (svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function 11 years ago
frosch 972c4560dc (svn r25041) -Remove [FS#3764-ish]: ordered refit with subtypes, since the cases where it worked were corner cases rather than the general case. 12 years ago
rubidium 7dd2354a13 (svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle 12 years ago
rubidium 84ca041564 (svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen) 12 years ago