animloop.h 455 B

123456789101112131415161718192021222324252627282930313233
  1. class idAnimloop : public idAnimated
  2. {
  3. public:
  4. CLASS_PROTOTYPE( idAnimloop );
  5. void Save( idSaveGame *savefile ) const;
  6. void Restore( idRestoreGame *savefile );
  7. //void Think( void );
  8. void Spawn( void );
  9. private:
  10. void Loopdone( void );
  11. int blendFrames;
  12. float randomtime;
  13. float randomstart;
  14. idStr animName;
  15. bool active;
  16. void loopsetactive(int value);
  17. };