Jonathan G Rennison
|
f11dcb8478
|
Fix crash if AI attempts to set order flags of invalid vehicle's order
Fixes: 4c8b358f
|
2021-02-14 18:55:41 +00:00 |
|
Jonathan G Rennison
|
e1aca1ab34
|
Extend Order::flags to 16 bits, fixes conditional order target field size
Adjust order packing and CmdInsertOrder
See: #198
|
2020-10-17 17:25:44 +01:00 |
|
Jonathan G Rennison
|
6e17f9bf5d
|
Use p3 for order indices which don't fit into p1
Fix insert/modify order overflowing p1
Don't use text field for change timetable
|
2020-10-17 17:25:44 +01:00 |
|
Jonathan G Rennison
|
d210bc4d14
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/lang/korean.txt
# src/saveload/afterload.cpp
Recalculate docking tile cache due to 57553cd8
|
2020-04-01 00:32:45 +01:00 |
|
SamuXarick
|
4d4005d8b7
|
Fix #8039: [AI/GS] SetOrderFlags and GetOrderDestination didn't work for oil rigs
|
2020-03-30 08:18:32 +02:00 |
|
Jonathan G Rennison
|
cbdd9f84d8
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
|
2019-11-12 18:43:10 +00:00 |
|
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
|
Jonathan G Rennison
|
d71a7c21da
|
Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR mode
Null pointer dereference occurred when either origin_tile or dest_tile
were waypoint tiles.
|
2019-07-22 20:26:36 +01:00 |
|
Jonathan G Rennison
|
d3e0c3787f
|
Merge branch 'master' into jgrpp-nrt
Merge trunk multiple docks implementation
# Conflicts:
# docs/landscape_grid.html
# src/order_cmd.cpp
# src/pathfinder/npf/npf.cpp
# src/pathfinder/yapf/yapf_ship.cpp
# src/rail_cmd.cpp
# src/saveload/afterload.cpp
# src/saveload/oldloader_sl.cpp
# src/saveload/station_sl.cpp
# src/script/api/script_order.cpp
# src/ship_cmd.cpp
# src/station.cpp
# src/station_base.h
# src/station_cmd.cpp
# src/tunnelbridge_cmd.cpp
|
2019-07-13 20:34:52 +01:00 |
|
peter1138
|
f538179878
|
Feature: Multi-tile docks and docking points.
|
2019-06-30 16:46:32 +02:00 |
|
Jonathan G Rennison
|
bdcafb38cc
|
Fix ScriptOrder::GetOrderDistance in VT_AIR mode on waypoint tiles
|
2019-05-06 12:19:38 +01:00 |
|
Jonathan G Rennison
|
674732cd68
|
Merge: Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-11 18:14:13 +01:00 |
|
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-10 23:22:20 +02:00 |
|
Jonathan G Rennison
|
4c8b358ffe
|
Add game setting to allow only non-stop orders for ground vehicles
|
2019-02-17 19:56:49 +00:00 |
|
Jonathan G Rennison
|
0e7519f33e
|
Merge branch 'more_cond_orders-sx' into jgrpp
# Conflicts:
# config.lib
# projects/openttd_vs100.vcxproj
# projects/openttd_vs100.vcxproj.filters
# projects/openttd_vs80.vcproj
# projects/openttd_vs90.vcproj
# src/order_gui.cpp
# src/order_type.h
# src/saveload/afterload.cpp
# src/saveload/extended_ver_sl.cpp
|
2019-01-06 22:35:57 +00:00 |
|
Eddi-z
|
13056aedbc
|
Add: Conditional order for max. reliability (patch by Cirdan, #6360) (#7017)
|
2019-01-05 22:10:37 +01:00 |
|
keldorkatarn
|
1d3cf59d8a
|
Allow building multiple docks per station.
(cherry picked from commit 0110c4a35d383e0be2cbb53cbe9cbe6784abb3e9)
# Conflicts:
# src/station_cmd.cpp
|
2017-09-20 19:11:48 +01:00 |
|
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
|
2014-04-23 20:13:33 +00:00 |
|
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
|
2014-04-23 20:13:33 +00:00 |
|
frosch
|
0bedd475e3
|
(svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders.
|
2013-12-08 15:13:06 +00:00 |
|
frosch
|
2e79fd9c40
|
(svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders.
|
2013-12-08 15:13:06 +00:00 |
|
rubidium
|
e28dc02403
|
(svn r25612) -Fix [FS#5648]: [AI] Don't return ERR_UNKNOWN when trying to move an order to its current location
|
2013-07-14 20:21:36 +00:00 |
|
rubidium
|
6e12838376
|
(svn r25612) -Fix [FS#5648]: [AI] Don't return ERR_UNKNOWN when trying to move an order to its current location
|
2013-07-14 20:21:36 +00:00 |
|
michi_cc
|
d372fb3b8e
|
(svn r24353) -Fix [FS#5215] (r23506): [NoAI] A TileIndex isn't a station id, so don't use it as one.
|
2012-06-23 15:02:20 +00:00 |
|
michi_cc
|
ef394916c9
|
(svn r24353) -Fix [FS#5215] (r23506): [NoAI] A TileIndex isn't a station id, so don't use it as one.
|
2012-06-23 15:02:20 +00:00 |
|
rubidium
|
3b7d290f3e
|
(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs
|
2012-03-04 16:54:12 +00:00 |
|
rubidium
|
22637f139f
|
(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs
|
2012-03-04 16:54:12 +00:00 |
|
rubidium
|
ea113816c0
|
(svn r24006) -Fix [FS#5088]: AI used in names in API for GSOrder
|
2012-03-04 16:40:06 +00:00 |
|
rubidium
|
e6a828def1
|
(svn r24006) -Fix [FS#5088]: AI used in names in API for GSOrder
|
2012-03-04 16:40:06 +00:00 |
|
rubidium
|
d5eeab43b7
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
2012-01-03 21:32:51 +00:00 |
|
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
2012-01-03 21:32:51 +00:00 |
|
michi_cc
|
f27995568e
|
(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.
|
2011-12-13 00:43:59 +00:00 |
|
michi_cc
|
a085ea9e4b
|
(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.
|
2011-12-13 00:43:59 +00:00 |
|
truebrain
|
ac0f5398c2
|
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
|
2011-12-01 12:04:10 +00:00 |
|
truebrain
|
a8b22e5292
|
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
|
2011-12-01 12:04:10 +00:00 |
|
truebrain
|
d319ccec27
|
(svn r23369) -Codechange: use script includes when possible, not ai includes
|
2011-11-29 23:27:17 +00:00 |
|
truebrain
|
2c877b074e
|
(svn r23369) -Codechange: use script includes when possible, not ai includes
|
2011-11-29 23:27:17 +00:00 |
|
truebrain
|
a3768b109b
|
(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances
|
2011-11-29 23:21:33 +00:00 |
|
truebrain
|
3da8b5097a
|
(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances
|
2011-11-29 23:21:33 +00:00 |
|
truebrain
|
af1b3cc070
|
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
|
2011-11-29 23:15:35 +00:00 |
|
truebrain
|
98103121d4
|
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
|
2011-11-29 23:15:35 +00:00 |
|
truebrain
|
eab012ec8b
|
(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium)
|
2011-11-29 23:07:38 +00:00 |
|
truebrain
|
afdb67a353
|
(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium)
|
2011-11-29 23:07:38 +00:00 |
|