123
This commit is contained in:
61
BinkSDK/htmlhelp/BinkGoto.html
Normal file
61
BinkSDK/htmlhelp/BinkGoto.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<!-- This page was created with the RAD auto-doc generator. -->
|
||||
<!doctype html public "-//w3c//dtd html 3.2 final//en">
|
||||
<html>
|
||||
<head>
|
||||
<title>BinkGoto</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso8859-1">
|
||||
<meta name="ms.locale" content="en-us">
|
||||
<meta name="description" content="jumps to a new frame inside the Bink file.">
|
||||
<meta name="ms-hkwd" content="BinkGoto">
|
||||
<link rel="stylesheet" title="default" href="reference.css" type="text/css" media="screen">
|
||||
</head>
|
||||
<body topmargin="0">
|
||||
<table cellspacing=0 cellpadding=0 class=bar width=100% height=25>
|
||||
<tr class=bar>
|
||||
<td class=bar>
|
||||
<i> <a href="index.html" class=trn>Bink SDK 1.5v</a></i>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1>BinkGoto</h1>
|
||||
<p>The function <b>BinkGoto</b> jumps to a new frame inside the Bink file.</p>
|
||||
<table width=100% cellspacing=0 class=pre>
|
||||
<tr class=pre>
|
||||
<td class=pre>
|
||||
<pre><b><a href="void.html" class=trn>void</a> <a href="BinkGoto.html" class=trn>BinkGoto</a>(</b>
|
||||
<b>  <a href="HBINK.html" class=trn>HBINK</a> </b><i>bink</i><b>,</b>
|
||||
<b>  <a href="U32.html" class=trn>U32</a> </b><i>frame_num</i><b>,</b>
|
||||
<b>  <a href="BINK_GOTO_FLAGS.html" class=trn>BINK_GOTO_FLAGS</a> </b><i>goto_flags</i>
|
||||
<b>);</b></pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>In Parameters</h4>
|
||||
<dl>
|
||||
<dt><i>bink</i></dt>
|
||||
<dd>Specifies the Bink handle.</dd>
|
||||
<dt><i>frame_num</i></dt>
|
||||
<dd>Specifies the frame number to jump to.</dd>
|
||||
<dt><i>goto_flags</i></dt>
|
||||
<dd>Specifies the type of jump to perform.</dd>
|
||||
</dl>
|
||||
<h4>Discussion</h4>
|
||||
<p>This function allows you to immediately skip to another frame in a Bink file. The frame_num parameter specifies which frame to skip to (the first frame is frame 1). If the new frame data is in Bink's read ahead memory, then this function will be performed instantly (only a few pointers are updated). However, if the new frame data is outside Bink's read buffer, then Bink has to do a seek (slow on a CD-ROM), and then read the frame's data. Even with a seek, though, BinkGoto is still pretty fast. It's often difficult to notice a seek pause at all. You can also find the nearest key frame manually with the <a href="BinkGetKeyFrame.html">BinkGetKeyFrame</a> function. </p>
|
||||
<p>
|
||||
<br>
|
||||
<b>Group:</b>
|
||||
<a href="Bink API.html">Bink API</a><br>
|
||||
<b>Related Sections:</b>
|
||||
<a href="Critical File I-O haq3ylyt.html">Critical File I/O handling in Bink</a><br>
|
||||
<b>Related Functions:</b>
|
||||
<a href="BinkGetKeyFrame.html">BinkGetKeyFrame</a><br>
|
||||
<b>Related Basic Types:</b>
|
||||
<a href="BINK_GOTO_FLAGS.html">BINK_GOTO_FLAGS</a>, <a href="HBINK.html">HBINK</a>, <a href="U32.html">U32</a>, <a href="void.html">void</a></p>
|
||||
<p align=center>
|
||||
<a href="mailto:Bink1@radgametools.com">For technical support, e-mail Bink1@radgametools.com</a>
|
||||
<br>
|
||||
<a href="http://www.radgametools.com/bnkmain.htm?from=help1.5v">© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.</a>
|
||||
</p>
|
||||
<br>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user