MusHandleSetTempo.html
2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html>
<head>
<title>NINTENDO64 Sound Tools Programing Manual</title>
</head>
<body bgcolor="#d0d0d0" text="#000000" link="#008000" vlink="#008000">
<h1><font color="#000080">MusHandleSetTempo()</font></h1>
<h2><font color="#ff0000">$B%W%m%H%?%$%W@k8@(B</font></h2>
<pre> void <strong>MusHandleSetTempo</strong>(musHandle <font color="#0000ff">handle</font>, int <font color="#0000ff">tempo</font>);</pre>
<h2><font color="#ff0000">$B0z?t(B</font></h2>
<table>
<tr>
<td valign="top">
<font color="#0000ff"><code>handle</code></font>
</td>
<td>
$B%5%&%s%I%O%s%I%k(B
</td>
</tr>
<tr>
<td valign="top">
<font color="#0000ff"><code>tempo</code></font>
</td>
<td>
$B%F%s%]$N%*%U%;%C%HCM(B
</td>
</tr>
</table>
<h2><font color="#ff0000">$B@bL@(B</font></h2>
<p>$B;XDj$7$?%5%&%s%I%O%s%I%k$K4XO"$7$?%A%c%s%M%k$K$D$$$F$N%F%s%]$N%*%U%;%C%HCM$r@_Dj$7$^$9!#$3$N4X?t$K$h$C$F%W%m%0%i%^$O!"Dj5A$5$l$?%=%s%0$N%9%T!<%I!"$"$k$$$O%5%&%s%I%(%U%'%/%H$N%G%U%)%k%H$N%9%T!<%I$K4XO"$7$F!"%=%s%0$*$h$S%5%&%s%I%(%U%'%/%H$r%9%T!<%I%"%C%W$7$?$j%9%T!<%I%@%&%s$7$?$j$9$k$3$H$,$G$-$^$9!#(B</p>
<p>$B0z?t(B<font color="#0000ff"><code>handle</code></font>$B$O(B<a href="MusStartSong.html"><code>MusStartSong()</code></a>$B!"(B <a href="MusStartSongFromMarker.html"><code>MusStartSongFromMarker()</code></a>$B!"(B <a href="MusStartEffect.html"><code>MusStartEffect()</code></a>$B$"$k$$$O(B<a href="MusStartEffect2.html"><code>MusStartEffect2()</code></a>$B$K$h$C$FJV$5$l$k%5%&%s%I%O%s%I%k$G$J$1$l$P$J$j$^$;$s!#$b$7(B<font color="#0000ff"><code>handle</code></font>$B$H$7$F(B0$B$,M?$($i$l$?$J$i!"$3$N4X?t$O>o$K(B0$B$rJV$7$^$9!#(B</p>
<p>$B0z?t(B<font color="#0000ff"><code>tempo</code></font>$B$NCM$O(B0$B$+$i(B0x100(256)$B$NHO0OFb$G$"$k$Y$-$G$"$j!"$3$NHO0O$O85!9$N%5%&%s%I%G!<%?$K$*$$$FDj5A$5$l$F$$$kCM$N(B0%$B$+$i(B200%$B$rI=$7$F$$$^$9!#%F%s%]$N%G%U%)%k%H$N%*%U%;%C%HCM$O$9$Y$F$N%A%c%s%M%k$K$D$$$F(B0x80(100%)$B$G$9!#(B</p>
<h2><font color="#ff0000">$BLa$jCM(B</font></h2>
<p>$BJQ99$5$l$?%A%c%s%M%k$N?t!#(B</p>
<h2><font color="#ff0000">$BNc(B</font></h2>
<pre> void SongSpeedFromBossHealth(unsigned long handle, int health)
{
<font color="#800000">/* health In range 0-32767 */</font>
health = (32767 - health)>>9;
<strong>MusHandleSetTempo</strong>(handle, health + 128);
}
</pre>
<h2><font color="#ff0000">$B;2>H(B</font></h2>
<a href="MusStartSong.html"><code>MusStartSong()</code></a>,
<a href="MusStartEffect.html"><code>MusStartEffect()</code></a>,
<a href="MusStartEffect2.html"><code>MusStartEffect2()</code></a>
</body>
</html>