mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-20 05:04:53 -04:00
mp3 support for playing background music
This commit is contained in:
parent
73a4187f79
commit
dd23d8c989
24 changed files with 2245 additions and 252 deletions
|
@ -185,8 +185,7 @@ void BigPlayProc(MGIF_HEADER_T *hdr,int act,const void *data,int csize)
|
|||
void play_animation(const char *filename,char mode,int posy,char sound)
|
||||
{
|
||||
size_t sz;
|
||||
void *mgf=map_file_to_memory(file_icase_find(filename), &sz);
|
||||
change_music(NULL);
|
||||
const void *mgf=map_file_to_memory(file_icase_find(filename), &sz);
|
||||
if (mgf==NULL) return;
|
||||
game_display_disable_crt_effect_temporary(1);
|
||||
PlayMGFFile(mgf,BigPlayProc,posy,mode & 0x80);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue