Subversion Repositories eduke32

Rev

Rev 4747 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4747 Rev 4987
Line 23... Line 23...
23
#ifndef anim_h_
23
#ifndef anim_h_
24
#define anim_h_
24
#define anim_h_
25
25
26
#define NUM_HARDCODED_ANIMS 12
26
#define NUM_HARDCODED_ANIMS 12
27
27
28
# ifdef USE_LIBVPX
28
typedef struct
-
 
29
{
-
 
30
    uint8_t* animbuf;
-
 
31
    void (*sound_func)(int32_t);
-
 
32
    uint16_t *sounds;
-
 
33
    int16_t numsounds;
-
 
34
    uint8_t framedelay;
-
 
35
    char animlock;
-
 
36
} dukeanim_t;
-
 
37
-
 
38
extern dukeanim_t * g_animPtr;
-
 
39
extern hashtable_t h_dukeanim;
-
 
40
extern dukeanim_t * G_FindAnim(const char *s);
29
extern uint16_t anim_hi_numsounds[NUM_HARDCODED_ANIMS], *anim_hi_sounds[NUM_HARDCODED_ANIMS];
41
extern dukeanim_t * G_DefineAnim(const char *fn, uint8_t framerate, void (*sound_func)(int32_t));
-
 
42
int32_t G_PlayAnim(const char *fn);
30
# endif
43
void G_InitAnim(void);
31
44
32
int32_t G_PlayAnim(const char *fn,char t);
-
 
33
/*
-
 
34
void endanimvol43(int32_t fr);
-
 
35
void endanimvol42(int32_t fr);
-
 
36
void endanimvol41(int32_t fr);
-
 
37
void intro42animsounds(int32_t fr);
-
 
38
void first4animsounds(int32_t fr);
-
 
39
void intro4animsounds(int32_t fr);
-
 
40
void logoanimsounds(int32_t fr);
-
 
41
void endanimsounds(int32_t fr);
-
 
42
*/
-
 
43
#endif
45
#endif