summaryrefslogtreecommitdiff
path: root/manuals/chickadee/The-Game-Loop.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/chickadee/The-Game-Loop.html')
-rw-r--r--manuals/chickadee/The-Game-Loop.html37
1 files changed, 17 insertions, 20 deletions
diff --git a/manuals/chickadee/The-Game-Loop.html b/manuals/chickadee/The-Game-Loop.html
index 138dca3..a562c8b 100644
--- a/manuals/chickadee/The-Game-Loop.html
+++ b/manuals/chickadee/The-Game-Loop.html
@@ -18,7 +18,7 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html.
The document was typeset with
http://www.texinfo.org/ (GNU Texinfo).
-->
-<!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ -->
+<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>The Game Loop (The Chickadee Game Toolkit)</title>
@@ -28,12 +28,12 @@ http://www.texinfo.org/ (GNU Texinfo).
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
-<link href="index.html#Top" rel="start" title="Top">
-<link href="Index.html#Index" rel="index" title="Index">
+<link href="index.html" rel="start" title="Top">
+<link href="Index.html" rel="index" title="Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
-<link href="Kernel.html#Kernel" rel="up" title="Kernel">
-<link href="Input-Devices.html#Input-Devices" rel="next" title="Input Devices">
-<link href="Kernel.html#Kernel" rel="prev" title="Kernel">
+<link href="Kernel.html" rel="up" title="Kernel">
+<link href="Input-Devices.html" rel="next" title="Input Devices">
+<link href="Kernel.html" rel="prev" title="Kernel">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
@@ -82,7 +82,7 @@ ul.no-bullet {list-style: none}
<body lang="en">
<span id="The-Game-Loop"></span><div class="header">
<p>
-Next: <a href="Input-Devices.html#Input-Devices" accesskey="n" rel="next">Input Devices</a>, Up: <a href="Kernel.html#Kernel" accesskey="u" rel="up">Kernel</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="Input-Devices.html" accesskey="n" rel="next">Input Devices</a>, Up: <a href="Kernel.html" accesskey="u" rel="up">Kernel</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="The-Game-Loop-1"></span><h4 class="subsection">2.1.1 The Game Loop</h4>
@@ -128,14 +128,8 @@ the game window. The default behavior is to exit the game.
the keyboard:
<ol>
-<li> <var>key</var>: The symbolic name of the &ldquo;virtual&rdquo; key that was pressed.
-For example: <code>backspace</code>. It&rsquo;s called a virtual key because the
-operating system may map a physical keyboard key to another key
-entirely, such as how the author likes to bind the &ldquo;caps lock&rdquo; key
-to mean &ldquo;control&rdquo;.
-
-</li><li> <var>scancode</var>: The symbolic name of the physical key that was
-pressed.
+<li> <var>key</var>: The symbolic name of the key that was pressed. For
+example: <code>backspace</code>.
</li><li> <var>modifiers</var>: A list of the symbolic names of modifier keys that
were being held down when the key was pressed. Possible values
@@ -149,10 +143,7 @@ include <code>ctrl</code>, <code>alt</code>, and <code>shift</code>.
on the keyboard:
<ol>
-<li> <var>key</var>: The symbolic name of the &ldquo;virtual&rdquo; key that was released.
-
-</li><li> <var>scancode</var>: The symbolic name of the physical key that was
-released.
+<li> <var>key</var>: The symbolic name of the key that was released.
</li><li> <var>modifiers</var>: A list of the symbolic names of modifier keys that
were being held down when the key was released.
@@ -348,10 +339,16 @@ behavior is to simply re-throw the error.
</dd></dl>
+<dl>
+<dt id="index-elapsed_002dtime">Procedure: <strong>elapsed-time</strong></dt>
+<dd><p>Return the number of milliseconds that have passed since the game loop
+was started.
+</p></dd></dl>
+
<hr>
<div class="header">
<p>
-Next: <a href="Input-Devices.html#Input-Devices" accesskey="n" rel="next">Input Devices</a>, Up: <a href="Kernel.html#Kernel" accesskey="u" rel="up">Kernel</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="Input-Devices.html" accesskey="n" rel="next">Input Devices</a>, Up: <a href="Kernel.html" accesskey="u" rel="up">Kernel</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>