frosch
3178814a00
(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().
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
frosch
6e61fee028
(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs.
13 years ago
frosch
ad38f27242
(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
2e94869b42
(svn r22849) -Codechange: Add ShipVehicleInfo::ApplyWaterClassSpeedFrac() to apply ocean/canal speed fractions to velocities.
13 years ago
michi_cc
214e7bc51d
(svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account.
13 years ago
michi_cc
d25840978c
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
13 years ago
frosch
865831cc5d
(svn r22662) -Fix (r22639)[FS#4683]: Ships can also travel on certain rail tiles.
13 years ago
michi_cc
f4a34471c5
(svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction).
13 years ago
rubidium
6e9122828e
(svn r22406) -Document: some more "random-ish" tidbits
14 years ago
frosch
60b19a1344
(svn r22309) -Fix: Make road vehicles, ships and aircraft skip orders if they are leaving a depot and heading to the same one again; just like trains since r16322.
14 years ago
rubidium
8183922813
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
14 years ago
rubidium
12d3422539
(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view
14 years ago
frosch
7c04ea586d
(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
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
facaef9e33
(svn r21511) -Feature: vehicle lost message for ships
14 years ago
rubidium
1c7940255a
(svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships (Hirundo)
14 years ago
terkhen
ef4f10d73d
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
14 years ago
terkhen
c7a2d1f883
(svn r21123) -Codechange: Remove max_speed from the Vehicle class.
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
rubidium
db3a6485d7
(svn r20768) -Codechange: unify send-to-depot commands
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
yexo
e7f5780683
(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile
14 years ago
rubidium
982df3e96b
(svn r20536) -Codechange: unify the refitting of vehicles
14 years ago
yexo
c144e8e921
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
14 years ago
rubidium
c57a5b735a
(svn r20532) -Codechange: unify selling of vehicles a bit
14 years ago
rubidium
253080ad64
(svn r20531) -Codechange: unify quite a bit of the vehicle building commands
14 years ago
rubidium
b5d5a4e159
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
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
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
terkhen
39e5c7e526
(svn r20143) -Codechange: Remove RecalcShipStuff function.
14 years ago
frosch
35f4b4155e
(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the 192-256-magic of vehicle movement.
14 years ago
terkhen
b3d347f6c9
(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.
15 years ago
smatz
27949d219d
(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
15 years ago
frosch
0d6a432b4c
(svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands.
15 years ago
alberth
72d62fd6fc
(svn r19494) -Codechange: Remove _error_message.
15 years ago
alberth
d5fe3f96c7
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
15 years ago
rubidium
b0a1ecf160
(svn r19091) -Cleanup: remove some unneeded zeroing
15 years ago
rubidium
7127338414
(svn r18872) -Codechange: introduce PaletteID and use it
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
9d5a91ed07
(svn r18574) -Fix [FS#3392] (r18481): manually sending trains and RVs to depots didn't quite work
15 years ago
rubidium
899b3db66b
(svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
...
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
15 years ago
rubidium
3eaf87992e
(svn r18373) -Codechange: unify some road pathfinder functions
15 years ago
rubidium
ec68bd67e3
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
15 years ago
rubidium
2341c2e283
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago