File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!--
2- Copyright (C) 2005 - 2021 Settlers Freaks <sf-team at siedler25.org>
2+ Copyright (C) 2005 - 2026 Settlers Freaks <sf-team at siedler25.org>
33
44SPDX-License-Identifier: GPL-2.0-or-later
55-->
@@ -24,7 +24,8 @@ Reference: [libs/libGamedata/lua/LuaInterfaceBase.cpp](../../libs/libGamedata/lu
2424** rttr: GetFeatureLevel ()**
2525Get the current feature level of the LUA interface.
2626Increases here indicate new features.
27- The current version is ** 6** .
27+ The current version is ** 7** .
28+ See [ list of changes] ( main.md#versioning ) .
2829
2930** rttr: Log (message)**
3031Log the message to console.
Original file line number Diff line number Diff line change 11<!--
2- Copyright (C) 2005 - 2021 Settlers Freaks <sf-team at siedler25.org>
2+ Copyright (C) 2005 - 2026 Settlers Freaks <sf-team at siedler25.org>
33
44SPDX-License-Identifier: GPL-2.0-or-later
55-->
@@ -47,6 +47,10 @@ You need to implement this and return the major/main version your script works w
4747If it does not match the current version an error will be shown and the script will not be used.
4848See also ` rttr:GetFeatureLevel() ` .
4949
50+ ### Feature level 7
51+
52+ - Allow relative paths for images referenced by campaign files.
53+
5054## Example
5155
5256``` lua
Original file line number Diff line number Diff line change 1- // Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
1+ // Copyright (C) 2005 - 2026 Settlers Freaks (sf-team at siedler25.org)
22//
33// SPDX-License-Identifier: GPL-2.0-or-later
44
@@ -16,7 +16,7 @@ unsigned LuaInterfaceGameBase::GetVersion()
1616
1717unsigned LuaInterfaceGameBase::GetFeatureLevel ()
1818{
19- return 6 ;
19+ return 7 ;
2020}
2121
2222LuaInterfaceGameBase::LuaInterfaceGameBase (const ILocalGameState& localGameState) : localGameState(localGameState)
You can’t perform that action at this time.
0 commit comments