Skip to content

Releases: SpacingBat3/Luanti-CoreAnim

v1.0.0-pre6

30 Nov 02:28
9178afd
Compare
Choose a tag to compare
v1.0.0-pre6 Pre-release
Pre-release

v1.0.0-pre5

20 Sep 22:46
5b1bc1d
Compare
Choose a tag to compare
v1.0.0-pre5 Pre-release
Pre-release

v1.0.0-pre4

03 Sep 16:43
a09e011
Compare
Choose a tag to compare
v1.0.0-pre4 Pre-release
Pre-release

🛠️ 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 of warn() 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 large if construction just use or.

  • Remove some no longer necessary if block, detach_call already sets detached set_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 the registered_on_joinplayers table.

Full Changelog: v1.0.0-pre3...v1.0.0-pre4

v1.0.0-pre3

30 Aug 22:49
162c1b8
Compare
Choose a tag to compare
v1.0.0-pre3 Pre-release
Pre-release

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

25 Aug 00:19
1cdba2c
Compare
Choose a tag to compare
v1.0.0-pre2 Pre-release
Pre-release

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

25 Aug 00:17
7513b7e
Compare
Choose a tag to compare
v1.0.0-pre1 Pre-release
Pre-release

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 for set_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