Rubidium
d6a1a0b058
Codechange: simplify logic and prevent invalid bit
2025-03-16 14:14:21 +01:00
Rubidium
e894a5880c
Codechange: rename CargoID to CargoType and amend related variables/comments
2025-01-26 18:07:10 +01:00
frosch
dc22edc556
Doc: [Script] Extend API documentation on calendar- vs economy-time
2024-05-10 13:17:19 +01:00
frosch
04cc0c8125
Codechange: [Script] Document relation between ScriptErrorType and ErrorMessages enums
2024-05-10 13:17:19 +01:00
Andy
8b1960a41c
Change: Allow GS access to more ScriptOrder functions
2023-04-17 17:59:16 +02:00
Rubidium
8d443d1379
Add: company mode enforcement checks to functions with command or company access
...
Command functions are those that call ScriptObject::Command, and functions
with company access are any that call ScriptObject::GetCompany. This is a bit
over-protective, but having the check everywhere makes it easier to validate
that no check is missing automatically instead of by review.
2023-03-08 22:33:47 +01:00
glx22
777b4d0987
Codechange: Use SQInteger for generic numbers in script_order
2023-03-06 00:32:12 +01:00
SamuXarick
3df9321a65
Fix: Some Script::IsValidVehicle checks need to be complemented with IsPrimaryVehicle
...
Add: [Script] ScriptVehicle.IsPrimaryVehicle
2023-02-18 09:58:02 +01:00
TechGeekNZ
16e5f610f7
Cleanup: Correct typographic errors in code comments.
2020-05-28 08:26:41 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Samu
ba55f93f41
Doc: [AI] UnshareOrders empties the orders list of the vehicle.
2019-02-19 15:25:53 +01:00
Eddi-z
13056aedbc
Add: Conditional order for max. reliability (patch by Cirdan, #6360 ) ( #7017 )
2019-01-05 22:10:37 +01: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
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
dee2f39f99
(svn r24584) -Doc: [Script] Improve API documentation.
2012-10-10 19:11:22 +00:00
planetmaker
e0529d4861
(svn r24582) -Fix (r24581): Order distances are not supposed to be compared to map distances
2012-10-09 20:59:29 +00:00
planetmaker
60335b7b79
(svn r24581) -Doc [FS#5318]: Indicate that the return value for script related order distances is the square of the distance
2012-10-09 20:37:20 +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
e6a828def1
(svn r24006) -Fix [FS#5088]: AI used in names in API for GSOrder
2012-03-04 16:40:06 +00:00
rubidium
60678d9757
(svn r23837) -Feature [FS#4994]: [NoGo] Allow querying orders of vehicles
2012-01-22 17:42:03 +00:00
rubidium
e40eb8177a
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
2012-01-03 20:26:05 +00:00
rubidium
18d929aa21
(svn r23521) -Codechange: use the actual enum values from the 'core' in the API when they refer to the in-game values in the cases where that is possible and sensible
2011-12-15 18:40:15 +00:00
michi_cc
a085ea9e4b
(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.
2011-12-13 00:43:59 +00:00
truebrain
549e072041
(svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_API
2011-11-29 23:27:34 +00:00
truebrain
4d91f645c1
(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
2011-11-29 23:27:26 +00:00
truebrain
98103121d4
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
2011-11-29 23:15:35 +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