Mercurial > otakunoraifu
comparison scn2k/scn2k_grp.cc @ 10:dac3a35aeff6
Plays more Sound Effects
author | thib |
---|---|
date | Wed, 06 Aug 2008 09:13:54 +0000 |
parents | 55b577e5f5b5 |
children | 28a4f6bde8c8 |
comparison
equal
deleted
inserted
replaced
9:b6d6c0ffb423 | 10:dac3a35aeff6 |
---|---|
2166 } | 2166 } |
2167 cmd.cmd_type = CMD_SAVECMD_ONCE; | 2167 cmd.cmd_type = CMD_SAVECMD_ONCE; |
2168 } | 2168 } |
2169 } | 2169 } |
2170 if (cmd.cmd1 == 1 && cmd.cmd2 == 0x15) { | 2170 if (cmd.cmd1 == 1 && cmd.cmd2 == 0x15) { |
2171 if ((cmd.cmd3 == 2) || (cmd.cmd3 == 0 && cmd.cmd4 == 1) || (cmd.cmd3 == 0 && cmd.cmd4 == 0)) { | 2171 if ((cmd.cmd3 == 2) || (cmd.cmd3 == 0 && (cmd.cmd4 == 1 || cmd.cmd4 == 2)) || (cmd.cmd3 == 0 && cmd.cmd4 == 0)) { |
2172 eprintf("play SE %s\n",cmd.Str(cmd.args[0])); | 2172 printf("play SE %s\n",cmd.Str(cmd.args[0])); |
2173 if (cmd.cmd3 == 2) { | 2173 if (cmd.cmd3 == 2) { |
2174 music.PlaySE(cmd.Str(cmd.args[0]),1); | 2174 music.PlaySE(cmd.Str(cmd.args[0]),1); |
2175 cmd.cmd_type = CMD_SAVECMD_ONCE; | 2175 cmd.cmd_type = CMD_SAVECMD_ONCE; |
2176 } else { | 2176 } else { |
2177 music.PlaySE(cmd.Str(cmd.args[0])); | 2177 music.PlaySE(cmd.Str(cmd.args[0])); |