]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/Person.hpp
Put some sounds and animations information in creature types
[lugaru.git] / Source / Objects / Person.hpp
index 57f3ebb1f49bc5a7bf7221e061f1488ddc472e4e..856f050fee4d4f07713670cefea2e24be25009cb 100644 (file)
@@ -23,6 +23,7 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "Animation/Animation.hpp"
 #include "Animation/Skeleton.hpp"
+#include "Audio/Sounds.hpp"
 #include "Environment/Terrain.hpp"
 #include "Graphic/gamegl.hpp"
 #include "Graphic/Models.hpp"
@@ -60,6 +61,15 @@ class PersonType
 public:
     // head, body, arms, legs
     XYZ proportions[4];
+    animation_type animRun;
+    animation_type animRunning;
+    animation_type animCrouch;
+    animation_type animStop;
+    animation_type animLanding;
+    animation_type animLandingHard;
+    sound_type soundsAttack[4];
+    sound_type soundsTalk[2];
+
     static std::vector<PersonType> types;
     static void Load();
 };