Load new sounds.

This commit is contained in:
Steve 2018-02-27 08:16:06 +00:00
parent 938fbaf9e0
commit 4d41f7f56c
2 changed files with 3 additions and 1 deletions

View File

@ -159,6 +159,8 @@ static void loadSounds(void)
sounds[SND_DENIED] = loadSound("sound/142608__autistic-lucario__error.ogg");
sounds[SND_CONFIRMED] = loadSound("sound/39028__wildweasel__cardlock-open.ogg");
sounds[SND_HEART_CELL] = loadSound("sound/162467__kastenfrosch__gotitem.ogg");
sounds[SND_ELECTRIC_HIT] = loadSound("sound/46501__phreaksaccount__welder1.ogg");
sounds[SND_ITEM_PAD] = loadSound("sound/383779__jay-you__telephone-dialing.ogg");
sounds[SND_MISSION_COMPLETE] = loadSound("sound/113989__kastenfrosch__gewonnen.ogg");
sounds[SND_TROPHY] = loadSound("sound/278142__ricemaster__effect-notify.ogg");

View File

@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "SDL2/SDL_mixer.h"
#define MIN_BATTLE_SOUND_DISTANCE MAP_TILE_SIZE * 2
#define MIN_BATTLE_SOUND_DISTANCE (MAP_TILE_SIZE * 8)
#define MAX_BATTLE_SOUND_DISTANCE (SCREEN_WIDTH * 2)
extern char *getFileLocation(char *filename);