Commit 0186278a authored by nanahira's avatar nanahira

compat

parent 4d7868b4
...@@ -1026,7 +1026,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) { ...@@ -1026,7 +1026,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
break; break;
} }
//playing custom bgm //playing custom bgm
case HINT_MUSIC: { case 11: { //HINT_MUSIC
char BGMName[1024]; char BGMName[1024];
if (data) { if (data) {
myswprintf(textBuffer, L"./sound/BGM/custom/%ls.mp3", dataManager.GetDesc(data)); myswprintf(textBuffer, L"./sound/BGM/custom/%ls.mp3", dataManager.GetDesc(data));
...@@ -1038,7 +1038,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) { ...@@ -1038,7 +1038,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
break; break;
} }
//playing custom sound effect //playing custom sound effect
case HINT_SOUND: { case 12: { //HINT_SOUND
char SoundName[1024]; char SoundName[1024];
if (data) { if (data) {
myswprintf(textBuffer, L"./sound/custom/%ls.wav", dataManager.GetDesc(data)); myswprintf(textBuffer, L"./sound/custom/%ls.wav", dataManager.GetDesc(data));
...@@ -1050,7 +1050,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) { ...@@ -1050,7 +1050,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
break; break;
} }
//playing custom bgm in ogg format //playing custom bgm in ogg format
case HINT_MUSIC_OGG: { case 13: { //HINT_MUSIC_OGG
char BGMName[1024]; char BGMName[1024];
if (data) { if (data) {
myswprintf(textBuffer, L"./sound/BGM/custom/%ls.ogg", dataManager.GetDesc(data)); myswprintf(textBuffer, L"./sound/BGM/custom/%ls.ogg", dataManager.GetDesc(data));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment