Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | ·c | 1 | ·bcf0195c45d78731916d091cca87af7e·1358332·doc·optional·allegro5-doc_5.2.6.0-3_all.deb |
2 | ·5d735a4880b6ff34eb760e75c41dff33·15716·libdevel·optional·liballegro-acodec5-dev_5.2.6.0-3_armhf.deb | 2 | ·5d735a4880b6ff34eb760e75c41dff33·15716·libdevel·optional·liballegro-acodec5-dev_5.2.6.0-3_armhf.deb |
3 | ·3c981c2131c061c48835c1c53ec87a51·56132·debug·optional·liballegro-acodec5.2-dbgsym_5.2.6.0-3_armhf.deb | 3 | ·3c981c2131c061c48835c1c53ec87a51·56132·debug·optional·liballegro-acodec5.2-dbgsym_5.2.6.0-3_armhf.deb |
4 | ·b055769281f43f29e228c50306de0255·32624·libs·optional·liballegro-acodec5.2_5.2.6.0-3_armhf.deb | 4 | ·b055769281f43f29e228c50306de0255·32624·libs·optional·liballegro-acodec5.2_5.2.6.0-3_armhf.deb |
5 | ·bee81e47226bdbeac9640f35f773b90c·18376·libdevel·optional·liballegro-audio5-dev_5.2.6.0-3_armhf.deb | 5 | ·bee81e47226bdbeac9640f35f773b90c·18376·libdevel·optional·liballegro-audio5-dev_5.2.6.0-3_armhf.deb |
6 | ·0f8f54ec407b5560b4830e72ac11d110·96924·debug·optional·liballegro-audio5.2-dbgsym_5.2.6.0-3_armhf.deb | 6 | ·0f8f54ec407b5560b4830e72ac11d110·96924·debug·optional·liballegro-audio5.2-dbgsym_5.2.6.0-3_armhf.deb |
7 | ·d2052927fb178bf02d131543831dff7b·50540·libs·optional·liballegro-audio5.2_5.2.6.0-3_armhf.deb | 7 | ·d2052927fb178bf02d131543831dff7b·50540·libs·optional·liballegro-audio5.2_5.2.6.0-3_armhf.deb |
8 | ·6540ee84aea4605064a80a0fa18e4131·16800·libdevel·optional·liballegro-dialog5-dev_5.2.6.0-3_armhf.deb | 8 | ·6540ee84aea4605064a80a0fa18e4131·16800·libdevel·optional·liballegro-dialog5-dev_5.2.6.0-3_armhf.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2020-11-27·12:02:04.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-11-27·12:02:04.000000·debian-binary |
2 | -rw-r--r--···0········0········0····30 | 2 | -rw-r--r--···0········0········0····30720·2020-11-27·12:02:04.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··13274 | 3 | -rw-r--r--···0········0········0··1327420·2020-11-27·12:02:04.000000·data.tar.xz |
Offset 190, 12 lines modified | Offset 190, 12 lines modified | ||
190 | <p>Since:·5.2.6</p> | 190 | <p>Since:·5.2.6</p> |
191 | <h1·id="al_get_allegro_acodec_version">al_get_allegro_acodec_version</h1> | 191 | <h1·id="al_get_allegro_acodec_version">al_get_allegro_acodec_version</h1> |
192 | <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version(<span·class="dt">void</span>)</span></code></pre></div> | 192 | <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version(<span·class="dt">void</span>)</span></code></pre></div> |
193 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L13">Source·Code</a></p> | 193 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L13">Source·Code</a></p> |
194 | <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> | 194 | <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> |
195 | <p·class="timestamp"> | 195 | <p·class="timestamp"> |
196 | Allegro·version·5.2.6 | 196 | Allegro·version·5.2.6 |
197 | ·-·Last·updated:·2024-01-06·20: | 197 | ·-·Last·updated:·2024-01-06·20:34:26·UTC |
198 | </p> | 198 | </p> |
199 | </div> | 199 | </div> |
200 | </body> | 200 | </body> |
201 | </html> | 201 | </html> |
Offset 78, 8 lines modified | Offset 78, 8 lines modified | ||
78 | Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns·false. | 78 | Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns·false. |
79 | Since:·5.2.6 | 79 | Since:·5.2.6 |
80 | ******·al_get_allegro_acodec_version·****** | 80 | ******·al_get_allegro_acodec_version·****** |
81 | uint32_t·al_get_allegro_acodec_version(void) | 81 | uint32_t·al_get_allegro_acodec_version(void) |
82 | Source_Code | 82 | Source_Code |
83 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as | 83 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as |
84 | al_get_allegro_version. | 84 | al_get_allegro_version. |
85 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 85 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:26·UTC |
Offset 1444, 12 lines modified | Offset 1444, 12 lines modified | ||
1444 | <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> | 1444 | <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> |
1445 | <p>Since:·5.1.1</p> | 1445 | <p>Since:·5.1.1</p> |
1446 | <blockquote> | 1446 | <blockquote> |
1447 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·The·API·may·need·a·slight·redesign.</p> | 1447 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·The·API·may·need·a·slight·redesign.</p> |
1448 | </blockquote> | 1448 | </blockquote> |
1449 | <p·class="timestamp"> | 1449 | <p·class="timestamp"> |
1450 | Allegro·version·5.2.6 | 1450 | Allegro·version·5.2.6 |
1451 | ·-·Last·updated:·2024-01-06·20: | 1451 | ·-·Last·updated:·2024-01-06·20:34:26·UTC |
1452 | </p> | 1452 | </p> |
1453 | </div> | 1453 | </div> |
1454 | </body> | 1454 | </body> |
1455 | </html> | 1455 | </html> |
Offset 1603, 8 lines modified | Offset 1603, 8 lines modified | ||
1603 | Source_Code | 1603 | Source_Code |
1604 | Destroys·the·audio·recorder·and·frees·all·resources·associated·with·it.·It·is | 1604 | Destroys·the·audio·recorder·and·frees·all·resources·associated·with·it.·It·is |
1605 | safe·to·destroy·a·recorder·that·is·recording. | 1605 | safe·to·destroy·a·recorder·that·is·recording. |
1606 | You·may·receive·events·after·the·recorder·has·been·destroyed.·They·must·be | 1606 | You·may·receive·events·after·the·recorder·has·been·destroyed.·They·must·be |
1607 | ignored,·as·the·fragment·buffer·will·no·longer·be·valid. | 1607 | ignored,·as·the·fragment·buffer·will·no·longer·be·valid. |
1608 | Since:·5.1.1 | 1608 | Since:·5.1.1 |
1609 | ·····Unstable_API:·The·API·may·need·a·slight·redesign. | 1609 | ·····Unstable_API:·The·API·may·need·a·slight·redesign. |
1610 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 1610 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:26·UTC |
Offset 478, 12 lines modified | Offset 478, 12 lines modified | ||
478 | <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> | 478 | <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> |
479 | <h1·id="al_is_color_valid">al_is_color_valid</h1> | 479 | <h1·id="al_is_color_valid">al_is_color_valid</h1> |
480 | <p><a·href="">Source·Code</a></p> | 480 | <p><a·href="">Source·Code</a></p> |
481 | <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> | 481 | <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> |
482 | <p>Since:·5.2.3</p> | 482 | <p>Since:·5.2.3</p> |
483 | <p·class="timestamp"> | 483 | <p·class="timestamp"> |
484 | Allegro·version·5.2.6 | 484 | Allegro·version·5.2.6 |
485 | ·-·Last·updated:·2024-01-06·20: | 485 | ·-·Last·updated:·2024-01-06·20:34:27·UTC |
486 | </p> | 486 | </p> |
487 | </div> | 487 | </div> |
488 | </body> | 488 | </body> |
489 | </html> | 489 | </html> |
Offset 415, 8 lines modified | Offset 415, 8 lines modified | ||
415 | ******·al_is_color_valid·****** | 415 | ******·al_is_color_valid·****** |
416 | Source·Code | 416 | Source·Code |
417 | Checks·if·all·components·of·the·color·are·between·0·and·1.·Some·of·the·color | 417 | Checks·if·all·components·of·the·color·are·between·0·and·1.·Some·of·the·color |
418 | conversions·in·this·addon·support·color·spaces·with·more·colors·than·can·be | 418 | conversions·in·this·addon·support·color·spaces·with·more·colors·than·can·be |
419 | represented·in·sRGB·and·when·converted·to·RGB·will·result·in·invalid·color | 419 | represented·in·sRGB·and·when·converted·to·RGB·will·result·in·invalid·color |
420 | components·outside·the·0..1·range. | 420 | components·outside·the·0..1·range. |
421 | Since:·5.2.3 | 421 | Since:·5.2.3 |
422 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 422 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:27·UTC |
Offset 323, 12 lines modified | Offset 323, 12 lines modified | ||
323 | <h1·id="al_merge_config_into">al_merge_config_into</h1> | 323 | <h1·id="al_merge_config_into">al_merge_config_into</h1> |
324 | <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb24-1"><a·href="#cb24-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_merge_config_into(ALLEGRO_CONFIG·*master,·<span·class="dt">const</span>·ALLEGRO_CONFIG·*add)</span></code></pre></div> | 324 | <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb24-1"><a·href="#cb24-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_merge_config_into(ALLEGRO_CONFIG·*master,·<span·class="dt">const</span>·ALLEGRO_CONFIG·*add)</span></code></pre></div> |
325 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/config.c#L515">Source·Code</a></p> | 325 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/config.c#L515">Source·Code</a></p> |
326 | <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> | 326 | <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> |
327 | <p>See·also:·<a·href="config.html#al_merge_config">al_merge_config</a></p> | 327 | <p>See·also:·<a·href="config.html#al_merge_config">al_merge_config</a></p> |
328 | <p·class="timestamp"> | 328 | <p·class="timestamp"> |
329 | Allegro·version·5.2.6 | 329 | Allegro·version·5.2.6 |
330 | ·-·Last·updated:·2024-01-06·20: | 330 | ·-·Last·updated:·2024-01-06·20:32:51·UTC |
331 | </p> | 331 | </p> |
332 | </div> | 332 | </div> |
333 | </body> | 333 | </body> |
334 | </html> | 334 | </html> |
Offset 253, 8 lines modified | Offset 253, 8 lines modified | ||
253 | ******·al_merge_config_into·****** | 253 | ******·al_merge_config_into·****** |
254 | void·al_merge_config_into(ALLEGRO_CONFIG·*master,·const·ALLEGRO_CONFIG·*add) | 254 | void·al_merge_config_into(ALLEGRO_CONFIG·*master,·const·ALLEGRO_CONFIG·*add) |
255 | Source_Code | 255 | Source_Code |
256 | Merge·one·configuration·structure·into·another.·Values·in·configuration | 256 | Merge·one·configuration·structure·into·another.·Values·in·configuration |
257 | âaddâ·override·those·in·âmasterâ.·âmasterâ·is·modified.·Comments | 257 | âaddâ·override·those·in·âmasterâ.·âmasterâ·is·modified.·Comments |
258 | from·âaddâ·are·not·retained. | 258 | from·âaddâ·are·not·retained. |
259 | See·also:·al_merge_config | 259 | See·also:·al_merge_config |
260 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 260 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:32:51·UTC |
Offset 240, 12 lines modified | Offset 240, 12 lines modified | ||
240 | <span·id="cb11-2"><a·href="#cb11-2"·aria-hidden="true"></a>···<span·class="dt">void</span>·(*callback)(ALLEGRO_DISPLAY·*display))</span></code></pre></div> | 240 | <span·id="cb11-2"><a·href="#cb11-2"·aria-hidden="true"></a>···<span·class="dt">void</span>·(*callback)(ALLEGRO_DISPLAY·*display))</span></code></pre></div> |
241 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/win/d3d_disp.cpp#L227">Source·Code</a></p> | 241 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/win/d3d_disp.cpp#L227">Source·Code</a></p> |
242 | <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> | 242 | <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> |
243 | <p>Pass·NULL·to·disable·the·callback.</p> | 243 | <p>Pass·NULL·to·disable·the·callback.</p> |
244 | <p>Since:·5.1.0</p> | 244 | <p>Since:·5.1.0</p> |
245 | <p·class="timestamp"> | 245 | <p·class="timestamp"> |
246 | Allegro·version·5.2.6 | 246 | Allegro·version·5.2.6 |
247 | ·-·Last·updated:·2024-01-06·20: | 247 | ·-·Last·updated:·2024-01-06·20:34:22·UTC |
248 | </p> | 248 | </p> |
249 | </div> | 249 | </div> |
250 | </body> | 250 | </body> |
251 | </html> | 251 | </html> |
Offset 130, 8 lines modified | Offset 130, 8 lines modified | ||
130 | ···void·(*callback)(ALLEGRO_DISPLAY·*display)) | 130 | ···void·(*callback)(ALLEGRO_DISPLAY·*display)) |
131 | Source_Code | 131 | Source_Code |
132 | The·callback·will·be·called·whenever·a·D3D·device·that·has·been·reset·is | 132 | The·callback·will·be·called·whenever·a·D3D·device·that·has·been·reset·is |
133 | restored.·In·the·callback·you·should·restore·any·d3d·resources·you·have·created | 133 | restored.·In·the·callback·you·should·restore·any·d3d·resources·you·have·created |
134 | yourself.·The·callback·receives·the·affected·display·as·a·parameter. | 134 | yourself.·The·callback·receives·the·affected·display·as·a·parameter. |
135 | Pass·NULL·to·disable·the·callback. | 135 | Pass·NULL·to·disable·the·callback. |
136 | Since:·5.1.0 | 136 | Since:·5.1.0 |
137 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 137 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:22·UTC |
Offset 686, 12 lines modified | Offset 686, 12 lines modified | ||
686 | <div·class="sourceCode"·id="cb46"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb46-1"><a·href="#cb46-1"·aria-hidden="true"></a><span·class="dt">bool</span>·al_clipboard_has_text(ALLEGRO_DISPLAY·*display)</span></code></pre></div> | 686 | <div·class="sourceCode"·id="cb46"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb46-1"><a·href="#cb46-1"·aria-hidden="true"></a><span·class="dt">bool</span>·al_clipboard_has_text(ALLEGRO_DISPLAY·*display)</span></code></pre></div> |
687 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/clipboard.c#L64">Source·Code</a></p> | 687 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/clipboard.c#L64">Source·Code</a></p> |
688 | <p>This·function·returns·true·if·and·only·if·the·clipboard·has·text·available.</p> | 688 | <p>This·function·returns·true·if·and·only·if·the·clipboard·has·text·available.</p> |
689 | <p>Since:·5.1.12</p> | 689 | <p>Since:·5.1.12</p> |
690 | <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> | 690 | <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> |
691 | <p·class="timestamp"> | 691 | <p·class="timestamp"> |
692 | Allegro·version·5.2.6 | 692 | Allegro·version·5.2.6 |
693 | ·-·Last·updated:·2024-01-06·20: | 693 | ·-·Last·updated:·2024-01-06·20:32:57·UTC |
694 | </p> | 694 | </p> |
695 | </div> | 695 | </div> |
696 | </body> | 696 | </body> |
697 | </html> | 697 | </html> |
Offset 704, 8 lines modified | Offset 704, 8 lines modified | ||
704 | See·also:·al_get_clipboard_text,·al_clipboard_has_text | 704 | See·also:·al_get_clipboard_text,·al_clipboard_has_text |
705 | *****·al_clipboard_has_text·***** | 705 | *****·al_clipboard_has_text·***** |
706 | bool·al_clipboard_has_text(ALLEGRO_DISPLAY·*display) | 706 | bool·al_clipboard_has_text(ALLEGRO_DISPLAY·*display) |
707 | Source_Code | 707 | Source_Code |
708 | This·function·returns·true·if·and·only·if·the·clipboard·has·text·available. | 708 | This·function·returns·true·if·and·only·if·the·clipboard·has·text·available. |
709 | Since:·5.1.12 | 709 | Since:·5.1.12 |
710 | See·also:·al_set_clipboard_text,·al_get_clipboard_text | 710 | See·also:·al_set_clipboard_text,·al_get_clipboard_text |
711 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 711 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:32:57·UTC |
Offset 867, 12 lines modified | Offset 867, 12 lines modified | ||
867 | <h1·id="al_set_event_source_data">al_set_event_source_data</h1> | 867 | <h1·id="al_set_event_source_data">al_set_event_source_data</h1> |
868 | <div·class="sourceCode"·id="cb33"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb33-1"><a·href="#cb33-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·<span·class="dt">intptr_t</span>·data)</span></code></pre></div> | 868 | <div·class="sourceCode"·id="cb33"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb33-1"><a·href="#cb33-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·<span·class="dt">intptr_t</span>·data)</span></code></pre></div> |
869 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/evtsrc.c#L264">Source·Code</a></p> | 869 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/evtsrc.c#L264">Source·Code</a></p> |
870 | <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> | 870 | <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> |
871 | <p>See·also:·<a·href="events.html#al_get_event_source_data">al_get_event_source_data</a></p> | 871 | <p>See·also:·<a·href="events.html#al_get_event_source_data">al_get_event_source_data</a></p> |
872 | <p·class="timestamp"> | 872 | <p·class="timestamp"> |
873 | Allegro·version·5.2.6 | 873 | Allegro·version·5.2.6 |
874 | ·-·Last·updated:·2024-01-06·20: | 874 | ·-·Last·updated:·2024-01-06·20:33:04·UTC |
875 | </p> | 875 | </p> |
876 | </div> | 876 | </div> |
877 | </body> | 877 | </body> |
878 | </html> | 878 | </html> |
Offset 754, 8 lines modified | Offset 754, 8 lines modified | ||
754 | ******·al_set_event_source_data·****** | 754 | ******·al_set_event_source_data·****** |
755 | void·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·intptr_t·data) | 755 | void·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·intptr_t·data) |
756 | Source_Code | 756 | Source_Code |
757 | Assign·the·abstract·user·data·to·the·event·source.·Allegro·does·not·use·the | 757 | Assign·the·abstract·user·data·to·the·event·source.·Allegro·does·not·use·the |
758 | data·internally·for·anything;·it·is·simply·meant·as·a·convenient·way·to | 758 | data·internally·for·anything;·it·is·simply·meant·as·a·convenient·way·to |
759 | associate·your·own·data·or·objects·with·events. | 759 | associate·your·own·data·or·objects·with·events. |
760 | See·also:·al_get_event_source_data | 760 | See·also:·al_get_event_source_data |
761 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 761 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:04·UTC |
Offset 513, 12 lines modified | Offset 513, 12 lines modified | ||
513 | <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> | 513 | <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> |
514 | <h2·id="al_get_file_userdata">al_get_file_userdata</h2> | 514 | <h2·id="al_get_file_userdata">al_get_file_userdata</h2> |
515 | <div·class="sourceCode"·id="cb44"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb44-1"><a·href="#cb44-1"·aria-hidden="true"></a><span·class="dt">void</span>·*al_get_file_userdata(ALLEGRO_FILE·*f)</span></code></pre></div> | 515 | <div·class="sourceCode"·id="cb44"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb44-1"><a·href="#cb44-1"·aria-hidden="true"></a><span·class="dt">void</span>·*al_get_file_userdata(ALLEGRO_FILE·*f)</span></code></pre></div> |
516 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/file.c#L533">Source·Code</a></p> | 516 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/file.c#L533">Source·Code</a></p> |
517 | <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> | 517 | <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> |
518 | <p·class="timestamp"> | 518 | <p·class="timestamp"> |
519 | Allegro·version·5.2.6 | 519 | Allegro·version·5.2.6 |
520 | ·-·Last·updated:·2024-01-06·20: | 520 | ·-·Last·updated:·2024-01-06·20:33:10·UTC |
521 | </p> | 521 | </p> |
522 | </div> | 522 | </div> |
523 | </body> | 523 | </body> |
524 | </html> | 524 | </html> |
Offset 474, 8 lines modified | Offset 474, 8 lines modified | ||
474 | finished·with·it. | 474 | finished·with·it. |
475 | See·also:·al_fopen,·al_fclose,·al_set_new_file_interface | 475 | See·also:·al_fopen,·al_fclose,·al_set_new_file_interface |
476 | *****·al_get_file_userdata·***** | 476 | *****·al_get_file_userdata·***** |
477 | void·*al_get_file_userdata(ALLEGRO_FILE·*f) | 477 | void·*al_get_file_userdata(ALLEGRO_FILE·*f) |
478 | Source_Code | 478 | Source_Code |
479 | Returns·a·pointer·to·the·custom·userdata·that·is·attached·to·the·file·handle. | 479 | Returns·a·pointer·to·the·custom·userdata·that·is·attached·to·the·file·handle. |
480 | This·is·intended·to·be·used·by·functions·that·extend·ALLEGRO_FILE_INTERFACE. | 480 | This·is·intended·to·be·used·by·functions·that·extend·ALLEGRO_FILE_INTERFACE. |
481 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 481 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:10·UTC |
Offset 478, 12 lines modified | Offset 478, 12 lines modified | ||
478 | <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> | 478 | <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> |
479 | <h2·id="al_fixhypot">al_fixhypot</h2> | 479 | <h2·id="al_fixhypot">al_fixhypot</h2> |
480 | <div·class="sourceCode"·id="cb42"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb42-1"><a·href="#cb42-1"·aria-hidden="true"></a>al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y)</span></code></pre></div> | 480 | <div·class="sourceCode"·id="cb42"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb42-1"><a·href="#cb42-1"·aria-hidden="true"></a>al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y)</span></code></pre></div> |
481 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source·Code</a></p> | 481 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source·Code</a></p> |
482 | <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> | 482 | <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> |
483 | <p·class="timestamp"> | 483 | <p·class="timestamp"> |
484 | Allegro·version·5.2.6 | 484 | Allegro·version·5.2.6 |
485 | ·-·Last·updated:·2024-01-06·20: | 485 | ·-·Last·updated:·2024-01-06·20:33:16·UTC |
486 | </p> | 486 | </p> |
487 | </div> | 487 | </div> |
488 | </body> | 488 | </body> |
489 | </html> | 489 | </html> |
Offset 439, 8 lines modified | Offset 439, 8 lines modified | ||
439 | errno·is·set·to·EDOM·and·the·function·returns·zero. | 439 | errno·is·set·to·EDOM·and·the·function·returns·zero. |
440 | *****·al_fixhypot·***** | 440 | *****·al_fixhypot·***** |
441 | al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y) | 441 | al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y) |
442 | Source_Code | 442 | Source_Code |
443 | Fixed·point·hypotenuse·(returns·the·square·root·of·x*x·+·y*y).·This·should·be | 443 | Fixed·point·hypotenuse·(returns·the·square·root·of·x*x·+·y*y).·This·should·be |
444 | better·than·calculating·the·formula·yourself·manually,·since·the·error·is·much | 444 | better·than·calculating·the·formula·yourself·manually,·since·the·error·is·much |
445 | smaller. | 445 | smaller. |
446 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 446 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:16·UTC |
Offset 725, 12 lines modified | Offset 725, 12 lines modified | ||
725 | <p>Since:·5.2.1</p> | 725 | <p>Since:·5.2.1</p> |
726 | <blockquote> | 726 | <blockquote> |
727 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> | 727 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> |
728 | </blockquote> | 728 | </blockquote> |
729 | <p>See·also:·<a·href="font.html#allegro_glyph">ALLEGRO_GLYPH</a></p> | 729 | <p>See·also:·<a·href="font.html#allegro_glyph">ALLEGRO_GLYPH</a></p> |
730 | <p·class="timestamp"> | 730 | <p·class="timestamp"> |
731 | Allegro·version·5.2.6 | 731 | Allegro·version·5.2.6 |
732 | ·-·Last·updated:·2024-01-06·20: | 732 | ·-·Last·updated:·2024-01-06·20:34:31·UTC |
733 | </p> | 733 | </p> |
734 | </div> | 734 | </div> |
735 | </body> | 735 | </body> |
736 | </html> | 736 | </html> |
Offset 752, 8 lines modified | Offset 752, 8 lines modified | ||
752 | yourself.·prev_codepoint·is·the·codepoint·in·the·string·before·the·one·you·want | 752 | yourself.·prev_codepoint·is·the·codepoint·in·the·string·before·the·one·you·want |
753 | to·draw·and·is·used·for·kerning.·codepoint·is·the·character·you·want·to·get | 753 | to·draw·and·is·used·for·kerning.·codepoint·is·the·character·you·want·to·get |
754 | info·about.·You·should·clear·the·âglyphâ·structure·to·0·with·memset·before | 754 | info·about.·You·should·clear·the·âglyphâ·structure·to·0·with·memset·before |
755 | passing·it·to·this·function·for·future·compatibility. | 755 | passing·it·to·this·function·for·future·compatibility. |
756 | Since:·5.2.1 | 756 | Since:·5.2.1 |
757 | ·····Unstable_API:·This·API·is·new·and·subject·to·refinement. | 757 | ·····Unstable_API:·This·API·is·new·and·subject·to·refinement. |
758 | See·also:·ALLEGRO_GLYPH | 758 | See·also:·ALLEGRO_GLYPH |
759 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 759 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:31·UTC |
Offset 400, 12 lines modified | Offset 400, 12 lines modified | ||
400 | <h2·id="al_get_fs_interface">al_get_fs_interface</h2> | 400 | <h2·id="al_get_fs_interface">al_get_fs_interface</h2> |
401 | <div·class="sourceCode"·id="cb30"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb30-1"><a·href="#cb30-1"·aria-hidden="true"></a><span·class="dt">const</span>·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(<span·class="dt">void</span>)</span></code></pre></div> | 401 | <div·class="sourceCode"·id="cb30"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb30-1"><a·href="#cb30-1"·aria-hidden="true"></a><span·class="dt">const</span>·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(<span·class="dt">void</span>)</span></code></pre></div> |
402 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L874">Source·Code</a></p> | 402 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L874">Source·Code</a></p> |
403 | <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> | 403 | <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> |
404 | <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> | 404 | <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> |
405 | <p·class="timestamp"> | 405 | <p·class="timestamp"> |
406 | Allegro·version·5.2.6 | 406 | Allegro·version·5.2.6 |
407 | ·-·Last·updated:·2024-01-06·20: | 407 | ·-·Last·updated:·2024-01-06·20:33:23·UTC |
408 | </p> | 408 | </p> |
409 | </div> | 409 | </div> |
410 | </body> | 410 | </body> |
411 | </html> | 411 | </html> |
Offset 337, 8 lines modified | Offset 337, 8 lines modified | ||
337 | See·also:·al_set_fs_interface. | 337 | See·also:·al_set_fs_interface. |
338 | *****·al_get_fs_interface·***** | 338 | *****·al_get_fs_interface·***** |
339 | const·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(void) | 339 | const·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(void) |
340 | Source_Code | 340 | Source_Code |
341 | Return·a·pointer·to·the·ALLEGRO_FS_INTERFACE·table·in·effect·for·the·calling | 341 | Return·a·pointer·to·the·ALLEGRO_FS_INTERFACE·table·in·effect·for·the·calling |
342 | thread. | 342 | thread. |
343 | See·also:·al_store_state,·al_restore_state. | 343 | See·also:·al_store_state,·al_restore_state. |
344 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 344 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:23·UTC |
Offset 191, 12 lines modified | Offset 191, 12 lines modified | ||
191 | <h1·id="al_get_num_display_modes">al_get_num_display_modes</h1> | 191 | <h1·id="al_get_num_display_modes">al_get_num_display_modes</h1> |
192 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"></a><span·class="dt">int</span>·al_get_num_display_modes(<span·class="dt">void</span>)</span></code></pre></div> | 192 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"></a><span·class="dt">int</span>·al_get_num_display_modes(<span·class="dt">void</span>)</span></code></pre></div> |
193 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/fullscreen_mode.c#L23">Source·Code</a></p> | 193 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/fullscreen_mode.c#L23">Source·Code</a></p> |
194 | <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> | 194 | <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> |
195 | <p>See·also:·<a·href="fullscreen_mode.html#al_get_display_mode">al_get_display_mode</a></p> | 195 | <p>See·also:·<a·href="fullscreen_mode.html#al_get_display_mode">al_get_display_mode</a></p> |
196 | <p·class="timestamp"> | 196 | <p·class="timestamp"> |
197 | Allegro·version·5.2.6 | 197 | Allegro·version·5.2.6 |
198 | ·-·Last·updated:·2024-01-06·20: | 198 | ·-·Last·updated:·2024-01-06·20:33:28·UTC |
199 | </p> | 199 | </p> |
200 | </div> | 200 | </div> |
201 | </body> | 201 | </body> |
202 | </html> | 202 | </html> |
Offset 81, 8 lines modified | Offset 81, 8 lines modified | ||
81 | Source_Code | 81 | Source_Code |
82 | Get·the·number·of·available·fullscreen·display·modes·for·the·current·set·of | 82 | Get·the·number·of·available·fullscreen·display·modes·for·the·current·set·of |
83 | display·parameters.·This·will·use·the·values·set·with | 83 | display·parameters.·This·will·use·the·values·set·with |
84 | al_set_new_display_refresh_rate,·and·al_set_new_display_flags·to·find·the | 84 | al_set_new_display_refresh_rate,·and·al_set_new_display_flags·to·find·the |
85 | number·of·modes·that·match.·Settings·the·new·display·parameters·to·zero·will | 85 | number·of·modes·that·match.·Settings·the·new·display·parameters·to·zero·will |
86 | give·a·list·of·all·modes·for·the·default·driver. | 86 | give·a·list·of·all·modes·for·the·default·driver. |
87 | See·also:·al_get_display_mode | 87 | See·also:·al_get_display_mode |
88 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 88 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:28·UTC |
Offset 183, 12 lines modified | Offset 183, 12 lines modified | ||
183 | <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> | 183 | <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> |
184 | <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> | 184 | <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> |
185 | <h1·id="not-the-end">Not·the·end</h1> | 185 | <h1·id="not-the-end">Not·the·end</h1> |
186 | <p>There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.</p> | 186 | <p>There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.</p> |
187 | <p>Enjoy!</p> | 187 | <p>Enjoy!</p> |
188 | <p·class="timestamp"> | 188 | <p·class="timestamp"> |
189 | Allegro·version·5.2.6 | 189 | Allegro·version·5.2.6 |
190 | ·-·Last·updated:·2024-01-06·20: | 190 | ·-·Last·updated:·2024-01-06·20:32:46·UTC |
191 | </p> | 191 | </p> |
192 | </div> | 192 | </div> |
193 | </body> | 193 | </body> |
194 | </html> | 194 | </html> |
Offset 195, 8 lines modified | Offset 195, 8 lines modified | ||
195 | including·Allegroâs·headers. | 195 | including·Allegroâs·headers. |
196 | Note·that·when·you·define·that·macro,·the·version·check·performed·by | 196 | Note·that·when·you·define·that·macro,·the·version·check·performed·by |
197 | al_install_system·and·al_init·becomes·more·scrict.·See·documentation·of·those | 197 | al_install_system·and·al_init·becomes·more·scrict.·See·documentation·of·those |
198 | functions·for·details. | 198 | functions·for·details. |
199 | ******·Not·the·end·****** | 199 | ******·Not·the·end·****** |
200 | Thereâs·a·heap·of·stuff·we·havenât·even·mentioned·yet. | 200 | Thereâs·a·heap·of·stuff·we·havenât·even·mentioned·yet. |
201 | Enjoy! | 201 | Enjoy! |
202 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 202 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:32:46·UTC |
Offset 1492, 12 lines modified | Offset 1492, 12 lines modified | ||
1492 | <p>Since:·5.2.1</p> | 1492 | <p>Since:·5.2.1</p> |
1493 | <blockquote> | 1493 | <blockquote> |
1494 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> | 1494 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·This·API·is·new·and·subject·to·refinement.</p> |
1495 | </blockquote> | 1495 | </blockquote> |
1496 | <p>See·also:·<a·href="graphics.html#al_backup_dirty_bitmap">al_backup_dirty_bitmap</a></p> | 1496 | <p>See·also:·<a·href="graphics.html#al_backup_dirty_bitmap">al_backup_dirty_bitmap</a></p> |
1497 | <p·class="timestamp"> | 1497 | <p·class="timestamp"> |
1498 | Allegro·version·5.2.6 | 1498 | Allegro·version·5.2.6 |
1499 | ·-·Last·updated:·2024-01-06·20: | 1499 | ·-·Last·updated:·2024-01-06·20:33:33·UTC |
1500 | </p> | 1500 | </p> |
1501 | </div> | 1501 | </div> |
1502 | </body> | 1502 | </body> |
1503 | </html> | 1503 | </html> |
Offset 1731, 8 lines modified | Offset 1731, 8 lines modified | ||
1731 | *****·al_backup_dirty_bitmaps·***** | 1731 | *****·al_backup_dirty_bitmaps·***** |
1732 | void·al_backup_dirty_bitmaps(ALLEGRO_DISPLAY·*display) | 1732 | void·al_backup_dirty_bitmaps(ALLEGRO_DISPLAY·*display) |
1733 | Source_Code | 1733 | Source_Code |
1734 | Backs·up·all·of·a·displayâs·bitmaps·to·system·memory. | 1734 | Backs·up·all·of·a·displayâs·bitmaps·to·system·memory. |
1735 | Since:·5.2.1 | 1735 | Since:·5.2.1 |
1736 | ·····Unstable_API:·This·API·is·new·and·subject·to·refinement. | 1736 | ·····Unstable_API:·This·API·is·new·and·subject·to·refinement. |
1737 | See·also:·al_backup_dirty_bitmap | 1737 | See·also:·al_backup_dirty_bitmap |
1738 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 1738 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:33·UTC |
Offset 568, 12 lines modified | Offset 568, 12 lines modified | ||
568 | <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> | 568 | <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> |
569 | <p>Since:·5.1.8</p> | 569 | <p>Since:·5.1.8</p> |
570 | <blockquote> | 570 | <blockquote> |
571 | <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> | 571 | <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> |
572 | </blockquote> | 572 | </blockquote> |
573 | <p·class="timestamp"> | 573 | <p·class="timestamp"> |
574 | Allegro·version·5.2.6 | 574 | Allegro·version·5.2.6 |
575 | ·-·Last·updated:·2024-01-06·20: | 575 | ·-·Last·updated:·2024-01-06·20:33:33·UTC |
576 | </p> | 576 | </p> |
577 | </div> | 577 | </div> |
578 | </body> | 578 | </body> |
579 | </html> | 579 | </html> |
Offset 670, 8 lines modified | Offset 670, 8 lines modified | ||
670 | again·manually·in·this·case.·However,·if·true·is·returned,·it·is·necessary·to | 670 | again·manually·in·this·case.·However,·if·true·is·returned,·it·is·necessary·to |
671 | call·al_release_haptic_effect·when·the·effect·isnât·needed·anymore,·to | 671 | call·al_release_haptic_effect·when·the·effect·isnât·needed·anymore,·to |
672 | prevent·the·amount·of·available·effects·on·the·haptic·device·from·running·out. | 672 | prevent·the·amount·of·available·effects·on·the·haptic·device·from·running·out. |
673 | Since:·5.1.8 | 673 | Since:·5.1.8 |
674 | ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for | 674 | ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for |
675 | ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting | 675 | ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting |
676 | ·····feedback·from·users. | 676 | ·····feedback·from·users. |
677 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 677 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:33·UTC |
Offset 190, 12 lines modified | Offset 190, 12 lines modified | ||
190 | <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> | 190 | <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> |
191 | <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1> | 191 | <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1> |
192 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_image_version(<span·class="dt">void</span>)</span></code></pre></div> | 192 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_image_version(<span·class="dt">void</span>)</span></code></pre></div> |
193 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L185">Source·Code</a></p> | 193 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L185">Source·Code</a></p> |
194 | <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> | 194 | <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> |
195 | <p·class="timestamp"> | 195 | <p·class="timestamp"> |
196 | Allegro·version·5.2.6 | 196 | Allegro·version·5.2.6 |
197 | ·-·Last·updated:·2024-01-06·20: | 197 | ·-·Last·updated:·2024-01-06·20:34:34·UTC |
198 | </p> | 198 | </p> |
199 | </div> | 199 | </div> |
200 | </body> | 200 | </body> |
201 | </html> | 201 | </html> |
Offset 83, 8 lines modified | Offset 83, 8 lines modified | ||
83 | Shut·down·the·image·addon.·This·is·done·automatically·at·program·exit,·but·can | 83 | Shut·down·the·image·addon.·This·is·done·automatically·at·program·exit,·but·can |
84 | be·called·any·time·the·user·wishes·as·well. | 84 | be·called·any·time·the·user·wishes·as·well. |
85 | ******·al_get_allegro_image_version·****** | 85 | ******·al_get_allegro_image_version·****** |
86 | uint32_t·al_get_allegro_image_version(void) | 86 | uint32_t·al_get_allegro_image_version(void) |
87 | Source_Code | 87 | Source_Code |
88 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as | 88 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as |
89 | al_get_allegro_version. | 89 | al_get_allegro_version. |
90 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 90 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:34·UTC |
Offset 154, 12 lines modified | Offset 154, 12 lines modified | ||
154 | <li><a·href="native_dialog.html">Native·dialogs·addon</a></li> | 154 | <li><a·href="native_dialog.html">Native·dialogs·addon</a></li> |
155 | <li><a·href="physfs.html">PhysicsFS·addon</a></li> | 155 | <li><a·href="physfs.html">PhysicsFS·addon</a></li> |
156 | <li><a·href="primitives.html">Primitives·addon</a></li> | 156 | <li><a·href="primitives.html">Primitives·addon</a></li> |
157 | <li><a·href="video.html">Video·streaming·addon</a></li> | 157 | <li><a·href="video.html">Video·streaming·addon</a></li> |
158 | </ul> | 158 | </ul> |
159 | <p·class="timestamp"> | 159 | <p·class="timestamp"> |
160 | Allegro·version·5.2.6 | 160 | Allegro·version·5.2.6 |
161 | ·-·Last·updated:·2024-01-06·20: | 161 | ·-·Last·updated:·2024-01-06·20:34:50·UTC |
162 | </p> | 162 | </p> |
163 | </div> | 163 | </div> |
164 | </body> | 164 | </body> |
165 | </html> | 165 | </html> |
Offset 88, 8 lines modified | Offset 88, 8 lines modified | ||
88 | ····*·Image_I/O_addon | 88 | ····*·Image_I/O_addon |
89 | ····*·Main_addon | 89 | ····*·Main_addon |
90 | ····*·Memfile_addon | 90 | ····*·Memfile_addon |
91 | ····*·Native_dialogs_addon | 91 | ····*·Native_dialogs_addon |
92 | ····*·PhysicsFS_addon | 92 | ····*·PhysicsFS_addon |
93 | ····*·Primitives_addon | 93 | ····*·Primitives_addon |
94 | ····*·Video_streaming_addon | 94 | ····*·Video_streaming_addon |
95 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 95 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:50·UTC |
Offset 1287, 12 lines modified | Offset 1287, 12 lines modified | ||
1287 | <li><a·href="platform.html#al_win_add_window_callback">al_win_add_window_callback</a>·<!--·--></li> | 1287 | <li><a·href="platform.html#al_win_add_window_callback">al_win_add_window_callback</a>·<!--·--></li> |
1288 | <li><a·href="platform.html#al_win_remove_window_callback">al_win_remove_window_callback</a>·<!--·--></li> | 1288 | <li><a·href="platform.html#al_win_remove_window_callback">al_win_remove_window_callback</a>·<!--·--></li> |
1289 | <li><a·href="platform.html#al_x_set_initial_icon">al_x_set_initial_icon</a>·<!--·--></li> | 1289 | <li><a·href="platform.html#al_x_set_initial_icon">al_x_set_initial_icon</a>·<!--·--></li> |
1290 | <li><a·href="platform.html#iphone">iPhone</a>·<!--·--></li> | 1290 | <li><a·href="platform.html#iphone">iPhone</a>·<!--·--></li> |
1291 | </ul> | 1291 | </ul> |
1292 | <p·class="timestamp"> | 1292 | <p·class="timestamp"> |
1293 | Allegro·version·5.2.6 | 1293 | Allegro·version·5.2.6 |
1294 | ·-·Last·updated:·2024-01-06·20: | 1294 | ·-·Last·updated:·2024-01-06·20:34:50·UTC |
1295 | </p> | 1295 | </p> |
1296 | </div> | 1296 | </div> |
1297 | </body> | 1297 | </body> |
1298 | </html> | 1298 | </html> |
Offset 1230, 8 lines modified | Offset 1230, 8 lines modified | ||
1230 | ····*·al_wait_for_event_timed | 1230 | ····*·al_wait_for_event_timed |
1231 | ····*·al_wait_for_event_until | 1231 | ····*·al_wait_for_event_until |
1232 | ····*·al_wait_for_vsync | 1232 | ····*·al_wait_for_vsync |
1233 | ····*·al_win_add_window_callback | 1233 | ····*·al_win_add_window_callback |
1234 | ····*·al_win_remove_window_callback | 1234 | ····*·al_win_remove_window_callback |
1235 | ····*·al_x_set_initial_icon | 1235 | ····*·al_x_set_initial_icon |
1236 | ····*·iPhone | 1236 | ····*·iPhone |
1237 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 1237 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:50·UTC |
Offset 305, 12 lines modified | Offset 305, 12 lines modified | ||
305 | <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> | 305 | <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> |
306 | <h1·id="al_get_joystick_event_source">al_get_joystick_event_source</h1> | 306 | <h1·id="al_get_joystick_event_source">al_get_joystick_event_source</h1> |
307 | <div·class="sourceCode"·id="cb23"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb23-1"><a·href="#cb23-1"·aria-hidden="true"></a>ALLEGRO_EVENT_SOURCE·*al_get_joystick_event_source(<span·class="dt">void</span>)</span></code></pre></div> | 307 | <div·class="sourceCode"·id="cb23"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb23-1"><a·href="#cb23-1"·aria-hidden="true"></a>ALLEGRO_EVENT_SOURCE·*al_get_joystick_event_source(<span·class="dt">void</span>)</span></code></pre></div> |
308 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/joynu.c#L114">Source·Code</a></p> | 308 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/joynu.c#L114">Source·Code</a></p> |
309 | <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> | 309 | <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> |
310 | <p·class="timestamp"> | 310 | <p·class="timestamp"> |
311 | Allegro·version·5.2.6 | 311 | Allegro·version·5.2.6 |
312 | ·-·Last·updated:·2024-01-06·20: | 312 | ·-·Last·updated:·2024-01-06·20:33:39·UTC |
313 | </p> | 313 | </p> |
314 | </div> | 314 | </div> |
315 | </body> | 315 | </body> |
316 | </html> | 316 | </html> |
Offset 228, 8 lines modified | Offset 228, 8 lines modified | ||
228 | See·also:·ALLEGRO_JOYSTICK_STATE,·al_get_joystick_num_buttons, | 228 | See·also:·ALLEGRO_JOYSTICK_STATE,·al_get_joystick_num_buttons, |
229 | al_get_joystick_num_axes | 229 | al_get_joystick_num_axes |
230 | ******·al_get_joystick_event_source·****** | 230 | ******·al_get_joystick_event_source·****** |
231 | ALLEGRO_EVENT_SOURCE·*al_get_joystick_event_source(void) | 231 | ALLEGRO_EVENT_SOURCE·*al_get_joystick_event_source(void) |
232 | Source_Code | 232 | Source_Code |
233 | Returns·the·global·joystick·event·source.·All·joystick_events·are·generated·by | 233 | Returns·the·global·joystick·event·source.·All·joystick_events·are·generated·by |
234 | this·event·source. | 234 | this·event·source. |
235 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 235 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:39·UTC |
Offset 344, 12 lines modified | Offset 344, 12 lines modified | ||
344 | <h1·id="al_get_keyboard_event_source">al_get_keyboard_event_source</h1> | 344 | <h1·id="al_get_keyboard_event_source">al_get_keyboard_event_source</h1> |
345 | <div·class="sourceCode"·id="cb14"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb14-1"><a·href="#cb14-1"·aria-hidden="true"></a>ALLEGRO_EVENT_SOURCE·*al_get_keyboard_event_source(<span·class="dt">void</span>)</span></code></pre></div> | 345 | <div·class="sourceCode"·id="cb14"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb14-1"><a·href="#cb14-1"·aria-hidden="true"></a>ALLEGRO_EVENT_SOURCE·*al_get_keyboard_event_source(<span·class="dt">void</span>)</span></code></pre></div> |
346 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/keybdnu.c#L293">Source·Code</a></p> | 346 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/keybdnu.c#L293">Source·Code</a></p> |
347 | <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> | 347 | <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> |
348 | <p>Returns·NULL·if·the·keyboard·subsystem·was·not·installed.</p> | 348 | <p>Returns·NULL·if·the·keyboard·subsystem·was·not·installed.</p> |
349 | <p·class="timestamp"> | 349 | <p·class="timestamp"> |
350 | Allegro·version·5.2.6 | 350 | Allegro·version·5.2.6 |
351 | ·-·Last·updated:·2024-01-06·20: | 351 | ·-·Last·updated:·2024-01-06·20:33:43·UTC |
352 | </p> | 352 | </p> |
353 | </div> | 353 | </div> |
354 | </body> | 354 | </body> |
355 | </html> | 355 | </html> |
Offset 244, 8 lines modified | Offset 244, 8 lines modified | ||
244 | current·keyboard·driver·cannot·set·LED·indicators. | 244 | current·keyboard·driver·cannot·set·LED·indicators. |
245 | ******·al_get_keyboard_event_source·****** | 245 | ******·al_get_keyboard_event_source·****** |
246 | ALLEGRO_EVENT_SOURCE·*al_get_keyboard_event_source(void) | 246 | ALLEGRO_EVENT_SOURCE·*al_get_keyboard_event_source(void) |
247 | Source_Code | 247 | Source_Code |
248 | Retrieve·the·keyboard·event·source.·All·keyboard_events·are·generated·by·this | 248 | Retrieve·the·keyboard·event·source.·All·keyboard_events·are·generated·by·this |
249 | event·source. | 249 | event·source. |
250 | Returns·NULL·if·the·keyboard·subsystem·was·not·installed. | 250 | Returns·NULL·if·the·keyboard·subsystem·was·not·installed. |
251 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 251 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:43·UTC |
Offset 165, 12 lines modified | Offset 165, 12 lines modified | ||
165 | <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> | 165 | <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> |
166 | <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> | 166 | <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> |
167 | <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"></a><span·class="dt">int</span>·main(<span·class="dt">int</span>·argc,·<span·class="dt">char</span>·**argv)</span></code></pre></div> | 167 | <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"></a><span·class="dt">int</span>·main(<span·class="dt">int</span>·argc,·<span·class="dt">char</span>·**argv)</span></code></pre></div> |
168 | <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> | 168 | <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> |
169 | <p>Link·with·allegro_main.</p> | 169 | <p>Link·with·allegro_main.</p> |
170 | <p·class="timestamp"> | 170 | <p·class="timestamp"> |
171 | Allegro·version·5.2.6 | 171 | Allegro·version·5.2.6 |
172 | ·-·Last·updated:·2024-01-06·20: | 172 | ·-·Last·updated:·2024-01-06·20:34:37·UTC |
173 | </p> | 173 | </p> |
174 | </div> | 174 | </div> |
175 | </body> | 175 | </body> |
176 | </html> | 176 | </html> |
Offset 56, 8 lines modified | Offset 56, 8 lines modified | ||
56 | If·the·user·main·function·is·defined·in·C++,·then·it·must·have·the·following | 56 | If·the·user·main·function·is·defined·in·C++,·then·it·must·have·the·following |
57 | signature·for·this·addon·to·work: | 57 | signature·for·this·addon·to·work: |
58 | int·main(int·argc,·char·**argv) | 58 | int·main(int·argc,·char·**argv) |
59 | This·addon·does·nothing·on·platforms·that·donât·require·its·functionality, | 59 | This·addon·does·nothing·on·platforms·that·donât·require·its·functionality, |
60 | but·you·should·keep·it·in·mind·in·case·you·need·to·port·to·platforms·that·do | 60 | but·you·should·keep·it·in·mind·in·case·you·need·to·port·to·platforms·that·do |
61 | require·it. | 61 | require·it. |
62 | Link·with·allegro_main. | 62 | Link·with·allegro_main. |
63 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 63 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:37·UTC |
Offset 178, 12 lines modified | Offset 178, 12 lines modified | ||
178 | <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> | 178 | <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> |
179 | <h1·id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1> | 179 | <h1·id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1> |
180 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version(<span·class="dt">void</span>)</span></code></pre></div> | 180 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version(<span·class="dt">void</span>)</span></code></pre></div> |
181 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source·Code</a></p> | 181 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source·Code</a></p> |
182 | <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> | 182 | <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> |
183 | <p·class="timestamp"> | 183 | <p·class="timestamp"> |
184 | Allegro·version·5.2.6 | 184 | Allegro·version·5.2.6 |
185 | ·-·Last·updated:·2024-01-06·20: | 185 | ·-·Last·updated:·2024-01-06·20:34:37·UTC |
186 | </p> | 186 | </p> |
187 | </div> | 187 | </div> |
188 | </body> | 188 | </body> |
189 | </html> | 189 | </html> |
Offset 66, 8 lines modified | Offset 66, 8 lines modified | ||
66 | It·should·be·closed·with·al_fclose.·After·the·file·is·closed,·you·are | 66 | It·should·be·closed·with·al_fclose.·After·the·file·is·closed,·you·are |
67 | responsible·for·freeing·the·memory·(if·needed). | 67 | responsible·for·freeing·the·memory·(if·needed). |
68 | ******·al_get_allegro_memfile_version·****** | 68 | ******·al_get_allegro_memfile_version·****** |
69 | uint32_t·al_get_allegro_memfile_version(void) | 69 | uint32_t·al_get_allegro_memfile_version(void) |
70 | Source_Code | 70 | Source_Code |
71 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as | 71 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as |
72 | al_get_allegro_version. | 72 | al_get_allegro_version. |
73 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 73 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:37·UTC |
Offset 245, 12 lines modified | Offset 245, 12 lines modified | ||
245 | <div·class="sourceCode"·id="cb12"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb12-1"><a·href="#cb12-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE·*memory_interface)</span></code></pre></div> | 245 | <div·class="sourceCode"·id="cb12"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb12-1"><a·href="#cb12-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE·*memory_interface)</span></code></pre></div> |
246 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/memory.c#L29">Source·Code</a></p> | 246 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/memory.c#L29">Source·Code</a></p> |
247 | <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> | 247 | <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> |
248 | <p>If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.</p> | 248 | <p>If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.</p> |
249 | <p>See·also:·<a·href="memory.html#allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</a></p> | 249 | <p>See·also:·<a·href="memory.html#allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</a></p> |
250 | <p·class="timestamp"> | 250 | <p·class="timestamp"> |
251 | Allegro·version·5.2.6 | 251 | Allegro·version·5.2.6 |
252 | ·-·Last·updated:·2024-01-06·20: | 252 | ·-·Last·updated:·2024-01-06·20:33:44·UTC |
253 | </p> | 253 | </p> |
254 | </div> | 254 | </div> |
255 | </body> | 255 | </body> |
256 | </html> | 256 | </html> |
Offset 139, 8 lines modified | Offset 139, 8 lines modified | ||
139 | Source_Code | 139 | Source_Code |
140 | Override·the·memory·management·functions·with·implementations·of | 140 | Override·the·memory·management·functions·with·implementations·of |
141 | al_malloc_with_context,·al_free_with_context,·al_realloc_with_context·and | 141 | al_malloc_with_context,·al_free_with_context,·al_realloc_with_context·and |
142 | al_calloc_with_context.·The·context·arguments·may·be·used·for·debugging.·The | 142 | al_calloc_with_context.·The·context·arguments·may·be·used·for·debugging.·The |
143 | new·functions·should·be·thread·safe. | 143 | new·functions·should·be·thread·safe. |
144 | If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored. | 144 | If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored. |
145 | See·also:·ALLEGRO_MEMORY_INTERFACE | 145 | See·also:·ALLEGRO_MEMORY_INTERFACE |
146 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 146 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:44·UTC |
Offset 176, 12 lines modified | Offset 176, 12 lines modified | ||
176 | <h1·id="al_run_main">al_run_main</h1> | 176 | <h1·id="al_run_main">al_run_main</h1> |
177 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"></a><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>·**))</span></code></pre></div> | 177 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"></a><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>·**))</span></code></pre></div> |
178 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/allegro.c#L36">Source·Code</a></p> | 178 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/allegro.c#L36">Source·Code</a></p> |
179 | <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> | 179 | <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> |
180 | <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> | 180 | <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> |
181 | <p·class="timestamp"> | 181 | <p·class="timestamp"> |
182 | Allegro·version·5.2.6 | 182 | Allegro·version·5.2.6 |
183 | ·-·Last·updated:·2024-01-06·20: | 183 | ·-·Last·updated:·2024-01-06·20:33:48·UTC |
184 | </p> | 184 | </p> |
185 | </div> | 185 | </div> |
186 | </body> | 186 | </body> |
187 | </html> | 187 | </html> |
Offset 62, 8 lines modified | Offset 62, 8 lines modified | ||
62 | This·function·is·useful·in·cases·where·you·donât·have·a·main()·function·but | 62 | This·function·is·useful·in·cases·where·you·donât·have·a·main()·function·but |
63 | want·to·run·Allegro·(mostly·useful·in·a·wrapper·library).·Under·Windows·and | 63 | want·to·run·Allegro·(mostly·useful·in·a·wrapper·library).·Under·Windows·and |
64 | Linux·this·is·no·problem·because·you·simply·can·call·al_install_system.·But | 64 | Linux·this·is·no·problem·because·you·simply·can·call·al_install_system.·But |
65 | some·other·system·(like·OSX)·donât·allow·calling·al_install_system·in·the | 65 | some·other·system·(like·OSX)·donât·allow·calling·al_install_system·in·the |
66 | main·thread.·al_run_main·will·know·what·to·do·in·that·case. | 66 | main·thread.·al_run_main·will·know·what·to·do·in·that·case. |
67 | The·passed·argc·and·argv·will·simply·be·passed·on·to·user_main·and·the·return | 67 | The·passed·argc·and·argv·will·simply·be·passed·on·to·user_main·and·the·return |
68 | value·of·user_main·will·be·returned. | 68 | value·of·user_main·will·be·returned. |
69 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 69 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:48·UTC |
Offset 213, 12 lines modified | Offset 213, 12 lines modified | ||
213 | <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"></a><span·class="dt">int</span>·al_get_num_video_adapters(<span·class="dt">void</span>)</span></code></pre></div> | 213 | <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"></a><span·class="dt">int</span>·al_get_num_video_adapters(<span·class="dt">void</span>)</span></code></pre></div> |
214 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/monitor.c#L23">Source·Code</a></p> | 214 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/monitor.c#L23">Source·Code</a></p> |
215 | <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> | 215 | <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> |
216 | <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> | 216 | <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> |
217 | <p>See·also:·<a·href="monitor.html#al_get_monitor_info">al_get_monitor_info</a></p> | 217 | <p>See·also:·<a·href="monitor.html#al_get_monitor_info">al_get_monitor_info</a></p> |
218 | <p·class="timestamp"> | 218 | <p·class="timestamp"> |
219 | Allegro·version·5.2.6 | 219 | Allegro·version·5.2.6 |
220 | ·-·Last·updated:·2024-01-06·20: | 220 | ·-·Last·updated:·2024-01-06·20:33:52·UTC |
221 | </p> | 221 | </p> |
222 | </div> | 222 | </div> |
223 | </body> | 223 | </body> |
224 | </html> | 224 | </html> |
Offset 106, 8 lines modified | Offset 106, 8 lines modified | ||
106 | Source_Code | 106 | Source_Code |
107 | Get·the·number·of·video·âadaptersâ·attached·to·the·computer.·Each·video | 107 | Get·the·number·of·video·âadaptersâ·attached·to·the·computer.·Each·video |
108 | card·attached·to·the·computer·counts·as·one·or·more·adapters.·An·adapter·is | 108 | card·attached·to·the·computer·counts·as·one·or·more·adapters.·An·adapter·is |
109 | thus·really·a·video·port·that·can·have·a·monitor·connected·to·it. | 109 | thus·really·a·video·port·that·can·have·a·monitor·connected·to·it. |
110 | On·Windows,·use·al_set_new_display_flags·to·switch·between·Direct3D·and·OpenGL | 110 | On·Windows,·use·al_set_new_display_flags·to·switch·between·Direct3D·and·OpenGL |
111 | backends,·which·will·often·have·different·adapters·available. | 111 | backends,·which·will·often·have·different·adapters·available. |
112 | See·also:·al_get_monitor_info | 112 | See·also:·al_get_monitor_info |
113 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 113 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:52·UTC |
Offset 395, 12 lines modified | Offset 395, 12 lines modified | ||
395 | <p>Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program.</p> | 395 | <p>Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program.</p> |
396 | <blockquote> | 396 | <blockquote> |
397 | <p><em>Note:</em>·not·yet·implemented·on·Mac·OS·X.</p> | 397 | <p><em>Note:</em>·not·yet·implemented·on·Mac·OS·X.</p> |
398 | </blockquote> | 398 | </blockquote> |
399 | <p>See·also:·<a·href="mouse.html#al_grab_mouse">al_grab_mouse</a></p> | 399 | <p>See·also:·<a·href="mouse.html#al_grab_mouse">al_grab_mouse</a></p> |
400 | <p·class="timestamp"> | 400 | <p·class="timestamp"> |
401 | Allegro·version·5.2.6 | 401 | Allegro·version·5.2.6 |
402 | ·-·Last·updated:·2024-01-06·20: | 402 | ·-·Last·updated:·2024-01-06·20:33:53·UTC |
403 | </p> | 403 | </p> |
404 | </div> | 404 | </div> |
405 | </body> | 405 | </body> |
406 | </html> | 406 | </html> |
Offset 300, 8 lines modified | Offset 300, 8 lines modified | ||
300 | See·also:·al_ungrab_mouse | 300 | See·also:·al_ungrab_mouse |
301 | *****·al_ungrab_mouse·***** | 301 | *****·al_ungrab_mouse·***** |
302 | bool·al_ungrab_mouse(void) | 302 | bool·al_ungrab_mouse(void) |
303 | Source_Code | 303 | Source_Code |
304 | Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program. | 304 | Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program. |
305 | ·····Note:·not·yet·implemented·on·Mac·OS·X. | 305 | ·····Note:·not·yet·implemented·on·Mac·OS·X. |
306 | See·also:·al_grab_mouse | 306 | See·also:·al_grab_mouse |
307 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 307 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:53·UTC |
Offset 650, 12 lines modified | Offset 650, 12 lines modified | ||
650 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/menu.c#L867">Source·Code</a></p> | 650 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/menu.c#L867">Source·Code</a></p> |
651 | <p>Detaches·the·menu·associated·with·the·display·and·returns·it.·The·menu·can·then·be·used·on·a·different·display.</p> | 651 | <p>Detaches·the·menu·associated·with·the·display·and·returns·it.·The·menu·can·then·be·used·on·a·different·display.</p> |
652 | <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> | 652 | <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> |
653 | <p>Since:·5.1.0</p> | 653 | <p>Since:·5.1.0</p> |
654 | <p>See·also:·<a·href="native_dialog.html#al_set_display_menu">al_set_display_menu</a></p> | 654 | <p>See·also:·<a·href="native_dialog.html#al_set_display_menu">al_set_display_menu</a></p> |
655 | <p·class="timestamp"> | 655 | <p·class="timestamp"> |
656 | Allegro·version·5.2.6 | 656 | Allegro·version·5.2.6 |
657 | ·-·Last·updated:·2024-01-06·20: | 657 | ·-·Last·updated:·2024-01-06·20:34:38·UTC |
658 | </p> | 658 | </p> |
659 | </div> | 659 | </div> |
660 | </body> | 660 | </body> |
661 | </html> | 661 | </html> |
Offset 616, 8 lines modified | Offset 616, 8 lines modified | ||
616 | Source_Code | 616 | Source_Code |
617 | Detaches·the·menu·associated·with·the·display·and·returns·it.·The·menu·can·then | 617 | Detaches·the·menu·associated·with·the·display·and·returns·it.·The·menu·can·then |
618 | be·used·on·a·different·display. | 618 | be·used·on·a·different·display. |
619 | If·you·simply·want·to·destroy·the·active·menu,·you·can·call·al_set_display_menu | 619 | If·you·simply·want·to·destroy·the·active·menu,·you·can·call·al_set_display_menu |
620 | with·a·NULL·menu. | 620 | with·a·NULL·menu. |
621 | Since:·5.1.0 | 621 | Since:·5.1.0 |
622 | See·also:·al_set_display_menu | 622 | See·also:·al_set_display_menu |
623 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 623 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:38·UTC |
Offset 291, 12 lines modified | Offset 291, 12 lines modified | ||
291 | <p>You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section·like·this·in·allegro5.cfg:</p> | 291 | <p>You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section·like·this·in·allegro5.cfg:</p> |
292 | <div·class="sourceCode"·id="cb18"><pre·class="sourceCode·ini"><code·class="sourceCode·ini"><span·id="cb18-1"><a·href="#cb18-1"·aria-hidden="true"></a><span·class="kw">[opengl_disabled_extensions]</span></span> | 292 | <div·class="sourceCode"·id="cb18"><pre·class="sourceCode·ini"><code·class="sourceCode·ini"><span·id="cb18-1"><a·href="#cb18-1"·aria-hidden="true"></a><span·class="kw">[opengl_disabled_extensions]</span></span> |
293 | <span·id="cb18-2"><a·href="#cb18-2"·aria-hidden="true"></a><span·class="dt">GL_ARB_texture_non_power_of_two</span><span·class="ot">=</span><span·class="dv">0</span></span> | 293 | <span·id="cb18-2"><a·href="#cb18-2"·aria-hidden="true"></a><span·class="dt">GL_ARB_texture_non_power_of_two</span><span·class="ot">=</span><span·class="dv">0</span></span> |
294 | <span·id="cb18-3"><a·href="#cb18-3"·aria-hidden="true"></a><span·class="dt">GL_EXT_framebuffer_object</span><span·class="ot">=</span><span·class="dv">0</span></span></code></pre></div> | 294 | <span·id="cb18-3"><a·href="#cb18-3"·aria-hidden="true"></a><span·class="dt">GL_EXT_framebuffer_object</span><span·class="ot">=</span><span·class="dv">0</span></span></code></pre></div> |
295 | <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> | 295 | <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> |
296 | <p·class="timestamp"> | 296 | <p·class="timestamp"> |
297 | Allegro·version·5.2.6 | 297 | Allegro·version·5.2.6 |
298 | ·-·Last·updated:·2024-01-06·20: | 298 | ·-·Last·updated:·2024-01-06·20:34:22·UTC |
299 | </p> | 299 | </p> |
300 | </div> | 300 | </div> |
301 | </body> | 301 | </body> |
302 | </html> | 302 | </html> |
Offset 206, 8 lines modified | Offset 206, 8 lines modified | ||
206 | You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section | 206 | You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section |
207 | like·this·in·allegro5.cfg: | 207 | like·this·in·allegro5.cfg: |
208 | [opengl_disabled_extensions] | 208 | [opengl_disabled_extensions] |
209 | GL_ARB_texture_non_power_of_two=0 | 209 | GL_ARB_texture_non_power_of_two=0 |
210 | GL_EXT_framebuffer_object=0 | 210 | GL_EXT_framebuffer_object=0 |
211 | Any·extension·which·appears·in·the·section·is·treated·as·not·available·(it·does | 211 | Any·extension·which·appears·in·the·section·is·treated·as·not·available·(it·does |
212 | not·matter·if·you·set·it·to·0·or·any·other·value). | 212 | not·matter·if·you·set·it·to·0·or·any·other·value). |
213 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 213 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:22·UTC |
Offset 324, 12 lines modified | Offset 324, 12 lines modified | ||
324 | <h1·id="al_make_path_canonical">al_make_path_canonical</h1> | 324 | <h1·id="al_make_path_canonical">al_make_path_canonical</h1> |
325 | <div·class="sourceCode"·id="cb25"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb25-1"><a·href="#cb25-1"·aria-hidden="true"></a><span·class="dt">bool</span>·al_make_path_canonical(ALLEGRO_PATH·*path)</span></code></pre></div> | 325 | <div·class="sourceCode"·id="cb25"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb25-1"><a·href="#cb25-1"·aria-hidden="true"></a><span·class="dt">bool</span>·al_make_path_canonical(ALLEGRO_PATH·*path)</span></code></pre></div> |
326 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/path.c#L566">Source·Code</a></p> | 326 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/path.c#L566">Source·Code</a></p> |
327 | <p>Removes·any·leading·‘..’·directory·components·in·absolute·paths.·Removes·all·‘.’·directory·components.</p> | 327 | <p>Removes·any·leading·‘..’·directory·components·in·absolute·paths.·Removes·all·‘.’·directory·components.</p> |
328 | <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> | 328 | <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> |
329 | <p·class="timestamp"> | 329 | <p·class="timestamp"> |
330 | Allegro·version·5.2.6 | 330 | Allegro·version·5.2.6 |
331 | ·-·Last·updated:·2024-01-06·20: | 331 | ·-·Last·updated:·2024-01-06·20:33:56·UTC |
332 | </p> | 332 | </p> |
333 | </div> | 333 | </div> |
334 | </body> | 334 | </body> |
335 | </html> | 335 | </html> |
Offset 262, 8 lines modified | Offset 262, 8 lines modified | ||
262 | Source_Code | 262 | Source_Code |
263 | Removes·any·leading·â..â·directory·components·in·absolute·paths.·Removes | 263 | Removes·any·leading·â..â·directory·components·in·absolute·paths.·Removes |
264 | all·â.â·directory·components. | 264 | all·â.â·directory·components. |
265 | Note·that·this·does·not·collapse·âx/../yâ·sections·into·âyâ.·This·is·by | 265 | Note·that·this·does·not·collapse·âx/../yâ·sections·into·âyâ.·This·is·by |
266 | design.·If·â/fooâ·on·your·system·is·a·symlink·to·â/bar/bazâ,·then·â/ | 266 | design.·If·â/fooâ·on·your·system·is·a·symlink·to·â/bar/bazâ,·then·â/ |
267 | foo/../quuxâ·is·actually·â/bar/quuxâ,·not·â/quuxâ·as·a·naive·removal | 267 | foo/../quuxâ·is·actually·â/bar/quuxâ,·not·â/quuxâ·as·a·naive·removal |
268 | of·â..â·components·would·give·you. | 268 | of·â..â·components·would·give·you. |
269 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 269 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:56·UTC |
Offset 187, 12 lines modified | Offset 187, 12 lines modified | ||
187 | <p>See·also:·<a·href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p> | 187 | <p>See·also:·<a·href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p> |
188 | <h1·id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1> | 188 | <h1·id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1> |
189 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version(<span·class="dt">void</span>)</span></code></pre></div> | 189 | <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"></a><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version(<span·class="dt">void</span>)</span></code></pre></div> |
190 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L304">Source·Code</a></p> | 190 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L304">Source·Code</a></p> |
191 | <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> | 191 | <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> |
192 | <p·class="timestamp"> | 192 | <p·class="timestamp"> |
193 | Allegro·version·5.2.6 | 193 | Allegro·version·5.2.6 |
194 | ·-·Last·updated:·2024-01-06·20: | 194 | ·-·Last·updated:·2024-01-06·20:34:40·UTC |
195 | </p> | 195 | </p> |
196 | </div> | 196 | </div> |
197 | </body> | 197 | </body> |
198 | </html> | 198 | </html> |
Offset 79, 8 lines modified | Offset 79, 8 lines modified | ||
79 | ·····which·means·that·Windows-style·newlines·will·not·be·preserved. | 79 | ·····which·means·that·Windows-style·newlines·will·not·be·preserved. |
80 | See·also:·al_set_new_file_interface. | 80 | See·also:·al_set_new_file_interface. |
81 | ******·al_get_allegro_physfs_version·****** | 81 | ******·al_get_allegro_physfs_version·****** |
82 | uint32_t·al_get_allegro_physfs_version(void) | 82 | uint32_t·al_get_allegro_physfs_version(void) |
83 | Source_Code | 83 | Source_Code |
84 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as | 84 | Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as |
85 | al_get_allegro_version. | 85 | al_get_allegro_version. |
86 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 86 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:40·UTC |
Offset 314, 12 lines modified | Offset 314, 12 lines modified | ||
314 | <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> | 314 | <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> |
315 | <p>Since:·5.2.3</p> | 315 | <p>Since:·5.2.3</p> |
316 | <blockquote> | 316 | <blockquote> |
317 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·New·API.</p> | 317 | <p><em><a·href="getting_started.html#unstable-api">Unstable·API</a>:</em>·New·API.</p> |
318 | </blockquote> | 318 | </blockquote> |
319 | <p·class="timestamp"> | 319 | <p·class="timestamp"> |
320 | Allegro·version·5.2.6 | 320 | Allegro·version·5.2.6 |
321 | ·-·Last·updated:·2024-01-06·20: | 321 | ·-·Last·updated:·2024-01-06·20:34:21·UTC |
322 | </p> | 322 | </p> |
323 | </div> | 323 | </div> |
324 | </body> | 324 | </body> |
325 | </html> | 325 | </html> |
Offset 194, 8 lines modified | Offset 194, 8 lines modified | ||
194 | Source_Code | 194 | Source_Code |
195 | On·some·window·managers·(notably·Ubuntuâs·Unity)·al_set_display_icon | 195 | On·some·window·managers·(notably·Ubuntuâs·Unity)·al_set_display_icon |
196 | doesnât·work·and·you·need·to·use·a·.desktop·file.·But·with·this·function·you | 196 | doesnât·work·and·you·need·to·use·a·.desktop·file.·But·with·this·function·you |
197 | can·set·an·icon·before·calling·al_create_display.·This·works·by·setting·the | 197 | can·set·an·icon·before·calling·al_create_display.·This·works·by·setting·the |
198 | icon·before·XMapWindow. | 198 | icon·before·XMapWindow. |
199 | Since:·5.2.3 | 199 | Since:·5.2.3 |
200 | ·····Unstable_API:·New·API. | 200 | ·····Unstable_API:·New·API. |
201 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 201 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:21·UTC |
Offset 1107, 12 lines modified | Offset 1107, 12 lines modified | ||
1107 | <li><p>ALLEGRO_PRIM_BUFFER_DYNAMIC·-·Hints·to·the·driver·that·the·buffer·is·written·to·often·and·is·used·often</p></li> | 1107 | <li><p>ALLEGRO_PRIM_BUFFER_DYNAMIC·-·Hints·to·the·driver·that·the·buffer·is·written·to·often·and·is·used·often</p></li> |
1108 | <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> | 1108 | <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> |
1109 | </ul> | 1109 | </ul> |
1110 | <p>Since:·5.1.3</p> | 1110 | <p>Since:·5.1.3</p> |
1111 | <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> | 1111 | <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> |
1112 | <p·class="timestamp"> | 1112 | <p·class="timestamp"> |
1113 | Allegro·version·5.2.6 | 1113 | Allegro·version·5.2.6 |
1114 | ·-·Last·updated:·2024-01-06·20: | 1114 | ·-·Last·updated:·2024-01-06·20:34:41·UTC |
1115 | </p> | 1115 | </p> |
1116 | </div> | 1116 | </div> |
1117 | </body> | 1117 | </body> |
1118 | </html> | 1118 | </html> |
Offset 1170, 8 lines modified | Offset 1170, 8 lines modified | ||
1170 | ····*·ALLEGRO_PRIM_BUFFER_READWRITE·-·Specifies·that·you·want·to·be·able·read | 1170 | ····*·ALLEGRO_PRIM_BUFFER_READWRITE·-·Specifies·that·you·want·to·be·able·read |
1171 | ······from·this·buffer.·By·default·this·is·disabled·for·performance.·Some | 1171 | ······from·this·buffer.·By·default·this·is·disabled·for·performance.·Some |
1172 | ······platforms·(like·OpenGL·ES)·do·not·support·reading·from·vertex·buffers,·so | 1172 | ······platforms·(like·OpenGL·ES)·do·not·support·reading·from·vertex·buffers,·so |
1173 | ······if·you·pass·this·flag·to·al_create_vertex_buffer·or | 1173 | ······if·you·pass·this·flag·to·al_create_vertex_buffer·or |
1174 | ······al_create_index_buffer·the·call·will·fail. | 1174 | ······al_create_index_buffer·the·call·will·fail. |
1175 | Since:·5.1.3 | 1175 | Since:·5.1.3 |
1176 | See·also:·al_create_vertex_buffer,·al_create_index_buffer | 1176 | See·also:·al_create_vertex_buffer,·al_create_index_buffer |
1177 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 1177 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:41·UTC |
Offset 426, 12 lines modified | Offset 426, 12 lines modified | ||
426 | <span·id="cb21-2"><a·href="#cb21-2"·aria-hidden="true"></a>···ALLEGRO_SHADER_TYPE·type)</span></code></pre></div> | 426 | <span·id="cb21-2"><a·href="#cb21-2"·aria-hidden="true"></a>···ALLEGRO_SHADER_TYPE·type)</span></code></pre></div> |
427 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/shader.c#L381">Source·Code</a></p> | 427 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/shader.c#L381">Source·Code</a></p> |
428 | <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> | 428 | <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> |
429 | <p>Since:·5.1.6</p> | 429 | <p>Since:·5.1.6</p> |
430 | <p>See·also:·<a·href="shader.html#al_attach_shader_source">al_attach_shader_source</a></p> | 430 | <p>See·also:·<a·href="shader.html#al_attach_shader_source">al_attach_shader_source</a></p> |
431 | <p·class="timestamp"> | 431 | <p·class="timestamp"> |
432 | Allegro·version·5.2.6 | 432 | Allegro·version·5.2.6 |
433 | ·-·Last·updated:·2024-01-06·20: | 433 | ·-·Last·updated:·2024-01-06·20:34:45·UTC |
434 | </p> | 434 | </p> |
435 | </div> | 435 | </div> |
436 | </body> | 436 | </body> |
437 | </html> | 437 | </html> |
Offset 366, 8 lines modified | Offset 366, 8 lines modified | ||
366 | pixel·shader·appropriate·for·the·passed·platform.·The·ALLEGRO_SHADER_AUTO·value | 366 | pixel·shader·appropriate·for·the·passed·platform.·The·ALLEGRO_SHADER_AUTO·value |
367 | means·GLSL·is·used·if·OpenGL·is·being·used·otherwise·HLSL.·ALLEGRO_SHADER_AUTO | 367 | means·GLSL·is·used·if·OpenGL·is·being·used·otherwise·HLSL.·ALLEGRO_SHADER_AUTO |
368 | requires·that·there·is·a·current·display·set·on·the·calling·thread.·This | 368 | requires·that·there·is·a·current·display·set·on·the·calling·thread.·This |
369 | function·can·return·NULL·if·Allegro·was·built·without·support·for·shaders·of | 369 | function·can·return·NULL·if·Allegro·was·built·without·support·for·shaders·of |
370 | the·selected·platform. | 370 | the·selected·platform. |
371 | Since:·5.1.6 | 371 | Since:·5.1.6 |
372 | See·also:·al_attach_shader_source | 372 | See·also:·al_attach_shader_source |
373 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 373 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:45·UTC |
Offset 230, 12 lines modified | Offset 230, 12 lines modified | ||
230 | <h1·id="al_set_errno">al_set_errno</h1> | 230 | <h1·id="al_set_errno">al_set_errno</h1> |
231 | <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_set_errno(<span·class="dt">int</span>·errnum)</span> | 231 | <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_set_errno(<span·class="dt">int</span>·errnum)</span> |
232 | <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"></a>SETTER(allegro_errno,·errnum)</span></code></pre></div> | 232 | <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"></a>SETTER(allegro_errno,·errnum)</span></code></pre></div> |
233 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L933">Source·Code</a></p> | 233 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/tls.c#L933">Source·Code</a></p> |
234 | <p>Set·the·error·number·for·the·calling·thread.</p> | 234 | <p>Set·the·error·number·for·the·calling·thread.</p> |
235 | <p·class="timestamp"> | 235 | <p·class="timestamp"> |
236 | Allegro·version·5.2.6 | 236 | Allegro·version·5.2.6 |
237 | ·-·Last·updated:·2024-01-06·20: | 237 | ·-·Last·updated:·2024-01-06·20:33:58·UTC |
238 | </p> | 238 | </p> |
239 | </div> | 239 | </div> |
240 | </body> | 240 | </body> |
241 | </html> | 241 | </html> |
Offset 121, 8 lines modified | Offset 121, 8 lines modified | ||
121 | code.·Call·this·function·to·retrieve·the·last·error·number·set·for·the·calling | 121 | code.·Call·this·function·to·retrieve·the·last·error·number·set·for·the·calling |
122 | thread. | 122 | thread. |
123 | ******·al_set_errno·****** | 123 | ******·al_set_errno·****** |
124 | void·al_set_errno(int·errnum) | 124 | void·al_set_errno(int·errnum) |
125 | SETTER(allegro_errno,·errnum) | 125 | SETTER(allegro_errno,·errnum) |
126 | Source_Code | 126 | Source_Code |
127 | Set·the·error·number·for·the·calling·thread. | 127 | Set·the·error·number·for·the·calling·thread. |
128 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 128 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:33:58·UTC |
Offset 584, 12 lines modified | Offset 584, 12 lines modified | ||
584 | <li>ALLEGRO_SYSTEM_ID_RASPBERRYPI·-·Raspberry·Pi</li> | 584 | <li>ALLEGRO_SYSTEM_ID_RASPBERRYPI·-·Raspberry·Pi</li> |
585 | <li>ALLEGRO_SYSTEM_ID_SDL·-·SDL</li> | 585 | <li>ALLEGRO_SYSTEM_ID_SDL·-·SDL</li> |
586 | </ul> | 586 | </ul> |
587 | <p>Since:·5.2.5</p> | 587 | <p>Since:·5.2.5</p> |
588 | <p>See·also:·<a·href="system.html#al_get_system_id">al_get_system_id</a></p> | 588 | <p>See·also:·<a·href="system.html#al_get_system_id">al_get_system_id</a></p> |
589 | <p·class="timestamp"> | 589 | <p·class="timestamp"> |
590 | Allegro·version·5.2.6 | 590 | Allegro·version·5.2.6 |
591 | ·-·Last·updated:·2024-01-06·20: | 591 | ·-·Last·updated:·2024-01-06·20:34:01·UTC |
592 | </p> | 592 | </p> |
593 | </div> | 593 | </div> |
594 | </body> | 594 | </body> |
595 | </html> | 595 | </html> |
Offset 536, 8 lines modified | Offset 536, 8 lines modified | ||
536 | ····*·ALLEGRO_SYSTEM_ID_ANDROID·-·Android | 536 | ····*·ALLEGRO_SYSTEM_ID_ANDROID·-·Android |
537 | ····*·ALLEGRO_SYSTEM_ID_IPHONE·-·iOS | 537 | ····*·ALLEGRO_SYSTEM_ID_IPHONE·-·iOS |
538 | ····*·ALLEGRO_SYSTEM_ID_GP2XWIZ·-·GP2XWIZ | 538 | ····*·ALLEGRO_SYSTEM_ID_GP2XWIZ·-·GP2XWIZ |
539 | ····*·ALLEGRO_SYSTEM_ID_RASPBERRYPI·-·Raspberry·Pi | 539 | ····*·ALLEGRO_SYSTEM_ID_RASPBERRYPI·-·Raspberry·Pi |
540 | ····*·ALLEGRO_SYSTEM_ID_SDL·-·SDL | 540 | ····*·ALLEGRO_SYSTEM_ID_SDL·-·SDL |
541 | Since:·5.2.5 | 541 | Since:·5.2.5 |
542 | See·also:·al_get_system_id | 542 | See·also:·al_get_system_id |
543 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 543 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:01·UTC |
Offset 328, 12 lines modified | Offset 328, 12 lines modified | ||
328 | <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb24-1"><a·href="#cb24-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_signal_cond(ALLEGRO_COND·*cond)</span></code></pre></div> | 328 | <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb24-1"><a·href="#cb24-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_signal_cond(ALLEGRO_COND·*cond)</span></code></pre></div> |
329 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/threads.c#L409">Source·Code</a></p> | 329 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/threads.c#L409">Source·Code</a></p> |
330 | <p>Unblock·at·least·one·thread·waiting·on·a·condition·variable.</p> | 330 | <p>Unblock·at·least·one·thread·waiting·on·a·condition·variable.</p> |
331 | <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> | 331 | <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> |
332 | <p>See·also:·<a·href="threads.html#al_broadcast_cond">al_broadcast_cond</a>.</p> | 332 | <p>See·also:·<a·href="threads.html#al_broadcast_cond">al_broadcast_cond</a>.</p> |
333 | <p·class="timestamp"> | 333 | <p·class="timestamp"> |
334 | Allegro·version·5.2.6 | 334 | Allegro·version·5.2.6 |
335 | ·-·Last·updated:·2024-01-06·20: | 335 | ·-·Last·updated:·2024-01-06·20:34:03·UTC |
336 | </p> | 336 | </p> |
337 | </div> | 337 | </div> |
338 | </body> | 338 | </body> |
339 | </html> | 339 | </html> |
Offset 251, 8 lines modified | Offset 251, 8 lines modified | ||
251 | ******·al_signal_cond·****** | 251 | ******·al_signal_cond·****** |
252 | void·al_signal_cond(ALLEGRO_COND·*cond) | 252 | void·al_signal_cond(ALLEGRO_COND·*cond) |
253 | Source_Code | 253 | Source_Code |
254 | Unblock·at·least·one·thread·waiting·on·a·condition·variable. | 254 | Unblock·at·least·one·thread·waiting·on·a·condition·variable. |
255 | Generally·you·should·use·al_broadcast_cond·but·al_signal_cond·may·be·more | 255 | Generally·you·should·use·al_broadcast_cond·but·al_signal_cond·may·be·more |
256 | efficient·when·itâs·applicable. | 256 | efficient·when·itâs·applicable. |
257 | See·also:·al_broadcast_cond. | 257 | See·also:·al_broadcast_cond. |
258 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 258 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:03·UTC |
Offset 190, 12 lines modified | Offset 190, 12 lines modified | ||
190 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_rest(<span·class="dt">double</span>·seconds)</span></code></pre></div> | 190 | <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"></a><span·class="dt">void</span>·al_rest(<span·class="dt">double</span>·seconds)</span></code></pre></div> |
191 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/system.c#L513">Source·Code</a></p> | 191 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/system.c#L513">Source·Code</a></p> |
192 | <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> | 192 | <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> |
193 | <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"></a>al_rest(<span·class="fl">0.000001</span>)</span></code></pre></div> | 193 | <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"></a>al_rest(<span·class="fl">0.000001</span>)</span></code></pre></div> |
194 | <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> | 194 | <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> |
195 | <p·class="timestamp"> | 195 | <p·class="timestamp"> |
196 | Allegro·version·5.2.6 | 196 | Allegro·version·5.2.6 |
197 | ·-·Last·updated:·2024-01-06·20: | 197 | ·-·Last·updated:·2024-01-06·20:34:06·UTC |
198 | </p> | 198 | </p> |
199 | </div> | 199 | </div> |
200 | </body> | 200 | </body> |
201 | </html> | 201 | </html> |
Offset 77, 8 lines modified | Offset 77, 8 lines modified | ||
77 | Source_Code | 77 | Source_Code |
78 | Waits·for·the·specified·number·of·seconds.·This·tells·the·system·to·pause·the | 78 | Waits·for·the·specified·number·of·seconds.·This·tells·the·system·to·pause·the |
79 | current·thread·for·the·given·amount·of·time.·With·some·operating·systems,·the | 79 | current·thread·for·the·given·amount·of·time.·With·some·operating·systems,·the |
80 | accuracy·can·be·in·the·order·of·10ms.·That·is,·even | 80 | accuracy·can·be·in·the·order·of·10ms.·That·is,·even |
81 | al_rest(0.000001) | 81 | al_rest(0.000001) |
82 | might·pause·for·something·like·10ms.·Also·see·the·section·on·Timer·routines·for | 82 | might·pause·for·something·like·10ms.·Also·see·the·section·on·Timer·routines·for |
83 | easier·ways·to·time·your·program·without·using·up·all·CPU. | 83 | easier·ways·to·time·your·program·without·using·up·all·CPU. |
84 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 84 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:06·UTC |
Offset 265, 12 lines modified | Offset 265, 12 lines modified | ||
265 | <p>See·also:·<a·href="timer.html#al_get_timer_speed">al_get_timer_speed</a></p> | 265 | <p>See·also:·<a·href="timer.html#al_get_timer_speed">al_get_timer_speed</a></p> |
266 | <h1·id="al_get_timer_event_source">al_get_timer_event_source</h1> | 266 | <h1·id="al_get_timer_event_source">al_get_timer_event_source</h1> |
267 | <div·class="sourceCode"·id="cb19"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb19-1"><a·href="#cb19-1"·aria-hidden="true"></a>ALLEGRO_EVENT_SOURCE·*al_get_timer_event_source(ALLEGRO_TIMER·*timer)</span></code></pre></div> | 267 | <div·class="sourceCode"·id="cb19"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb19-1"><a·href="#cb19-1"·aria-hidden="true"></a>ALLEGRO_EVENT_SOURCE·*al_get_timer_event_source(ALLEGRO_TIMER·*timer)</span></code></pre></div> |
268 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/timernu.c#L435">Source·Code</a></p> | 268 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/timernu.c#L435">Source·Code</a></p> |
269 | <p>Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type·<a·href="events.html#allegro_event_timer">ALLEGRO_EVENT_TIMER</a>.</p> | 269 | <p>Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type·<a·href="events.html#allegro_event_timer">ALLEGRO_EVENT_TIMER</a>.</p> |
270 | <p·class="timestamp"> | 270 | <p·class="timestamp"> |
271 | Allegro·version·5.2.6 | 271 | Allegro·version·5.2.6 |
272 | ·-·Last·updated:·2024-01-06·20: | 272 | ·-·Last·updated:·2024-01-06·20:34:07·UTC |
273 | </p> | 273 | </p> |
274 | </div> | 274 | </div> |
275 | </body> | 275 | </body> |
276 | </html> | 276 | </html> |
Offset 165, 8 lines modified | Offset 165, 8 lines modified | ||
165 | speed_secs·has·exactly·the·same·meaning·as·with·al_create_timer. | 165 | speed_secs·has·exactly·the·same·meaning·as·with·al_create_timer. |
166 | See·also:·al_get_timer_speed | 166 | See·also:·al_get_timer_speed |
167 | ******·al_get_timer_event_source·****** | 167 | ******·al_get_timer_event_source·****** |
168 | ALLEGRO_EVENT_SOURCE·*al_get_timer_event_source(ALLEGRO_TIMER·*timer) | 168 | ALLEGRO_EVENT_SOURCE·*al_get_timer_event_source(ALLEGRO_TIMER·*timer) |
169 | Source_Code | 169 | Source_Code |
170 | Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type | 170 | Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type |
171 | ALLEGRO_EVENT_TIMER. | 171 | ALLEGRO_EVENT_TIMER. |
172 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 172 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:07·UTC |
Offset 293, 12 lines modified | Offset 293, 12 lines modified | ||
293 | <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> | 293 | <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> |
294 | <p>Since:·5.1.0</p> | 294 | <p>Since:·5.1.0</p> |
295 | <blockquote> | 295 | <blockquote> |
296 | <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> | 296 | <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> |
297 | </blockquote> | 297 | </blockquote> |
298 | <p·class="timestamp"> | 298 | <p·class="timestamp"> |
299 | Allegro·version·5.2.6 | 299 | Allegro·version·5.2.6 |
300 | ·-·Last·updated:·2024-01-06·20: | 300 | ·-·Last·updated:·2024-01-06·20:34:10·UTC |
301 | </p> | 301 | </p> |
302 | </div> | 302 | </div> |
303 | </body> | 303 | </body> |
304 | </html> | 304 | </html> |
Offset 166, 8 lines modified | Offset 166, 8 lines modified | ||
166 | Source_Code | 166 | Source_Code |
167 | Returns·the·global·touch·input·event·source·for·emulated·mouse·events.·This | 167 | Returns·the·global·touch·input·event·source·for·emulated·mouse·events.·This |
168 | event·source·generates·emulated_mouse_events·that·are·based·on·touch·events. | 168 | event·source·generates·emulated_mouse_events·that·are·based·on·touch·events. |
169 | See·also:·ALLEGRO_EVENT_SOURCE,·al_register_event_source | 169 | See·also:·ALLEGRO_EVENT_SOURCE,·al_register_event_source |
170 | Since:·5.1.0 | 170 | Since:·5.1.0 |
171 | ·····Unstable_API:·Seems·of·limited·value,·as·touch·input·tends·to·have | 171 | ·····Unstable_API:·Seems·of·limited·value,·as·touch·input·tends·to·have |
172 | ·····different·semantics·compared·to·mouse·input. | 172 | ·····different·semantics·compared·to·mouse·input. |
173 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 173 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:10·UTC |
Offset 624, 12 lines modified | Offset 624, 12 lines modified | ||
624 | <li>trans·-·Transformation·to·alter</li> | 624 | <li>trans·-·Transformation·to·alter</li> |
625 | <li>theta·-·Rotation·angle·in·radians</li> | 625 | <li>theta·-·Rotation·angle·in·radians</li> |
626 | </ul> | 626 | </ul> |
627 | <p>Since:·5.1.7</p> | 627 | <p>Since:·5.1.7</p> |
628 | <p>See·also:·<a·href="transformations.html#al_horizontal_shear_transform">al_horizontal_shear_transform</a></p> | 628 | <p>See·also:·<a·href="transformations.html#al_horizontal_shear_transform">al_horizontal_shear_transform</a></p> |
629 | <p·class="timestamp"> | 629 | <p·class="timestamp"> |
630 | Allegro·version·5.2.6 | 630 | Allegro·version·5.2.6 |
631 | ·-·Last·updated:·2024-01-06·20: | 631 | ·-·Last·updated:·2024-01-06·20:34:12·UTC |
632 | </p> | 632 | </p> |
633 | </div> | 633 | </div> |
634 | </body> | 634 | </body> |
635 | </html> | 635 | </html> |
Offset 576, 8 lines modified | Offset 576, 8 lines modified | ||
576 | Source_Code | 576 | Source_Code |
577 | Apply·a·vertical·shear·to·the·transform | 577 | Apply·a·vertical·shear·to·the·transform |
578 | Parameters: | 578 | Parameters: |
579 | ····*·trans·-·Transformation·to·alter | 579 | ····*·trans·-·Transformation·to·alter |
580 | ····*·theta·-·Rotation·angle·in·radians | 580 | ····*·theta·-·Rotation·angle·in·radians |
581 | Since:·5.1.7 | 581 | Since:·5.1.7 |
582 | See·also:·al_horizontal_shear_transform | 582 | See·also:·al_horizontal_shear_transform |
583 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 583 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:12·UTC |
Offset 724, 12 lines modified | Offset 724, 12 lines modified | ||
724 | <div·class="sourceCode"·id="cb72"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb72-1"><a·href="#cb72-1"·aria-hidden="true"></a><span·class="dt">size_t</span>·al_utf16_encode(<span·class="dt">uint16_t</span>·s[],·<span·class="dt">int32_t</span>·c)</span></code></pre></div> | 724 | <div·class="sourceCode"·id="cb72"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb72-1"><a·href="#cb72-1"·aria-hidden="true"></a><span·class="dt">size_t</span>·al_utf16_encode(<span·class="dt">uint16_t</span>·s[],·<span·class="dt">int32_t</span>·c)</span></code></pre></div> |
725 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/utf8.c#L1067">Source·Code</a></p> | 725 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/src/utf8.c#L1067">Source·Code</a></p> |
726 | <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> | 726 | <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> |
727 | <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> | 727 | <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> |
728 | <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> | 728 | <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> |
729 | <p·class="timestamp"> | 729 | <p·class="timestamp"> |
730 | Allegro·version·5.2.6 | 730 | Allegro·version·5.2.6 |
731 | ·-·Last·updated:·2024-01-06·20: | 731 | ·-·Last·updated:·2024-01-06·20:34:15·UTC |
732 | </p> | 732 | </p> |
733 | </div> | 733 | </div> |
734 | </body> | 734 | </body> |
735 | </html> | 735 | </html> |
Offset 747, 8 lines modified | Offset 747, 8 lines modified | ||
747 | Source_Code | 747 | Source_Code |
748 | Encode·the·specified·code·point·to·UTF-16·into·the·buffer·s.·The·buffer·must | 748 | Encode·the·specified·code·point·to·UTF-16·into·the·buffer·s.·The·buffer·must |
749 | have·enough·space·to·hold·the·encoding,·which·takes·either·2·or·4·bytes.·This | 749 | have·enough·space·to·hold·the·encoding,·which·takes·either·2·or·4·bytes.·This |
750 | routine·will·refuse·to·encode·code·points·above·0x10FFFF. | 750 | routine·will·refuse·to·encode·code·points·above·0x10FFFF. |
751 | Returns·the·number·of·bytes·written,·which·is·the·same·as·that·returned·by | 751 | Returns·the·number·of·bytes·written,·which·is·the·same·as·that·returned·by |
752 | al_utf16_width. | 752 | al_utf16_width. |
753 | See·also:·al_utf8_encode,·al_ustr_encode_utf16 | 753 | See·also:·al_utf8_encode,·al_ustr_encode_utf16 |
754 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 754 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:15·UTC |
Offset 321, 12 lines modified | Offset 321, 12 lines modified | ||
321 | <h1·id="al_seek_video">al_seek_video</h1> | 321 | <h1·id="al_seek_video">al_seek_video</h1> |
322 | <div·class="sourceCode"·id="cb22"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb22-1"><a·href="#cb22-1"·aria-hidden="true"></a><span·class="dt">bool</span>·al_seek_video(ALLEGRO_VIDEO·*video,·<span·class="dt">double</span>·pos_in_seconds)</span></code></pre></div> | 322 | <div·class="sourceCode"·id="cb22"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb22-1"><a·href="#cb22-1"·aria-hidden="true"></a><span·class="dt">bool</span>·al_seek_video(ALLEGRO_VIDEO·*video,·<span·class="dt">double</span>·pos_in_seconds)</span></code></pre></div> |
323 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L218">Source·Code</a></p> | 323 | <p><a·href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L218">Source·Code</a></p> |
324 | <p>Seek·to·a·different·position·in·the·video.·Currently·only·seeking·to·the·beginning·of·the·video·is·supported.</p> | 324 | <p>Seek·to·a·different·position·in·the·video.·Currently·only·seeking·to·the·beginning·of·the·video·is·supported.</p> |
325 | <p>Since:·5.1.0</p> | 325 | <p>Since:·5.1.0</p> |
326 | <p·class="timestamp"> | 326 | <p·class="timestamp"> |
327 | Allegro·version·5.2.6 | 327 | Allegro·version·5.2.6 |
328 | ·-·Last·updated:·2024-01-06·20: | 328 | ·-·Last·updated:·2024-01-06·20:34:45·UTC |
329 | </p> | 329 | </p> |
330 | </div> | 330 | </div> |
331 | </body> | 331 | </body> |
332 | </html> | 332 | </html> |
Offset 223, 8 lines modified | Offset 223, 8 lines modified | ||
223 | Since:·5.1.0 | 223 | Since:·5.1.0 |
224 | ******·al_seek_video·****** | 224 | ******·al_seek_video·****** |
225 | bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds) | 225 | bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds) |
226 | Source_Code | 226 | Source_Code |
227 | Seek·to·a·different·position·in·the·video.·Currently·only·seeking·to·the | 227 | Seek·to·a·different·position·in·the·video.·Currently·only·seeking·to·the |
228 | beginning·of·the·video·is·supported. | 228 | beginning·of·the·video·is·supported. |
229 | Since:·5.1.0 | 229 | Since:·5.1.0 |
230 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20: | 230 | Allegro·version·5.2.6·-·Last·updated:·2024-01-06·20:34:45·UTC |