summaryrefslogtreecommitdiff
path: root/src/object_properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object_properties.h')
-rw-r--r--src/object_properties.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/object_properties.h b/src/object_properties.h
index 48240e6ea..3ab488f92 100644
--- a/src/object_properties.h
+++ b/src/object_properties.h
@@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <string>
#include "irrlichttypes_bloated.h"
#include <iostream>
+#include <map>
struct ObjectProperties
{
@@ -33,6 +34,11 @@ struct ObjectProperties
core::aabbox3d<f32> collisionbox;
std::string visual;
std::string mesh;
+ core::vector2d<int> animation_frames;
+ float animation_speed;
+ float animation_blend;
+ std::map<std::string, v3f> animation_bone_position;
+ std::map<std::string, v3f> animation_bone_rotation;
v2f visual_size;
core::array<std::string> textures;
v2s16 spritediv;
@@ -41,6 +47,7 @@ struct ObjectProperties
bool makes_footstep_sound;
float automatic_rotate;
+
ObjectProperties();
std::string dump();
void serialize(std::ostream &os) const;