Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 31abe9b718384a0abc2888edf421e3a9 > files > 167

lib64allegro-devel-4.4.2-4.mga4.x86_64.rpm

#ifndef __DEMO_ANIM_H__
#define __DEMO_ANIM_H__

#include <allegro.h>

struct Animation {
   BITMAP *Animation[3], *Still, *Slow, *Medium, *Fast, *CBitmap;
   int SkateVoice;
   float TimeCount;
};

extern BITMAP *GetCurrentBitmap(struct Animation *);
extern void AdvanceAnimation(struct Animation *, float Distance,
			     int OnPlatform);
extern struct Animation *SeedPlayerAnimation(void);
extern void FreePlayerAnimation(struct Animation *Anim);
extern void PauseAnimation(struct Animation *Anim);
extern void UnpauseAnimation(struct Animation *Anim);

#endif