SamuXarick
f8b5661d28
Change: Allow GS access to ScriptGroup functions
1 year ago
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.
2 years ago
glx22
8eb35633ec
Codechange: Use SQInteger for generic numbers in script_group
2 years ago
SamuXarick
3df9321a65
Fix: Some Script::IsValidVehicle checks need to be complemented with IsPrimaryVehicle
...
Add: [Script] ScriptVehicle.IsPrimaryVehicle
2 years ago
Rubidium
2fd99467ea
Fix: scripts are not aware of nullptr, they only know null
2 years ago
Rubidium
f9a473bef7
Fix: missing/duplicate documentation tags for scripts
2 years ago
SamuXarick
120d216b0b
Add: [AI] Get the number of vehicles in a given group ( #9462 )
3 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
PeterN
41563a871b
Add: AI API for vehicle group colours ( #7336 )
6 years ago
Peter Nelson
5a5944867d
Add: Add parent_group_id parameter to CreateGroup()
6 years ago
Peter Nelson
5d3ccae6c5
Add: AI function to get current usage of a group.
6 years ago
Peter Nelson
3c047b124e
Add: AI functions to get current and last year profit of a group.
6 years ago
Peter Nelson
b62452903a
Add: AI functions to set/get vehicle group parent.
6 years ago
alberth
732e073261
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
truebrain
102f811d02
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
13 years ago
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
13 years ago
truebrain
4d91f645c1
(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
13 years ago
truebrain
98103121d4
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
13 years ago
truebrain
afdb67a353
(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium)
13 years ago