Peter Nelson
443d7ece29
Codefix 75387b9e2b: Prefer using EnumBitSet.base() instead of shifting StationFacility. ( #13575 )
2025-02-16 11:52:40 +00:00
Peter Nelson
75387b9e2b
Codechange: Use EnumBitSet for StationFacility.
2025-02-13 18:03:13 +00:00
Rubidium
e894a5880c
Codechange: rename CargoID to CargoType and amend related variables/comments
2025-01-26 18:07:10 +01:00
Peter Nelson
b653f875b0
Codechange: Space between `template` and `<` ( #13278 )
...
Make it all consistent so it matches CODINGSTYLE.
2025-01-04 17:56:14 +00:00
frosch
04cc0c8125
Codechange: [Script] Document relation between ScriptErrorType and ErrorMessages enums
2024-05-10 13:17:19 +01: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
a9a55f2153
Codechange: Use SQInteger for generic numbers in script_station
2023-03-06 00:32:12 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Oskari Leppäaho
b3b89257f7
Remove: Unused string "STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION"
2018-10-31 19:24:21 +01:00
frosch
a55a5bff24
(svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn)
2015-01-20 19:11:31 +00:00
fonsinchen
73d273ffd6
(svn r26892) -Feature: Script API for retrieving planned flow
2014-09-21 16:20:14 +00:00
fonsinchen
bb269661d4
(svn r26557) -Fix: clean up, test (somewhat), and complete the API for waiting cargo
2014-05-04 13:57:48 +00:00
zuu
ae23f519f7
(svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station
2014-03-10 22:18:53 +00:00
rubidium
7a3d549f2f
(svn r25150) -Fix [FS#5514]: [Script] The was no way to differentiate between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating
2013-04-06 12:36:33 +00:00
michi_cc
aa47d6c7f2
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
2012-04-17 19:43:18 +00:00
smatz
24bf6ea495
(svn r23770) -Fix: compilation with GCC 4.7
2012-01-07 18:37:22 +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
9359c6fc47
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
2011-12-19 20:57:34 +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
yexo
b5d707b7a0
(svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID)
2011-12-08 23:28:43 +00:00
yexo
ca57514b9f
(svn r23452) -Codechange: document instead of writing to stderr that ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT
2011-12-08 23:28:02 +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