mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 04:34:51 -04:00
game folder "just" compiles (not link)
This commit is contained in:
parent
13d3908273
commit
1b0f7fe0c2
135 changed files with 2161 additions and 2336 deletions
20
libs/wav.h
Normal file
20
libs/wav.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef _WAV_H
|
||||
|
||||
#define _WAV_H
|
||||
#define WAV_RIFF "RIFF"
|
||||
#define WAV_WAVE "WAVE"
|
||||
#define WAV_FMT "fmt "
|
||||
#define WAV_DATA "data"
|
||||
|
||||
typedef struct t_wave
|
||||
{
|
||||
unsigned short wav_mode,chans;
|
||||
long freq,bps;
|
||||
}T_WAVE;
|
||||
|
||||
int find_chunk(FILE *riff,char *name); //-1 neuspech, jinak pozice
|
||||
int get_chunk_size(FILE *riff); //velikost
|
||||
int read_chunk(FILE *riff,void *mem); // 1 neuspech
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue