]> git.mxchange.org Git - flightgear.git/commitdiff
I missed committing this one.
authordavid <david>
Tue, 26 Mar 2002 03:14:20 +0000 (03:14 +0000)
committerdavid <david>
Tue, 26 Mar 2002 03:14:20 +0000 (03:14 +0000)
src/Main/model.hxx

index ac23895c516ea2368399caa9b147337066914b61..8054a908bfd06ecfce3ba23d551ae43732a6633c 100644 (file)
@@ -36,6 +36,8 @@ private:
 
   struct Animation
   {
+    Animation ();
+    virtual ~Animation ();
     enum Type {
       None,
       Spin,
@@ -58,8 +60,9 @@ private:
     void setRotation ();
   };
 
-  Animation read_animation (const string &object_name,
-                           const SGPropertyNode * node);
+  void read_animation (Animation &animation,
+                      const string &object_name,
+                      const SGPropertyNode * node);
   void do_animation (Animation &animation, long elapsed_ms);
 
   ssgEntity * _model;