tangible.animate uses the new keyword parser.

This commit is contained in:
2022-07-22 16:22:04 -04:00
parent e6414e113d
commit 28ec61e47c
3 changed files with 52 additions and 52 deletions

View File

@@ -130,10 +130,10 @@ public:
// graphic: "graphic"
// plane: "plane"
//
// qback: the animation queue back, from which relative
// aqback: the animation queue back, from which relative
// moves are computed.
//
void from_lua(lua_State *L, int idx, bool ignex, const AnimStep &qback);
void configure(LuaKeywordParser &kp, const AnimStep &aqback);
// Make this step into a first-step of an anim queue.
void keep_state_only();
@@ -161,8 +161,8 @@ private:
eng::string graphic_;
eng::string plane_;
void from_lua_store_string(lua_State *L, int idx, eng::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);
void config_store_string(lua_State *L, int idx, eng::string *target, int16_t bits, const char *name);
void config_store_number(lua_State *L, int idx, float *target, float offset, int16_t bits, const char *name);
};