Rubidium
bbcb55ebc9
Codechange: use std::string as script API return type
2023-05-14 22:54:10 +02:00
Rubidium
83946ca31d
Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers
...
Direct 1:1 replacements in the code, and comments now refer to either
GSCompanyMode::IsValid or GSCompanyMode::IsDeity instead of several variations
on "company mode active" or "no company mode active".
2023-03-06 22:34:09 +01:00
glx22
f752d96125
Codechange: Use SQInteger for generic numbers in script_vehicle
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
Rubidium
2fd99467ea
Fix: scripts are not aware of nullptr, they only know null
2023-01-26 16:07:14 +01:00
Charles Pigott
5c19668fdb
Doc: [Script] Add a note about how wagon connectivity works for scripts
2020-02-19 11:26:58 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
glx
f8e6cd10ef
Add: script API functions for build with refit feature
2019-03-24 15:28:48 +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
frosch
a6244ed0dc
(svn r24366) -Doc: Improve description of ScriptVehicle::GetCargoLoad.
2012-07-01 21:16:47 +00:00
rubidium
eeb781b429
(svn r24151) -Fix: typo in script documentation
2012-04-18 19:03:12 +00:00
truebrain
102f811d02
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
2011-12-19 21:06:06 +00:00
truebrain
9b6b2cabc1
(svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope
2011-12-19 21:05:36 +00:00
truebrain
d85a628dde
(svn r23624) -Add: ScriptVehicle/ScriptStation/ScriptSign::GetOwner, to get the owner of those objects (GameScript only)
2011-12-19 21:00:40 +00:00
truebrain
436cf09923
(svn r23614) -Add: more API functions exposed to NoGo (part 1)
2011-12-19 20:57:23 +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
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