From ff3545d4095f137c2d6c19cc938f739e43968afb Mon Sep 17 00:00:00 2001
From: James Lambert
Date: Thu, 29 Dec 2022 21:58:29 -0700
Subject: [PATCH] Work on animation export code
---
skelatool64/doc/index.html | 7 +-
skelatool64/doc/modules/sk_animation.html | 179 ++++++++++++++
.../doc/modules/sk_definition_writer.html | 3 +-
skelatool64/doc/modules/sk_input.html | 3 +-
skelatool64/doc/modules/sk_math.html | 38 ++-
skelatool64/doc/modules/sk_mesh.html | 3 +-
skelatool64/doc/modules/sk_scene.html | 135 ++++++++++-
skelatool64/doc/modules/sk_transform.html | 87 ++++++-
skelatool64/lua/sk_animation.lua | 227 ++++++++++++++++++
skelatool64/lua/sk_math.lua | 42 ++++
skelatool64/lua/sk_scene.lua | 52 +++-
.../lua_generator/LuaDisplayListSettings.cpp | 3 +
skelatool64/src/lua_generator/LuaFiles.h | 3 +-
skelatool64/src/lua_generator/LuaGeometry.cpp | 16 ++
skelatool64/src/lua_generator/LuaGeometry.h | 1 +
skelatool64/src/lua_generator/LuaScene.cpp | 69 ++++++
.../src/lua_generator/LuaTransform.cpp | 53 ++++
tools/export_level.lua | 1 +
tools/level_scripts/animation.lua | 6 +
19 files changed, 908 insertions(+), 20 deletions(-)
create mode 100644 skelatool64/doc/modules/sk_animation.html
create mode 100644 skelatool64/lua/sk_animation.lua
create mode 100644 tools/level_scripts/animation.lua
diff --git a/skelatool64/doc/index.html b/skelatool64/doc/index.html
index 2992c4f..52e3c78 100644
--- a/skelatool64/doc/index.html
+++ b/skelatool64/doc/index.html
@@ -34,6 +34,7 @@
sk_input
sk_mesh
sk_transform
+ sk_animation
sk_definition_writer
sk_math
sk_scene
@@ -59,6 +60,10 @@
sk_transform |
|
+
+ sk_animation |
+ |
+
sk_definition_writer |
|
@@ -77,7 +82,7 @@
generated by LDoc 1.4.6
-
Last updated 2022-12-22 22:02:27
+
Last updated 2022-12-29 21:32:18
+
+
+
+
+
+
+
+
+
+
+
+
+
+
skeletool64
+
+
+
+
Contents
+
+
+
+
Modules
+
+
+
+
+
+
+
Module sk_animation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+ build_armature (animation_nodes)
+
+ -
+
+
+
+
Parameters:
+
+ - animation_nodes
+ {sk_scene.Node,...}
+
+
+
+
+ Returns:
+
+
+ Armature
+
+
+
+
+
+
+
+ -
+
+ export_animations (name_hint, armature, animations, file_suffix, animation_file_suffix)
+
+ -
+
+
+
+
Parameters:
+
+ - name_hint
+ string
+
+
+ - armature
+ Armature
+
+
+ - animations
+ {sk_scene.Animation,...}
+
+
+ - file_suffix
+ string
+
+
+ - animation_file_suffix
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+ Armature:has_node ()
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
generated by LDoc 1.4.6
+
Last updated 2022-12-29 21:32:18
+
+
+
diff --git a/skelatool64/doc/modules/sk_animation.html b/skelatool64/doc/modules/sk_animation.html
new file mode 100644
index 0000000..d2e5579
--- /dev/null
+++ b/skelatool64/doc/modules/sk_animation.html
@@ -0,0 +1,179 @@
+
+
+
+