comparison docs/html/guidetimeexamples.html @ 803:355632dca928

Updated SDL HTML documentation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:15:40 +0000
parents e5bc29de3f0a
children
comparison
equal deleted inserted replaced
802:3c609d54f100 803:355632dca928
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >Time Examples</TITLE 4 >Time Examples</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK 8 "><LINK
9 REL="HOME" 9 REL="HOME"
10 TITLE="SDL Library Documentation" 10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK 11 HREF="index.html"><LINK
12 REL="UP" 12 REL="UP"
26 VLINK="#551a8b" 26 VLINK="#551a8b"
27 ALINK="#ff0000" 27 ALINK="#ff0000"
28 ><DIV 28 ><DIV
29 CLASS="NAVHEADER" 29 CLASS="NAVHEADER"
30 ><TABLE 30 ><TABLE
31 SUMMARY="Header navigation table"
31 WIDTH="100%" 32 WIDTH="100%"
32 BORDER="0" 33 BORDER="0"
33 CELLPADDING="0" 34 CELLPADDING="0"
34 CELLSPACING="0" 35 CELLSPACING="0"
35 ><TR 36 ><TR
43 WIDTH="10%" 44 WIDTH="10%"
44 ALIGN="left" 45 ALIGN="left"
45 VALIGN="bottom" 46 VALIGN="bottom"
46 ><A 47 ><A
47 HREF="guidecdromexamples.html" 48 HREF="guidecdromexamples.html"
49 ACCESSKEY="P"
48 >Prev</A 50 >Prev</A
49 ></TD 51 ></TD
50 ><TD 52 ><TD
51 WIDTH="80%" 53 WIDTH="80%"
52 ALIGN="center" 54 ALIGN="center"
56 WIDTH="10%" 58 WIDTH="10%"
57 ALIGN="right" 59 ALIGN="right"
58 VALIGN="bottom" 60 VALIGN="bottom"
59 ><A 61 ><A
60 HREF="reference.html" 62 HREF="reference.html"
63 ACCESSKEY="N"
61 >Next</A 64 >Next</A
62 ></TD 65 ></TD
63 ></TR 66 ></TR
64 ></TABLE 67 ></TABLE
65 ><HR 68 ><HR
69 CLASS="SECT1" 72 CLASS="SECT1"
70 ><H1 73 ><H1
71 CLASS="SECT1" 74 CLASS="SECT1"
72 ><A 75 ><A
73 NAME="GUIDETIMEEXAMPLES" 76 NAME="GUIDETIMEEXAMPLES"
74 >Time Examples</A 77 ></A
75 ></H1 78 >Time Examples</H1
76 ><P 79 ><P
77 ></P 80 ></P
78 ><DIV 81 ><DIV
79 CLASS="SECT2" 82 CLASS="SECT2"
80 ><H2 83 ><H2
81 CLASS="SECT2" 84 CLASS="SECT2"
82 ><A 85 ><A
83 NAME="AEN412" 86 NAME="AEN412"
84 >Time based game loop</A 87 ></A
85 ></H2 88 >Time based game loop</H2
86 ><P 89 ><P
87 ><PRE 90 ><PRE
88 CLASS="PROGRAMLISTING" 91 CLASS="PROGRAMLISTING"
89 >#define TICK_INTERVAL 30 92 >#define TICK_INTERVAL 30
90 93
116 ><DIV 119 ><DIV
117 CLASS="NAVFOOTER" 120 CLASS="NAVFOOTER"
118 ><HR 121 ><HR
119 ALIGN="LEFT" 122 ALIGN="LEFT"
120 WIDTH="100%"><TABLE 123 WIDTH="100%"><TABLE
124 SUMMARY="Footer navigation table"
121 WIDTH="100%" 125 WIDTH="100%"
122 BORDER="0" 126 BORDER="0"
123 CELLPADDING="0" 127 CELLPADDING="0"
124 CELLSPACING="0" 128 CELLSPACING="0"
125 ><TR 129 ><TR
127 WIDTH="33%" 131 WIDTH="33%"
128 ALIGN="left" 132 ALIGN="left"
129 VALIGN="top" 133 VALIGN="top"
130 ><A 134 ><A
131 HREF="guidecdromexamples.html" 135 HREF="guidecdromexamples.html"
136 ACCESSKEY="P"
132 >Prev</A 137 >Prev</A
133 ></TD 138 ></TD
134 ><TD 139 ><TD
135 WIDTH="34%" 140 WIDTH="34%"
136 ALIGN="center" 141 ALIGN="center"
137 VALIGN="top" 142 VALIGN="top"
138 ><A 143 ><A
139 HREF="index.html" 144 HREF="index.html"
145 ACCESSKEY="H"
140 >Home</A 146 >Home</A
141 ></TD 147 ></TD
142 ><TD 148 ><TD
143 WIDTH="33%" 149 WIDTH="33%"
144 ALIGN="right" 150 ALIGN="right"
145 VALIGN="top" 151 VALIGN="top"
146 ><A 152 ><A
147 HREF="reference.html" 153 HREF="reference.html"
154 ACCESSKEY="N"
148 >Next</A 155 >Next</A
149 ></TD 156 ></TD
150 ></TR 157 ></TR
151 ><TR 158 ><TR
152 ><TD 159 ><TD
158 WIDTH="34%" 165 WIDTH="34%"
159 ALIGN="center" 166 ALIGN="center"
160 VALIGN="top" 167 VALIGN="top"
161 ><A 168 ><A
162 HREF="guideexamples.html" 169 HREF="guideexamples.html"
170 ACCESSKEY="U"
163 >Up</A 171 >Up</A
164 ></TD 172 ></TD
165 ><TD 173 ><TD
166 WIDTH="33%" 174 WIDTH="33%"
167 ALIGN="right" 175 ALIGN="right"