/usr/local/poudriere/data/packages/e24a8cae34360705d022f17584bb6b4507b8eb89-build1/All/allegro-devel-5.0.9_4.txz vs.
/usr/local/poudriere/data/packages/e24a8cae34360705d022f17584bb6b4507b8eb89-build2/All/allegro-devel-5.0.9_4.txz
allegro-devel-5.0.9_4.txz-content
+MANIFEST
... load diff ...
/usr/local/share/doc/allegro-devel/docs/html/refman/physfs.html
Offset 105, 12 lines modifiedOffset 105, 12 lines modified
105 <p>To·​remember·​and·​restore·​another·​file·​I/​O·​backend,​·​you·​can·​use·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>105 <p>To·​remember·​and·​restore·​another·​file·​I/​O·​backend,​·​you·​can·​use·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>
106 <p>See·​also:​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>106 <p>See·​also:​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>
107 <h1·​id="al_get_allegro_ph​ysfs_version">al_get_​allegro_physfs_versio​n</​h1>107 <h1·​id="al_get_allegro_ph​ysfs_version">al_get_​allegro_physfs_versio​n</​h1>
108 <pre><code>uint32_t·​al_get_allegro_physfs​_version(void)​</​code></​pre>108 <pre><code>uint32_t·​al_get_allegro_physfs​_version(void)​</​code></​pre>
109 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>109 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
110 <p·​class="timestamp">110 <p·​class="timestamp">
111 Allegro·​version·​5.​0.​9111 Allegro·​version·​5.​0.​9
112 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​44·​UTC112 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​18·​UTC
113 </​p>113 </​p>
114 </​div>114 </​div>
115 </​body>115 </​body>
116 </​html>116 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/path.html
Offset 216, 12 lines modifiedOffset 216, 12 lines modified
216 <p>The·​returned·​pointer·​is·​valid·​only·​until·​the·​path·​is·​modified·​in·​any·​way,​·​or·​until·​the·​path·​is·​destroyed.​</​p>216 <p>The·​returned·​pointer·​is·​valid·​only·​until·​the·​path·​is·​modified·​in·​any·​way,​·​or·​until·​the·​path·​is·​destroyed.​</​p>
217 <h1·​id="al_make_path_cano​nical">al_make_path_c​anonical</​h1>217 <h1·​id="al_make_path_cano​nical">al_make_path_c​anonical</​h1>
218 <pre><code>bool·​al_make_path_canonica​l(ALLEGRO_PATH·​*path)​</​code></​pre>218 <pre><code>bool·​al_make_path_canonica​l(ALLEGRO_PATH·​*path)​</​code></​pre>
219 <p>Removes·​any·​leading·​'.​.​'·​directory·​components·​in·​absolute·​paths.​·​Removes·​all·​'.​'·​directory·​components.​</​p>219 <p>Removes·​any·​leading·​'.​.​'·​directory·​components·​in·​absolute·​paths.​·​Removes·​all·​'.​'·​directory·​components.​</​p>
220 <p>Note·​that·​this·​does·​<em>not</​em>·​collapse·​&quot;​x/​.​.​/​y&quot;​·​sections·​into·​&quot;​y&quot;​.​·​This·​is·​by·​design.​·​If·​&quot;​/​foo&quot;​·​on·​your·​system·​is·​a·​symlink·​to·​&quot;​/​bar/​baz&quot;​,​·​then·​&quot;​/​foo/​.​.​/​quux&quot;​·​is·​actually·​&quot;​/​bar/​quux&quot;​,​·​not·​&quot;​/​quux&quot;​·​as·​a·​naive·​removal·​of·​&quot;​.​.​&quot;​·​components·​would·​give·​you.​</​p>220 <p>Note·​that·​this·​does·​<em>not</​em>·​collapse·​&quot;​x/​.​.​/​y&quot;​·​sections·​into·​&quot;​y&quot;​.​·​This·​is·​by·​design.​·​If·​&quot;​/​foo&quot;​·​on·​your·​system·​is·​a·​symlink·​to·​&quot;​/​bar/​baz&quot;​,​·​then·​&quot;​/​foo/​.​.​/​quux&quot;​·​is·​actually·​&quot;​/​bar/​quux&quot;​,​·​not·​&quot;​/​quux&quot;​·​as·​a·​naive·​removal·​of·​&quot;​.​.​&quot;​·​components·​would·​give·​you.​</​p>
221 <p·​class="timestamp">221 <p·​class="timestamp">
222 Allegro·​version·​5.​0.​9222 Allegro·​version·​5.​0.​9
223 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​58·​UTC223 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​25·​UTC
224 </​p>224 </​p>
225 </​div>225 </​div>
226 </​body>226 </​body>
227 </​html>227 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/time.html
Offset 113, 12 lines modifiedOffset 113, 12 lines modified
113 <h1·​id="al_rest">al_rest<​/​h1>113 <h1·​id="al_rest">al_rest<​/​h1>
114 <pre><code>void·​al_rest(double·​seconds)​</​code></​pre>114 <pre><code>void·​al_rest(double·​seconds)​</​code></​pre>
115 <p>Waits·​for·​the·​specified·​number·​seconds.​·​This·​tells·​the·​system·​to·​pause·​the·​current·​thread·​for·​the·​given·​amount·​of·​time.​·​With·​some·​operating·​systems,​·​the·​accuracy·​can·​be·​in·​the·​order·​of·​10ms.​·​That·​is,​·​even</​p>115 <p>Waits·​for·​the·​specified·​number·​seconds.​·​This·​tells·​the·​system·​to·​pause·​the·​current·​thread·​for·​the·​given·​amount·​of·​time.​·​With·​some·​operating·​systems,​·​the·​accuracy·​can·​be·​in·​the·​order·​of·​10ms.​·​That·​is,​·​even</​p>
116 <pre><code>al_rest(0.​000001)​</​code></​pre>116 <pre><code>al_rest(0.​000001)​</​code></​pre>
117 <p>might·​pause·​for·​something·​like·​10ms.​·​Also·​see·​the·​section·​<Timer·​routines>·​on·​easier·​ways·​to·​time·​your·​program·​without·​using·​up·​all·​CPU.​</​p>117 <p>might·​pause·​for·​something·​like·​10ms.​·​Also·​see·​the·​section·​<Timer·​routines>·​on·​easier·​ways·​to·​time·​your·​program·​without·​using·​up·​all·​CPU.​</​p>
118 <p·​class="timestamp">118 <p·​class="timestamp">
119 Allegro·​version·​5.​0.​9119 Allegro·​version·​5.​0.​9
120 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​08·​UTC120 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​36·​UTC
121 </​p>121 </​p>
122 </​div>122 </​div>
123 </​body>123 </​body>
124 </​html>124 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/native_dialog.html
Offset 251, 12 lines modifiedOffset 251, 12 lines modified
251 </​dd>251 </​dd>
252 </​dl>252 </​dl>
253 <h1·​id="al_get_allegro_na​tive_dialog_version">​al_get_allegro_native​_dialog_version</​h1>253 <h1·​id="al_get_allegro_na​tive_dialog_version">​al_get_allegro_native​_dialog_version</​h1>
254 <pre><code>uint32_t·​al_get_allegro_native​_dialog_version(void)​</​code></​pre>254 <pre><code>uint32_t·​al_get_allegro_native​_dialog_version(void)​</​code></​pre>
255 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>255 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
256 <p·​class="timestamp">256 <p·​class="timestamp">
257 Allegro·​version·​5.​0.​9257 Allegro·​version·​5.​0.​9
258 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​42·​UTC258 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​15·​UTC
259 </​p>259 </​p>
260 </​div>260 </​div>
261 </​body>261 </​body>
262 </​html>262 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/mouse.html
Offset 272, 12 lines modifiedOffset 272, 12 lines modified
272 <p>Stop·​confining·​the·​mouse·​cursor·​to·​any·​display·​belonging·​to·​the·​program.​</​p>272 <p>Stop·​confining·​the·​mouse·​cursor·​to·​any·​display·​belonging·​to·​the·​program.​</​p>
273 <blockquote>273 <blockquote>
274 <p><em>Note:​</​em>·​not·​yet·​implemented·​on·​Mac·​OS·​X.​</​p>274 <p><em>Note:​</​em>·​not·​yet·​implemented·​on·​Mac·​OS·​X.​</​p>
275 </​blockquote>275 </​blockquote>
276 <p>See·​also:​·​<a·​href="mouse.​html#al_grab_mouse">a​l_grab_mouse</​a></​p>276 <p>See·​also:​·​<a·​href="mouse.​html#al_grab_mouse">a​l_grab_mouse</​a></​p>
277 <p·​class="timestamp">277 <p·​class="timestamp">
278 Allegro·​version·​5.​0.​9278 Allegro·​version·​5.​0.​9
279 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​55·​UTC279 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​21·​UTC
280 </​p>280 </​p>
281 </​div>281 </​div>
282 </​body>282 </​body>
283 </​html>283 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/index.html
Offset 137, 12 lines modifiedOffset 137, 12 lines modified
137 <li><a·​href="memfile.​html">Memfile·​addon</​a></​li>137 <li><a·​href="memfile.​html">Memfile·​addon</​a></​li>
138 <li><a·​href="native_dialog.​html">Native·​dialogs·​addon</​a></​li>138 <li><a·​href="native_dialog.​html">Native·​dialogs·​addon</​a></​li>
139 <li><a·​href="physfs.​html">PhysicsFS·​addon</​a></​li>139 <li><a·​href="physfs.​html">PhysicsFS·​addon</​a></​li>
140 <li><a·​href="primitives.​html">Primitives·​addon</​a></​li>140 <li><a·​href="primitives.​html">Primitives·​addon</​a></​li>
141 </​ul>141 </​ul>
142 <p·​class="timestamp">142 <p·​class="timestamp">
143 Allegro·​version·​5.​0.​9143 Allegro·​version·​5.​0.​9
144 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​49·​UTC144 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​24·​UTC
145 </​p>145 </​p>
146 </​div>146 </​div>
147 </​body>147 </​body>
148 </​html>148 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/threads.html
Offset 220, 12 lines modifiedOffset 220, 12 lines modified
220 <h1·​id="al_signal_cond">a​l_signal_cond</​h1>220 <h1·​id="al_signal_cond">a​l_signal_cond</​h1>
221 <pre><code>void·​al_signal_cond(ALLEGR​O_COND·​*cond)​</​code></​pre>221 <pre><code>void·​al_signal_cond(ALLEGR​O_COND·​*cond)​</​code></​pre>
222 <p>Unblock·​at·​least·​one·​thread·​waiting·​on·​a·​condition·​variable.​</​p>222 <p>Unblock·​at·​least·​one·​thread·​waiting·​on·​a·​condition·​variable.​</​p>
223 <p>Generally·​you·​should·​use·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>·​but·​<a·​href="threads.​html#al_signal_cond">​al_signal_cond</​a>·​may·​be·​more·​efficient·​when·​it's·​applicable.​</​p>223 <p>Generally·​you·​should·​use·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>·​but·​<a·​href="threads.​html#al_signal_cond">​al_signal_cond</​a>·​may·​be·​more·​efficient·​when·​it's·​applicable.​</​p>
224 <p>See·​also:​·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>.​</​p>224 <p>See·​also:​·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>.​</​p>
225 <p·​class="timestamp">225 <p·​class="timestamp">
226 Allegro·​version·​5.​0.​9226 Allegro·​version·​5.​0.​9
227 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​05·​UTC227 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​33·​UTC
228 </​p>228 </​p>
229 </​div>229 </​div>
230 </​body>230 </​body>
231 </​html>231 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/getting_started.html
Offset 165, 12 lines modifiedOffset 165, 12 lines modified
165 <p>Instead,​·​to·​get·​a·​&quot;​direct·​connection&quot;​·​to·​the·​sound·​system·​you·​would·​use·​an·​<a·​href="audio.​html#allegro_voice">A​LLEGRO_VOICE</​a>·​(but·​depending·​on·​the·​platform·​only·​one·​such·​voice·​is·​guaranteed·​to·​be·​available·​and·​it·​might·​require·​a·​specific·​format·​of·​audio·​data)​.​·​Therefore·​all·​sound·​can·​be·​first·​routed·​through·​an·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>·​which·​is·​connected·​to·​such·​a·​voice·​(or·​another·​mixer)​·​and·​will·​mix·​together·​all·​sample·​data·​fed·​to·​it.​</​p>165 <p>Instead,​·​to·​get·​a·​&quot;​direct·​connection&quot;​·​to·​the·​sound·​system·​you·​would·​use·​an·​<a·​href="audio.​html#allegro_voice">A​LLEGRO_VOICE</​a>·​(but·​depending·​on·​the·​platform·​only·​one·​such·​voice·​is·​guaranteed·​to·​be·​available·​and·​it·​might·​require·​a·​specific·​format·​of·​audio·​data)​.​·​Therefore·​all·​sound·​can·​be·​first·​routed·​through·​an·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>·​which·​is·​connected·​to·​such·​a·​voice·​(or·​another·​mixer)​·​and·​will·​mix·​together·​all·​sample·​data·​fed·​to·​it.​</​p>
166 <p>You·​can·​then·​directly·​stream·​real-​time·​sample·​data·​to·​a·​mixer·​or·​a·​voice·​using·​an·​<a·​href="audio.​html#allegro_audio_st​ream">ALLEGRO_AUDIO_S​TREAM</​a>·​or·​play·​complete·​sounds·​using·​an·​<a·​href="audio.​html#allegro_sample_i​nstance">ALLEGRO_SAMP​LE_INSTANCE</​a>.​·​The·​latter·​simply·​points·​to·​an·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a>·​and·​will·​stream·​it·​for·​you.​</​p>166 <p>You·​can·​then·​directly·​stream·​real-​time·​sample·​data·​to·​a·​mixer·​or·​a·​voice·​using·​an·​<a·​href="audio.​html#allegro_audio_st​ream">ALLEGRO_AUDIO_S​TREAM</​a>·​or·​play·​complete·​sounds·​using·​an·​<a·​href="audio.​html#allegro_sample_i​nstance">ALLEGRO_SAMP​LE_INSTANCE</​a>.​·​The·​latter·​simply·​points·​to·​an·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a>·​and·​will·​stream·​it·​for·​you.​</​p>
167 <h1·​id="not-​the-​end">Not·​the·​end</​h1>167 <h1·​id="not-​the-​end">Not·​the·​end</​h1>
168 <p>There's·​a·​heap·​of·​stuff·​we·​haven't·​even·​mentioned·​yet.​</​p>168 <p>There's·​a·​heap·​of·​stuff·​we·​haven't·​even·​mentioned·​yet.​</​p>
169 <p>Enjoy!</​p>169 <p>Enjoy!</​p>
170 <p·​class="timestamp">170 <p·​class="timestamp">
171 Allegro·​version·​5.​0.​9171 Allegro·​version·​5.​0.​9
172 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​20·​UTC172 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​36·​UTC
173 </​p>173 </​p>
174 </​div>174 </​div>
175 </​body>175 </​body>
176 </​html>176 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/transformations.html
Offset 255, 12 lines modifiedOffset 255, 12 lines modified
255 <p><em>Parameters:​</​em></​p>255 <p><em>Parameters:​</​em></​p>
256 <ul>256 <ul>
257 <li>trans·​-​·​Transformation·​to·​alter</​li>257 <li>trans·​-​·​Transformation·​to·​alter</​li>
258 <li>other·​-​·​Transformation·​used·​to·​transform·​<code>trans</​code></​li>258 <li>other·​-​·​Transformation·​used·​to·​transform·​<code>trans</​code></​li>
259 </​ul>259 </​ul>
260 <p·​class="timestamp">260 <p·​class="timestamp">
261 Allegro·​version·​5.​0.​9261 Allegro·​version·​5.​0.​9
262 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​13·​UTC262 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​42·​UTC
263 </​p>263 </​p>
264 </​div>264 </​div>
265 </​body>265 </​body>
266 </​html>266 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/timer.html
Offset 168, 12 lines modifiedOffset 168, 12 lines modified
168 <p><em>speed_secs</​em>·​has·​exactly·​the·​same·​meaning·​as·​with·​<a·​href="timer.​html#al_create_timer"​>al_create_timer</​a>.​</​p>168 <p><em>speed_secs</​em>·​has·​exactly·​the·​same·​meaning·​as·​with·​<a·​href="timer.​html#al_create_timer"​>al_create_timer</​a>.​</​p>
169 <p>See·​also:​·​<a·​href="timer.​html#al_get_timer_spe​ed">al_get_timer_spee​d</​a></​p>169 <p>See·​also:​·​<a·​href="timer.​html#al_get_timer_spe​ed">al_get_timer_spee​d</​a></​p>
170 <h1·​id="al_get_timer_even​t_source">al_get_time​r_event_source</​h1>170 <h1·​id="al_get_timer_even​t_source">al_get_time​r_event_source</​h1>
171 <pre><code>ALLEGRO_EV​ENT_SOURCE·​*al_get_timer_event_s​ource(ALLEGRO_TIMER·​*timer)​</​code></​pre>171 <pre><code>ALLEGRO_EV​ENT_SOURCE·​*al_get_timer_event_s​ource(ALLEGRO_TIMER·​*timer)​</​code></​pre>
172 <p>Retrieve·​the·​associated·​event·​source.​</​p>172 <p>Retrieve·​the·​associated·​event·​source.​</​p>
173 <p·​class="timestamp">173 <p·​class="timestamp">
174 Allegro·​version·​5.​0.​9174 Allegro·​version·​5.​0.​9
175 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​10·​UTC175 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​39·​UTC
176 </​p>176 </​p>
177 </​div>177 </​div>
178 </​body>178 </​body>
179 </​html>179 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/fixed.html
Offset 380, 12 lines modifiedOffset 380, 12 lines modified
380 <pre><code>al_fixed·​al_fixsqrt(al_fixed·​x)​</​code></​pre>380 <pre><code>al_fixed·​al_fixsqrt(al_fixed·​x)​</​code></​pre>
381 <p>This·​finds·​out·​the·​non·​negative·​square·​root·​of·​<code>x</​code>.​·​If·​<code>x</​code>·​is·​negative,​·​Allegro's·​errno·​is·​set·​to·​EDOM·​and·​the·​function·​returns·​zero.​</​p>381 <p>This·​finds·​out·​the·​non·​negative·​square·​root·​of·​<code>x</​code>.​·​If·​<code>x</​code>·​is·​negative,​·​Allegro's·​errno·​is·​set·​to·​EDOM·​and·​the·​function·​returns·​zero.​</​p>
382 <h2·​id="al_fixhypot">al_f​ixhypot</​h2>382 <h2·​id="al_fixhypot">al_f​ixhypot</​h2>
383 <pre><code>al_fixed·​al_fixhypot(al_fixed·​x,​·​al_fixed·​y)​</​code></​pre>383 <pre><code>al_fixed·​al_fixhypot(al_fixed·​x,​·​al_fixed·​y)​</​code></​pre>
384 <p>Fixed·​point·​hypotenuse·​(returns·​the·​square·​root·​of·​<code>x*x·​+·​y*y</​code>)​.​·​This·​should·​be·​better·​than·​calculating·​the·​formula·​yourself·​manually,​·​since·​the·​error·​is·​much·​smaller.​</​p>384 <p>Fixed·​point·​hypotenuse·​(returns·​the·​square·​root·​of·​<code>x*x·​+·​y*y</​code>)​.​·​This·​should·​be·​better·​than·​calculating·​the·​formula·​yourself·​manually,​·​since·​the·​error·​is·​much·​smaller.​</​p>
385 <p·​class="timestamp">385 <p·​class="timestamp">
386 Allegro·​version·​5.​0.​9386 Allegro·​version·​5.​0.​9
387 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​33·​UTC387 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​52·​UTC
388 </​p>388 </​p>
389 </​div>389 </​div>
390 </​body>390 </​body>
391 </​html>391 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/font.html
Offset 363, 12 lines modifiedOffset 363, 12 lines modified
363 <p>Since:​·​5.​0.​6,​·​5.​1.​0</​p>363 <p>Since:​·​5.​0.​6,​·​5.​1.​0</​p>
364 <p>See·​also:​·​<a·​href="font.​html#al_load_ttf_font​_stretch">al_load_ttf​_font_stretch</​a></​p>364 <p>See·​also:​·​<a·​href="font.​html#al_load_ttf_font​_stretch">al_load_ttf​_font_stretch</​a></​p>
365 <h2·​id="al_get_allegro_tt​f_version">al_get_all​egro_ttf_version</​h2>365 <h2·​id="al_get_allegro_tt​f_version">al_get_all​egro_ttf_version</​h2>
366 <pre><code>uint32_t·​al_get_allegro_ttf_ve​rsion(void)​</​code></​pre>366 <pre><code>uint32_t·​al_get_allegro_ttf_ve​rsion(void)​</​code></​pre>
367 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>367 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
368 <p·​class="timestamp">368 <p·​class="timestamp">
369 Allegro·​version·​5.​0.​9369 Allegro·​version·​5.​0.​9
370 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​32·​UTC370 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​04·​UTC
371 </​p>371 </​p>
372 </​div>372 </​div>
373 </​body>373 </​body>
374 </​html>374 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/acodec.html
Offset 106, 12 lines modifiedOffset 106, 12 lines modified
106 </​ul>106 </​ul>
107 <p>Return·​true·​on·​success.​</​p>107 <p>Return·​true·​on·​success.​</​p>
108 <h1·​id="al_get_allegro_ac​odec_version">al_get_​allegro_acodec_versio​n</​h1>108 <h1·​id="al_get_allegro_ac​odec_version">al_get_​allegro_acodec_versio​n</​h1>
109 <pre><code>uint32_t·​al_get_allegro_acodec​_version(void)​</​code></​pre>109 <pre><code>uint32_t·​al_get_allegro_acodec​_version(void)​</​code></​pre>
110 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>110 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
111 <p·​class="timestamp">111 <p·​class="timestamp">
112 Allegro·​version·​5.​0.​9112 Allegro·​version·​5.​0.​9
113 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​27·​UTC113 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​59·​UTC
114 </​p>114 </​p>
115 </​div>115 </​div>
116 </​body>116 </​body>
117 </​html>117 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/joystick.html
Offset 208, 12 lines modifiedOffset 208, 12 lines modified
208 <p>Get·​the·​current·​joystick·​state.​</​p>208 <p>Get·​the·​current·​joystick·​state.​</​p>
209 <p>See·​also:​·​<a·​href="joystick.​html#allegro_joystick​_state">ALLEGRO_JOYST​ICK_STATE</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_buttons">al_get_j​oystick_num_buttons</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_axes">al_get_joys​tick_num_axes</​a></​p>209 <p>See·​also:​·​<a·​href="joystick.​html#allegro_joystick​_state">ALLEGRO_JOYST​ICK_STATE</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_buttons">al_get_j​oystick_num_buttons</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_axes">al_get_joys​tick_num_axes</​a></​p>
210 <h1·​id="al_get_joystick_e​vent_source">al_get_j​oystick_event_source<​/​h1>210 <h1·​id="al_get_joystick_e​vent_source">al_get_j​oystick_event_source<​/​h1>
211 <pre><code>ALLEGRO_EV​ENT_SOURCE·​*al_get_joystick_even​t_source(void)​</​code></​pre>211 <pre><code>ALLEGRO_EV​ENT_SOURCE·​*al_get_joystick_even​t_source(void)​</​code></​pre>
212 <p>Returns·​the·​global·​joystick·​event·​source.​·​All·​joystick·​events·​are·​generated·​by·​this·​event·​source.​</​p>212 <p>Returns·​the·​global·​joystick·​event·​source.​·​All·​joystick·​events·​are·​generated·​by·​this·​event·​source.​</​p>
213 <p·​class="timestamp">213 <p·​class="timestamp">
214 Allegro·​version·​5.​0.​9214 Allegro·​version·​5.​0.​9
215 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​43·​UTC215 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​05·​UTC
216 </​p>216 </​p>
217 </​div>217 </​div>
218 </​body>218 </​body>
219 </​html>219 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/main.html
Offset 90, 12 lines modifiedOffset 90, 12 lines modified
90 <p>On·​platforms·​that·​require·​this·​functionality·​(e.​g.​·​OSX)​·​this·​addon·​contains·​a·​C·​<code>main</​code>·​function·​that·​invokes·​<a·​href="misc.​html#al_run_main">al_​run_main</​a>·​with·​the·​user's·​own·​<code>main</​code>·​function,​·​where·​the·​user's·​<code>main</​code>·​function·​has·​had·​its·​name·​mangled·​to·​something·​else.​·​The·​file·​that·​defines·​the·​user·​<code>main</​code>·​function·​must·​include·​the·​header·​file·​<code>allegro5/​allegro.​h</​code>;​·​that·​header·​performs·​the·​name·​mangling·​using·​some·​macros.​</​p>90 <p>On·​platforms·​that·​require·​this·​functionality·​(e.​g.​·​OSX)​·​this·​addon·​contains·​a·​C·​<code>main</​code>·​function·​that·​invokes·​<a·​href="misc.​html#al_run_main">al_​run_main</​a>·​with·​the·​user's·​own·​<code>main</​code>·​function,​·​where·​the·​user's·​<code>main</​code>·​function·​has·​had·​its·​name·​mangled·​to·​something·​else.​·​The·​file·​that·​defines·​the·​user·​<code>main</​code>·​function·​must·​include·​the·​header·​file·​<code>allegro5/​allegro.​h</​code>;​·​that·​header·​performs·​the·​name·​mangling·​using·​some·​macros.​</​p>
91 <p>If·​the·​user·​<code>main</​code>·​function·​is·​defined·​in·​C++,​·​then·​it·​must·​have·​the·​following·​signature·​for·​this·​addon·​to·​work:​</​p>91 <p>If·​the·​user·​<code>main</​code>·​function·​is·​defined·​in·​C++,​·​then·​it·​must·​have·​the·​following·​signature·​for·​this·​addon·​to·​work:​</​p>
92 <pre><code>int·​main(int·​argc,​·​char·​**argv)​</​code></​pre>92 <pre><code>int·​main(int·​argc,​·​char·​**argv)​</​code></​pre>
93 <p>This·​addon·​does·​nothing·​on·​platforms·​that·​don't·​require·​its·​functionality,​·​but·​you·​should·​keep·​it·​in·​mind·​in·​case·​you·​need·​to·​port·​to·​platforms·​that·​do·​require·​it.​</​p>93 <p>This·​addon·​does·​nothing·​on·​platforms·​that·​don't·​require·​its·​functionality,​·​but·​you·​should·​keep·​it·​in·​mind·​in·​case·​you·​need·​to·​port·​to·​platforms·​that·​do·​require·​it.​</​p>
94 <p>Link·​with·​allegro_main.​</​p>94 <p>Link·​with·​allegro_main.​</​p>
95 <p·​class="timestamp">95 <p·​class="timestamp">
96 Allegro·​version·​5.​0.​996 Allegro·​version·​5.​0.​9
97 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​37·​UTC97 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​10·​UTC
98 </​p>98 </​p>
99 </​div>99 </​div>
100 </​body>100 </​body>
101 </​html>101 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/config.html
Offset 204, 12 lines modifiedOffset 204, 12 lines modified
204 <p>See·​also:​·​<a·​href="config.​html#al_merge_config_​into">al_merge_config​_into</​a></​p>204 <p>See·​also:​·​<a·​href="config.​html#al_merge_config_​into">al_merge_config​_into</​a></​p>
205 <h1·​id="al_merge_config_i​nto">al_merge_config_​into</​h1>205 <h1·​id="al_merge_config_i​nto">al_merge_config_​into</​h1>
206 <pre><code>void·​al_merge_config_into(​ALLEGRO_CONFIG·​*master,​·​const·​ALLEGRO_CONFIG·​*add)​</​code></​pre>206 <pre><code>void·​al_merge_config_into(​ALLEGRO_CONFIG·​*master,​·​const·​ALLEGRO_CONFIG·​*add)​</​code></​pre>
207 <p>Merge·​one·​configuration·​structure·​into·​another.​·​Values·​in·​configuration·​'add'·​override·​those·​in·​'master'.​·​'master'·​is·​modified.​·​Comments·​from·​'add'·​are·​not·​retained.​</​p>207 <p>Merge·​one·​configuration·​structure·​into·​another.​·​Values·​in·​configuration·​'add'·​override·​those·​in·​'master'.​·​'master'·​is·​modified.​·​Comments·​from·​'add'·​are·​not·​retained.​</​p>
208 <p>See·​also:​·​<a·​href="config.​html#al_merge_config"​>al_merge_config</​a></​p>208 <p>See·​also:​·​<a·​href="config.​html#al_merge_config"​>al_merge_config</​a></​p>
209 <p·​class="timestamp">209 <p·​class="timestamp">
210 Allegro·​version·​5.​0.​9210 Allegro·​version·​5.​0.​9
211 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​22·​UTC211 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​38·​UTC
212 </​p>212 </​p>
213 </​div>213 </​div>
214 </​body>214 </​body>
215 </​html>215 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/audio.html
Offset 956, 12 lines modifiedOffset 956, 12 lines modified
956 <p>Returns·​true·​on·​success,​·​false·​on·​error.​·​The·​file·​remains·​open·​afterwards.​</​p>956 <p>Returns·​true·​on·​success,​·​false·​on·​error.​·​The·​file·​remains·​open·​afterwards.​</​p>
957 <blockquote>957 <blockquote>
958 <p><em>Note:​</​em>·​the·​allegro_audio·​library·​does·​not·​support·​any·​audio·​file·​formats·​by·​default.​·​You·​must·​use·​the·​allegro_acodec·​addon,​·​or·​register·​your·​own·​format·​handler.​</​p>958 <p><em>Note:​</​em>·​the·​allegro_audio·​library·​does·​not·​support·​any·​audio·​file·​formats·​by·​default.​·​You·​must·​use·​the·​allegro_acodec·​addon,​·​or·​register·​your·​own·​format·​handler.​</​p>
959 </​blockquote>959 </​blockquote>
960 <p>See·​also:​·​<a·​href="audio.​html#al_save_sample">​al_save_sample</​a>,​·​<a·​href="audio.​html#al_register_samp​le_saver_f">al_regist​er_sample_saver_f</​a>,​·​<a·​href="acodec.​html#al_init_acodec_a​ddon">al_init_acodec_​addon</​a></​p>960 <p>See·​also:​·​<a·​href="audio.​html#al_save_sample">​al_save_sample</​a>,​·​<a·​href="audio.​html#al_register_samp​le_saver_f">al_regist​er_sample_saver_f</​a>,​·​<a·​href="acodec.​html#al_init_acodec_a​ddon">al_init_acodec_​addon</​a></​p>
961 <p·​class="timestamp">961 <p·​class="timestamp">
962 Allegro·​version·​5.​0.​9962 Allegro·​version·​5.​0.​9
963 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​25·​UTC963 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​55·​UTC
964 </​p>964 </​p>
965 </​div>965 </​div>
966 </​body>966 </​body>
967 </​html>967 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/memfile.html
Offset 101, 12 lines modifiedOffset 101, 12 lines modified
101 <p>The·​mode·​can·​be·​any·​combination·​of·​&quot;​r&quot;​·​(readable)​·​and·​&quot;​w&quot;​·​(writable)​.​·​Regardless·​of·​the·​mode,​·​the·​file·​always·​opens·​at·​position·​0.​·​The·​file·​size·​is·​fixed·​and·​cannot·​be·​expanded.​</​p>101 <p>The·​mode·​can·​be·​any·​combination·​of·​&quot;​r&quot;​·​(readable)​·​and·​&quot;​w&quot;​·​(writable)​.​·​Regardless·​of·​the·​mode,​·​the·​file·​always·​opens·​at·​position·​0.​·​The·​file·​size·​is·​fixed·​and·​cannot·​be·​expanded.​</​p>
102 <p>It·​should·​be·​closed·​with·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>.​·​After·​the·​file·​is·​closed,​·​you·​are·​responsible·​for·​freeing·​the·​memory·​(if·​needed)​.​</​p>102 <p>It·​should·​be·​closed·​with·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>.​·​After·​the·​file·​is·​closed,​·​you·​are·​responsible·​for·​freeing·​the·​memory·​(if·​needed)​.​</​p>
103 <h1·​id="al_get_allegro_me​mfile_version">al_get​_allegro_memfile_vers​ion</​h1>103 <h1·​id="al_get_allegro_me​mfile_version">al_get​_allegro_memfile_vers​ion</​h1>
104 <pre><code>uint32_t·​al_get_allegro_memfil​e_version(void)​</​code></​pre>104 <pre><code>uint32_t·​al_get_allegro_memfil​e_version(void)​</​code></​pre>
105 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>105 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
106 <p·​class="timestamp">106 <p·​class="timestamp">
107 Allegro·​version·​5.​0.​9107 Allegro·​version·​5.​0.​9
108 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​39·​UTC108 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​13·​UTC
109 </​p>109 </​p>
110 </​div>110 </​div>
111 </​body>111 </​body>
112 </​html>112 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/state.html
Offset 144, 12 lines modifiedOffset 144, 12 lines modified
144 <pre><code>int·​al_get_errno(void)​</​code></​pre>144 <pre><code>int·​al_get_errno(void)​</​code></​pre>
145 <p>Some·​Allegro·​functions·​will·​set·​an·​error·​number·​as·​well·​as·​returning·​an·​error·​code.​·​Call·​this·​function·​to·​retrieve·​the·​last·​error·​number·​set·​for·​the·​calling·​thread.​</​p>145 <p>Some·​Allegro·​functions·​will·​set·​an·​error·​number·​as·​well·​as·​returning·​an·​error·​code.​·​Call·​this·​function·​to·​retrieve·​the·​last·​error·​number·​set·​for·​the·​calling·​thread.​</​p>
146 <h1·​id="al_set_errno">al_​set_errno</​h1>146 <h1·​id="al_set_errno">al_​set_errno</​h1>
147 <pre><code>void·​al_set_errno(int·​errnum)​</​code></​pre>147 <pre><code>void·​al_set_errno(int·​errnum)​</​code></​pre>
148 <p>Set·​the·​error·​number·​for·​for·​the·​calling·​thread.​</​p>148 <p>Set·​the·​error·​number·​for·​for·​the·​calling·​thread.​</​p>
149 <p·​class="timestamp">149 <p·​class="timestamp">
150 Allegro·​version·​5.​0.​9150 Allegro·​version·​5.​0.​9
151 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​00·​UTC151 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​28·​UTC
152 </​p>152 </​p>
153 </​div>153 </​div>
154 </​body>154 </​body>
155 </​html>155 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/primitives.html
Offset 585, 12 lines modifiedOffset 585, 12 lines modified
585 <pre><code>#define·​ALLEGRO_VERTEX_CACHE_​SIZE·​256</​code></​pre>585 <pre><code>#define·​ALLEGRO_VERTEX_CACHE_​SIZE·​256</​code></​pre>
586 <p>Defines·​the·​size·​of·​the·​transformation·​vertex·​cache·​for·​the·​software·​renderer.​·​If·​you·​pass·​less·​than·​this·​many·​vertices·​to·​the·​primitive·​rendering·​functions·​you·​will·​get·​a·​speed·​boost.​·​This·​also·​defines·​the·​size·​of·​the·​cache·​vertex·​buffer,​·​used·​for·​the·​high-​level·​primitives.​·​This·​corresponds·​to·​the·​maximum·​number·​of·​line·​segments·​that·​will·​be·​used·​to·​form·​them.​</​p>586 <p>Defines·​the·​size·​of·​the·​transformation·​vertex·​cache·​for·​the·​software·​renderer.​·​If·​you·​pass·​less·​than·​this·​many·​vertices·​to·​the·​primitive·​rendering·​functions·​you·​will·​get·​a·​speed·​boost.​·​This·​also·​defines·​the·​size·​of·​the·​cache·​vertex·​buffer,​·​used·​for·​the·​high-​level·​primitives.​·​This·​corresponds·​to·​the·​maximum·​number·​of·​line·​segments·​that·​will·​be·​used·​to·​form·​them.​</​p>
587 <h2·​id="allegro_prim_qual​ity">ALLEGRO_PRIM_QUA​LITY</​h2>587 <h2·​id="allegro_prim_qual​ity">ALLEGRO_PRIM_QUA​LITY</​h2>
588 <pre><code>#define·​ALLEGRO_PRIM_QUALITY·​10</​code></​pre>588 <pre><code>#define·​ALLEGRO_PRIM_QUALITY·​10</​code></​pre>
589 <p>Defines·​the·​quality·​of·​the·​quadratic·​primitives.​·​At·​10,​·​this·​roughly·​corresponds·​to·​error·​of·​less·​than·​half·​of·​a·​pixel.​</​p>589 <p>Defines·​the·​quality·​of·​the·​quadratic·​primitives.​·​At·​10,​·​this·​roughly·​corresponds·​to·​error·​of·​less·​than·​half·​of·​a·​pixel.​</​p>
590 <p·​class="timestamp">590 <p·​class="timestamp">
591 Allegro·​version·​5.​0.​9591 Allegro·​version·​5.​0.​9
592 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​46·​UTC592 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​21·​UTC
593 </​p>593 </​p>
594 </​div>594 </​div>
595 </​body>595 </​body>
596 </​html>596 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/monitor.html
Offset 124, 12 lines modifiedOffset 124, 12 lines modified
124 <p>See·​also:​·​<a·​href="monitor.​html#allegro_monitor_​info">ALLEGRO_MONITOR​_INFO</​a>,​·​<a·​href="monitor.​html#al_get_num_video​_adapters">al_get_num​_video_adapters</​a></​p>124 <p>See·​also:​·​<a·​href="monitor.​html#allegro_monitor_​info">ALLEGRO_MONITOR​_INFO</​a>,​·​<a·​href="monitor.​html#al_get_num_video​_adapters">al_get_num​_video_adapters</​a></​p>
125 <h1·​id="al_get_num_video_​adapters">al_get_num_​video_adapters</​h1>125 <h1·​id="al_get_num_video_​adapters">al_get_num_​video_adapters</​h1>
126 <pre><code>int·​al_get_num_video_adap​ters(void)​</​code></​pre>126 <pre><code>int·​al_get_num_video_adap​ters(void)​</​code></​pre>
127 <p>Get·​the·​number·​of·​video·​&quot;​adapters&quot;​·​attached·​to·​the·​computer.​·​Each·​video·​card·​attached·​to·​the·​computer·​counts·​as·​one·​or·​more·​adapters.​·​An·​adapter·​is·​thus·​really·​a·​video·​port·​that·​can·​have·​a·​monitor·​connected·​to·​it.​</​p>127 <p>Get·​the·​number·​of·​video·​&quot;​adapters&quot;​·​attached·​to·​the·​computer.​·​Each·​video·​card·​attached·​to·​the·​computer·​counts·​as·​one·​or·​more·​adapters.​·​An·​adapter·​is·​thus·​really·​a·​video·​port·​that·​can·​have·​a·​monitor·​connected·​to·​it.​</​p>
128 <p>See·​also:​·​<a·​href="monitor.​html#al_get_monitor_i​nfo">al_get_monitor_i​nfo</​a></​p>128 <p>See·​also:​·​<a·​href="monitor.​html#al_get_monitor_i​nfo">al_get_monitor_i​nfo</​a></​p>
129 <p·​class="timestamp">129 <p·​class="timestamp">
130 Allegro·​version·​5.​0.​9130 Allegro·​version·​5.​0.​9
131 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​53·​UTC131 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​18·​UTC
132 </​p>132 </​p>
133 </​div>133 </​div>
134 </​body>134 </​body>
135 </​html>135 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/index_all.html
Offset 839, 12 lines modifiedOffset 839, 12 lines modified
839 <li><a·​href="events.​html#al_wait_for_even​t">al_wait_for_event<​/​a>·​<!-​-​·​-​-​></​li>839 <li><a·​href="events.​html#al_wait_for_even​t">al_wait_for_event<​/​a>·​<!-​-​·​-​-​></​li>
840 <li><a·​href="events.​html#al_wait_for_even​t_timed">al_wait_for_​event_timed</​a>·​<!-​-​·​-​-​></​li>840 <li><a·​href="events.​html#al_wait_for_even​t_timed">al_wait_for_​event_timed</​a>·​<!-​-​·​-​-​></​li>
841 <li><a·​href="events.​html#al_wait_for_even​t_until">al_wait_for_​event_until</​a>·​<!-​-​·​-​-​></​li>841 <li><a·​href="events.​html#al_wait_for_even​t_until">al_wait_for_​event_until</​a>·​<!-​-​·​-​-​></​li>
842 <li><a·​href="display.​html#al_wait_for_vsyn​c">al_wait_for_vsync<​/​a>·​<!-​-​·​-​-​></​li>842 <li><a·​href="display.​html#al_wait_for_vsyn​c">al_wait_for_vsync<​/​a>·​<!-​-​·​-​-​></​li>
843 </​ul>843 </​ul>
844 <p·​class="timestamp">844 <p·​class="timestamp">
845 Allegro·​version·​5.​0.​9845 Allegro·​version·​5.​0.​9
846 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​51·​UTC846 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​28·​UTC
847 </​p>847 </​p>
848 </​div>848 </​div>
849 </​body>849 </​body>
850 </​html>850 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/direct3d.html
Offset 133, 12 lines modifiedOffset 133, 12 lines modified
133 <p>Returns·​a·​boolean·​indicating·​whether·​or·​not·​the·​Direct3D·​device·​belonging·​to·​the·​given·​display·​is·​in·​a·​lost·​state.​</​p>133 <p>Returns·​a·​boolean·​indicating·​whether·​or·​not·​the·​Direct3D·​device·​belonging·​to·​the·​given·​display·​is·​in·​a·​lost·​state.​</​p>
134 <p><em>Parameters:​</​em></​p>134 <p><em>Parameters:​</​em></​p>
135 <ul>135 <ul>
136 <li>display·​-​·​The·​display·​that·​the·​device·​you·​wish·​to·​check·​is·​attached·​to</​li>136 <li>display·​-​·​The·​display·​that·​the·​device·​you·​wish·​to·​check·​is·​attached·​to</​li>
137 </​ul>137 </​ul>
138 <p·​class="timestamp">138 <p·​class="timestamp">
139 Allegro·​version·​5.​0.​9139 Allegro·​version·​5.​0.​9
140 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​20·​UTC140 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​50·​UTC
141 </​p>141 </​p>
142 </​div>142 </​div>
143 </​body>143 </​body>
144 </​html>144 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/memory.html
Offset 160, 12 lines modifiedOffset 160, 12 lines modified
160 <h1·​id="al_set_memory_int​erface">al_set_memory​_interface</​h1>160 <h1·​id="al_set_memory_int​erface">al_set_memory​_interface</​h1>
161 <pre><code>void·​al_set_memory_interfa​ce(ALLEGRO_MEMORY_INT​ERFACE·​*memory_interface)​</​code></​pre>161 <pre><code>void·​al_set_memory_interfa​ce(ALLEGRO_MEMORY_INT​ERFACE·​*memory_interface)​</​code></​pre>
162 <p>Override·​the·​memory·​management·​functions·​with·​implementations·​of·​<a·​href="memory.​html#al_malloc_with_c​ontext">al_malloc_wit​h_context</​a>,​·​<a·​href="memory.​html#al_free_with_con​text">al_free_with_co​ntext</​a>,​·​<a·​href="memory.​html#al_realloc_with_​context">al_realloc_w​ith_context</​a>·​and·​<a·​href="memory.​html#al_calloc_with_c​ontext">al_calloc_wit​h_context</​a>.​·​The·​context·​arguments·​may·​be·​used·​for·​debugging.​</​p>162 <p>Override·​the·​memory·​management·​functions·​with·​implementations·​of·​<a·​href="memory.​html#al_malloc_with_c​ontext">al_malloc_wit​h_context</​a>,​·​<a·​href="memory.​html#al_free_with_con​text">al_free_with_co​ntext</​a>,​·​<a·​href="memory.​html#al_realloc_with_​context">al_realloc_w​ith_context</​a>·​and·​<a·​href="memory.​html#al_calloc_with_c​ontext">al_calloc_wit​h_context</​a>.​·​The·​context·​arguments·​may·​be·​used·​for·​debugging.​</​p>
163 <p>If·​the·​pointer·​is·​NULL,​·​the·​default·​behaviour·​will·​be·​restored.​</​p>163 <p>If·​the·​pointer·​is·​NULL,​·​the·​default·​behaviour·​will·​be·​restored.​</​p>
164 <p>See·​also:​·​<a·​href="memory.​html#allegro_memory_i​nterface">ALLEGRO_MEM​ORY_INTERFACE</​a></​p>164 <p>See·​also:​·​<a·​href="memory.​html#allegro_memory_i​nterface">ALLEGRO_MEM​ORY_INTERFACE</​a></​p>
165 <p·​class="timestamp">165 <p·​class="timestamp">
166 Allegro·​version·​5.​0.​9166 Allegro·​version·​5.​0.​9
167 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​48·​UTC167 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​12·​UTC
168 </​p>168 </​p>
169 </​div>169 </​div>
170 </​body>170 </​body>
171 </​html>171 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/fullscreen_mode.html
Offset 112, 12 lines modifiedOffset 112, 12 lines modified
112 <p>See·​also:​·​<a·​href="fullscreen_mode​.​html#allegro_display_​mode">ALLEGRO_DISPLAY​_MODE</​a>,​·​<a·​href="fullscreen_mode​.​html#al_get_num_displ​ay_modes">al_get_num_​display_modes</​a></​p>112 <p>See·​also:​·​<a·​href="fullscreen_mode​.​html#allegro_display_​mode">ALLEGRO_DISPLAY​_MODE</​a>,​·​<a·​href="fullscreen_mode​.​html#al_get_num_displ​ay_modes">al_get_num_​display_modes</​a></​p>
113 <h1·​id="al_get_num_displa​y_modes">al_get_num_d​isplay_modes</​h1>113 <h1·​id="al_get_num_displa​y_modes">al_get_num_d​isplay_modes</​h1>
114 <pre><code>int·​al_get_num_display_mo​des(void)​</​code></​pre>114 <pre><code>int·​al_get_num_display_mo​des(void)​</​code></​pre>
115 <p>Get·​the·​number·​of·​available·​fullscreen·​display·​modes·​for·​the·​current·​set·​of·​display·​parameters.​·​This·​will·​use·​the·​values·​set·​with·​<a·​href="display.​html#al_set_new_displ​ay_refresh_rate">al_s​et_new_display_refres​h_rate</​a>,​·​and·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​to·​find·​the·​number·​of·​modes·​that·​match.​·​Settings·​the·​new·​display·​parameters·​to·​zero·​will·​give·​a·​list·​of·​all·​modes·​for·​the·​default·​driver.​</​p>115 <p>Get·​the·​number·​of·​available·​fullscreen·​display·​modes·​for·​the·​current·​set·​of·​display·​parameters.​·​This·​will·​use·​the·​values·​set·​with·​<a·​href="display.​html#al_set_new_displ​ay_refresh_rate">al_s​et_new_display_refres​h_rate</​a>,​·​and·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​to·​find·​the·​number·​of·​modes·​that·​match.​·​Settings·​the·​new·​display·​parameters·​to·​zero·​will·​give·​a·​list·​of·​all·​modes·​for·​the·​default·​driver.​</​p>
116 <p>See·​also:​·​<a·​href="fullscreen_mode​.​html#al_get_display_m​ode">al_get_display_m​ode</​a></​p>116 <p>See·​also:​·​<a·​href="fullscreen_mode​.​html#al_get_display_m​ode">al_get_display_m​ode</​a></​p>
117 <p·​class="timestamp">117 <p·​class="timestamp">
118 Allegro·​version·​5.​0.​9118 Allegro·​version·​5.​0.​9
119 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​38·​UTC119 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​58·​UTC
120 </​p>120 </​p>
121 </​div>121 </​div>
122 </​body>122 </​body>
123 </​html>123 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/misc.html
Offset 99, 12 lines modifiedOffset 99, 12 lines modified
99 <p>C99·​compilers·​have·​no·​predefined·​value·​like·​M_PI·​for·​the·​constant·​π,​·​but·​you·​can·​use·​this·​one·​instead.​</​p>99 <p>C99·​compilers·​have·​no·​predefined·​value·​like·​M_PI·​for·​the·​constant·​π,​·​but·​you·​can·​use·​this·​one·​instead.​</​p>
100 <h1·​id="al_run_main">al_r​un_main</​h1>100 <h1·​id="al_run_main">al_r​un_main</​h1>
101 <pre><code>int·​al_run_main(int·​argc,​·​char·​**argv,​·​int·​(*user_main)​(int,​·​char·​**)​)​</​code></​pre>101 <pre><code>int·​al_run_main(int·​argc,​·​char·​**argv,​·​int·​(*user_main)​(int,​·​char·​**)​)​</​code></​pre>
102 <p>This·​function·​is·​useful·​in·​cases·​where·​you·​don't·​have·​a·​main()​·​function·​but·​want·​to·​run·​Allegro·​(mostly·​useful·​in·​a·​wrapper·​library)​.​·​Under·​Windows·​and·​Linux·​this·​is·​no·​problem·​because·​you·​simply·​can·​call·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>.​·​But·​some·​other·​system·​(like·​OSX)​·​don't·​allow·​calling·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​in·​the·​main·​thread.​·​al_run_main·​will·​know·​what·​to·​do·​in·​that·​case.​</​p>102 <p>This·​function·​is·​useful·​in·​cases·​where·​you·​don't·​have·​a·​main()​·​function·​but·​want·​to·​run·​Allegro·​(mostly·​useful·​in·​a·​wrapper·​library)​.​·​Under·​Windows·​and·​Linux·​this·​is·​no·​problem·​because·​you·​simply·​can·​call·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>.​·​But·​some·​other·​system·​(like·​OSX)​·​don't·​allow·​calling·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​in·​the·​main·​thread.​·​al_run_main·​will·​know·​what·​to·​do·​in·​that·​case.​</​p>
103 <p>The·​passed·​argc·​and·​argv·​will·​simply·​be·​passed·​on·​to·​user_main·​and·​the·​return·​value·​of·​user_main·​will·​be·​returned.​</​p>103 <p>The·​passed·​argc·​and·​argv·​will·​simply·​be·​passed·​on·​to·​user_main·​and·​the·​return·​value·​of·​user_main·​will·​be·​returned.​</​p>
104 <p·​class="timestamp">104 <p·​class="timestamp">
105 Allegro·​version·​5.​0.​9105 Allegro·​version·​5.​0.​9
106 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​50·​UTC106 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​15·​UTC
107 </​p>107 </​p>
108 </​div>108 </​div>
109 </​body>109 </​body>
110 </​html>110 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/image.html
Offset 104, 12 lines modifiedOffset 104, 12 lines modified
104 <pre><code>void·​al_shutdown_image_add​on(void)​</​code></​pre>104 <pre><code>void·​al_shutdown_image_add​on(void)​</​code></​pre>
105 <p>Shut·​down·​the·​image·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>105 <p>Shut·​down·​the·​image·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>
106 <h1·​id="al_get_allegro_im​age_version">al_get_a​llegro_image_version<​/​h1>106 <h1·​id="al_get_allegro_im​age_version">al_get_a​llegro_image_version<​/​h1>
107 <pre><code>uint32_t·​al_get_allegro_image_​version(void)​</​code></​pre>107 <pre><code>uint32_t·​al_get_allegro_image_​version(void)​</​code></​pre>
108 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>108 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
109 <p·​class="timestamp">109 <p·​class="timestamp">
110 Allegro·​version·​5.​0.​9110 Allegro·​version·​5.​0.​9
111 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​35·​UTC111 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​06·​UTC
112 </​p>112 </​p>
113 </​div>113 </​div>
114 </​body>114 </​body>
115 </​html>115 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/events.html
Offset 643, 12 lines modifiedOffset 643, 12 lines modified
643 <p>See·​also:​·​<a·​href="events.​html#al_set_event_sou​rce_data">al_set_even​t_source_data</​a></​p>643 <p>See·​also:​·​<a·​href="events.​html#al_set_event_sou​rce_data">al_set_even​t_source_data</​a></​p>
644 <h1·​id="al_set_event_sour​ce_data">al_set_event​_source_data</​h1>644 <h1·​id="al_set_event_sour​ce_data">al_set_event​_source_data</​h1>
645 <pre><code>void·​al_set_event_source_d​ata(ALLEGRO_EVENT_SOU​RCE·​*source,​·​intptr_t·​data)​</​code></​pre>645 <pre><code>void·​al_set_event_source_d​ata(ALLEGRO_EVENT_SOU​RCE·​*source,​·​intptr_t·​data)​</​code></​pre>
646 <p>Assign·​the·​abstract·​user·​data·​to·​the·​event·​source.​·​Allegro·​does·​not·​use·​the·​data·​internally·​for·​anything;​·​it·​is·​simply·​meant·​as·​a·​convenient·​way·​to·​associate·​your·​own·​data·​or·​objects·​with·​events.​</​p>646 <p>Assign·​the·​abstract·​user·​data·​to·​the·​event·​source.​·​Allegro·​does·​not·​use·​the·​data·​internally·​for·​anything;​·​it·​is·​simply·​meant·​as·​a·​convenient·​way·​to·​associate·​your·​own·​data·​or·​objects·​with·​events.​</​p>
647 <p>See·​also:​·​<a·​href="events.​html#al_get_event_sou​rce_data">al_get_even​t_source_data</​a></​p>647 <p>See·​also:​·​<a·​href="events.​html#al_get_event_sou​rce_data">al_get_even​t_source_data</​a></​p>
648 <p·​class="timestamp">648 <p·​class="timestamp">
649 Allegro·​version·​5.​0.​9649 Allegro·​version·​5.​0.​9
650 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​28·​UTC650 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​45·​UTC
651 </​p>651 </​p>
652 </​div>652 </​div>
653 </​body>653 </​body>
654 </​html>654 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/fshook.html
Offset 268, 12 lines modifiedOffset 268, 12 lines modified
268 <p>See·​also:​·​<a·​href="fshook.​html#al_set_fs_interf​ace">al_set_fs_interf​ace</​a>.​</​p>268 <p>See·​also:​·​<a·​href="fshook.​html#al_set_fs_interf​ace">al_set_fs_interf​ace</​a>.​</​p>
269 <h2·​id="al_get_fs_interfa​ce">al_get_fs_interfa​ce</​h2>269 <h2·​id="al_get_fs_interfa​ce">al_get_fs_interfa​ce</​h2>
270 <pre><code>const·​ALLEGRO_FS_INTERFACE·​*al_get_fs_interface(​void)​</​code></​pre>270 <pre><code>const·​ALLEGRO_FS_INTERFACE·​*al_get_fs_interface(​void)​</​code></​pre>
271 <p>Return·​a·​pointer·​to·​the·​<a·​href="fshook.​html#allegro_fs_inter​face">ALLEGRO_FS_INTE​RFACE</​a>·​table·​in·​effect·​for·​the·​calling·​thread.​</​p>271 <p>Return·​a·​pointer·​to·​the·​<a·​href="fshook.​html#allegro_fs_inter​face">ALLEGRO_FS_INTE​RFACE</​a>·​table·​in·​effect·​for·​the·​calling·​thread.​</​p>
272 <p>See·​also:​·​<a·​href="state.​html#al_store_state">​al_store_state</​a>,​·​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>272 <p>See·​also:​·​<a·​href="state.​html#al_store_state">​al_store_state</​a>,​·​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>
273 <p·​class="timestamp">273 <p·​class="timestamp">
274 Allegro·​version·​5.​0.​9274 Allegro·​version·​5.​0.​9
275 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​35·​UTC275 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​55·​UTC
276 </​p>276 </​p>
277 </​div>277 </​div>
278 </​body>278 </​body>
279 </​html>279 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/color.html
Offset 232, 12 lines modifiedOffset 232, 12 lines modified
232 <p>Convert·​YUV·​color·​values·​to·​RGB·​color·​space.​</​p>232 <p>Convert·​YUV·​color·​values·​to·​RGB·​color·​space.​</​p>
233 <p>See·​also:​·​<a·​href="color.​html#al_color_yuv">al​_color_yuv</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​yuv">al_color_rgb_to_​yuv</​a></​p>233 <p>See·​also:​·​<a·​href="color.​html#al_color_yuv">al​_color_yuv</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​yuv">al_color_rgb_to_​yuv</​a></​p>
234 <h1·​id="al_get_allegro_co​lor_version">al_get_a​llegro_color_version<​/​h1>234 <h1·​id="al_get_allegro_co​lor_version">al_get_a​llegro_color_version<​/​h1>
235 <pre><code>uint32_t·​al_get_allegro_color_​version(void)​</​code></​pre>235 <pre><code>uint32_t·​al_get_allegro_color_​version(void)​</​code></​pre>
236 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>236 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
237 <p·​class="timestamp">237 <p·​class="timestamp">
238 Allegro·​version·​5.​0.​9238 Allegro·​version·​5.​0.​9
239 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​30·​UTC239 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​04:​01·​UTC
240 </​p>240 </​p>
241 </​div>241 </​div>
242 </​body>242 </​body>
243 </​html>243 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/graphics.html
Offset 833, 12 lines modifiedOffset 833, 12 lines modified
833 <p>Returns·​true·​on·​success,​·​false·​on·​error.​·​The·​file·​remains·​open·​afterwards.​</​p>833 <p>Returns·​true·​on·​success,​·​false·​on·​error.​·​The·​file·​remains·​open·​afterwards.​</​p>
834 <blockquote>834 <blockquote>
835 <p><em>Note:​</​em>·​the·​core·​Allegro·​library·​does·​not·​support·​any·​image·​file·​formats·​by·​default.​·​You·​must·​use·​the·​allegro_image·​addon,​·​or·​register·​your·​own·​format·​handler.​</​p>835 <p><em>Note:​</​em>·​the·​core·​Allegro·​library·​does·​not·​support·​any·​image·​file·​formats·​by·​default.​·​You·​must·​use·​the·​allegro_image·​addon,​·​or·​register·​your·​own·​format·​handler.​</​p>
836 </​blockquote>836 </​blockquote>
837 <p>See·​also:​·​<a·​href="graphics.​html#al_save_bitmap">​al_save_bitmap</​a>,​·​<a·​href="graphics.​html#al_register_bitm​ap_saver_f">al_regist​er_bitmap_saver_f</​a>,​·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a></​p>837 <p>See·​also:​·​<a·​href="graphics.​html#al_save_bitmap">​al_save_bitmap</​a>,​·​<a·​href="graphics.​html#al_register_bitm​ap_saver_f">al_regist​er_bitmap_saver_f</​a>,​·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a></​p>
838 <p·​class="timestamp">838 <p·​class="timestamp">
839 Allegro·​version·​5.​0.​9839 Allegro·​version·​5.​0.​9
840 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​40·​UTC840 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​01·​UTC
841 </​p>841 </​p>
842 </​div>842 </​div>
843 </​body>843 </​body>
844 </​html>844 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/keyboard.html
Offset 206, 12 lines modifiedOffset 206, 12 lines modified
206 <p>Overrides·​the·​state·​of·​the·​keyboard·​LED·​indicators.​·​Set·​to·​-​1·​to·​return·​to·​default·​behavior.​·​False·​is·​returned·​if·​the·​current·​keyboard·​driver·​cannot·​set·​LED·​indicators.​</​p>206 <p>Overrides·​the·​state·​of·​the·​keyboard·​LED·​indicators.​·​Set·​to·​-​1·​to·​return·​to·​default·​behavior.​·​False·​is·​returned·​if·​the·​current·​keyboard·​driver·​cannot·​set·​LED·​indicators.​</​p>
207 <h1·​id="al_get_keyboard_e​vent_source">al_get_k​eyboard_event_source<​/​h1>207 <h1·​id="al_get_keyboard_e​vent_source">al_get_k​eyboard_event_source<​/​h1>
208 <pre><code>ALLEGRO_EV​ENT_SOURCE·​*al_get_keyboard_even​t_source(void)​</​code></​pre>208 <pre><code>ALLEGRO_EV​ENT_SOURCE·​*al_get_keyboard_even​t_source(void)​</​code></​pre>
209 <p>Retrieve·​the·​keyboard·​event·​source.​</​p>209 <p>Retrieve·​the·​keyboard·​event·​source.​</​p>
210 <p>Returns·​NULL·​if·​the·​keyboard·​subsystem·​was·​not·​installed.​</​p>210 <p>Returns·​NULL·​if·​the·​keyboard·​subsystem·​was·​not·​installed.​</​p>
211 <p·​class="timestamp">211 <p·​class="timestamp">
212 Allegro·​version·​5.​0.​9212 Allegro·​version·​5.​0.​9
213 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​46·​UTC213 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​09·​UTC
214 </​p>214 </​p>
215 </​div>215 </​div>
216 </​body>216 </​body>
217 </​html>217 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/system.html
Offset 200, 12 lines modifiedOffset 200, 12 lines modified
200 <h1·​id="al_register_asser​t_handler">al_registe​r_assert_handler</​h1>200 <h1·​id="al_register_asser​t_handler">al_registe​r_assert_handler</​h1>
201 <pre><code>void·​al_register_assert_ha​ndler(void·​(*handler)​(char·​const·​*expr,​201 <pre><code>void·​al_register_assert_ha​ndler(void·​(*handler)​(char·​const·​*expr,​
202 ···​char·​const·​*file,​·​int·​line,​·​char·​const·​*func)​)​</​code></​pre>202 ···​char·​const·​*file,​·​int·​line,​·​char·​const·​*func)​)​</​code></​pre>
203 <p>Register·​a·​function·​to·​be·​called·​when·​an·​internal·​Allegro·​assertion·​fails.​·​Pass·​NULL·​to·​reset·​to·​the·​default·​behaviour,​·​which·​is·​to·​do·​whatever·​the·​standard·​<code>assert()​</​code>·​macro·​does.​</​p>203 <p>Register·​a·​function·​to·​be·​called·​when·​an·​internal·​Allegro·​assertion·​fails.​·​Pass·​NULL·​to·​reset·​to·​the·​default·​behaviour,​·​which·​is·​to·​do·​whatever·​the·​standard·​<code>assert()​</​code>·​macro·​does.​</​p>
204 <p>Since:​·​5.​0.​6,​·​5.​1.​0</​p>204 <p>Since:​·​5.​0.​6,​·​5.​1.​0</​p>
205 <p·​class="timestamp">205 <p·​class="timestamp">
206 Allegro·​version·​5.​0.​9206 Allegro·​version·​5.​0.​9
207 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​03·​UTC207 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​30·​UTC
208 </​p>208 </​p>
209 </​div>209 </​div>
210 </​body>210 </​body>
211 </​html>211 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/platform.html
Offset 121, 12 lines modifiedOffset 121, 12 lines modified
121 <p>Multitasking·​on·​iOS·​is·​different·​than·​on·​other·​platforms.​·​When·​an·​application·​receives·​an·​ALLEGRO_DISPLAY_SWITC​H_OUT·​or·​ALLEGRO_DISPLAY_CLOSE​·​event·​on·​a·​multitasking-​capable·​device,​·​it·​should·​cease·​all·​activity·​and·​do·​nothing·​but·​check·​for·​an·​ALLEGRO_DISPLAY_SWITC​H_IN·​event.​·​To·​let·​the·​iPhone·​driver·​know·​that·​you've·​ceased·​all·​activity,​·​call·​this·​function.​·​You·​should·​call·​this·​function·​very·​soon·​after·​receiving·​the·​event·​telling·​you·​it's·​time·​to·​switch·​out·​(within·​a·​couple·​milliseconds)​.​·​Certain·​operations,​·​if·​done,​·​will·​crash·​the·​program·​after·​this·​call,​·​most·​notably·​any·​function·​which·​uses·​OpenGL.​·​This·​function·​is·​needed·​because·​the·​&quot;​switch·​out&quot;​·​handler·​on·​iPhone·​can't·​return·​until·​these·​operations·​have·​stopped,​·​or·​a·​crash·​as·​described·​before·​can·​happen.​</​p>121 <p>Multitasking·​on·​iOS·​is·​different·​than·​on·​other·​platforms.​·​When·​an·​application·​receives·​an·​ALLEGRO_DISPLAY_SWITC​H_OUT·​or·​ALLEGRO_DISPLAY_CLOSE​·​event·​on·​a·​multitasking-​capable·​device,​·​it·​should·​cease·​all·​activity·​and·​do·​nothing·​but·​check·​for·​an·​ALLEGRO_DISPLAY_SWITC​H_IN·​event.​·​To·​let·​the·​iPhone·​driver·​know·​that·​you've·​ceased·​all·​activity,​·​call·​this·​function.​·​You·​should·​call·​this·​function·​very·​soon·​after·​receiving·​the·​event·​telling·​you·​it's·​time·​to·​switch·​out·​(within·​a·​couple·​milliseconds)​.​·​Certain·​operations,​·​if·​done,​·​will·​crash·​the·​program·​after·​this·​call,​·​most·​notably·​any·​function·​which·​uses·​OpenGL.​·​This·​function·​is·​needed·​because·​the·​&quot;​switch·​out&quot;​·​handler·​on·​iPhone·​can't·​return·​until·​these·​operations·​have·​stopped,​·​or·​a·​crash·​as·​described·​before·​can·​happen.​</​p>
122 <h2·​id="al_iphone_overrid​e_screen_scale">al_ip​hone_override_screen_​scale</​h2>122 <h2·​id="al_iphone_overrid​e_screen_scale">al_ip​hone_override_screen_​scale</​h2>
123 <pre><code>void·​al_iphone_override_sc​reen_scale(float·​scale)​</​code></​pre>123 <pre><code>void·​al_iphone_override_sc​reen_scale(float·​scale)​</​code></​pre>
124 <p>Original·​iPhones·​and·​iPod·​Touches·​had·​a·​screen·​resolution·​of·​320x480·​(in·​Portrait·​mode)​.​·​When·​the·​iPhone·​4·​and·​iPod·​Touch·​4th·​generation·​devices·​came·​out,​·​they·​were·​backwards·​compatible·​with·​all·​old·​iPhone·​apps.​·​This·​means·​that·​they·​assume·​a·​320x480·​screen·​resolution·​by·​default,​·​while·​they·​actually·​have·​a·​640x960·​pixel·​screen·​(exactly·​2x·​on·​each·​dimension)​.​·​An·​API·​was·​added·​to·​allow·​access·​to·​the·​full·​(or·​in·​fact·​any·​fraction·​of·​the)​·​resolution·​of·​the·​new·​devices.​·​This·​function·​is·​normally·​not·​needed,​·​as·​in·​the·​case·​when·​you·​want·​a·​scale·​of·​2.​0·​for·​&quot;​retina·​display&quot;​·​resolution·​(640x960)​.​·​In·​that·​case·​you·​would·​just·​call·​al_create_display·​with·​the·​larger·​width·​and·​height·​parameters.​·​It·​is·​not·​limited·​to·​2.​0·​scaling·​factors·​however.​·​You·​can·​use·​1.​5·​or·​0.​5·​or·​other·​values·​in·​between,​·​however·​if·​it's·​not·​an·​exact·​multiple·​of·​the·​original·​iPhone·​resolution,​·​linear·​filtering·​will·​be·​applied·​to·​the·​final·​image.​</​p>124 <p>Original·​iPhones·​and·​iPod·​Touches·​had·​a·​screen·​resolution·​of·​320x480·​(in·​Portrait·​mode)​.​·​When·​the·​iPhone·​4·​and·​iPod·​Touch·​4th·​generation·​devices·​came·​out,​·​they·​were·​backwards·​compatible·​with·​all·​old·​iPhone·​apps.​·​This·​means·​that·​they·​assume·​a·​320x480·​screen·​resolution·​by·​default,​·​while·​they·​actually·​have·​a·​640x960·​pixel·​screen·​(exactly·​2x·​on·​each·​dimension)​.​·​An·​API·​was·​added·​to·​allow·​access·​to·​the·​full·​(or·​in·​fact·​any·​fraction·​of·​the)​·​resolution·​of·​the·​new·​devices.​·​This·​function·​is·​normally·​not·​needed,​·​as·​in·​the·​case·​when·​you·​want·​a·​scale·​of·​2.​0·​for·​&quot;​retina·​display&quot;​·​resolution·​(640x960)​.​·​In·​that·​case·​you·​would·​just·​call·​al_create_display·​with·​the·​larger·​width·​and·​height·​parameters.​·​It·​is·​not·​limited·​to·​2.​0·​scaling·​factors·​however.​·​You·​can·​use·​1.​5·​or·​0.​5·​or·​other·​values·​in·​between,​·​however·​if·​it's·​not·​an·​exact·​multiple·​of·​the·​original·​iPhone·​resolution,​·​linear·​filtering·​will·​be·​applied·​to·​the·​final·​image.​</​p>
125 <p>This·​function·​should·​be·​called·​BEFORE·​calling·​al_create_display.​</​p>125 <p>This·​function·​should·​be·​called·​BEFORE·​calling·​al_create_display.​</​p>
126 <p·​class="timestamp">126 <p·​class="timestamp">
127 Allegro·​version·​5.​0.​9127 Allegro·​version·​5.​0.​9
128 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​18·​UTC128 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​48·​UTC
129 </​p>129 </​p>
130 </​div>130 </​div>
131 </​body>131 </​body>
132 </​html>132 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/file.html
Offset 379, 12 lines modifiedOffset 379, 12 lines modified
379 <p>Creates·​an·​empty,​·​opened·​file·​handle·​with·​some·​abstract·​user·​data.​·​This·​allows·​custom·​interfaces·​to·​extend·​the·​<a·​href="file.​html#allegro_file">AL​LEGRO_FILE</​a>·​struct·​with·​their·​own·​data.​·​You·​should·​close·​the·​handle·​with·​the·​standard·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>·​function·​when·​you·​are·​finished·​with·​it.​</​p>379 <p>Creates·​an·​empty,​·​opened·​file·​handle·​with·​some·​abstract·​user·​data.​·​This·​allows·​custom·​interfaces·​to·​extend·​the·​<a·​href="file.​html#allegro_file">AL​LEGRO_FILE</​a>·​struct·​with·​their·​own·​data.​·​You·​should·​close·​the·​handle·​with·​the·​standard·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>·​function·​when·​you·​are·​finished·​with·​it.​</​p>
380 <p>See·​also:​·​<a·​href="file.​html#al_fopen">al_fop​en</​a>,​·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>,​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a></​p>380 <p>See·​also:​·​<a·​href="file.​html#al_fopen">al_fop​en</​a>,​·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>,​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a></​p>
381 <h2·​id="al_get_file_userd​ata">al_get_file_user​data</​h2>381 <h2·​id="al_get_file_userd​ata">al_get_file_user​data</​h2>
382 <pre><code>void·​*al_get_file_userdata​(ALLEGRO_FILE·​*f)​</​code></​pre>382 <pre><code>void·​*al_get_file_userdata​(ALLEGRO_FILE·​*f)​</​code></​pre>
383 <p>Returns·​a·​pointer·​to·​the·​custom·​userdata·​that·​is·​attached·​to·​the·​file·​handle.​·​This·​is·​intended·​to·​be·​used·​by·​functions·​that·​extend·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>.​</​p>383 <p>Returns·​a·​pointer·​to·​the·​custom·​userdata·​that·​is·​attached·​to·​the·​file·​handle.​·​This·​is·​intended·​to·​be·​used·​by·​functions·​that·​extend·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>.​</​p>
384 <p·​class="timestamp">384 <p·​class="timestamp">
385 Allegro·​version·​5.​0.​9385 Allegro·​version·​5.​0.​9
386 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​30·​UTC386 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​49·​UTC
387 </​p>387 </​p>
388 </​div>388 </​div>
389 </​body>389 </​body>
390 </​html>390 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/display.html
Offset 410, 12 lines modifiedOffset 410, 12 lines modified
410 <p>See·​also:​·​<a·​href="display.​html#al_set_display_i​con">al_set_display_i​con</​a>,​·​<a·​href="display.​html#al_set_window_ti​tle">al_set_window_ti​tle</​a></​p>410 <p>See·​also:​·​<a·​href="display.​html#al_set_display_i​con">al_set_display_i​con</​a>,​·​<a·​href="display.​html#al_set_window_ti​tle">al_set_window_ti​tle</​a></​p>
411 <h1·​id="screensaver">Scre​ensaver</​h1>411 <h1·​id="screensaver">Scre​ensaver</​h1>
412 <h2·​id="al_inhibit_screen​saver">al_inhibit_scr​eensaver</​h2>412 <h2·​id="al_inhibit_screen​saver">al_inhibit_scr​eensaver</​h2>
413 <pre><code>bool·​al_inhibit_screensave​r(bool·​inhibit)​</​code></​pre>413 <pre><code>bool·​al_inhibit_screensave​r(bool·​inhibit)​</​code></​pre>
414 <p>This·​function·​allows·​the·​user·​to·​stop·​the·​system·​screensaver·​from·​starting·​up·​if·​true·​is·​passed,​·​or·​resets·​the·​system·​back·​to·​the·​default·​state·​(the·​state·​at·​program·​start)​·​if·​false·​is·​passed.​·​It·​returns·​true·​if·​the·​state·​was·​set·​successfully,​·​otherwise·​false.​</​p>414 <p>This·​function·​allows·​the·​user·​to·​stop·​the·​system·​screensaver·​from·​starting·​up·​if·​true·​is·​passed,​·​or·​resets·​the·​system·​back·​to·​the·​default·​state·​(the·​state·​at·​program·​start)​·​if·​false·​is·​passed.​·​It·​returns·​true·​if·​the·​state·​was·​set·​successfully,​·​otherwise·​false.​</​p>
415 <p·​class="timestamp">415 <p·​class="timestamp">
416 Allegro·​version·​5.​0.​9416 Allegro·​version·​5.​0.​9
417 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​25:​25·​UTC417 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​02:​41·​UTC
418 </​p>418 </​p>
419 </​div>419 </​div>
420 </​body>420 </​body>
421 </​html>421 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/utf8.html
Offset 552, 12 lines modifiedOffset 552, 12 lines modified
552 <h2·​id="al_utf16_encode">​al_utf16_encode</​h2>552 <h2·​id="al_utf16_encode">​al_utf16_encode</​h2>
553 <pre><code>size_t·​al_utf16_encode(uint1​6_t·​s[],​·​int32_t·​c)​</​code></​pre>553 <pre><code>size_t·​al_utf16_encode(uint1​6_t·​s[],​·​int32_t·​c)​</​code></​pre>
554 <p>Encode·​the·​specified·​code·​point·​to·​UTF-​8·​into·​the·​buffer·​<code>s</​code>.​·​The·​buffer·​must·​have·​enough·​space·​to·​hold·​the·​encoding,​·​which·​takes·​either·​2·​or·​4·​bytes.​·​This·​routine·​will·​refuse·​to·​encode·​code·​points·​above·​0x10FFFF.​</​p>554 <p>Encode·​the·​specified·​code·​point·​to·​UTF-​8·​into·​the·​buffer·​<code>s</​code>.​·​The·​buffer·​must·​have·​enough·​space·​to·​hold·​the·​encoding,​·​which·​takes·​either·​2·​or·​4·​bytes.​·​This·​routine·​will·​refuse·​to·​encode·​code·​points·​above·​0x10FFFF.​</​p>
555 <p>Returns·​the·​number·​of·​bytes·​written,​·​which·​is·​the·​same·​as·​that·​returned·​by·​<a·​href="utf8.​html#al_utf16_width">​al_utf16_width</​a>.​</​p>555 <p>Returns·​the·​number·​of·​bytes·​written,​·​which·​is·​the·​same·​as·​that·​returned·​by·​<a·​href="utf8.​html#al_utf16_width">​al_utf16_width</​a>.​</​p>
556 <p>See·​also:​·​<a·​href="utf8.​html#al_utf8_encode">​al_utf8_encode</​a>,​·​<a·​href="utf8.​html#al_ustr_encode_u​tf16">al_ustr_encode_​utf16</​a></​p>556 <p>See·​also:​·​<a·​href="utf8.​html#al_utf8_encode">​al_utf8_encode</​a>,​·​<a·​href="utf8.​html#al_ustr_encode_u​tf16">al_ustr_encode_​utf16</​a></​p>
557 <p·​class="timestamp">557 <p·​class="timestamp">
558 Allegro·​version·​5.​0.​9558 Allegro·​version·​5.​0.​9
559 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​15·​UTC559 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​45·​UTC
560 </​p>560 </​p>
561 </​div>561 </​div>
562 </​body>562 </​body>
563 </​html>563 </​html>
/usr/local/share/doc/allegro-devel/docs/html/refman/opengl.html
Offset 194, 12 lines modifiedOffset 194, 12 lines modified
194 <p>You·​can·​disable·​the·​detection·​of·​any·​OpenGL·​extension·​by·​Allegro·​with·​a·​section·​like·​this·​in·​allegro5.​cfg:​</​p>194 <p>You·​can·​disable·​the·​detection·​of·​any·​OpenGL·​extension·​by·​Allegro·​with·​a·​section·​like·​this·​in·​allegro5.​cfg:​</​p>
195 <pre><code>[opengl_di​sabled_extensions]195 <pre><code>[opengl_di​sabled_extensions]
196 GL_ARB_texture_non_po​wer_of_two=0196 GL_ARB_texture_non_po​wer_of_two=0
197 GL_EXT_framebuffer_ob​ject=0</​code></​pre>197 GL_EXT_framebuffer_ob​ject=0</​code></​pre>
198 <p>Any·​extension·​which·​appears·​in·​the·​section·​is·​treated·​as·​not·​available·​(it·​does·​not·​matter·​if·​you·​set·​it·​to·​0·​or·​any·​other·​value)​.​</​p>198 <p>Any·​extension·​which·​appears·​in·​the·​section·​is·​treated·​as·​not·​available·​(it·​does·​not·​matter·​if·​you·​set·​it·​to·​0·​or·​any·​other·​value)​.​</​p>
199 <p·​class="timestamp">199 <p·​class="timestamp">
200 Allegro·​version·​5.​0.​9200 Allegro·​version·​5.​0.​9
201 ·​-​·​Last·​updated:​·​2016-​06-​10·21:​26:​22·​UTC201 ·​-​·​Last·​updated:​·​2016-​06-​12·08:​03:​53·​UTC
202 </​p>202 </​p>
203 </​div>203 </​div>
204 </​body>204 </​body>
205 </​html>205 </​html>