From 82a460ec90b4537926f31603219504bce8817ac2 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 27 Nov 2011 04:31:05 +0200 Subject: Improve luaentity sprite functionality (and add some random stuff) --- src/content_sao.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/content_sao.h') diff --git a/src/content_sao.h b/src/content_sao.h index 6f5bab310..c5e1471bc 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -219,7 +219,10 @@ public: /* LuaEntitySAO-specific */ void setVelocity(v3f velocity); void setAcceleration(v3f acceleration); + v3f getAcceleration(); void setTextureMod(const std::string &mod); + void setSprite(v2s16 p, int num_frames, float framelength, + bool select_horiz_by_yawpitch); private: void sendPosition(bool do_interpolate, bool is_movement_end); -- cgit v1.2.3