Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | · | 1 | ·855f72b226facd3beca44b06cbd337c1·1506004·doc·optional·allegro5-doc_5.2.4.0-3_all.deb |
2 | ·cb3bf9120a347964d0fc783f95f01afe·13396·libdevel·optional·liballegro-acodec5-dev_5.2.4.0-3_armhf.deb | 2 | ·cb3bf9120a347964d0fc783f95f01afe·13396·libdevel·optional·liballegro-acodec5-dev_5.2.4.0-3_armhf.deb |
3 | ·b9b464e733b01c937989c7d7af2a1f5b·68948·debug·optional·liballegro-acodec5.2-dbgsym_5.2.4.0-3_armhf.deb | 3 | ·b9b464e733b01c937989c7d7af2a1f5b·68948·debug·optional·liballegro-acodec5.2-dbgsym_5.2.4.0-3_armhf.deb |
4 | ·ba471f2298de97e99246b535ba6b40b1·28864·libs·optional·liballegro-acodec5.2_5.2.4.0-3_armhf.deb | 4 | ·ba471f2298de97e99246b535ba6b40b1·28864·libs·optional·liballegro-acodec5.2_5.2.4.0-3_armhf.deb |
5 | ·3c4c8a73d5e39d367d37b23523b97048·16056·libdevel·optional·liballegro-audio5-dev_5.2.4.0-3_armhf.deb | 5 | ·3c4c8a73d5e39d367d37b23523b97048·16056·libdevel·optional·liballegro-audio5-dev_5.2.4.0-3_armhf.deb |
6 | ·041973e0775b13f9b48eeb9d42fd52bb·119216·debug·optional·liballegro-audio5.2-dbgsym_5.2.4.0-3_armhf.deb | 6 | ·041973e0775b13f9b48eeb9d42fd52bb·119216·debug·optional·liballegro-audio5.2-dbgsym_5.2.4.0-3_armhf.deb |
7 | ·662b48ebeceda882d1e14c352a89ed9c·47416·libs·optional·liballegro-audio5.2_5.2.4.0-3_armhf.deb | 7 | ·662b48ebeceda882d1e14c352a89ed9c·47416·libs·optional·liballegro-audio5.2_5.2.4.0-3_armhf.deb |
8 | ·2642a293238da72cc77c685f5f8bfbb4·14480·libdevel·optional·liballegro-dialog5-dev_5.2.4.0-3_armhf.deb | 8 | ·2642a293238da72cc77c685f5f8bfbb4·14480·libdevel·optional·liballegro-dialog5-dev_5.2.4.0-3_armhf.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2018-12-10·16:55:17.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2018-12-10·16:55:17.000000·debian-binary |
2 | -rw-r--r--···0········0········0····30280·2018-12-10·16:55:17.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0····30280·2018-12-10·16:55:17.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··1475 | 3 | -rw-r--r--···0········0········0··1475532·2018-12-10·16:55:17.000000·data.tar.xz |
Offset 181, 12 lines modified | Offset 181, 12 lines modified | ||
181 | <p>Return·true·on·success.</p> | 181 | <p>Return·true·on·success.</p> |
182 | <h1·id="al_get_allegro_acodec_version">al_get_allegro_acodec_version</h1> | 182 | <h1·id="al_get_allegro_acodec_version">al_get_allegro_acodec_version</h1> |
183 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version(<span·class="dt">void</span>)</a></code></pre></div> | 183 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version(<span·class="dt">void</span>)</a></code></pre></div> |
184 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L8">Source·Code</a></p> | 184 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L8">Source·Code</a></p> |
185 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> | 185 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> |
186 | <p·class="timestamp"> | 186 | <p·class="timestamp"> |
187 | Allegro·version·5.2.4 | 187 | Allegro·version·5.2.4 |
188 | ·-·Last·updated:·2020-07-16·0 | 188 | ·-·Last·updated:·2020-07-16·03:00:14·UTC |
189 | </p> | 189 | </p> |
190 | </div> | 190 | </div> |
191 | </body> | 191 | </body> |
192 | </html> | 192 | </html> |
Offset 1430, 12 lines modified | Offset 1430, 12 lines modified | ||
1430 | <p>You·may·receive·events·after·the·recorder·has·been·destroyed.·They·must·be·ignored,·as·the·fragment·buffer·will·no·longer·be·valid.</p> | 1430 | <p>You·may·receive·events·after·the·recorder·has·been·destroyed.·They·must·be·ignored,·as·the·fragment·buffer·will·no·longer·be·valid.</p> |
1431 | <p>Since:·5.1.1</p> | 1431 | <p>Since:·5.1.1</p> |
1432 | <blockquote> | 1432 | <blockquote> |
1433 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·The·API·may·need·a·slight·redesign.</p> | 1433 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·The·API·may·need·a·slight·redesign.</p> |
1434 | </blockquote> | 1434 | </blockquote> |
1435 | <p·class="timestamp"> | 1435 | <p·class="timestamp"> |
1436 | Allegro·version·5.2.4 | 1436 | Allegro·version·5.2.4 |
1437 | ·-·Last·updated:·2020-07-16·0 | 1437 | ·-·Last·updated:·2020-07-16·03:00:13·UTC |
1438 | </p> | 1438 | </p> |
1439 | </div> | 1439 | </div> |
1440 | </body> | 1440 | </body> |
1441 | </html> | 1441 | </html> |
Offset 475, 12 lines modified | Offset 475, 12 lines modified | ||
475 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> | 475 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> |
476 | <h1·id="al_is_color_valid">al_is_color_valid</h1> | 476 | <h1·id="al_is_color_valid">al_is_color_valid</h1> |
477 | <p><a·href="">Source·Code</a></p> | 477 | <p><a·href="">Source·Code</a></p> |
478 | <p>Checks·if·all·components·of·the·color·are·between·0·and·1.·Some·of·the·color·conversions·in·this·addon·support·color·spaces·with·more·colors·than·can·be·represented·in·sRGB·and·when·converted·to·RGB·will·result·in·invalid·color·components·outside·the·0..1·range.</p> | 478 | <p>Checks·if·all·components·of·the·color·are·between·0·and·1.·Some·of·the·color·conversions·in·this·addon·support·color·spaces·with·more·colors·than·can·be·represented·in·sRGB·and·when·converted·to·RGB·will·result·in·invalid·color·components·outside·the·0..1·range.</p> |
479 | <p>Since:·5.2.3</p> | 479 | <p>Since:·5.2.3</p> |
480 | <p·class="timestamp"> | 480 | <p·class="timestamp"> |
481 | Allegro·version·5.2.4 | 481 | Allegro·version·5.2.4 |
482 | ·-·Last·updated:·2020-07-16·0 | 482 | ·-·Last·updated:·2020-07-16·03:00:14·UTC |
483 | </p> | 483 | </p> |
484 | </div> | 484 | </div> |
485 | </body> | 485 | </body> |
486 | </html> | 486 | </html> |
Offset 320, 12 lines modified | Offset 320, 12 lines modified | ||
320 | <h1·id="al_merge_config_into">al_merge_config_into</h1> | 320 | <h1·id="al_merge_config_into">al_merge_config_into</h1> |
321 | <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb24-1"·title="1"><span·class="dt">void</span>·al_merge_config_into(ALLEGRO_CONFIG·*master,·<span·class="dt">const</span>·ALLEGRO_CONFIG·*add)</a></code></pre></div> | 321 | <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb24-1"·title="1"><span·class="dt">void</span>·al_merge_config_into(ALLEGRO_CONFIG·*master,·<span·class="dt">const</span>·ALLEGRO_CONFIG·*add)</a></code></pre></div> |
322 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/config.c#L515">Source·Code</a></p> | 322 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/config.c#L515">Source·Code</a></p> |
323 | <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> | 323 | <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> |
324 | <p>See·also:·<a·href="config.html#al_merge_config">al_merge_config</a></p> | 324 | <p>See·also:·<a·href="config.html#al_merge_config">al_merge_config</a></p> |
325 | <p·class="timestamp"> | 325 | <p·class="timestamp"> |
326 | Allegro·version·5.2.4 | 326 | Allegro·version·5.2.4 |
327 | ·-·Last·updated:·2020-07-16·02: | 327 | ·-·Last·updated:·2020-07-16·02:59:33·UTC |
328 | </p> | 328 | </p> |
329 | </div> | 329 | </div> |
330 | </body> | 330 | </body> |
331 | </html> | 331 | </html> |
Offset 237, 12 lines modified | Offset 237, 12 lines modified | ||
237 | <a·class="sourceLine"·id="cb11-2"·title="2">···<span·class="dt">void</span>·(*callback)(ALLEGRO_DISPLAY·*display))</a></code></pre></div> | 237 | <a·class="sourceLine"·id="cb11-2"·title="2">···<span·class="dt">void</span>·(*callback)(ALLEGRO_DISPLAY·*display))</a></code></pre></div> |
238 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/win/d3d_disp.cpp#L214">Source·Code</a></p> | 238 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/win/d3d_disp.cpp#L214">Source·Code</a></p> |
239 | <p>The·callback·will·be·called·whenever·a·D3D·device·that·has·been·reset·is·restored.·In·the·callback·you·should·restore·any·d3d·resources·you·have·created·yourself.·The·callback·receives·the·affected·display·as·a·parameter.</p> | 239 | <p>The·callback·will·be·called·whenever·a·D3D·device·that·has·been·reset·is·restored.·In·the·callback·you·should·restore·any·d3d·resources·you·have·created·yourself.·The·callback·receives·the·affected·display·as·a·parameter.</p> |
240 | <p>Pass·NULL·to·disable·the·callback.</p> | 240 | <p>Pass·NULL·to·disable·the·callback.</p> |
241 | <p>Since:·5.1.0</p> | 241 | <p>Since:·5.1.0</p> |
242 | <p·class="timestamp"> | 242 | <p·class="timestamp"> |
243 | Allegro·version·5.2.4 | 243 | Allegro·version·5.2.4 |
244 | ·-·Last·updated:·2020-07-16·0 | 244 | ·-·Last·updated:·2020-07-16·03:00:10·UTC |
245 | </p> | 245 | </p> |
246 | </div> | 246 | </div> |
247 | </body> | 247 | </body> |
248 | </html> | 248 | </html> |
Offset 673, 12 lines modified | Offset 673, 12 lines modified | ||
673 | <div·class="sourceCode"·id="cb46"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb46-1"·title="1"><span·class="dt">bool</span>·al_clipboard_has_text(ALLEGRO_DISPLAY·*display)</a></code></pre></div> | 673 | <div·class="sourceCode"·id="cb46"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb46-1"·title="1"><span·class="dt">bool</span>·al_clipboard_has_text(ALLEGRO_DISPLAY·*display)</a></code></pre></div> |
674 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/clipboard.c#L64">Source·Code</a></p> | 674 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/clipboard.c#L64">Source·Code</a></p> |
675 | <p>This·function·returns·true·if·and·only·if·the·clipboard·has·text·available.</p> | 675 | <p>This·function·returns·true·if·and·only·if·the·clipboard·has·text·available.</p> |
676 | <p>Since:·5.1.12</p> | 676 | <p>Since:·5.1.12</p> |
677 | <p>See·also:·<a·href="display.html#al_set_clipboard_text">al_set_clipboard_text</a>,·<a·href="display.html#al_get_clipboard_text">al_get_clipboard_text</a></p> | 677 | <p>See·also:·<a·href="display.html#al_set_clipboard_text">al_set_clipboard_text</a>,·<a·href="display.html#al_get_clipboard_text">al_get_clipboard_text</a></p> |
678 | <p·class="timestamp"> | 678 | <p·class="timestamp"> |
679 | Allegro·version·5.2.4 | 679 | Allegro·version·5.2.4 |
680 | ·-·Last·updated:·2020-07-16·02: | 680 | ·-·Last·updated:·2020-07-16·02:59:34·UTC |
681 | </p> | 681 | </p> |
682 | </div> | 682 | </div> |
683 | </body> | 683 | </body> |
684 | </html> | 684 | </html> |
Offset 862, 12 lines modified | Offset 862, 12 lines modified | ||
862 | <h1·id="al_set_event_source_data">al_set_event_source_data</h1> | 862 | <h1·id="al_set_event_source_data">al_set_event_source_data</h1> |
863 | <div·class="sourceCode"·id="cb33"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb33-1"·title="1"><span·class="dt">void</span>·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·<span·class="dt">intptr_t</span>·data)</a></code></pre></div> | 863 | <div·class="sourceCode"·id="cb33"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb33-1"·title="1"><span·class="dt">void</span>·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·<span·class="dt">intptr_t</span>·data)</a></code></pre></div> |
864 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/evtsrc.c#L264">Source·Code</a></p> | 864 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/evtsrc.c#L264">Source·Code</a></p> |
865 | <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> | 865 | <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> |
866 | <p>See·also:·<a·href="events.html#al_get_event_source_data">al_get_event_source_data</a></p> | 866 | <p>See·also:·<a·href="events.html#al_get_event_source_data">al_get_event_source_data</a></p> |
867 | <p·class="timestamp"> | 867 | <p·class="timestamp"> |
868 | Allegro·version·5.2.4 | 868 | Allegro·version·5.2.4 |
869 | ·-·Last·updated:·2020-07-16·02: | 869 | ·-·Last·updated:·2020-07-16·02:59:36·UTC |
870 | </p> | 870 | </p> |
871 | </div> | 871 | </div> |
872 | </body> | 872 | </body> |
873 | </html> | 873 | </html> |
Offset 508, 12 lines modified | Offset 508, 12 lines modified | ||
508 | <p>See·also:·<a·href="file.html#al_fopen">al_fopen</a>,·<a·href="file.html#al_fclose">al_fclose</a>,·<a·href="file.html#al_set_new_file_interface">al_set_new_file_interface</a></p> | 508 | <p>See·also:·<a·href="file.html#al_fopen">al_fopen</a>,·<a·href="file.html#al_fclose">al_fclose</a>,·<a·href="file.html#al_set_new_file_interface">al_set_new_file_interface</a></p> |
509 | <h2·id="al_get_file_userdata">al_get_file_userdata</h2> | 509 | <h2·id="al_get_file_userdata">al_get_file_userdata</h2> |
510 | <div·class="sourceCode"·id="cb44"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb44-1"·title="1"><span·class="dt">void</span>·*al_get_file_userdata(ALLEGRO_FILE·*f)</a></code></pre></div> | 510 | <div·class="sourceCode"·id="cb44"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb44-1"·title="1"><span·class="dt">void</span>·*al_get_file_userdata(ALLEGRO_FILE·*f)</a></code></pre></div> |
511 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/file.c#L533">Source·Code</a></p> | 511 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/file.c#L533">Source·Code</a></p> |
512 | <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_interface">ALLEGRO_FILE_INTERFACE</a>.</p> | 512 | <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_interface">ALLEGRO_FILE_INTERFACE</a>.</p> |
513 | <p·class="timestamp"> | 513 | <p·class="timestamp"> |
514 | Allegro·version·5.2.4 | 514 | Allegro·version·5.2.4 |
515 | ·-·Last·updated:·2020-07-16·02: | 515 | ·-·Last·updated:·2020-07-16·02:59:37·UTC |
516 | </p> | 516 | </p> |
517 | </div> | 517 | </div> |
518 | </body> | 518 | </body> |
519 | </html> | 519 | </html> |
Offset 474, 12 lines modified | Offset 474, 12 lines modified | ||
474 | <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> | 474 | <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> |
475 | <h2·id="al_fixhypot">al_fixhypot</h2> | 475 | <h2·id="al_fixhypot">al_fixhypot</h2> |
476 | <div·class="sourceCode"·id="cb42"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb42-1"·title="1">al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y)</a></code></pre></div> | 476 | <div·class="sourceCode"·id="cb42"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb42-1"·title="1">al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y)</a></code></pre></div> |
477 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source·Code</a></p> | 477 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source·Code</a></p> |
478 | <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> | 478 | <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> |
479 | <p·class="timestamp"> | 479 | <p·class="timestamp"> |
480 | Allegro·version·5.2.4 | 480 | Allegro·version·5.2.4 |
481 | ·-·Last·updated:·2020-07-16·02: | 481 | ·-·Last·updated:·2020-07-16·02:59:40·UTC |
482 | </p> | 482 | </p> |
483 | </div> | 483 | </div> |
484 | </body> | 484 | </body> |
485 | </html> | 485 | </html> |
Offset 703, 12 lines modified | Offset 703, 12 lines modified | ||
703 | <p>Since:·5.2.1</p> | 703 | <p>Since:·5.2.1</p> |
704 | <blockquote> | 704 | <blockquote> |
705 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> | 705 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> |
706 | </blockquote> | 706 | </blockquote> |
707 | <p>See·also:·<a·href="font.html#allegro_glyph">ALLEGRO_GLYPH</a></p> | 707 | <p>See·also:·<a·href="font.html#allegro_glyph">ALLEGRO_GLYPH</a></p> |
708 | <p·class="timestamp"> | 708 | <p·class="timestamp"> |
709 | Allegro·version·5.2.4 | 709 | Allegro·version·5.2.4 |
710 | ·-·Last·updated:·2020-07-16·0 | 710 | ·-·Last·updated:·2020-07-16·03:00:15·UTC |
711 | </p> | 711 | </p> |
712 | </div> | 712 | </div> |
713 | </body> | 713 | </body> |
714 | </html> | 714 | </html> |
Offset 395, 12 lines modified | Offset 395, 12 lines modified | ||
395 | <h2·id="al_get_fs_interface">al_get_fs_interface</h2> | 395 | <h2·id="al_get_fs_interface">al_get_fs_interface</h2> |
396 | <div·class="sourceCode"·id="cb30"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb30-1"·title="1"><span·class="dt">const</span>·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(<span·class="dt">void</span>)</a></code></pre></div> | 396 | <div·class="sourceCode"·id="cb30"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb30-1"·title="1"><span·class="dt">const</span>·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(<span·class="dt">void</span>)</a></code></pre></div> |
397 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L874">Source·Code</a></p> | 397 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L874">Source·Code</a></p> |
398 | <p>Return·a·pointer·to·the·<a·href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·table·in·effect·for·the·calling·thread.</p> | 398 | <p>Return·a·pointer·to·the·<a·href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·table·in·effect·for·the·calling·thread.</p> |
399 | <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> | 399 | <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> |
400 | <p·class="timestamp"> | 400 | <p·class="timestamp"> |
401 | Allegro·version·5.2.4 | 401 | Allegro·version·5.2.4 |
402 | ·-·Last·updated:·2020-07-16·02: | 402 | ·-·Last·updated:·2020-07-16·02:59:41·UTC |
403 | </p> | 403 | </p> |
404 | </div> | 404 | </div> |
405 | </body> | 405 | </body> |
406 | </html> | 406 | </html> |
Offset 188, 12 lines modified | Offset 188, 12 lines modified | ||
188 | <h1·id="al_get_num_display_modes">al_get_num_display_modes</h1> | 188 | <h1·id="al_get_num_display_modes">al_get_num_display_modes</h1> |
189 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb5-1"·title="1"><span·class="dt">int</span>·al_get_num_display_modes(<span·class="dt">void</span>)</a></code></pre></div> | 189 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb5-1"·title="1"><span·class="dt">int</span>·al_get_num_display_modes(<span·class="dt">void</span>)</a></code></pre></div> |
190 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/fullscreen_mode.c#L23">Source·Code</a></p> | 190 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/fullscreen_mode.c#L23">Source·Code</a></p> |
191 | <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_display_refresh_rate">al_set_new_display_refresh_rate</a>,·and·<a·href="display.html#al_set_new_display_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> | 191 | <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_display_refresh_rate">al_set_new_display_refresh_rate</a>,·and·<a·href="display.html#al_set_new_display_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> |
192 | <p>See·also:·<a·href="fullscreen_mode.html#al_get_display_mode">al_get_display_mode</a></p> | 192 | <p>See·also:·<a·href="fullscreen_mode.html#al_get_display_mode">al_get_display_mode</a></p> |
193 | <p·class="timestamp"> | 193 | <p·class="timestamp"> |
194 | Allegro·version·5.2.4 | 194 | Allegro·version·5.2.4 |
195 | ·-·Last·updated:·2020-07-16·02: | 195 | ·-·Last·updated:·2020-07-16·02:59:44·UTC |
196 | </p> | 196 | </p> |
197 | </div> | 197 | </div> |
198 | </body> | 198 | </body> |
199 | </html> | 199 | </html> |
Offset 179, 12 lines modified | Offset 179, 12 lines modified | ||
179 | <p>Some·of·Allegro’s·API·is·marked·as·unstable,·which·means·that·in·future·versions·of·Allegro·it·may·change·or·even·be·removed·entirely!·If·you·want·to·experiment·with·the·unstable·API,·define·<code>ALLEGRO_UNSTABLE</code>·macro·before·including·Allegro’s·headers.</p> | 179 | <p>Some·of·Allegro’s·API·is·marked·as·unstable,·which·means·that·in·future·versions·of·Allegro·it·may·change·or·even·be·removed·entirely!·If·you·want·to·experiment·with·the·unstable·API,·define·<code>ALLEGRO_UNSTABLE</code>·macro·before·including·Allegro’s·headers.</p> |
180 | <p>Note·that·when·you·define·that·macro,·the·version·check·performed·by·<a·href="system.html#al_install_system">al_install_system</a>·and·<a·href="system.html#al_init">al_init</a>·becomes·more·scrict.·See·documentation·of·those·functions·for·details.</p> | 180 | <p>Note·that·when·you·define·that·macro,·the·version·check·performed·by·<a·href="system.html#al_install_system">al_install_system</a>·and·<a·href="system.html#al_init">al_init</a>·becomes·more·scrict.·See·documentation·of·those·functions·for·details.</p> |
181 | <h1·id="not-the-end">Not·the·end</h1> | 181 | <h1·id="not-the-end">Not·the·end</h1> |
182 | <p>There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.</p> | 182 | <p>There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.</p> |
183 | <p>Enjoy!</p> | 183 | <p>Enjoy!</p> |
184 | <p·class="timestamp"> | 184 | <p·class="timestamp"> |
185 | Allegro·version·5.2.4 | 185 | Allegro·version·5.2.4 |
186 | ·-·Last·updated:·2020-07-16·02: | 186 | ·-·Last·updated:·2020-07-16·02:59:29·UTC |
187 | </p> | 187 | </p> |
188 | </div> | 188 | </div> |
189 | </body> | 189 | </body> |
190 | </html> | 190 | </html> |
Offset 1405, 12 lines modified | Offset 1405, 12 lines modified | ||
1405 | <p>Since:·5.2.1</p> | 1405 | <p>Since:·5.2.1</p> |
1406 | <blockquote> | 1406 | <blockquote> |
1407 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> | 1407 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> |
1408 | </blockquote> | 1408 | </blockquote> |
1409 | <p>See·also:·<a·href="graphics.html#al_backup_dirty_bitmap">al_backup_dirty_bitmap</a></p> | 1409 | <p>See·also:·<a·href="graphics.html#al_backup_dirty_bitmap">al_backup_dirty_bitmap</a></p> |
1410 | <p·class="timestamp"> | 1410 | <p·class="timestamp"> |
1411 | Allegro·version·5.2.4 | 1411 | Allegro·version·5.2.4 |
1412 | ·-·Last·updated:·2020-07-16·02: | 1412 | ·-·Last·updated:·2020-07-16·02:59:44·UTC |
1413 | </p> | 1413 | </p> |
1414 | </div> | 1414 | </div> |
1415 | </body> | 1415 | </body> |
1416 | </html> | 1416 | </html> |
Offset 565, 12 lines modified | Offset 565, 12 lines modified | ||
565 | <p>In·case·false·is·returned,·the·rumble·effect·will·be·automatically·released·as·if·<a·href="haptic.html#al_release_haptic_effect">al_release_haptic_effect</a>·had·been·called,·so·there·is·no·need·to·call·it·again·manually·in·this·case.·However,·if·true·is·returned,·it·is·necessary·to·call·<a·href="haptic.html#al_release_haptic_effect">al_release_haptic_effect</a>·when·the·effect·isn’t·needed·anymore,·to·prevent·the·amount·of·available·effects·on·the·haptic·device·from·running·out.</p> | 565 | <p>In·case·false·is·returned,·the·rumble·effect·will·be·automatically·released·as·if·<a·href="haptic.html#al_release_haptic_effect">al_release_haptic_effect</a>·had·been·called,·so·there·is·no·need·to·call·it·again·manually·in·this·case.·However,·if·true·is·returned,·it·is·necessary·to·call·<a·href="haptic.html#al_release_haptic_effect">al_release_haptic_effect</a>·when·the·effect·isn’t·needed·anymore,·to·prevent·the·amount·of·available·effects·on·the·haptic·device·from·running·out.</p> |
566 | <p>Since:·5.1.8</p> | 566 | <p>Since:·5.1.8</p> |
567 | <blockquote> | 567 | <blockquote> |
568 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·Perhaps·could·be·simplified·due·to·limited·support·for·all·the·exposed·features·across·all·of·the·platforms.·Awaiting·feedback·from·users.</p> | 568 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·Perhaps·could·be·simplified·due·to·limited·support·for·all·the·exposed·features·across·all·of·the·platforms.·Awaiting·feedback·from·users.</p> |
569 | </blockquote> | 569 | </blockquote> |
570 | <p·class="timestamp"> | 570 | <p·class="timestamp"> |
571 | Allegro·version·5.2.4 | 571 | Allegro·version·5.2.4 |
572 | ·-·Last·updated:·2020-07-16·02: | 572 | ·-·Last·updated:·2020-07-16·02:59:46·UTC |
573 | </p> | 573 | </p> |
574 | </div> | 574 | </div> |
575 | </body> | 575 | </body> |
576 | </html> | 576 | </html> |
Offset 181, 12 lines modified | Offset 181, 12 lines modified | ||
181 | <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> | 181 | <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> |
182 | <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1> | 182 | <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1> |
183 | <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb4-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_image_version(<span·class="dt">void</span>)</a></code></pre></div> | 183 | <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb4-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_image_version(<span·class="dt">void</span>)</a></code></pre></div> |
184 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L158">Source·Code</a></p> | 184 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L158">Source·Code</a></p> |
185 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> | 185 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> |
186 | <p·class="timestamp"> | 186 | <p·class="timestamp"> |
187 | Allegro·version·5.2.4 | 187 | Allegro·version·5.2.4 |
188 | ·-·Last·updated:·2020-07-16·0 | 188 | ·-·Last·updated:·2020-07-16·03:00:16·UTC |
189 | </p> | 189 | </p> |
190 | </div> | 190 | </div> |
191 | </body> | 191 | </body> |
192 | </html> | 192 | </html> |
Offset 150, 12 lines modified | Offset 150, 12 lines modified | ||
150 | <li><a·href="native_dialog.html">Native·dialogs·addon</a></li> | 150 | <li><a·href="native_dialog.html">Native·dialogs·addon</a></li> |
151 | <li><a·href="physfs.html">PhysicsFS·addon</a></li> | 151 | <li><a·href="physfs.html">PhysicsFS·addon</a></li> |
152 | <li><a·href="primitives.html">Primitives·addon</a></li> | 152 | <li><a·href="primitives.html">Primitives·addon</a></li> |
153 | <li><a·href="video.html">Video·streaming·addon</a></li> | 153 | <li><a·href="video.html">Video·streaming·addon</a></li> |
154 | </ul> | 154 | </ul> |
155 | <p·class="timestamp"> | 155 | <p·class="timestamp"> |
156 | Allegro·version·5.2.4 | 156 | Allegro·version·5.2.4 |
157 | ·-·Last·updated:·2020-07-16·0 | 157 | ·-·Last·updated:·2020-07-16·03:00:24·UTC |
158 | </p> | 158 | </p> |
159 | </div> | 159 | </div> |
160 | </body> | 160 | </body> |
161 | </html> | 161 | </html> |
Offset 1264, 12 lines modified | Offset 1264, 12 lines modified | ||
1264 | <li><a·href="platform.html#al_win_add_window_callback">al_win_add_window_callback</a>·<!--·--></li> | 1264 | <li><a·href="platform.html#al_win_add_window_callback">al_win_add_window_callback</a>·<!--·--></li> |
1265 | <li><a·href="platform.html#al_win_remove_window_callback">al_win_remove_window_callback</a>·<!--·--></li> | 1265 | <li><a·href="platform.html#al_win_remove_window_callback">al_win_remove_window_callback</a>·<!--·--></li> |
1266 | <li><a·href="platform.html#al_x_set_initial_icon">al_x_set_initial_icon</a>·<!--·--></li> | 1266 | <li><a·href="platform.html#al_x_set_initial_icon">al_x_set_initial_icon</a>·<!--·--></li> |
1267 | <li><a·href="platform.html#iphone">iPhone</a>·<!--·--></li> | 1267 | <li><a·href="platform.html#iphone">iPhone</a>·<!--·--></li> |
1268 | </ul> | 1268 | </ul> |
1269 | <p·class="timestamp"> | 1269 | <p·class="timestamp"> |
1270 | Allegro·version·5.2.4 | 1270 | Allegro·version·5.2.4 |
1271 | ·-·Last·updated:·2020-07-16·0 | 1271 | ·-·Last·updated:·2020-07-16·03:00:25·UTC |
1272 | </p> | 1272 | </p> |
1273 | </div> | 1273 | </div> |
1274 | </body> | 1274 | </body> |
1275 | </html> | 1275 | </html> |
Offset 302, 12 lines modified | Offset 302, 12 lines modified | ||
302 | <p>See·also:·<a·href="joystick.html#allegro_joystick_state">ALLEGRO_JOYSTICK_STATE</a>,·<a·href="joystick.html#al_get_joystick_num_buttons">al_get_joystick_num_buttons</a>,·<a·href="joystick.html#al_get_joystick_num_axes">al_get_joystick_num_axes</a></p> | 302 | <p>See·also:·<a·href="joystick.html#allegro_joystick_state">ALLEGRO_JOYSTICK_STATE</a>,·<a·href="joystick.html#al_get_joystick_num_buttons">al_get_joystick_num_buttons</a>,·<a·href="joystick.html#al_get_joystick_num_axes">al_get_joystick_num_axes</a></p> |
303 | <h1·id="al_get_joystick_event_source">al_get_joystick_event_source</h1> | 303 | <h1·id="al_get_joystick_event_source">al_get_joystick_event_source</h1> |
304 | <div·class="sourceCode"·id="cb23"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb23-1"·title="1">ALLEGRO_EVENT_SOURCE·*al_get_joystick_event_source(<span·class="dt">void</span>)</a></code></pre></div> | 304 | <div·class="sourceCode"·id="cb23"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb23-1"·title="1">ALLEGRO_EVENT_SOURCE·*al_get_joystick_event_source(<span·class="dt">void</span>)</a></code></pre></div> |
305 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/joynu.c#L114">Source·Code</a></p> | 305 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/joynu.c#L114">Source·Code</a></p> |
306 | <p>Returns·the·global·joystick·event·source.·All·<a·href="events.html#allegro_event_joystick_axis">joystick·events</a>·are·generated·by·this·event·source.</p> | 306 | <p>Returns·the·global·joystick·event·source.·All·<a·href="events.html#allegro_event_joystick_axis">joystick·events</a>·are·generated·by·this·event·source.</p> |
307 | <p·class="timestamp"> | 307 | <p·class="timestamp"> |
308 | Allegro·version·5.2.4 | 308 | Allegro·version·5.2.4 |
309 | ·-·Last·updated:·2020-07-16·02: | 309 | ·-·Last·updated:·2020-07-16·02:59:48·UTC |
310 | </p> | 310 | </p> |
311 | </div> | 311 | </div> |
312 | </body> | 312 | </body> |
313 | </html> | 313 | </html> |
Offset 341, 12 lines modified | Offset 341, 12 lines modified | ||
341 | <h1·id="al_get_keyboard_event_source">al_get_keyboard_event_source</h1> | 341 | <h1·id="al_get_keyboard_event_source">al_get_keyboard_event_source</h1> |
342 | <div·class="sourceCode"·id="cb14"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb14-1"·title="1">ALLEGRO_EVENT_SOURCE·*al_get_keyboard_event_source(<span·class="dt">void</span>)</a></code></pre></div> | 342 | <div·class="sourceCode"·id="cb14"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb14-1"·title="1">ALLEGRO_EVENT_SOURCE·*al_get_keyboard_event_source(<span·class="dt">void</span>)</a></code></pre></div> |
343 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/keybdnu.c#L293">Source·Code</a></p> | 343 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/keybdnu.c#L293">Source·Code</a></p> |
344 | <p>Retrieve·the·keyboard·event·source.·All·<a·href="events.html#allegro_event_key_down">keyboard·events</a>·are·generated·by·this·event·source.</p> | 344 | <p>Retrieve·the·keyboard·event·source.·All·<a·href="events.html#allegro_event_key_down">keyboard·events</a>·are·generated·by·this·event·source.</p> |
345 | <p>Returns·NULL·if·the·keyboard·subsystem·was·not·installed.</p> | 345 | <p>Returns·NULL·if·the·keyboard·subsystem·was·not·installed.</p> |
346 | <p·class="timestamp"> | 346 | <p·class="timestamp"> |
347 | Allegro·version·5.2.4 | 347 | Allegro·version·5.2.4 |
348 | ·-·Last·updated:·2020-07-16·02: | 348 | ·-·Last·updated:·2020-07-16·02:59:51·UTC |
349 | </p> | 349 | </p> |
350 | </div> | 350 | </div> |
351 | </body> | 351 | </body> |
352 | </html> | 352 | </html> |
Offset 162, 12 lines modified | Offset 162, 12 lines modified | ||
162 | <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> | 162 | <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> |
163 | <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> | 163 | <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> |
164 | <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb1-1"·title="1"><span·class="dt">int</span>·main(<span·class="dt">int</span>·argc,·<span·class="dt">char</span>·**argv)</a></code></pre></div> | 164 | <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb1-1"·title="1"><span·class="dt">int</span>·main(<span·class="dt">int</span>·argc,·<span·class="dt">char</span>·**argv)</a></code></pre></div> |
165 | <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> | 165 | <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> |
166 | <p>Link·with·allegro_main.</p> | 166 | <p>Link·with·allegro_main.</p> |
167 | <p·class="timestamp"> | 167 | <p·class="timestamp"> |
168 | Allegro·version·5.2.4 | 168 | Allegro·version·5.2.4 |
169 | ·-·Last·updated:·2020-07-16·0 | 169 | ·-·Last·updated:·2020-07-16·03:00:17·UTC |
170 | </p> | 170 | </p> |
171 | </div> | 171 | </div> |
172 | </body> | 172 | </body> |
173 | </html> | 173 | </html> |
Offset 175, 12 lines modified | Offset 175, 12 lines modified | ||
175 | <p>It·should·be·closed·with·<a·href="file.html#al_fclose">al_fclose</a>.·After·the·file·is·closed,·you·are·responsible·for·freeing·the·memory·(if·needed).</p> | 175 | <p>It·should·be·closed·with·<a·href="file.html#al_fclose">al_fclose</a>.·After·the·file·is·closed,·you·are·responsible·for·freeing·the·memory·(if·needed).</p> |
176 | <h1·id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1> | 176 | <h1·id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1> |
177 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version(<span·class="dt">void</span>)</a></code></pre></div> | 177 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version(<span·class="dt">void</span>)</a></code></pre></div> |
178 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source·Code</a></p> | 178 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source·Code</a></p> |
179 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> | 179 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> |
180 | <p·class="timestamp"> | 180 | <p·class="timestamp"> |
181 | Allegro·version·5.2.4 | 181 | Allegro·version·5.2.4 |
182 | ·-·Last·updated:·2020-07-16·0 | 182 | ·-·Last·updated:·2020-07-16·03:00:18·UTC |
183 | </p> | 183 | </p> |
184 | </div> | 184 | </div> |
185 | </body> | 185 | </body> |
186 | </html> | 186 | </html> |
Offset 242, 12 lines modified | Offset 242, 12 lines modified | ||
242 | <div·class="sourceCode"·id="cb12"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb12-1"·title="1"><span·class="dt">void</span>·al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE·*memory_interface)</a></code></pre></div> | 242 | <div·class="sourceCode"·id="cb12"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb12-1"·title="1"><span·class="dt">void</span>·al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE·*memory_interface)</a></code></pre></div> |
243 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/memory.c#L29">Source·Code</a></p> | 243 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/memory.c#L29">Source·Code</a></p> |
244 | <p>Override·the·memory·management·functions·with·implementations·of·<a·href="memory.html#al_malloc_with_context">al_malloc_with_context</a>,·<a·href="memory.html#al_free_with_context">al_free_with_context</a>,·<a·href="memory.html#al_realloc_with_context">al_realloc_with_context</a>·and·<a·href="memory.html#al_calloc_with_context">al_calloc_with_context</a>.·The·context·arguments·may·be·used·for·debugging.·The·new·functions·should·be·thread·safe.</p> | 244 | <p>Override·the·memory·management·functions·with·implementations·of·<a·href="memory.html#al_malloc_with_context">al_malloc_with_context</a>,·<a·href="memory.html#al_free_with_context">al_free_with_context</a>,·<a·href="memory.html#al_realloc_with_context">al_realloc_with_context</a>·and·<a·href="memory.html#al_calloc_with_context">al_calloc_with_context</a>.·The·context·arguments·may·be·used·for·debugging.·The·new·functions·should·be·thread·safe.</p> |
245 | <p>If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.</p> | 245 | <p>If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.</p> |
246 | <p>See·also:·<a·href="memory.html#allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</a></p> | 246 | <p>See·also:·<a·href="memory.html#allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</a></p> |
247 | <p·class="timestamp"> | 247 | <p·class="timestamp"> |
248 | Allegro·version·5.2.4 | 248 | Allegro·version·5.2.4 |
249 | ·-·Last·updated:·2020-07-16·02: | 249 | ·-·Last·updated:·2020-07-16·02:59:52·UTC |
250 | </p> | 250 | </p> |
251 | </div> | 251 | </div> |
252 | </body> | 252 | </body> |
253 | </html> | 253 | </html> |
Offset 173, 12 lines modified | Offset 173, 12 lines modified | ||
173 | <h1·id="al_run_main">al_run_main</h1> | 173 | <h1·id="al_run_main">al_run_main</h1> |
174 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">int</span>·al_run_main(<span·class="dt">int</span>·argc,·<span·class="dt">char</span>·**argv,·<span·class="dt">int</span>·(*user_main)(<span·class="dt">int</span>,·<span·class="dt">char</span>·**))</a></code></pre></div> | 174 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">int</span>·al_run_main(<span·class="dt">int</span>·argc,·<span·class="dt">char</span>·**argv,·<span·class="dt">int</span>·(*user_main)(<span·class="dt">int</span>,·<span·class="dt">char</span>·**))</a></code></pre></div> |
175 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/allegro.c#L36">Source·Code</a></p> | 175 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/allegro.c#L36">Source·Code</a></p> |
176 | <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_system">al_install_system</a>.·But·some·other·system·(like·OSX)·don’t·allow·calling·<a·href="system.html#al_install_system">al_install_system</a>·in·the·main·thread.·al_run_main·will·know·what·to·do·in·that·case.</p> | 176 | <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_system">al_install_system</a>.·But·some·other·system·(like·OSX)·don’t·allow·calling·<a·href="system.html#al_install_system">al_install_system</a>·in·the·main·thread.·al_run_main·will·know·what·to·do·in·that·case.</p> |
177 | <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> | 177 | <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> |
178 | <p·class="timestamp"> | 178 | <p·class="timestamp"> |
179 | Allegro·version·5.2.4 | 179 | Allegro·version·5.2.4 |
180 | ·-·Last·updated:·2020-07-16·02: | 180 | ·-·Last·updated:·2020-07-16·02:59:54·UTC |
181 | </p> | 181 | </p> |
182 | </div> | 182 | </div> |
183 | </body> | 183 | </body> |
184 | </html> | 184 | </html> |
Offset 203, 12 lines modified | Offset 203, 12 lines modified | ||
203 | <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb7-1"·title="1"><span·class="dt">int</span>·al_get_num_video_adapters(<span·class="dt">void</span>)</a></code></pre></div> | 203 | <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb7-1"·title="1"><span·class="dt">int</span>·al_get_num_video_adapters(<span·class="dt">void</span>)</a></code></pre></div> |
204 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/monitor.c#L23">Source·Code</a></p> | 204 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/monitor.c#L23">Source·Code</a></p> |
205 | <p>Get·the·number·of·video·“adapters”·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> | 205 | <p>Get·the·number·of·video·“adapters”·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> |
206 | <p>On·Windows,·use·<a·href="display.html#al_set_new_display_flags">al_set_new_display_flags</a>·to·switch·between·Direct3D·and·OpenGL·backends,·which·will·often·have·different·adapters·available.</p> | 206 | <p>On·Windows,·use·<a·href="display.html#al_set_new_display_flags">al_set_new_display_flags</a>·to·switch·between·Direct3D·and·OpenGL·backends,·which·will·often·have·different·adapters·available.</p> |
207 | <p>See·also:·<a·href="monitor.html#al_get_monitor_info">al_get_monitor_info</a></p> | 207 | <p>See·also:·<a·href="monitor.html#al_get_monitor_info">al_get_monitor_info</a></p> |
208 | <p·class="timestamp"> | 208 | <p·class="timestamp"> |
209 | Allegro·version·5.2.4 | 209 | Allegro·version·5.2.4 |
210 | ·-·Last·updated:·2020-07-16·02: | 210 | ·-·Last·updated:·2020-07-16·02:59:54·UTC |
211 | </p> | 211 | </p> |
212 | </div> | 212 | </div> |
213 | </body> | 213 | </body> |
214 | </html> | 214 | </html> |
Offset 391, 12 lines modified | Offset 391, 12 lines modified | ||
391 | <p>Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program.</p> | 391 | <p>Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program.</p> |
392 | <blockquote> | 392 | <blockquote> |
393 | <p><em>Note:</em>·not·yet·implemented·on·Mac·OS·X.</p> | 393 | <p><em>Note:</em>·not·yet·implemented·on·Mac·OS·X.</p> |
394 | </blockquote> | 394 | </blockquote> |
395 | <p>See·also:·<a·href="mouse.html#al_grab_mouse">al_grab_mouse</a></p> | 395 | <p>See·also:·<a·href="mouse.html#al_grab_mouse">al_grab_mouse</a></p> |
396 | <p·class="timestamp"> | 396 | <p·class="timestamp"> |
397 | Allegro·version·5.2.4 | 397 | Allegro·version·5.2.4 |
398 | ·-·Last·updated:·2020-07-16·02: | 398 | ·-·Last·updated:·2020-07-16·02:59:56·UTC |
399 | </p> | 399 | </p> |
400 | </div> | 400 | </div> |
401 | </body> | 401 | </body> |
402 | </html> | 402 | </html> |
Offset 640, 12 lines modified | Offset 640, 12 lines modified | ||
640 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/menu.c#L829">Source·Code</a></p> | 640 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/menu.c#L829">Source·Code</a></p> |
641 | <p>Detaches·the·menu·associated·with·the·display·and·returns·it.·The·menu·can·then·be·used·on·a·different·display.</p> | 641 | <p>Detaches·the·menu·associated·with·the·display·and·returns·it.·The·menu·can·then·be·used·on·a·different·display.</p> |
642 | <p>If·you·simply·want·to·destroy·the·active·menu,·you·can·call·<a·href="native_dialog.html#al_set_display_menu">al_set_display_menu</a>·with·a·<code>NULL</code>·menu.</p> | 642 | <p>If·you·simply·want·to·destroy·the·active·menu,·you·can·call·<a·href="native_dialog.html#al_set_display_menu">al_set_display_menu</a>·with·a·<code>NULL</code>·menu.</p> |
643 | <p>Since:·5.1.0</p> | 643 | <p>Since:·5.1.0</p> |
644 | <p>See·also:·<a·href="native_dialog.html#al_set_display_menu">al_set_display_menu</a></p> | 644 | <p>See·also:·<a·href="native_dialog.html#al_set_display_menu">al_set_display_menu</a></p> |
645 | <p·class="timestamp"> | 645 | <p·class="timestamp"> |
646 | Allegro·version·5.2.4 | 646 | Allegro·version·5.2.4 |
647 | ·-·Last·updated:·2020-07-16·0 | 647 | ·-·Last·updated:·2020-07-16·03:00:18·UTC |
648 | </p> | 648 | </p> |
649 | </div> | 649 | </div> |
650 | </body> | 650 | </body> |
651 | </html> | 651 | </html> |
Offset 288, 12 lines modified | Offset 288, 12 lines modified | ||
288 | <p>You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section·like·this·in·allegro5.cfg:</p> | 288 | <p>You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section·like·this·in·allegro5.cfg:</p> |
289 | <div·class="sourceCode"·id="cb18"><pre·class="sourceCode·ini"><code·class="sourceCode·ini"><a·class="sourceLine"·id="cb18-1"·title="1"><span·class="kw">[opengl_disabled_extensions]</span></a> | 289 | <div·class="sourceCode"·id="cb18"><pre·class="sourceCode·ini"><code·class="sourceCode·ini"><a·class="sourceLine"·id="cb18-1"·title="1"><span·class="kw">[opengl_disabled_extensions]</span></a> |
290 | <a·class="sourceLine"·id="cb18-2"·title="2"><span·class="dt">GL_ARB_texture_non_power_of_two</span><span·class="ot">=</span><span·class="dv">0</span></a> | 290 | <a·class="sourceLine"·id="cb18-2"·title="2"><span·class="dt">GL_ARB_texture_non_power_of_two</span><span·class="ot">=</span><span·class="dv">0</span></a> |
291 | <a·class="sourceLine"·id="cb18-3"·title="3"><span·class="dt">GL_EXT_framebuffer_object</span><span·class="ot">=</span><span·class="dv">0</span></a></code></pre></div> | 291 | <a·class="sourceLine"·id="cb18-3"·title="3"><span·class="dt">GL_EXT_framebuffer_object</span><span·class="ot">=</span><span·class="dv">0</span></a></code></pre></div> |
292 | <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> | 292 | <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> |
293 | <p·class="timestamp"> | 293 | <p·class="timestamp"> |
294 | Allegro·version·5.2.4 | 294 | Allegro·version·5.2.4 |
295 | ·-·Last·updated:·2020-07-16·0 | 295 | ·-·Last·updated:·2020-07-16·03:00:11·UTC |
296 | </p> | 296 | </p> |
297 | </div> | 297 | </div> |
298 | </body> | 298 | </body> |
299 | </html> | 299 | </html> |
Offset 321, 12 lines modified | Offset 321, 12 lines modified | ||
321 | <h1·id="al_make_path_canonical">al_make_path_canonical</h1> | 321 | <h1·id="al_make_path_canonical">al_make_path_canonical</h1> |
322 | <div·class="sourceCode"·id="cb25"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb25-1"·title="1"><span·class="dt">bool</span>·al_make_path_canonical(ALLEGRO_PATH·*path)</a></code></pre></div> | 322 | <div·class="sourceCode"·id="cb25"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb25-1"·title="1"><span·class="dt">bool</span>·al_make_path_canonical(ALLEGRO_PATH·*path)</a></code></pre></div> |
323 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/path.c#L566">Source·Code</a></p> | 323 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/path.c#L566">Source·Code</a></p> |
324 | <p>Removes·any·leading·‘..’·directory·components·in·absolute·paths.·Removes·all·‘.’·directory·components.</p> | 324 | <p>Removes·any·leading·‘..’·directory·components·in·absolute·paths.·Removes·all·‘.’·directory·components.</p> |
325 | <p>Note·that·this·does·<em>not</em>·collapse·“x/../y”·sections·into·“y”.·This·is·by·design.·If·“/foo”·on·your·system·is·a·symlink·to·“/bar/baz”,·then·“/foo/../quux”·is·actually·“/bar/quux”,·not·“/quux”·as·a·naive·removal·of·“..”·components·would·give·you.</p> | 325 | <p>Note·that·this·does·<em>not</em>·collapse·“x/../y”·sections·into·“y”.·This·is·by·design.·If·“/foo”·on·your·system·is·a·symlink·to·“/bar/baz”,·then·“/foo/../quux”·is·actually·“/bar/quux”,·not·“/quux”·as·a·naive·removal·of·“..”·components·would·give·you.</p> |
326 | <p·class="timestamp"> | 326 | <p·class="timestamp"> |
327 | Allegro·version·5.2.4 | 327 | Allegro·version·5.2.4 |
328 | ·-·Last·updated:·2020-07-16·02: | 328 | ·-·Last·updated:·2020-07-16·02:59:56·UTC |
329 | </p> | 329 | </p> |
330 | </div> | 330 | </div> |
331 | </body> | 331 | </body> |
332 | </html> | 332 | </html> |
Offset 184, 12 lines modified | Offset 184, 12 lines modified | ||
184 | <p>See·also:·<a·href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p> | 184 | <p>See·also:·<a·href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p> |
185 | <h1·id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1> | 185 | <h1·id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1> |
186 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version(<span·class="dt">void</span>)</a></code></pre></div> | 186 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb3-1"·title="1"><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version(<span·class="dt">void</span>)</a></code></pre></div> |
187 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L304">Source·Code</a></p> | 187 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L304">Source·Code</a></p> |
188 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> | 188 | <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a·href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p> |
189 | <p·class="timestamp"> | 189 | <p·class="timestamp"> |
190 | Allegro·version·5.2.4 | 190 | Allegro·version·5.2.4 |
191 | ·-·Last·updated:·2020-07-16·0 | 191 | ·-·Last·updated:·2020-07-16·03:00:21·UTC |
192 | </p> | 192 | </p> |
193 | </div> | 193 | </div> |
194 | </body> | 194 | </body> |
195 | </html> | 195 | </html> |
Offset 306, 12 lines modified | Offset 306, 12 lines modified | ||
306 | <p>On·some·window·managers·(notably·Ubuntu’s·Unity)·al_set_display_icon·doesn’t·work·and·you·need·to·use·a·.desktop·file.·But·with·this·function·you·can·set·an·icon·before·calling·al_create_display.·This·works·by·setting·the·icon·before·XMapWindow.</p> | 306 | <p>On·some·window·managers·(notably·Ubuntu’s·Unity)·al_set_display_icon·doesn’t·work·and·you·need·to·use·a·.desktop·file.·But·with·this·function·you·can·set·an·icon·before·calling·al_create_display.·This·works·by·setting·the·icon·before·XMapWindow.</p> |
307 | <p>Since:·5.2.3</p> | 307 | <p>Since:·5.2.3</p> |
308 | <blockquote> | 308 | <blockquote> |
309 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·New·API.</p> | 309 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·New·API.</p> |
310 | </blockquote> | 310 | </blockquote> |
311 | <p·class="timestamp"> | 311 | <p·class="timestamp"> |
312 | Allegro·version·5.2.4 | 312 | Allegro·version·5.2.4 |
313 | ·-·Last·updated:·2020-07-16·0 | 313 | ·-·Last·updated:·2020-07-16·03:00:09·UTC |
314 | </p> | 314 | </p> |
315 | </div> | 315 | </div> |
316 | </body> | 316 | </body> |
317 | </html> | 317 | </html> |
Offset 1075, 12 lines modified | Offset 1075, 12 lines modified | ||
1075 | <li><p>ALLEGRO_PRIM_BUFFER_DYNAMIC·-·Hints·to·the·driver·that·the·buffer·is·written·to·often·and·is·used·often</p></li> | 1075 | <li><p>ALLEGRO_PRIM_BUFFER_DYNAMIC·-·Hints·to·the·driver·that·the·buffer·is·written·to·often·and·is·used·often</p></li> |
1076 | <li><p>ALLEGRO_PRIM_BUFFER_READWRITE·-·Specifies·that·you·want·to·be·able·read·from·this·buffer.·By·default·this·is·disabled·for·performance.·Some·platforms·(like·OpenGL·ES)·do·not·support·reading·from·vertex·buffers,·so·if·you·pass·this·flag·to·<code>al_create_vertex_buffer</code>·or·<code>al_create_index_buffer</code>·the·call·will·fail.</p></li> | 1076 | <li><p>ALLEGRO_PRIM_BUFFER_READWRITE·-·Specifies·that·you·want·to·be·able·read·from·this·buffer.·By·default·this·is·disabled·for·performance.·Some·platforms·(like·OpenGL·ES)·do·not·support·reading·from·vertex·buffers,·so·if·you·pass·this·flag·to·<code>al_create_vertex_buffer</code>·or·<code>al_create_index_buffer</code>·the·call·will·fail.</p></li> |
1077 | </ul> | 1077 | </ul> |
1078 | <p>Since:·5.1.3</p> | 1078 | <p>Since:·5.1.3</p> |
1079 | <p>See·also:·<a·href="primitives.html#al_create_vertex_buffer">al_create_vertex_buffer</a>,·<a·href="primitives.html#al_create_index_buffer">al_create_index_buffer</a></p> | 1079 | <p>See·also:·<a·href="primitives.html#al_create_vertex_buffer">al_create_vertex_buffer</a>,·<a·href="primitives.html#al_create_index_buffer">al_create_index_buffer</a></p> |
1080 | <p·class="timestamp"> | 1080 | <p·class="timestamp"> |
1081 | Allegro·version·5.2.4 | 1081 | Allegro·version·5.2.4 |
1082 | ·-·Last·updated:·2020-07-16·0 | 1082 | ·-·Last·updated:·2020-07-16·03:00:21·UTC |
1083 | </p> | 1083 | </p> |
1084 | </div> | 1084 | </div> |
1085 | </body> | 1085 | </body> |
1086 | </html> | 1086 | </html> |
Offset 403, 12 lines modified | Offset 403, 12 lines modified | ||
403 | <a·class="sourceLine"·id="cb21-2"·title="2">···ALLEGRO_SHADER_TYPE·type)</a></code></pre></div> | 403 | <a·class="sourceLine"·id="cb21-2"·title="2">···ALLEGRO_SHADER_TYPE·type)</a></code></pre></div> |
404 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/shader.c#L381">Source·Code</a></p> | 404 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/shader.c#L381">Source·Code</a></p> |
405 | <p>Returns·a·string·containing·the·source·code·to·Allegro’s·default·vertex·or·pixel·shader·appropriate·for·the·passed·platform.·The·ALLEGRO_SHADER_AUTO·value·means·GLSL·is·used·if·OpenGL·is·being·used·otherwise·HLSL.·ALLEGRO_SHADER_AUTO·requires·that·there·is·a·current·display·set·on·the·calling·thread.·This·function·can·return·NULL·if·Allegro·was·built·without·support·for·shaders·of·the·selected·platform.</p> | 405 | <p>Returns·a·string·containing·the·source·code·to·Allegro’s·default·vertex·or·pixel·shader·appropriate·for·the·passed·platform.·The·ALLEGRO_SHADER_AUTO·value·means·GLSL·is·used·if·OpenGL·is·being·used·otherwise·HLSL.·ALLEGRO_SHADER_AUTO·requires·that·there·is·a·current·display·set·on·the·calling·thread.·This·function·can·return·NULL·if·Allegro·was·built·without·support·for·shaders·of·the·selected·platform.</p> |
406 | <p>Since:·5.1.6</p> | 406 | <p>Since:·5.1.6</p> |
407 | <p>See·also:·<a·href="shader.html#al_attach_shader_source">al_attach_shader_source</a></p> | 407 | <p>See·also:·<a·href="shader.html#al_attach_shader_source">al_attach_shader_source</a></p> |
408 | <p·class="timestamp"> | 408 | <p·class="timestamp"> |
409 | Allegro·version·5.2.4 | 409 | Allegro·version·5.2.4 |
410 | ·-·Last·updated:·2020-07-16·0 | 410 | ·-·Last·updated:·2020-07-16·03:00:21·UTC |
411 | </p> | 411 | </p> |
412 | </div> | 412 | </div> |
413 | </body> | 413 | </body> |
414 | </html> | 414 | </html> |
Offset 227, 12 lines modified | Offset 227, 12 lines modified | ||
227 | <h1·id="al_set_errno">al_set_errno</h1> | 227 | <h1·id="al_set_errno">al_set_errno</h1> |
228 | <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb8-1"·title="1"><span·class="dt">void</span>·al_set_errno(<span·class="dt">int</span>·errnum)</a> | 228 | <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb8-1"·title="1"><span·class="dt">void</span>·al_set_errno(<span·class="dt">int</span>·errnum)</a> |
229 | <a·class="sourceLine"·id="cb8-2"·title="2">SETTER(allegro_errno,·errnum)</a></code></pre></div> | 229 | <a·class="sourceLine"·id="cb8-2"·title="2">SETTER(allegro_errno,·errnum)</a></code></pre></div> |
230 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L933">Source·Code</a></p> | 230 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L933">Source·Code</a></p> |
231 | <p>Set·the·error·number·for·the·calling·thread.</p> | 231 | <p>Set·the·error·number·for·the·calling·thread.</p> |
232 | <p·class="timestamp"> | 232 | <p·class="timestamp"> |
233 | Allegro·version·5.2.4 | 233 | Allegro·version·5.2.4 |
234 | ·-·Last·updated:·2020-07-16·02: | 234 | ·-·Last·updated:·2020-07-16·02:59:59·UTC |
235 | </p> | 235 | </p> |
236 | </div> | 236 | </div> |
237 | </body> | 237 | </body> |
238 | </html> | 238 | </html> |
Offset 556, 12 lines modified | Offset 556, 12 lines modified | ||
556 | <p>Returns·the·size·in·MB·of·the·random·access·memory·that·the·system·Allegro·is·running·on·has·and·which·could·be·detected,·or·a·negative·number·if·detection·failed.·Even·if·a·positive·number·is·returned,·it·might·be·that·it·is·not·correct.·For·example,·Allegro·running·on·a·virtual·machine·will·return·the·amount·of·RAM·of·the·VM,·and·not·that·of·the·underlying·system.</p> | 556 | <p>Returns·the·size·in·MB·of·the·random·access·memory·that·the·system·Allegro·is·running·on·has·and·which·could·be·detected,·or·a·negative·number·if·detection·failed.·Even·if·a·positive·number·is·returned,·it·might·be·that·it·is·not·correct.·For·example,·Allegro·running·on·a·virtual·machine·will·return·the·amount·of·RAM·of·the·VM,·and·not·that·of·the·underlying·system.</p> |
557 | <p>Furthermore·even·if·the·number·is·correct,·this·only·gives·you·information·about·the·total·physical·memory·of·the·system·Allegro·runs·on.·The·memory·available·to·your·program·may·be·less·or·more·than·what·this·function·returns·due·to·circumstances·such·as·virtual·memory,·and·other·programs·that·are·currently·running.</p> | 557 | <p>Furthermore·even·if·the·number·is·correct,·this·only·gives·you·information·about·the·total·physical·memory·of·the·system·Allegro·runs·on.·The·memory·available·to·your·program·may·be·less·or·more·than·what·this·function·returns·due·to·circumstances·such·as·virtual·memory,·and·other·programs·that·are·currently·running.</p> |
558 | <p>Therefore,·it’s·best·to·use·this·for·advisory·purposes·only.·It·is·certainly·a·bad·idea·to·make·your·program·exclusive·to·systems·for·which·this·function·returns·a·certain·“desirable”·number.</p> | 558 | <p>Therefore,·it’s·best·to·use·this·for·advisory·purposes·only.·It·is·certainly·a·bad·idea·to·make·your·program·exclusive·to·systems·for·which·this·function·returns·a·certain·“desirable”·number.</p> |
559 | <p>This·function·may·be·called·prior·to·<a·href="system.html#al_install_system">al_install_system</a>·or·<a·href="system.html#al_init">al_init</a>.</p> | 559 | <p>This·function·may·be·called·prior·to·<a·href="system.html#al_install_system">al_install_system</a>·or·<a·href="system.html#al_init">al_init</a>.</p> |
560 | <p>Since:·5.1.12</p> | 560 | <p>Since:·5.1.12</p> |
561 | <p·class="timestamp"> | 561 | <p·class="timestamp"> |
562 | Allegro·version·5.2.4 | 562 | Allegro·version·5.2.4 |
563 | ·-·Last·updated:·2020-07-16·0 | 563 | ·-·Last·updated:·2020-07-16·03:00:00·UTC |
564 | </p> | 564 | </p> |
565 | </div> | 565 | </div> |
566 | </body> | 566 | </body> |
567 | </html> | 567 | </html> |
Offset 313, 12 lines modified | Offset 313, 12 lines modified | ||
313 | <div·class="sourceCode"·id="cb23"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb23-1"·title="1"><span·class="dt">void</span>·al_signal_cond(ALLEGRO_COND·*cond)</a></code></pre></div> | 313 | <div·class="sourceCode"·id="cb23"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb23-1"·title="1"><span·class="dt">void</span>·al_signal_cond(ALLEGRO_COND·*cond)</a></code></pre></div> |
314 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/threads.c#L395">Source·Code</a></p> | 314 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/threads.c#L395">Source·Code</a></p> |
315 | <p>Unblock·at·least·one·thread·waiting·on·a·condition·variable.</p> | 315 | <p>Unblock·at·least·one·thread·waiting·on·a·condition·variable.</p> |
316 | <p>Generally·you·should·use·<a·href="threads.html#al_broadcast_cond">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> | 316 | <p>Generally·you·should·use·<a·href="threads.html#al_broadcast_cond">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> |
317 | <p>See·also:·<a·href="threads.html#al_broadcast_cond">al_broadcast_cond</a>.</p> | 317 | <p>See·also:·<a·href="threads.html#al_broadcast_cond">al_broadcast_cond</a>.</p> |
318 | <p·class="timestamp"> | 318 | <p·class="timestamp"> |
319 | Allegro·version·5.2.4 | 319 | Allegro·version·5.2.4 |
320 | ·-·Last·updated:·2020-07-16·0 | 320 | ·-·Last·updated:·2020-07-16·03:00:04·UTC |
321 | </p> | 321 | </p> |
322 | </div> | 322 | </div> |
323 | </body> | 323 | </body> |
324 | </html> | 324 | </html> |
Offset 187, 12 lines modified | Offset 187, 12 lines modified | ||
187 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb5-1"·title="1"><span·class="dt">void</span>·al_rest(<span·class="dt">double</span>·seconds)</a></code></pre></div> | 187 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb5-1"·title="1"><span·class="dt">void</span>·al_rest(<span·class="dt">double</span>·seconds)</a></code></pre></div> |
188 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/unix/utime.c#L63">Source·Code</a></p> | 188 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/unix/utime.c#L63">Source·Code</a></p> |
189 | <p>Waits·for·the·specified·number·of·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> | 189 | <p>Waits·for·the·specified·number·of·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> |
190 | <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb6-1"·title="1">al_rest(<span·class="fl">0.000001</span>)</a></code></pre></div> | 190 | <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb6-1"·title="1">al_rest(<span·class="fl">0.000001</span>)</a></code></pre></div> |
191 | <p>might·pause·for·something·like·10ms.·Also·see·the·section·on·Timer·routines·for·easier·ways·to·time·your·program·without·using·up·all·CPU.</p> | 191 | <p>might·pause·for·something·like·10ms.·Also·see·the·section·on·Timer·routines·for·easier·ways·to·time·your·program·without·using·up·all·CPU.</p> |
192 | <p·class="timestamp"> | 192 | <p·class="timestamp"> |
193 | Allegro·version·5.2.4 | 193 | Allegro·version·5.2.4 |
194 | ·-·Last·updated:·2020-07-16·0 | 194 | ·-·Last·updated:·2020-07-16·03:00:05·UTC |
195 | </p> | 195 | </p> |
196 | </div> | 196 | </div> |
197 | </body> | 197 | </body> |
198 | </html> | 198 | </html> |
Offset 262, 12 lines modified | Offset 262, 12 lines modified | ||
262 | <p>See·also:·<a·href="timer.html#al_get_timer_speed">al_get_timer_speed</a></p> | 262 | <p>See·also:·<a·href="timer.html#al_get_timer_speed">al_get_timer_speed</a></p> |
263 | <h1·id="al_get_timer_event_source">al_get_timer_event_source</h1> | 263 | <h1·id="al_get_timer_event_source">al_get_timer_event_source</h1> |
264 | <div·class="sourceCode"·id="cb19"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb19-1"·title="1">ALLEGRO_EVENT_SOURCE·*al_get_timer_event_source(ALLEGRO_TIMER·*timer)</a></code></pre></div> | 264 | <div·class="sourceCode"·id="cb19"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb19-1"·title="1">ALLEGRO_EVENT_SOURCE·*al_get_timer_event_source(ALLEGRO_TIMER·*timer)</a></code></pre></div> |
265 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/timernu.c#L436">Source·Code</a></p> | 265 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/timernu.c#L436">Source·Code</a></p> |
266 | <p>Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type·<a·href="events.html#allegro_event_timer">ALLEGRO_EVENT_TIMER</a>.</p> | 266 | <p>Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type·<a·href="events.html#allegro_event_timer">ALLEGRO_EVENT_TIMER</a>.</p> |
267 | <p·class="timestamp"> | 267 | <p·class="timestamp"> |
268 | Allegro·version·5.2.4 | 268 | Allegro·version·5.2.4 |
269 | ·-·Last·updated:·2020-07-16·0 | 269 | ·-·Last·updated:·2020-07-16·03:00:06·UTC |
270 | </p> | 270 | </p> |
271 | </div> | 271 | </div> |
272 | </body> | 272 | </body> |
273 | </html> | 273 | </html> |
Offset 290, 12 lines modified | Offset 290, 12 lines modified | ||
290 | <p>See·also:·<a·href="events.html#allegro_event_source">ALLEGRO_EVENT_SOURCE</a>,·<a·href="events.html#al_register_event_source">al_register_event_source</a></p> | 290 | <p>See·also:·<a·href="events.html#allegro_event_source">ALLEGRO_EVENT_SOURCE</a>,·<a·href="events.html#al_register_event_source">al_register_event_source</a></p> |
291 | <p>Since:·5.1.0</p> | 291 | <p>Since:·5.1.0</p> |
292 | <blockquote> | 292 | <blockquote> |
293 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·Seems·of·limited·value,·as·touch·input·tends·to·have·different·semantics·compared·to·mouse·input.</p> | 293 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·Seems·of·limited·value,·as·touch·input·tends·to·have·different·semantics·compared·to·mouse·input.</p> |
294 | </blockquote> | 294 | </blockquote> |
295 | <p·class="timestamp"> | 295 | <p·class="timestamp"> |
296 | Allegro·version·5.2.4 | 296 | Allegro·version·5.2.4 |
297 | ·-·Last·updated:·2020-07-16·0 | 297 | ·-·Last·updated:·2020-07-16·03:00:06·UTC |
298 | </p> | 298 | </p> |
299 | </div> | 299 | </div> |
300 | </body> | 300 | </body> |
301 | </html> | 301 | </html> |
Offset 533, 12 lines modified | Offset 533, 12 lines modified | ||
533 | <li>trans·-·Transformation·to·alter</li> | 533 | <li>trans·-·Transformation·to·alter</li> |
534 | <li>theta·-·Rotation·angle·in·radians</li> | 534 | <li>theta·-·Rotation·angle·in·radians</li> |
535 | </ul> | 535 | </ul> |
536 | <p>Since:·5.1.7</p> | 536 | <p>Since:·5.1.7</p> |
537 | <p>See·also:·<a·href="transformations.html#al_horizontal_shear_transform">al_horizontal_shear_transform</a></p> | 537 | <p>See·also:·<a·href="transformations.html#al_horizontal_shear_transform">al_horizontal_shear_transform</a></p> |
538 | <p·class="timestamp"> | 538 | <p·class="timestamp"> |
539 | Allegro·version·5.2.4 | 539 | Allegro·version·5.2.4 |
540 | ·-·Last·updated:·2020-07-16·0 | 540 | ·-·Last·updated:·2020-07-16·03:00:09·UTC |
541 | </p> | 541 | </p> |
542 | </div> | 542 | </div> |
543 | </body> | 543 | </body> |
544 | </html> | 544 | </html> |
Offset 705, 12 lines modified | Offset 705, 12 lines modified | ||
705 | <div·class="sourceCode"·id="cb72"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb72-1"·title="1"><span·class="dt">size_t</span>·al_utf16_encode(<span·class="dt">uint16_t</span>·s[],·<span·class="dt">int32_t</span>·c)</a></code></pre></div> | 705 | <div·class="sourceCode"·id="cb72"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb72-1"·title="1"><span·class="dt">size_t</span>·al_utf16_encode(<span·class="dt">uint16_t</span>·s[],·<span·class="dt">int32_t</span>·c)</a></code></pre></div> |
706 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/utf8.c#L1067">Source·Code</a></p> | 706 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/utf8.c#L1067">Source·Code</a></p> |
707 | <p>Encode·the·specified·code·point·to·UTF-16·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> | 707 | <p>Encode·the·specified·code·point·to·UTF-16·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> |
708 | <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> | 708 | <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> |
709 | <p>See·also:·<a·href="utf8.html#al_utf8_encode">al_utf8_encode</a>,·<a·href="utf8.html#al_ustr_encode_utf16">al_ustr_encode_utf16</a></p> | 709 | <p>See·also:·<a·href="utf8.html#al_utf8_encode">al_utf8_encode</a>,·<a·href="utf8.html#al_ustr_encode_utf16">al_ustr_encode_utf16</a></p> |
710 | <p·class="timestamp"> | 710 | <p·class="timestamp"> |
711 | Allegro·version·5.2.4 | 711 | Allegro·version·5.2.4 |
712 | ·-·Last·updated:·2020-07-16·0 | 712 | ·-·Last·updated:·2020-07-16·03:00:09·UTC |
713 | </p> | 713 | </p> |
714 | </div> | 714 | </div> |
715 | </body> | 715 | </body> |
716 | </html> | 716 | </html> |
Offset 311, 12 lines modified | Offset 311, 12 lines modified | ||
311 | <h1·id="al_seek_video">al_seek_video</h1> | 311 | <h1·id="al_seek_video">al_seek_video</h1> |
312 | <div·class="sourceCode"·id="cb21"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb21-1"·title="1"><span·class="dt">bool</span>·al_seek_video(ALLEGRO_VIDEO·*video,·<span·class="dt">double</span>·pos_in_seconds)</a></code></pre></div> | 312 | <div·class="sourceCode"·id="cb21"><pre·class="sourceCode·c"><code·class="sourceCode·c"><a·class="sourceLine"·id="cb21-1"·title="1"><span·class="dt">bool</span>·al_seek_video(ALLEGRO_VIDEO·*video,·<span·class="dt">double</span>·pos_in_seconds)</a></code></pre></div> |
313 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L215">Source·Code</a></p> | 313 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L215">Source·Code</a></p> |
314 | <p>Seek·to·a·different·position·in·the·video.·Currently·only·seeking·to·the·beginning·of·the·video·is·supported.</p> | 314 | <p>Seek·to·a·different·position·in·the·video.·Currently·only·seeking·to·the·beginning·of·the·video·is·supported.</p> |
315 | <p>Since:·5.1.0</p> | 315 | <p>Since:·5.1.0</p> |
316 | <p·class="timestamp"> | 316 | <p·class="timestamp"> |
317 | Allegro·version·5.2.4 | 317 | Allegro·version·5.2.4 |
318 | ·-·Last·updated:·2020-07-16·0 | 318 | ·-·Last·updated:·2020-07-16·03:00:22·UTC |
319 | </p> | 319 | </p> |
320 | </div> | 320 | </div> |
321 | </body> | 321 | </body> |
322 | </html> | 322 | </html> |