diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-21 11:15:15 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:49 +0200 |
commit | 0ce0c8fcfba655c8db5f53ce8e3ab7adfa59768a (patch) | |
tree | 7491e7b68e0cd4c43a19de54b7352d4d9e0de778 /src/content_cao.h | |
parent | 811ac5ac3ae6de6ee152f724aaf392ac73c3ed40 (diff) | |
download | minetest-0ce0c8fcfba655c8db5f53ce8e3ab7adfa59768a.tar.gz minetest-0ce0c8fcfba655c8db5f53ce8e3ab7adfa59768a.tar.bz2 minetest-0ce0c8fcfba655c8db5f53ce8e3ab7adfa59768a.zip |
Improve LuaEntity velocity/acceleration handling (by kahrl); implement staticdata interface to Lua
Diffstat (limited to 'src/content_cao.h')
-rw-r--r-- | src/content_cao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_cao.h b/src/content_cao.h index 3a3fbbcda..3f6b9d877 100644 --- a/src/content_cao.h +++ b/src/content_cao.h @@ -428,6 +428,8 @@ private: scene::IMeshSceneNode *m_meshnode; scene::MyBillboardSceneNode *m_spritenode; v3f m_position; + v3f m_velocity; + v3f m_acceleration; float m_yaw; struct LuaEntityProperties *m_prop; SmoothTranslator pos_translator; |