mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 10:11:50 +00:00
25 lines
357 B
C
25 lines
357 B
C
|
#ifndef RIFF_H
|
||
|
#define RIFF_H
|
||
|
|
||
|
struct riff;
|
||
|
|
||
|
struct riff_chunk
|
||
|
{
|
||
|
unsigned type;
|
||
|
int32 offset;
|
||
|
unsigned size;
|
||
|
struct riff * nested;
|
||
|
};
|
||
|
|
||
|
struct riff
|
||
|
{
|
||
|
unsigned type;
|
||
|
unsigned chunk_count;
|
||
|
struct riff_chunk * chunks;
|
||
|
};
|
||
|
|
||
|
struct riff * riff_parse( DUMBFILE * f, int32 offset, int32 size, unsigned proper );
|
||
|
void riff_free( struct riff * );
|
||
|
|
||
|
#endif
|