HackaLittleBit
691ce0f1ea
An assert could be triggered while looking beyond the map border.
...
This patch fixes that.
6 years ago
HackaLittleBit
fca03da2bb
Add wormhole ship detection, one tile only!
6 years ago
HackaLittleBit
9326706eb9
Code cleanup and preparation for ships in wormhole detection
6 years ago
HackaLittleBit
80500f8f08
Rework z position
6 years ago
Jonathan G Rennison
902fd73c47
Merge branch 'ship_collision_avoidance' into jgrpp
6 years ago
HackaLittleBit
e4a10e9313
Revert part of collision detection on aqueducts, on aqueducts collision detection will not be done.
6 years ago
HackaLittleBit
354ecfdf3a
Handle ship collision detection on aquaducts.
6 years ago
HackaLittleBit
e2d3c95ae1
Enable ships to pass on both sides of other ships.
6 years ago
HackaLittleBit
828e9bece2
De-duplicate ship entry to exit direction map table
6 years ago
Jonathan G Rennison
aa1a914d96
Merge branch 'ship_collision_avoidance' into jgrpp
6 years ago
HackaLittleBit
c5888dad9f
Changes to ship collision avoidance algorithm
...
* Change some names and create a seperate procedure for finding ships.
* Check if destiny tile is buoy. If so, distance checking continues.
* Remove water tile check. It was done before and coast can't have 3 way tracks.
* Add a check for map edges.
* Add speed adjustment related to distance between ships
* Do not detect ships on tiles with parallel tracks
6 years ago
Jonathan G Rennison
d730cfd51d
Cache sprite sequence bounds for vehicles
6 years ago
keldorkatarn
e3b33b45c9
Simplify direction lookup to also work for oil rigs.
...
(cherry picked from commit acbff5528b6aa5a01d17b814a44b6d884ee03f69)
7 years ago
keldorkatarn
1d3cf59d8a
Allow building multiple docks per station.
...
(cherry picked from commit 0110c4a35d383e0be2cbb53cbe9cbe6784abb3e9)
# Conflicts:
# src/station_cmd.cpp
7 years ago
Jonathan G Rennison
40b89902a5
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/galician.txt
7 years ago
peter1138
c973f65acb
(svn r27858) -Change [FS#6560]: Add missing game script event for ships arriving at a station. (juanjo)
7 years ago
peter1138
e9e44105eb
(svn r27858) -Change [FS#6560]: Add missing game script event for ships arriving at a station. (juanjo)
7 years ago
Jonathan G Rennison
fc60857b66
Merge branches 'adjacent_crossings' and 'zoning' into jgrpp
7 years ago
peter1138
3c7dc746d5
(svn r27807) -Codechange: Remove _ship_leave_depot_offs
...
There is already TileOffsByDiagDir for that. (cirdan)
7 years ago
peter1138
80303515c1
(svn r27807) -Codechange: Remove _ship_leave_depot_offs
...
There is already TileOffsByDiagDir for that. (cirdan)
7 years ago
peter1138
2a555480bd
(svn r27806) -Codechange: Remove function ShipGetNewDirection
...
ShipGetNewDirection has no side effects and its return value
is ignored by its only caller, so do away with it.
Also remove now unused _new_vehicle_direction_table. (cirdan)
7 years ago
peter1138
54ec06258a
(svn r27806) -Codechange: Remove function ShipGetNewDirection
...
ShipGetNewDirection has no side effects and its return value
is ignored by its only caller, so do away with it.
Also remove now unused _new_vehicle_direction_table. (cirdan)
7 years ago
peter1138
4f9fd074b8
(svn r27805) -Codechange: Remove function ShipGetNewDirectionFromTiles
...
The only user of ShipGetNewDirectionFromTiles can be better
served by DiagdirBetweenTiles, so remove the former. (cirdan)
7 years ago
peter1138
f0062f94d6
(svn r27805) -Codechange: Remove function ShipGetNewDirectionFromTiles
...
The only user of ShipGetNewDirectionFromTiles can be better
served by DiagdirBetweenTiles, so remove the former. (cirdan)
7 years ago
Jonathan G Rennison
7f10d83a4a
Merge branch 'template_train_replacement' into jgrpp
...
# Conflicts:
# src/linkgraph/linkgraphjob.cpp
# src/saveload/extended_ver_sl.cpp
# src/train_cmd.cpp
# src/vehicle_base.h
8 years ago
frosch
c175067ed9
(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.
8 years ago
frosch
a37bb32fd6
(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.
8 years ago
frosch
d2393b4f6c
(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.
8 years ago
frosch
f36539837e
(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.
8 years ago
Jonathan G Rennison
3ac94e97c8
Cache the result of GetImage() in Vehicle::UpdateViewport() where possible.
...
Sprite number is not cached if callback is made, or a variable access
outside a whitelist occurs.
Invalidate cached sprite number when direction or cargo changes,
or vehicle is marked dirty.
8 years ago
Jonathan G Rennison
4c5173b6bf
Merge branch 'auto_timetables-sx' into jgrpp
...
# Conflicts:
# src/lang/english.txt
# src/saveload/afterload.cpp
# src/saveload/extended_ver_sl.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/table/company_settings.ini
# src/vehicle.cpp
8 years ago
Jonathan G Rennison
d59252d15b
Timetable auto separation is now per vehicle, with a company default.
...
Remove global on-off setting.
Add button to timetable GUI.
Add company setting to control default for new vehicles.
Fix automate, start date, change time and autofill buttons
being shown enabled for other companies' vehicles.
8 years ago
Jonathan G Rennison
efcdd6c36f
Remove global automated timetable setting.
8 years ago
Jonathan G Rennison
31a5baf555
Merge branch 'improved_breakdowns-sx' into jgrpp
...
# Conflicts:
# src/saveload/extended_ver_sl.cpp
# src/settings.cpp
8 years ago
Jonathan G Rennison
5eed9865d6
Improved breakdowns: Various changes and fixes.
...
* Revert breakdown_chance to (mostly) its original behaviour.
* Create a new breakdown_chance_factor to hold breakdown_chance
from improved breakdowns logic.
* Revert airport crash probabilities back to original behaviour, with
modified behaviour only during emergency landings.
* Low power breakdowns now only reduce the power of the engine which
has broken down.
* Low power breakdowns no longer reduce speed directly.
* Add callback function to run whenever improved breakdowns setting
is changed. Reset breakdown_chance_factor where required.
* More whitespace/formatting...
8 years ago
Jonathan G Rennison
9742300a1e
Fix some more whitespace/formatting issues.
8 years ago
Jonathan G Rennison
27bdf2a8b6
Merge branch 'ship_collision_avoidance-sx' into jgrpp
...
Conflicts:
src/settings_type.h
src/table/settings.ini
8 years ago
Jonathan G Rennison
b00b1125be
Add a dedicated setting to enable ship collision avoidance.
8 years ago
patch-import
917391102b
Import ship collision-avoidance patch.
...
https://github.com/KeldorKatarn/OpenTTD_PatchPack
8 years ago
Jonathan G Rennison
e9dc82c801
Merge branch 'auto_timetables-sx' into jgrpp
...
Conflicts:
src/saveload/extended_ver_sl.cpp
9 years ago
Jonathan G Rennison
42370dc28d
Add company setting to auto-enable auto timetables for new vehicles.
...
Default: off.
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
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
patch-import
9f5164b403
Import Improved Breakdowns patch
...
Fix trailing whitespace
http://www.tt-forums.net/viewtopic.php?p=1146419#p1146419
9 years ago
frosch
8767a11d60
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
9 years ago
frosch
a8080b6256
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
9 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
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
rubidium
a498a56573
(svn r26130) -Codechange: add some guards against using invalid image indices
11 years ago
rubidium
d2ba772f6a
(svn r26130) -Codechange: add some guards against using invalid image indices
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
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
58ec317c5a
(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138)
11 years ago
rubidium
ced17303c2
(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138)
11 years ago
rubidium
2c67dc3d9f
(svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138)
11 years ago
rubidium
c77cd1f409
(svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138)
11 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
michi_cc
bac2b4c25d
(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list sprites. (Based on patch by Eddi)
12 years ago
michi_cc
245e32a10e
(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list sprites. (Based on patch by Eddi)
12 years ago
yexo
055cf8bae6
(svn r24539) -Codechange [FS#5260]: make code simpler by using IsValidTile instead of manually checking the bounds (juanjo)
12 years ago
yexo
6853df46c7
(svn r24539) -Codechange [FS#5260]: make code simpler by using IsValidTile instead of manually checking the bounds (juanjo)
12 years ago
frosch
5386558459
(svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south.
12 years ago
frosch
d17ec934f5
(svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south.
12 years ago
frosch
0318fe577e
(svn r24480) -Doc: Doxygenize ChooseShipTrack().
12 years ago
frosch
0f0f027379
(svn r24480) -Doc: Doxygenize ChooseShipTrack().
12 years ago
frosch
358a2bd6ed
(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
12 years ago
frosch
08a8c3a773
(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
12 years ago
frosch
dcd977f778
(svn r24328) -Codechange: Simplify some silly code.
12 years ago
frosch
2eb9795a98
(svn r24328) -Codechange: Simplify some silly code.
12 years ago
frosch
2aa43d6c8b
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
12 years ago
frosch
a8c88f43b6
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
12 years ago
michi_cc
64c5299b4d
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
12 years ago
michi_cc
f2c694c8fb
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
12 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
d9f717dcfa
(svn r23714) -Codechange: don't mix Viewport with non-viewport code
13 years ago
truebrain
091bc25a90
(svn r23714) -Codechange: don't mix Viewport with non-viewport code
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
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
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
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
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
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
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
bbc3409942
(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
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
2e94869b42
(svn r22849) -Codechange: Add ShipVehicleInfo::ApplyWaterClassSpeedFrac() to apply ocean/canal speed fractions to velocities.
13 years ago
frosch
e157a23056
(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
45b95ed629
(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
michi_cc
08b7981f37
(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
frosch
371a66e14d
(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
michi_cc
9218c56cde
(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
13 years ago
rubidium
5a620d1c65
(svn r22406) -Document: some more "random-ish" tidbits
13 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.
13 years ago
frosch
5bf90860f8
(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.
13 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
1d0d7635e0
(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
rubidium
2ad1279725
(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
frosch
a97d52a29a
(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
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
facaef9e33
(svn r21511) -Feature: vehicle lost message for ships
14 years ago
rubidium
4045429df6
(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
rubidium
61ff042460
(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
13685c0210
(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
6a38925ca3
(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
terkhen
25d1b2f54b
(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
fa13971337
(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
9badab6454
(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
2fb18e975c
(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
702cc96943
(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
30f2afac9b
(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
yexo
85740a0283
(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
rubidium
c5a670037b
(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
yexo
eeca1846d6
(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
4780cc50b2
(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
c14853b72e
(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
rubidium
29b489a055
(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
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(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
alberth
be6c058424
(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
terkhen
0753669fa7
(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
frosch
a7d168b2e5
(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.
14 years ago
terkhen
54403a8251
(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.
14 years ago
smatz
27949d219d
(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
14 years ago
smatz
00a52cc475
(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
14 years ago
frosch
0d6a432b4c
(svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands.
14 years ago
frosch
1f28e232c3
(svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands.
14 years ago
alberth
72d62fd6fc
(svn r19494) -Codechange: Remove _error_message.
14 years ago
alberth
05d705e077
(svn r19494) -Codechange: Remove _error_message.
14 years ago
alberth
d5fe3f96c7
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
14 years ago
alberth
7cc68f493d
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
14 years ago
rubidium
b0a1ecf160
(svn r19091) -Cleanup: remove some unneeded zeroing
15 years ago
rubidium
32cdc157ee
(svn r19091) -Cleanup: remove some unneeded zeroing
15 years ago
rubidium
7127338414
(svn r18872) -Codechange: introduce PaletteID and use it
15 years ago
rubidium
f94c83a387
(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
82fc28f77f
(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
f2785ae24d
(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
472e5501fa
(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
c10e953141
(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
ef8cc49175
(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
rubidium
76fe20cdcc
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago
rubidium
d63429af1e
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
15 years ago
rubidium
291f6490c6
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
15 years ago
rubidium
47fb92b986
(svn r18365) -Cleanup: remove duplicate table
15 years ago