Jonathan G Rennison
91ca8ab326
Merge branch 'improved_breakdowns' into jgrpp
9 years ago
Jonathan G Rennison
44ecaaff01
Improved breakdowns: Fix smoke persisting long after vehicles have gone.
...
Fix animation_state not being set for limited speed/power breakdowns,
such that the smoke lasted for a randomly long amount of time,
instead show a short burst of smoke.
Fix smoke for limited speed/power breakdowns only being shown 1/32 of
the time.
Make sure that a breakdown has non-zero delay before showing smoke.
9 years ago
Jonathan G Rennison
4c506a8fc8
Fix EF_NO_BREAKDOWN_SMOKE vehicle flag being ignored.
...
This is due to a bad merge/import in commit
9f5164b403
.
9 years ago
Jonathan G Rennison
876a21b3c1
Fix indentation/whitespace issues in breakdown code.
9 years ago
Jonathan G Rennison
6d695a1426
Merge branch 'master' into improved_breakdowns
9 years ago
Jonathan G Rennison
87c8bb74bd
Merge branch 'service_autorenew' into jgrpp
9 years ago
Jonathan G Rennison
dd2805da8c
Servicing: send vehicles which need auto-renewing due to age for servicing,
...
even if breakdowns are off and no servicing if no breakdowns is on.
9 years ago
Jonathan G Rennison
f0fecda985
Merge branch 'order_occupancy-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/settings_gui.cpp
9 years ago
Jonathan G Rennison
117599ec7f
Order occupancy: Add column to orders GUI to show occupancy running average.
...
This is an exponentially weighted moving average of occupancies updated
when any vehicle in the shared order set leaves the station of that order.
The weighting factor is an adv setting.
9 years ago
Jonathan G Rennison
15c2327fd4
Merge branch 'master' into auto_timetables
9 years ago
Jonathan G Rennison
9565e5b9b1
Merge branch 'day_length-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/timetable_cmd.cpp
9 years ago
patch-import
d86a56cbef
Import day length patch
...
Minor whitespace fixes.
http://www.tt-forums.net/viewtopic.php?p=1148227#p1148227
9 years ago
Jonathan G Rennison
4c6dc11c16
Merge branch 'infrastructure_sharing-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/signal.cpp
src/table/settings.ini
src/vehicle.cpp
9 years ago
Jonathan G Rennison
a4ad4130a6
Merge branch 'master' into infrastructure_sharing
...
Conflicts:
src/aircraft_cmd.cpp
src/economy.cpp
src/lang/english.txt
src/order_gui.cpp
src/roadveh_cmd.cpp
src/saveload/saveload.cpp
src/settings.cpp
src/settings_gui.cpp
src/train_cmd.cpp
9 years ago
patch-import
ee791055f9
Import infrastructure sharing patch
...
Strip trailing whitespace
Remove a leftover line form settings.ini
http://www.tt-forums.net/viewtopic.php?p=1008843#p1008843
9 years ago
Jonathan G Rennison
7ed93f9211
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
...
town_gui.cpp updated due to struct CommandContainer change.
Conflicts:
src/command.cpp
src/command_type.h
src/gfxinit.cpp
src/openttd.cpp
src/pbs.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/stdafx.h
src/train_cmd.cpp
src/viewport_type.h
src/window_type.h
9 years ago
Jonathan G Rennison
e24839ed65
Merge branch 'master' into enhanced_viewport_overlay
...
Notes on conflict resolution:
* MarkTileDirtyByTile gained an extra param on both sides of the merge
Move bridge level offset to be after zoom level param, as it's used less.
* Add zoom level params to MarkBridgeDirty functions
* Fix undefined behaviour in colour_index cycling in ViewportMapDraw
Conflicts:
src/clear_cmd.cpp
src/pbs.cpp
src/rail_cmd.cpp
src/toolbar_gui.cpp
src/train_cmd.cpp
src/vehicle.cpp
src/viewport.cpp
src/viewport_func.h
9 years ago
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
9 years ago
Jonathan G Rennison
20e2f363f1
Merge branch 'vehicle_repair_costs-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/settings_type.h
9 years ago
Jonathan G Rennison
0a7441e56c
Merge branch 'save_ext' into vehicle_repair_costs-sx
...
Conflicts:
src/saveload/saveload.cpp
src/settings_gui.cpp
9 years ago
Jonathan G Rennison
938babfe7b
Vehicle repair costs patch: whitespace fixes.
9 years ago
patch-import
7537ae2a7e
Import vehicle repair costs patch
...
Strip trailing whitespace
http://www.tt-forums.net/viewtopic.php?p=1093268#p1093268
9 years ago
Jonathan G Rennison
ba4e5dd62f
Merge branch 'auto_timetables-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/settings_gui.cpp
src/vehicle.cpp
9 years ago
Jonathan G Rennison
33854a138f
Merge branch 'save_ext' into auto_timetables-sx
9 years ago
Jonathan G Rennison
0ebf8b6b0b
Fixes to auto timetable patch: move new VehicleFlags to end,
...
whitespace & style, fix lang strings.
9 years ago
patch-import
80deb3c01d
Import auto timetable separation patch
...
http://www.tt-forums.net/viewtopic.php?p=1140899#p1140899
9 years ago
Jonathan G Rennison
e4ccea350b
Merge branch 'wait_in_depot-sx' into jgrpp
...
Conflicts:
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
9 years ago
Jonathan G Rennison
2f9ebebf02
Merge branch 'master' into wait_in_depot
9 years ago
Jonathan G Rennison
4d1c4d18be
Timetable wait in depot: minor whitespace/style changes.
9 years ago
patch-import
d8c5de188f
Import timetabling wait time in depots patch
...
http://www.tt-forums.net/viewtopic.php?f=33&t=70969
9 years ago
Jonathan G Rennison
a8c2c394a5
Merge branch 'improved_breakdowns-sx' into jgrpp
...
Conflicts:
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/settings_type.h
9 years ago
Jonathan G Rennison
d023d0863f
Merge branch 'save_ext' into improved_breakdowns-sx
...
Conflicts:
src/saveload/saveload.cpp
9 years ago
Jonathan G Rennison
80d52eb20e
Improved breakdowns patch: fix various issues
...
* Whitespace/formatting
* Fix setting lang string
* Fix spelling of VRF_TO_HEAVY
9 years ago
patch-import
9f5164b403
Import Improved Breakdowns patch
...
Fix trailing whitespace
http://www.tt-forums.net/viewtopic.php?p=1146419#p1146419
9 years ago
Jonathan G Rennison
8271acadb7
Merge branch 'show_veh_tunnel' into jgrpp
9 years ago
Jonathan G Rennison
78b2e5babb
Merge branches 'upgrade_airport' and 'vehicle_group_info' into jgrpp
9 years ago
patch-import
45b5145396
Add group info patch
...
Fix whitespace, add NOSAVE comment in vehicle struct
http://www.tt-forums.net/viewtopic.php?f=33&t=72855
9 years ago
Jonathan G Rennison
5e7638a6d0
Port of old vehicles visible in tunnels patch
...
from http://dev.openttdcoop.org/projects/clientpatches/repository/changes/VehicelsInTunnels.diffhttp://dev.openttdcoop.org/projects/clientpatches/repository/changes/VehicelsInTunnels.diff
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
planetmaker
55f42eaa1f
(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
frosch
2e1be6081d
(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
9daf7e749c
(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
rubidium
6c2abf0930
(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
52fd95915a
(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
17872c8be1
(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
c30e137685
(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
17e88d644a
(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
frosch
d263fcce82
(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
3d2895dbd1
(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
rubidium
3d3fb76b7e
(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
a9e3828dd2
(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
3ee31a8f89
(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
fonsinchen
c915d9fa55
(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
rubidium
0463dbdc9e
(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
frosch
41b7a04a68
(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
rubidium
18beaac571
(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
frosch
ec4806a82d
(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
6e1cc80926
(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
29e987f3fc
(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
338d9861bc
(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
95cde78e37
(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
5e017b8000
(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
5c0b766ed9
(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
d8365c63fd
(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
fonsinchen
1137e250a0
(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
2770a24f9f
(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
frosch
5bda07c10c
(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
fonsinchen
456627e01c
(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
rubidium
e6eede841a
(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
b09c4043ec
(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
04e3eb6fab
(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
fonsinchen
a1a96b2e8b
(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
254c3834d0
(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
3947453277
(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
rubidium
5931faeff6
(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
266bdfaffe
(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
9dee2f5c1e
(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
2030d1cf60
(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
frosch
5eddbb338b
(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
rubidium
b2292122b6
(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
frosch
22bb015f3d
(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
cdb0a76958
(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
rubidium
2795ed5b09
(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
12 years ago
rubidium
8539c04192
(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138)
12 years ago
rubidium
369a6f9d1b
(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138)
12 years ago
rubidium
2c67dc3d9f
(svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138)
12 years ago
rubidium
c77cd1f409
(svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138)
12 years ago
frosch
ddfd734523
(svn r24944) -Fix [FS#5452]: Deleting implicit orders wasn't able to deal with the various side-effects of DeleteOrder.
12 years ago
frosch
e9c44aaeb3
(svn r24944) -Fix [FS#5452]: Deleting implicit orders wasn't able to deal with the various side-effects of DeleteOrder.
12 years ago
peter1138
1e10e91fde
(svn r24905) -Feature(ish): Implement station randomisation triggers.
12 years ago
peter1138
c00a400cc7
(svn r24905) -Feature(ish): Implement station randomisation triggers.
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
07963e5a5a
(svn r24882) -Fix: desync when NewGRF changes the stats related to acceleration (power, weight, tractive effort, etc) during service or 32 day triggers
12 years ago
rubidium
0dd0bbc071
(svn r24882) -Fix: desync when NewGRF changes the stats related to acceleration (power, weight, tractive effort, etc) during service or 32 day triggers
12 years ago
frosch
94ee0ddc43
(svn r24711) -Fix (r10354): Check whether to not display a ^ loading indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks.
12 years ago
frosch
e888f9da9f
(svn r24711) -Fix (r10354): Check whether to not display a ^ loading indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks.
12 years ago
frosch
86a801ed75
(svn r24709) -Codechange: Simplify some code.
12 years ago
frosch
9f43908d08
(svn r24709) -Codechange: Simplify some code.
12 years ago
planetmaker
6c617cb121
(svn r24579) -Change [FS#5322] (r21961): Show no loading indicator when orders are 'no unloading and no loading' (sbr)
12 years ago
planetmaker
a9af5f3c76
(svn r24579) -Change [FS#5322] (r21961): Show no loading indicator when orders are 'no unloading and no loading' (sbr)
12 years ago
alberth
6c6abd87db
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
12 years ago
alberth
0849fb8d36
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
12 years ago
frosch
4216eb383f
(svn r24443) -Codechange: Move Vehicle::name to BaseConsist.
12 years ago
frosch
48e0d9901f
(svn r24443) -Codechange: Move Vehicle::name to BaseConsist.
12 years ago
frosch
ae4681ab4c
(svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to preemptively deduplicate code.
12 years ago
frosch
00b3ff80bb
(svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to preemptively deduplicate code.
12 years ago
rubidium
763ed799e7
(svn r24219) -Fix [FS#5152]: immediately do the cargo payment on vehicle crashes instead of when they are cleared
12 years ago
rubidium
5bfed864a0
(svn r24219) -Fix [FS#5152]: immediately do the cargo payment on vehicle crashes instead of when they are cleared
12 years ago
michi_cc
72d6eb4342
(svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a crash. (riffraffselbow)
12 years ago
michi_cc
a4b02d0a5d
(svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a crash. (riffraffselbow)
12 years ago
michi_cc
72b3bb9dd5
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
12 years ago
michi_cc
6a70abbd99
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
12 years ago
michi_cc
4de25e41bf
(svn r24128) -Change: Don't let vehicles break down directly after servicing.
12 years ago
michi_cc
ef8ee48044
(svn r24128) -Change: Don't let vehicles break down directly after servicing.
12 years ago
michi_cc
748d786c52
(svn r24124) -Add [FS#4658]: [NewGRF] Misc engine flag to disable breakdown smoke. (Hirundo)
12 years ago
michi_cc
bb8506032e
(svn r24124) -Add [FS#4658]: [NewGRF] Misc engine flag to disable breakdown smoke. (Hirundo)
12 years ago
rubidium
85996f039b
(svn r24067) -Change/fix: do not redraw up to 25% of the map when making a new vehicle visible for the first time
12 years ago
rubidium
180e4e4c66
(svn r24067) -Change/fix: do not redraw up to 25% of the map when making a new vehicle visible for the first time
12 years ago
michi_cc
64c5299b4d
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
13 years ago
michi_cc
f2c694c8fb
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
13 years ago
rubidium
48a685748c
(svn r23928) -Fix [FS#5053]: don't accelerate, for smoke purposes, when you reached the track's maximum speed
13 years ago
rubidium
a08370f9da
(svn r23928) -Fix [FS#5053]: don't accelerate, for smoke purposes, when you reached the track's maximum speed
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
92c60447dc
(svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible
13 years ago
truebrain
0d929e877f
(svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible
13 years ago
truebrain
5f65e056e1
(svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in
13 years ago
truebrain
19004a77f8
(svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in
13 years ago
truebrain
5dbac2f2ae
(svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one
13 years ago
truebrain
0e9a98619d
(svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one
13 years ago
rubidium
6b404d35b8
(svn r23540) -Codechange: unify and document vehicle widgets
13 years ago
rubidium
4de1f3be88
(svn r23540) -Codechange: unify and document vehicle widgets
13 years ago
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
rubidium
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
truebrain
af1b3cc070
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
13 years ago
truebrain
98103121d4
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
13 years ago
peter1138
ba617a796c
(svn r23328) -Change: Make the viewport vehicle position hash cover the same area.
13 years ago
peter1138
2f05d090fb
(svn r23328) -Change: Make the viewport vehicle position hash cover the same area.
13 years ago
peter1138
b84174fd4d
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
michi_cc
3b45b41e68
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
michi_cc
4d2a9e384c
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
rubidium
215452b911
(svn r23195) -Codechange: if we really need to cast away constness, use const_cast
13 years ago
rubidium
c9a7f572ec
(svn r23195) -Codechange: if we really need to cast away constness, use const_cast
13 years ago
frosch
3178814a00
(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().
13 years ago
frosch
026317bb44
(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().
13 years ago
frosch
a608cbab5d
(svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness.
13 years ago
frosch
52774235eb
(svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness.
13 years ago
michi_cc
1497efbd5d
(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.
13 years ago
michi_cc
a3e6e113fe
(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.
13 years ago
rubidium
e8eb3fe381
(svn r23110) -Codechange: let the flying altitude return ints are well
13 years ago
rubidium
9782b7bb0a
(svn r23110) -Codechange: let the flying altitude return ints are well
13 years ago
rubidium
0e2d2b2317
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
13 years ago
rubidium
2a2c102b0b
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
13 years ago
rubidium
de980ef0f9
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
frosch
ad38f27242
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
13 years ago
frosch
acc3c75951
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
13 years ago
frosch
e57ba5d0ae
(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
13 years ago
frosch
72cd855978
(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
13 years ago
frosch
4cbd8791a4
(svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy.
13 years ago
frosch
cadaa0a8b6
(svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy.
13 years ago
frosch
37301ea23d
(svn r22985) -Feature: Display autoreplace status in group GUI.
13 years ago
frosch
d071eefc54
(svn r22985) -Feature: Display autoreplace status in group GUI.
13 years ago
frosch
f9f257ce4a
(svn r22984) -Feature: Display profit icons for groups in the group GUI.
13 years ago
frosch
23a2f23eb3
(svn r22984) -Feature: Display profit icons for groups in the group GUI.
13 years ago
frosch
a80d20fdb1
(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead.
13 years ago
frosch
1a12008fcf
(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead.
13 years ago
frosch
f406385319
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
13 years ago
frosch
dd74536bef
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
13 years ago
frosch
f43290d6af
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
13 years ago
frosch
5be8f73204
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
13 years ago
frosch
3ecf9d424a
(svn r22979) -Codechange: Add GroupStatistics::CountEngine().
13 years ago
frosch
fafa06e821
(svn r22979) -Codechange: Add GroupStatistics::CountEngine().
13 years ago
frosch
3665b85c24
(svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle().
13 years ago
frosch
68f969282e
(svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle().
13 years ago
frosch
c531453320
(svn r22976) -Codechange: Split group statistics into separate struct.
13 years ago
frosch
b6766c2ed5
(svn r22976) -Codechange: Split group statistics into separate struct.
13 years ago
frosch
43053b59a2
(svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors.
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
0feb852668
(svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew.
13 years ago
frosch
b642b4a881
(svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew.
13 years ago
frosch
e801aebbfc
(svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts.
13 years ago
frosch
28117b3eb0
(svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts.
13 years ago
michi_cc
d25840978c
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
13 years ago
michi_cc
08b7981f37
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
13 years ago
michi_cc
8b38847c1e
(svn r22572) -Fix: MSVC performance warning (assigning int to bool).
13 years ago
michi_cc
050a212195
(svn r22572) -Fix: MSVC performance warning (assigning int to bool).
13 years ago
michi_cc
5970854fa8
(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.
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.
13 years ago
frosch
bc3404f90c
(svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries.
13 years ago
frosch
460d24fd83
(svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries.
13 years ago
frosch
5108896362
(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.
13 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.
13 years ago
frosch
62b6d0eb0e
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
13 years ago
frosch
474b4799e8
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
13 years ago
planetmaker
7aa57e4acd
(svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added
13 years ago
planetmaker
43c8cd1d5e
(svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added
13 years ago
frosch
6fbc8e46a1
(svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones.
13 years ago
frosch
204a6b16c3
(svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones.
13 years ago
frosch
333a7ac24e
(svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders.
13 years ago
frosch
74069dbda3
(svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders.
13 years ago
frosch
58c4de2caf
(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)
13 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)
13 years ago