animation.h 506 B

12345678910111213141516171819202122232425
  1. #ifndef _ANIMATION_H
  2. #define _ANIMATION_H
  3. typedef struct {
  4. unsigned int magic;
  5. int hasBootlogo;
  6. int bootlogoDisplayTime;
  7. int aniCount;
  8. int aniWidth;
  9. int aniHeight;
  10. int aniFps;
  11. int aniDelayHideTime;
  12. unsigned int aniSize;
  13. unsigned int checksum;
  14. unsigned int reserved[2];
  15. }BANIHEADER;
  16. int animation_init(void);
  17. void animation_start(void);
  18. /* replay animation even if animation is already playing */
  19. void animation_restart(void);
  20. void animation_stop(void);
  21. int get_animation_status(void);
  22. #endif