rubidium
|
bd9f07e5a0
|
(svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen)
|
2011-01-15 18:19:04 +00:00 |
rubidium
|
4784c3ac3c
|
(svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen)
|
2011-01-15 18:16:46 +00:00 |
rubidium
|
bc9afec3b0
|
(svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen)
|
2011-01-15 18:14:29 +00:00 |
smatz
|
0ab078158e
|
(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead
|
2011-01-15 15:51:16 +00:00 |
smatz
|
2709454040
|
(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day
|
2011-01-15 14:20:34 +00:00 |
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.
|
2011-01-06 22:27:56 +00:00 |
rubidium
|
64c7cc51b5
|
(svn r21679) -Fix (r21642): reading a just freed variable
|
2010-12-31 15:53:46 +00:00 |
rubidium
|
b06b05c360
|
(svn r21643) -Fix (r21642): crash when a train with no orders (or actually no order list) stops at a station
|
2010-12-26 12:55:12 +00:00 |
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
|
2010-12-26 09:03:19 +00:00 |
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.
|
2010-12-22 15:40:22 +00:00 |
frosch
|
4b2624de1d
|
(svn r21597) -Fix (r21239): Also catch the case when callback 10 returns VE_DEFAULT.
|
2010-12-22 14:51:12 +00:00 |
frosch
|
fbe653d4ef
|
(svn r21596) -Codechange: Rename a misleading-named variable.
|
2010-12-22 14:38:24 +00:00 |
terkhen
|
8fc48a79da
|
(svn r21562) -Change: Add articulated parts of vehicles in a refit selection to that selection.
|
2010-12-21 13:53:19 +00:00 |
terkhen
|
a1ff6859c5
|
(svn r21561) -Change: Allow to specify the number of vehicles to refit in the refit vehicle command.
|
2010-12-21 13:52:10 +00:00 |
terkhen
|
48b7916458
|
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
|
2010-12-14 21:33:53 +00:00 |
terkhen
|
a4a9274177
|
(svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from a Vehicle.
|
2010-12-14 21:31:00 +00:00 |
terkhen
|
12c86a1391
|
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
|
2010-12-14 21:28:45 +00:00 |
rubidium
|
6d831906a3
|
(svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function
|
2010-12-13 21:55:06 +00:00 |
rubidium
|
23369337c1
|
(svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle.
|
2010-12-11 13:48:30 +00:00 |
rubidium
|
40258d927f
|
(svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo)
|
2010-11-18 23:09:24 +00:00 |
rubidium
|
2223ff92c7
|
(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo)
|
2010-11-18 14:32:09 +00:00 |
rubidium
|
46186134c8
|
(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)
|
2010-11-18 14:20:03 +00:00 |
rubidium
|
9af570eab4
|
(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo)
|
2010-11-18 14:15:27 +00:00 |
rubidium
|
b9407f7ca0
|
(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo)
|
2010-11-18 14:09:39 +00:00 |
terkhen
|
c96cb9ce37
|
(svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers.
|
2010-11-16 20:56:04 +00:00 |
terkhen
|
25d1b2f54b
|
(svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time.
|
2010-11-06 13:03:17 +00:00 |
alberth
|
fa13971337
|
(svn r21088) -Doc: Additions/corrections of doxygen comments.
|
2010-11-05 16:34:22 +00:00 |
alberth
|
7e48d85104
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
2010-10-30 17:51:07 +00:00 |
frosch
|
8dc7521bf2
|
(svn r21039) -Fix/Cleanup: Remove an unneeded and even wrong test, which is never reached anyway though.
|
2010-10-25 20:43:36 +00:00 |
frosch
|
611e986226
|
(svn r20847) -Codechange: Split most of GetEngineLivery() into a separate GetEngineLiveryScheme() function.
|
2010-09-25 21:57:52 +00:00 |
rubidium
|
f5128695c5
|
(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers
|
2010-09-08 21:37:13 +00:00 |
smatz
|
fd54943c7a
|
(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
|
2010-09-06 14:14:09 +00:00 |
rubidium
|
f1f1c71a41
|
(svn r20646) -Codechange: make the code flow of breakdown handling a bit clearer
|
2010-08-28 14:18:56 +00:00 |
rubidium
|
2fb18e975c
|
(svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo)
|
2010-08-28 14:14:37 +00:00 |
rubidium
|
702cc96943
|
(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)
|
2010-08-28 14:01:50 +00:00 |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
2010-08-26 22:01:16 +00:00 |
rubidium
|
e2e26190d5
|
(svn r20623) -Codechange: unify the storing of animation related information
|
2010-08-26 15:31:40 +00:00 |
rubidium
|
9d1145e50c
|
(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.
|
2010-08-23 22:28:35 +00:00 |
rubidium
|
d6cd62e633
|
(svn r20581) -Codechange: simplify getting the station in CalcPercentVehicleFilled
|
2010-08-20 15:35:14 +00:00 |
rubidium
|
287ee8c01d
|
(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.
|
2010-08-18 15:58:30 +00:00 |
alberth
|
35fec79700
|
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
|
2010-08-15 14:06:43 +00:00 |
rubidium
|
29b489a055
|
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
|
2010-08-10 15:54:53 +00:00 |
alberth
|
5cfc029523
|
(svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed.
|
2010-08-06 20:10:53 +00:00 |
alberth
|
e0e66b6ed0
|
(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.
|
2010-08-06 19:56:14 +00:00 |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
2010-08-01 19:44:49 +00:00 |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
2010-08-01 19:22:34 +00:00 |
yexo
|
dd7800ea18
|
(svn r20234) -Fix [FS#3988]: refit costs from refit orders are subtracted from the vehicle yearly income
|
2010-07-28 14:18:58 +00:00 |
terkhen
|
8858729ae7
|
(svn r20142) -Fix [FS#3880]: Ships were not marked as dirty when stopping inside a depot.
|
2010-07-14 12:20:48 +00:00 |
frosch
|
1055c2b0fd
|
(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available.
|
2010-07-10 08:54:57 +00:00 |
michi_cc
|
811f0db597
|
(svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes fail to release its reserved path.
|
2010-07-09 14:14:17 +00:00 |
alberth
|
604e56adc2
|
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
|
2010-06-27 09:05:10 +00:00 |
frosch
|
e931399b31
|
(svn r20005) -Codechange: Enumify force_proceed.
|
2010-06-21 17:35:27 +00:00 |
frosch
|
94efc4c3b9
|
(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.
|
2010-06-16 20:27:59 +00:00 |
terkhen
|
3287f91893
|
(svn r19963) -Add: Stop a vehicle after it crashes or is destroyed.
|
2010-06-11 20:30:12 +00:00 |
frosch
|
1d3adb2b66
|
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
2010-06-05 12:16:12 +00:00 |
frosch
|
9db3cde73a
|
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
|
2010-05-31 20:22:57 +00:00 |
smatz
|
00a52cc475
|
(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
|
2010-05-03 23:36:17 +00:00 |
rubidium
|
f56ebd81c3
|
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
|
2010-04-24 13:39:11 +00:00 |
smatz
|
0ef33548c2
|
(svn r19614) -Codechange: "it's" => "its" where appropriate
|
2010-04-12 14:12:47 +00:00 |
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
2010-03-20 17:58:24 +00:00 |
yexo
|
c4a88ce022
|
(svn r19455) -Codechange: split all airport information in Station to a seperate class
|
2010-03-18 21:02:20 +00:00 |
alberth
|
7cc68f493d
|
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
|
2010-03-13 17:11:28 +00:00 |
alberth
|
55f8d5d802
|
(svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now.
|
2010-03-07 18:24:41 +00:00 |
alberth
|
6eac50bc16
|
(svn r19366) -Codechange: Move setting of _error_message from the callback check routine to the caller.
|
2010-03-07 16:10:40 +00:00 |
alberth
|
29b79e03e8
|
(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.
|
2010-03-07 15:54:58 +00:00 |
alberth
|
c395b93acd
|
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
|
2010-03-05 21:20:22 +00:00 |
yexo
|
404df87b1f
|
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
|
2010-02-28 20:28:08 +00:00 |
alberth
|
63dd6ce6b0
|
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
|
2010-02-28 18:15:19 +00:00 |
alberth
|
993d82b879
|
(svn r19289) -Codechange: Move _error_message assignment from check routine to caller.
|
2010-02-28 10:47:46 +00:00 |
alberth
|
8408b42dee
|
(svn r19288) -Codechange: Move EnsureNoVehicleOnGround() and HasVehicleOnTunnelBridge() functions.
|
2010-02-28 10:44:53 +00:00 |
alberth
|
d7698bb6db
|
(svn r19282) -Doc: Add some doxygen doc markup.
|
2010-02-27 19:53:37 +00:00 |
smatz
|
f051066bc4
|
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
|
2010-02-24 14:46:15 +00:00 |
frosch
|
63b01f2009
|
(svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi)
|
2010-02-22 21:46:20 +00:00 |
smatz
|
d155794605
|
(svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies
|
2010-02-01 00:10:52 +00:00 |
rubidium
|
f94c83a387
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
2010-01-21 01:38:13 +00:00 |
rubidium
|
4d93b704d9
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
2010-01-18 22:57:21 +00:00 |
rubidium
|
aaf0b4b46c
|
(svn r18812) -Codechange: make some functions in train.h functions of Train.
|
2010-01-15 18:23:52 +00:00 |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
rubidium
|
e4af35d316
|
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
|
2010-01-09 14:43:08 +00:00 |
rubidium
|
fb9eba67d1
|
(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
|
2009-12-27 09:05:00 +00:00 |
frosch
|
640442ae03
|
(svn r18571) -Fix (r18551): Vehicles not carrying any cargo (e.g. engines) were not considered for sending to depot for replacement.
|
2009-12-20 15:21:39 +00:00 |
frosch
|
4434422c11
|
(svn r18568) -Codechange: Bail out early.
|
2009-12-20 15:08:20 +00:00 |
frosch
|
7ea108224b
|
(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.
|
2009-12-19 21:54:34 +00:00 |
rubidium
|
d48ad4b6e3
|
(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.
|
2009-12-19 21:19:45 +00:00 |
rubidium
|
5c2b6a8943
|
(svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269
|
2009-12-19 15:31:23 +00:00 |
peter1138
|
5a8353fafc
|
(svn r18479) -Fix (r6532): Direction is accounted for long before motion counter is updated
|
2009-12-13 08:46:08 +00:00 |
rubidium
|
ae92fd2865
|
(svn r18468) -Codechange: make sure one never makes self-loops using Vehicle::SetNext
|
2009-12-12 21:04:08 +00:00 |
rubidium
|
19fa38601d
|
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
|
2009-12-04 20:29:46 +00:00 |
rubidium
|
0ef0e13795
|
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
|
2009-12-02 18:18:56 +00:00 |
frosch
|
828729344d
|
(svn r17974) -Fix (r17926)[FS#3300]: C != T
|
2009-11-05 16:56:53 +00:00 |
frosch
|
3a95e115fc
|
(svn r17930) -Fix (r17926): Aircraft were not carrying mail anymore, when CB15 was in use.
|
2009-11-01 08:48:16 +00:00 |
alberth
|
44aacfc59f
|
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
|
2009-10-31 19:46:51 +00:00 |
frosch
|
67cae40ec1
|
(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides.
|
2009-10-31 17:48:09 +00:00 |
frosch
|
00aca63b48
|
(svn r17899) -Codechange: Deduplicate code for refitting vehicles.
|
2009-10-28 21:09:37 +00:00 |
frosch
|
83894809d0
|
(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.
|
2009-10-28 18:31:16 +00:00 |
frosch
|
f3aacb8fe3
|
(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present.
|
2009-10-06 19:17:07 +00:00 |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
rubidium
|
e9624fe0cc
|
(svn r17682) -Codechange: remove erroneous space before some commas
|
2009-10-02 15:13:15 +00:00 |
frosch
|
7fa4d576ca
|
(svn r17594) -Fix: Vehicle image was not always updated when needed.
|
2009-09-20 19:36:27 +00:00 |
rubidium
|
af457fc9fe
|
(svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
2009-09-15 20:58:44 +00:00 |