2017 ソフトウェア設計及び演習用の班Wiki
17::g04::発表::ヘッダーファイル::music
#pragma once #include <gtk_lib.h> #include <SDL.h> #include <SDL_mixer.h> #include <stdlib.h> #define music_num 5 #define effect_num 10 gchar *se[effect_num]={"./bgm/decision5.wav","./bgm/decision8.wav","./bgm/qigong1.wav","./bgm/kick-low1.wav","./bgm/magic-charge1.wav","./bgm/punch-middle2.wav","./bgm/ai.wav","./bgm/cancel4.wav","./bgm/ref.wav","./bgm/fire.wav"}; gchar *music[music_num]= {"./bgm/Scramble.mp3","./bgm/bgm_maoudamashii_8bit27.mp3","./bgm/bgm_maoudamashii_8bit28.mp3","./bgm/memories.mp3","./bgm/bgm_maoudamashii_8bit13.mp3" }; void sound_play(int a); void music_play(int a); void set_up_music(); void end_music();
最終更新日:2017/08/04 11:50:48