diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-09 15:15:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-09 15:15:14 +0100 |
commit | 218f40eea2227dddb2e3475f4f89d08ffd5c9c6f (patch) | |
tree | 444fda7b347d1d1651efa2a36251e2867cb3708f /src/script/api/game_changelog.hpp | |
parent | 3dbdb1c7e3d5b7561d87d2cf891809324064bc1c (diff) | |
download | openttd-218f40eea2227dddb2e3475f4f89d08ffd5c9c6f.tar.xz |
Add: [Script] ScriptCargo::GetName, to get the human readable name of a cargo (#8544)
Of course this translates into AICargo.GetName() for AIs and
GSCargo.GetName() for GameScripts.
Diffstat (limited to 'src/script/api/game_changelog.hpp')
-rw-r--r-- | src/script/api/game_changelog.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game_changelog.hpp b/src/script/api/game_changelog.hpp index 1f43cdea1..cbb862f1c 100644 --- a/src/script/api/game_changelog.hpp +++ b/src/script/api/game_changelog.hpp @@ -18,6 +18,7 @@ * This version is not yet released. The following changes are not set in stone yet. * * API additions: + * \li GSCargo::GetName * \li GSEventStoryPageButtonClick * \li GSEventStoryPageTileSelect * \li GSEventStoryPageVehicleSelect |