Changes for page Breaking Changes

Last modified by Michael Baumgardt on 2026/04/17 12:03

From version 106.1
edited by Daniel Turner
on 2023/08/25 10:25
Change comment: There is no comment for this version
To version 104.6
edited by Ketraar
on 2023/08/15 12:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Daniel
1 +xwiki:XWiki.Ketraar
Content
... ... @@ -4,14 +4,6 @@
4 4  The following table provides an overview about all breaking changes. This should help you to make any necessary changes to restore compatibility of older mods with new versions of X4.
5 5  Feel free to drop a note if a certain breaking change is breaking your mod and you have difficulties finding a way to work around the issue.
6 6  
7 -{{info}}
8 -⚠ The list of breaking changes does **NOT** cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself.
9 -
10 -Further note that the list provides information about breaking changes which are in the pipeline of being released. This is meant merely as an informational heads up. Neither do mistake this as an announcement of that version becoming available soon nor take it for granted that such a change will go live. Any information provided for not yet released versions can change (and even be removed) prior to such version having seen the light of day.
11 -
12 -As a final note, please be aware that issues introduced during the beta phase might not be explicitly mentioned in the list below, if things would only be broken in-between two beta versions. While we still aim to document any (potential) breaking change here, there might be circumstances for which we divert from that procedure (especially in case of only minor issues which are considered merely bugfixes rather than an intended behavior change).
13 -{{/info}}
14 -
15 15  {{warning title="UI modding considered unstable until further notice..."}}
16 16  Please note that UI modding must be considered **unstable** in the current version. While we are working hard to get the UI modding integration into a stable state, we might have to introduce larger backwards incompatibilities in the following patches. This means that you might have to modify any mod using UI modding capabilities to a larger extend to keep it compatible with certain patches. Still, we are doing our best not to unnecessarily break things for modders and certainly will announce such changes on this page here.
17 17  {{/warning}}
... ... @@ -181,11 +181,11 @@
181 181  4.10 Beta 7
182 182  )))|(% colspan="1" %)(% colspan="1" %)
183 183  (((
184 -**FFI**: SetMapRenderCargoContents(%%)(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) deprecated
176 +**FFI**: (% style="color:#000000" %)SetMapRenderCargoContents(%%)(), (% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) deprecated
185 185  )))
186 186  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
187 187  (((
188 -//The functionality represented by SetMapRenderCargoContents(%%)(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.//
180 +//The functionality represented by (% style="color:#000000" %)SetMapRenderCargoContents(%%)(), (% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.//
189 189  )))
190 190  |(% colspan="1" %)(% colspan="1" %)
191 191  (((
... ... @@ -234,7 +234,7 @@
234 234  )))|(((
235 235  4.10 Beta 2
236 236  )))|(((
237 -**FFI**: FilterComponentForMapMode(%%)() and SetMapObjectFilter() changed
229 +**FFI**: (% style="color:#000000" %)FilterComponentForMapMode(%%)() and (% style="color:#000000" %)SetMapObjectFilter() changed
238 238  )))
239 239  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
240 240  (((
... ... @@ -372,11 +372,11 @@
372 372  )))|(((
373 373  3.30 Beta 3
374 374  )))|(((
375 -**FFI: **Removed** GetMissionLimit() (%%)**and** IsMissionLimit**(%%)**Enabled()**
367 +**FFI: **Removed** (% style="color:#000000" %)GetMissionLimit() (%%)**(% style="color:#000000" %)and** IsMissionLimit**(%%)**Enabled()**
376 376  )))
377 377  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
378 378  (((
379 -//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimit(%%)Reached()//
371 +//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI (% style="color:#000000" %)IsMissionLimit(%%)Reach(% style="color:#000000" %)ed()//
380 380  )))
381 381  |(% colspan="3" %)(% colspan="3" %)
382 382  (((
... ... @@ -969,7 +969,7 @@
969 969  )))|(((
970 970  2.00 Beta 1
971 971  )))|(((
972 -**Lua: CalculateTotalHullFraction() **(%%)was removed.
964 +(% style="color:#000000" %)**Lua: CalculateTotalHullFraction() **(%%)was removed.(% style="color:#000000" %)
973 973  )))
974 974  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
975 975  (((
... ... @@ -980,7 +980,7 @@
980 980  )))|(((
981 981  2.00 Beta 1
982 982  )))|(((
983 -**FFI: RequestDockAtReason()/UndockPlayerShip()(%%) **changed their return values.
975 +**FFI: (% style="color:#000000" %)RequestDockAtReason()/UndockPlayerShip()(%%) **changed their return values.
984 984  )))
985 985  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
986 986  (((
... ... @@ -1052,7 +1052,7 @@
1052 1052  )))
1053 1053  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1054 1054  (((
1055 -//CancelConstruction() now returns if the cancellation was successful. //
1047 +(% style="color:#000000" %)//CancelConstruction() now returns if the cancellation was successful. //
1056 1056  )))
1057 1057  |(% colspan="3" %)(% colspan="3" %)
1058 1058  (((
... ... @@ -1082,5 +1082,5 @@
1082 1082  )))
1083 1083  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1084 1084  (((
1085 -//The AA setting was changed to check the new setting with the user. In order to restore the old setting GetAAOption() gets the option to retrieve the config settings.//
1077 +//The AA setting was changed to check the new setting with the user. In order to restore the old setting (% style="color:#000000" %)GetAAOption() gets the option to retrieve the config settings.//
1086 1086  )))