Fixed traceback issue, improved animqueue primitives
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user