Fixed traceback issue, improved animqueue primitives

This commit is contained in:
2021-06-03 13:29:19 -04:00
parent 427c82ea8b
commit 5b19d407fb
7 changed files with 79 additions and 91 deletions

View File

@@ -57,6 +57,9 @@ private:
std::string graphic_;
std::string plane_;
void from_lua_store_string(lua_State *L, int idx, std::string *target, int16_t bits, const char *name);
void from_lua_store_number(lua_State *L, int idx, float *target, float offset, int16_t bits, const char *name);
public:
AnimStep();
~AnimStep();
@@ -103,7 +106,10 @@ public:
// graphic: "graphic"
// plane: "plane"
//
void from_lua(lua_State *L, int idx);
// qback: the animation queue back, from which relative
// moves are computed.
//
void from_lua(lua_State *L, int idx, const AnimStep &qback);
// For any values that are unchanged in this step,
// echo the values of the previous step.