1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

Add: support for std::string parameters in the script API

This commit is contained in:
Rubidium
2023-05-05 19:31:06 +02:00
committed by rubidium42
parent 98972a0748
commit 77177f7e8b
2 changed files with 16 additions and 0 deletions

View File

@@ -631,6 +631,8 @@ foreach(LINE IN LISTS SOURCE_LINES)
string(APPEND TYPES "a")
elseif("${PARAM}" MATCHES "^Text")
string(APPEND TYPES ".")
elseif("${PARAM}" MATCHES "^std::string")
string(APPEND TYPES ".")
else()
string(APPEND TYPES "x")
endif()