Releases: SpacingBat3/Luanti-CoreAnim
v1.0.0-pre6
Full Changelog: v1.0.0-pre5...v1.0.0-pre6
v1.0.0-pre5
Full Changelog: v1.0.0-pre4...v1.0.0-pre5
v1.0.0-pre4
🛠️ Fixes & Improvements
coreanim_core
:
-
Fix typo in
set_bone_override
function. -
Allow for scale override, it wasn't intentional to make that no-op argument, at least for now.
-
Improve how we fetch numeric value from
dedicated_server_step
, fixing compatibility with MCL games at library level.
Note
This is still more or less a workaround, dedicated_server_step
should itself be a number. But it seems Minetest engine doesn't care much about it, being capable of interpreting it correctly anyway, and MCL devs probably unintentionally add inline comment that is actually interpreted as a value to their game.conf
. At least code is now prone to that error, and we support it.
coreanim_head
:
- Use
minetest.log()
for warnings instead ofwarn()
since I didn't know back then LuaJIT didn't support it (yet? ever?).
🧼️ Refactorings
coreanim_core
:
-
Use helper function to generate objects (tables) in
set_bone_position
, this is done to (hopefully) make the code easier to read by splitting some generic constructions outside of the main logic. -
Refactor how
step_default
's fallback value is set, instead of largeif
construction just useor
. -
Remove some no longer necessary
if
block,detach_call
already sets detachedset_bone_override
if it wasn't set before.
coreanim_compat
:
- Implement unregister of the
on_joinplayer
callback by replacing it with no-op (empty) function, to avoid unnecessary condition checks each time it runs (possible performance benefits?). It can't be trully unregistered, at least without any risk of conflicting with the internal engine logic that loops over theregistered_on_joinplayers
table.
Full Changelog: v1.0.0-pre3...v1.0.0-pre4
v1.0.0-pre3
Fix MCL (VoxeLibre, Mineclonia, MineClone5 etc.) games support with compat
, since those games set their dedicated_server_step
to a value that might not be parsed correctly right now (it's not really a number, as it should be).
This was found out previously in early development versions but wasn't taken into account when writting compat.
Full Changelog: v1.0.0-pre2...v1.0.0-pre3
v1.0.0-pre2
No important modpack changes or API modifications were done as a part of this release, only modpack metadata and documentation was updated.
Full Changelog: v1.0.0-pre1...v1.0.0-pre2
v1.0.0-pre1
Initial modpack release
Introduce 3 mods (modules): core
, head
and compat
.
-
core
: library, implements global modpack APIs that can be used in scope of the modpack and outside of it, -
head
: example animations implementation and mod you might use if there are no other animations available, -
compat
: replaces engine APIs to provide interpolation forset_bone_position
API.
As a side note, the interpolation by default relies on server step to get difference in time between each globalstep.
Full Changelog: https://github.com/SpacingBat3/MT-CoreAnim/commits/v1.0.0-pre1