Topic: add-on versions for specific widelands versions
kaputtnik Topic Opener |
Posted at: 2024-08-25, 12:33
I am unsure how to handle add-on versions which are working only for specific widelands versions. Since the change in the development version to use other window borders i need to adapt the minimalistic theme to work with the upcoming release of widelands 1.3. The problem i see is that e.g. debian related distros will probably not provide the new widelands version for a long time. So i need to provide two different add-ons, one for widelands version 1.2 and another one for widelands version 1.3 and later. The current version of the minimalistic theme is 1.7 (which will not work for the upcoming widelands version 1.3). Should i increase the version number of the add-on for widelands version 1.3 although it will be a new add-on? Top Quote |
Nordfriese |
Posted at: 2024-08-25, 17:34
The best practice would be to adapt your add-on to detect the Widelands version and adapt itself accordingly. So you might include border graphics for both the old and new style and then use Lua scripting in the
If you really want to maintain two separate versions of the add-on instead, keep them completely separate and use Top Quote |
kaputtnik Topic Opener |
Posted at: 2024-08-25, 18:18
Oh yeah, very good idea! Many thanks for this hint! Top Quote |