merged support for playing bink cutscenes and added 1366x768 resolution

This commit is contained in:
gaa-cifasis 2018-02-18 18:48:51 -03:00 committed by Patryk Obara
parent 7aea1acf44
commit 310cf0da7c
11 changed files with 784 additions and 26 deletions

View file

@ -1240,3 +1240,12 @@ int LoadWavFromFastFile(int soundNum, char * wavFileName)
return ok;
}
float PlatVolumeToGain(int volume)
{
if(volume<0) volume = 0;
if(volume>127) volume = 127;
return vol_to_gain_table[volume];
}