Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | · | 1 | ·c6711e54d1c3cf58e3dc8ddb4465ba8d·1358440·doc·optional·allegro5-doc_5.2.6.0-3+deb11u1_all.deb |
2 | ·c89bb59bcb49c74e07781f3c11f065f3·15884·libdevel·optional·liballegro-acodec5-dev_5.2.6.0-3+deb11u1_i386.deb | 2 | ·c89bb59bcb49c74e07781f3c11f065f3·15884·libdevel·optional·liballegro-acodec5-dev_5.2.6.0-3+deb11u1_i386.deb |
3 | ·0fbad58ded63efd6a810ccd1c50d9c0d·47584·debug·optional·liballegro-acodec5.2-dbgsym_5.2.6.0-3+deb11u1_i386.deb | 3 | ·0fbad58ded63efd6a810ccd1c50d9c0d·47584·debug·optional·liballegro-acodec5.2-dbgsym_5.2.6.0-3+deb11u1_i386.deb |
4 | ·9b3bcdb5f48fe4c8977f62a3dbfef49f·34408·libs·optional·liballegro-acodec5.2_5.2.6.0-3+deb11u1_i386.deb | 4 | ·9b3bcdb5f48fe4c8977f62a3dbfef49f·34408·libs·optional·liballegro-acodec5.2_5.2.6.0-3+deb11u1_i386.deb |
5 | ·a27226c7d240a589a00efb6230f5ee7e·18532·libdevel·optional·liballegro-audio5-dev_5.2.6.0-3+deb11u1_i386.deb | 5 | ·a27226c7d240a589a00efb6230f5ee7e·18532·libdevel·optional·liballegro-audio5-dev_5.2.6.0-3+deb11u1_i386.deb |
6 | ·4c33ae6b90c66d5666cb9650ff8fb1d5·80160·debug·optional·liballegro-audio5.2-dbgsym_5.2.6.0-3+deb11u1_i386.deb | 6 | ·4c33ae6b90c66d5666cb9650ff8fb1d5·80160·debug·optional·liballegro-audio5.2-dbgsym_5.2.6.0-3+deb11u1_i386.deb |
7 | ·611a8d6a87ebd2e349bcf220cc42715e·57684·libs·optional·liballegro-audio5.2_5.2.6.0-3+deb11u1_i386.deb | 7 | ·611a8d6a87ebd2e349bcf220cc42715e·57684·libs·optional·liballegro-audio5.2_5.2.6.0-3+deb11u1_i386.deb |
8 | ·fca264b3115bb65aae4ebdbdfe833ee4·16948·libdevel·optional·liballegro-dialog5-dev_5.2.6.0-3+deb11u1_i386.deb | 8 | ·fca264b3115bb65aae4ebdbdfe833ee4·16948·libdevel·optional·liballegro-dialog5-dev_5.2.6.0-3+deb11u1_i386.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-03-20·20:55:45.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-03-20·20:55:45.000000·debian-binary |
2 | -rw-r--r--···0········0········0····307 | 2 | -rw-r--r--···0········0········0····30704·2024-03-20·20:55:45.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··13275 | 3 | -rw-r--r--···0········0········0··1327544·2024-03-20·20:55:45.000000·data.tar.xz |
Offset 232, 15 lines modified | Offset 232, 15 lines modified | ||
232 | -rw-r--r--···0·root·········(0)·root·········(0)····28991·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/path.html | 232 | -rw-r--r--···0·root·········(0)·root·········(0)····28991·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/path.html |
233 | -rw-r--r--···0·root·········(0)·root·········(0)····10990·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/physfs.html | 233 | -rw-r--r--···0·root·········(0)·root·········(0)····10990·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/physfs.html |
234 | -rw-r--r--···0·root·········(0)·root·········(0)····22026·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/platform.html | 234 | -rw-r--r--···0·root·········(0)·root·········(0)····22026·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/platform.html |
235 | -rw-r--r--···0·root·········(0)·root·········(0)···113690·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/primitives.html | 235 | -rw-r--r--···0·root·········(0)·root·········(0)···113690·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/primitives.html |
236 | -rw-r--r--···0·root·········(0)·root·········(0)····70337·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/search_index.js | 236 | -rw-r--r--···0·root·········(0)·root·········(0)····70337·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/search_index.js |
237 | -rw-r--r--···0·root·········(0)·root·········(0)····35382·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/shader.html | 237 | -rw-r--r--···0·root·········(0)·root·········(0)····35382·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/shader.html |
238 | -rw-r--r--···0·root·········(0)·root·········(0)····13192·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/state.html | 238 | -rw-r--r--···0·root·········(0)·root·········(0)····13192·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/state.html |
239 | -rw-r--r--···0·root·········(0)·root·········(0)····58 | 239 | -rw-r--r--···0·root·········(0)·root·········(0)····58265·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/system.html |
240 | -rw-r--r--···0·root·········(0)·root·········(0)····27415·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/threads.html | 240 | -rw-r--r--···0·root·········(0)·root·········(0)····27415·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/threads.html |
241 | -rw-r--r--···0·root·········(0)·root·········(0)····10642·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/time.html | 241 | -rw-r--r--···0·root·········(0)·root·········(0)····10642·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/time.html |
242 | -rw-r--r--···0·root·········(0)·root·········(0)····19864·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/timer.html | 242 | -rw-r--r--···0·root·········(0)·root·········(0)····19864·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/timer.html |
243 | -rw-r--r--···0·root·········(0)·root·········(0)····18869·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/touch.html | 243 | -rw-r--r--···0·root·········(0)·root·········(0)····18869·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/touch.html |
244 | -rw-r--r--···0·root·········(0)·root·········(0)····62416·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/transformations.html | 244 | -rw-r--r--···0·root·········(0)·root·········(0)····62416·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/transformations.html |
245 | -rw-r--r--···0·root·········(0)·root·········(0)····78064·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/utf8.html | 245 | -rw-r--r--···0·root·········(0)·root·········(0)····78064·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/utf8.html |
246 | -rw-r--r--···0·root·········(0)·root·········(0)····23801·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/video.html | 246 | -rw-r--r--···0·root·········(0)·root·········(0)····23801·2024-03-20·20:55:45.000000·./usr/share/doc/allegro5-doc/refman/video.html |
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:·202 | 197 | ·-·Last·updated:·2025-08-06·01:33:02·UTC |
198 | </p> | 198 | </p> |
199 | </div> | 199 | </div> |
200 | </body> | 200 | </body> |
201 | </html> | 201 | </html> |
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:·202 | 1451 | ·-·Last·updated:·2025-08-06·01:33:01·UTC |
1452 | </p> | 1452 | </p> |
1453 | </div> | 1453 | </div> |
1454 | </body> | 1454 | </body> |
1455 | </html> | 1455 | </html> |
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:·202 | 485 | ·-·Last·updated:·2025-08-06·01:33:03·UTC |
486 | </p> | 486 | </p> |
487 | </div> | 487 | </div> |
488 | </body> | 488 | </body> |
489 | </html> | 489 | </html> |
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:·202 | 330 | ·-·Last·updated:·2025-08-06·01:32:49·UTC |
331 | </p> | 331 | </p> |
332 | </div> | 332 | </div> |
333 | </body> | 333 | </body> |
334 | </html> | 334 | </html> |
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:·202 | 247 | ·-·Last·updated:·2025-08-06·01:33:00·UTC |
248 | </p> | 248 | </p> |
249 | </div> | 249 | </div> |
250 | </body> | 250 | </body> |
251 | </html> | 251 | </html> |
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:·202 | 693 | ·-·Last·updated:·2025-08-06·01:32:50·UTC |
694 | </p> | 694 | </p> |
695 | </div> | 695 | </div> |
696 | </body> | 696 | </body> |
697 | </html> | 697 | </html> |
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:·202 | 874 | ·-·Last·updated:·2025-08-06·01:32:50·UTC |
875 | </p> | 875 | </p> |
876 | </div> | 876 | </div> |
877 | </body> | 877 | </body> |
878 | </html> | 878 | </html> |
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:·202 | 520 | ·-·Last·updated:·2025-08-06·01:32:50·UTC |
521 | </p> | 521 | </p> |
522 | </div> | 522 | </div> |
523 | </body> | 523 | </body> |
524 | </html> | 524 | </html> |
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:·202 | 485 | ·-·Last·updated:·2025-08-06·01:32:51·UTC |
486 | </p> | 486 | </p> |
487 | </div> | 487 | </div> |
488 | </body> | 488 | </body> |
489 | </html> | 489 | </html> |
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:·202 | 732 | ·-·Last·updated:·2025-08-06·01:33:03·UTC |
733 | </p> | 733 | </p> |
734 | </div> | 734 | </div> |
735 | </body> | 735 | </body> |
736 | </html> | 736 | </html> |
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:·202 | 407 | ·-·Last·updated:·2025-08-06·01:32:52·UTC |
408 | </p> | 408 | </p> |
409 | </div> | 409 | </div> |
410 | </body> | 410 | </body> |
411 | </html> | 411 | </html> |
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:·202 | 198 | ·-·Last·updated:·2025-08-06·01:32:52·UTC |
199 | </p> | 199 | </p> |
200 | </div> | 200 | </div> |
201 | </body> | 201 | </body> |
202 | </html> | 202 | </html> |
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:·202 | 190 | ·-·Last·updated:·2025-08-06·01:32:49·UTC |
191 | </p> | 191 | </p> |
192 | </div> | 192 | </div> |
193 | </body> | 193 | </body> |
194 | </html> | 194 | </html> |
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:·202 | 1499 | ·-·Last·updated:·2025-08-06·01:32:53·UTC |
1500 | </p> | 1500 | </p> |
1501 | </div> | 1501 | </div> |
1502 | </body> | 1502 | </body> |
1503 | </html> | 1503 | </html> |
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:·202 | 575 | ·-·Last·updated:·2025-08-06·01:32:54·UTC |
576 | </p> | 576 | </p> |
577 | </div> | 577 | </div> |
578 | </body> | 578 | </body> |
579 | </html> | 579 | </html> |
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:·202 | 197 | ·-·Last·updated:·2025-08-06·01:33:04·UTC |
198 | </p> | 198 | </p> |
199 | </div> | 199 | </div> |
200 | </body> | 200 | </body> |
201 | </html> | 201 | </html> |
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:·202 | 161 | ·-·Last·updated:·2025-08-06·01:33:08·UTC |
162 | </p> | 162 | </p> |
163 | </div> | 163 | </div> |
164 | </body> | 164 | </body> |
165 | </html> | 165 | </html> |
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:·202 | 1294 | ·-·Last·updated:·2025-08-06·01:33:08·UTC |
1295 | </p> | 1295 | </p> |
1296 | </div> | 1296 | </div> |
1297 | </body> | 1297 | </body> |
1298 | </html> | 1298 | </html> |
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:·202 | 312 | ·-·Last·updated:·2025-08-06·01:32:55·UTC |
313 | </p> | 313 | </p> |
314 | </div> | 314 | </div> |
315 | </body> | 315 | </body> |
316 | </html> | 316 | </html> |
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:·202 | 351 | ·-·Last·updated:·2025-08-06·01:32:55·UTC |
352 | </p> | 352 | </p> |
353 | </div> | 353 | </div> |
354 | </body> | 354 | </body> |
355 | </html> | 355 | </html> |
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:·202 | 172 | ·-·Last·updated:·2025-08-06·01:33:05·UTC |
173 | </p> | 173 | </p> |
174 | </div> | 174 | </div> |
175 | </body> | 175 | </body> |
176 | </html> | 176 | </html> |
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:·202 | 185 | ·-·Last·updated:·2025-08-06·01:33:05·UTC |
186 | </p> | 186 | </p> |
187 | </div> | 187 | </div> |
188 | </body> | 188 | </body> |
189 | </html> | 189 | </html> |
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:·202 | 252 | ·-·Last·updated:·2025-08-06·01:32:56·UTC |
253 | </p> | 253 | </p> |
254 | </div> | 254 | </div> |
255 | </body> | 255 | </body> |
256 | </html> | 256 | </html> |
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:·202 | 183 | ·-·Last·updated:·2025-08-06·01:32:56·UTC |
184 | </p> | 184 | </p> |
185 | </div> | 185 | </div> |
186 | </body> | 186 | </body> |
187 | </html> | 187 | </html> |
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:·202 | 220 | ·-·Last·updated:·2025-08-06·01:32:57·UTC |
221 | </p> | 221 | </p> |
222 | </div> | 222 | </div> |
223 | </body> | 223 | </body> |
224 | </html> | 224 | </html> |
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:·202 | 402 | ·-·Last·updated:·2025-08-06·01:32:57·UTC |
403 | </p> | 403 | </p> |
404 | </div> | 404 | </div> |
405 | </body> | 405 | </body> |
406 | </html> | 406 | </html> |
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:·202 | 657 | ·-·Last·updated:·2025-08-06·01:33:06·UTC |
658 | </p> | 658 | </p> |
659 | </div> | 659 | </div> |
660 | </body> | 660 | </body> |
661 | </html> | 661 | </html> |
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:·202 | 298 | ·-·Last·updated:·2025-08-06·01:33:00·UTC |
299 | </p> | 299 | </p> |
300 | </div> | 300 | </div> |
301 | </body> | 301 | </body> |
302 | </html> | 302 | </html> |
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:·202 | 331 | ·-·Last·updated:·2025-08-06·01:32:58·UTC |
332 | </p> | 332 | </p> |
333 | </div> | 333 | </div> |
334 | </body> | 334 | </body> |
335 | </html> | 335 | </html> |
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:·202 | 194 | ·-·Last·updated:·2025-08-06·01:33:06·UTC |
195 | </p> | 195 | </p> |
196 | </div> | 196 | </div> |
197 | </body> | 197 | </body> |
198 | </html> | 198 | </html> |
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:·202 | 321 | ·-·Last·updated:·2025-08-06·01:33:00·UTC |
322 | </p> | 322 | </p> |
323 | </div> | 323 | </div> |
324 | </body> | 324 | </body> |
325 | </html> | 325 | </html> |
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:·202 | 1114 | ·-·Last·updated:·2025-08-06·01:33:06·UTC |
1115 | </p> | 1115 | </p> |
1116 | </div> | 1116 | </div> |
1117 | </body> | 1117 | </body> |
1118 | </html> | 1118 | </html> |
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:·202 | 433 | ·-·Last·updated:·2025-08-06·01:33:07·UTC |
434 | </p> | 434 | </p> |
435 | </div> | 435 | </div> |
436 | </body> | 436 | </body> |
437 | </html> | 437 | </html> |
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:·202 | 237 | ·-·Last·updated:·2025-08-06·01:32:58·UTC |
238 | </p> | 238 | </p> |
239 | </div> | 239 | </div> |
240 | </body> | 240 | </body> |
241 | </html> | 241 | </html> |
Offset 582, 14 lines modified | Offset 582, 11 lines modified | ||
582 | <li>ALLEGRO_SYSTEM_ID_IPHONE·-·iOS</li> | 582 | <li>ALLEGRO_SYSTEM_ID_IPHONE·-·iOS</li> |
583 | <li>ALLEGRO_SYSTEM_ID_GP2XWIZ·-·GP2XWIZ</li> | 583 | <li>ALLEGRO_SYSTEM_ID_GP2XWIZ·-·GP2XWIZ</li> |
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"> | ||
590 | Allegro·version·5.2.6 | ||
591 | ·-·Last·updated:·2024-07-03·19:06:39·UTC | ||
592 | </p> | ||
593 | </div> | 589 | </div> |
594 | </body> | 590 | </body> |
595 | </html> | 591 | </html> |
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:·202 | 335 | ·-·Last·updated:·2025-08-06·01:32:58·UTC |
336 | </p> | 336 | </p> |
337 | </div> | 337 | </div> |
338 | </body> | 338 | </body> |
339 | </html> | 339 | </html> |
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:·202 | 197 | ·-·Last·updated:·2025-08-06·01:32:58·UTC |
198 | </p> | 198 | </p> |
199 | </div> | 199 | </div> |
200 | </body> | 200 | </body> |
201 | </html> | 201 | </html> |
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:·202 | 272 | ·-·Last·updated:·2025-08-06·01:32:59·UTC |
273 | </p> | 273 | </p> |
274 | </div> | 274 | </div> |
275 | </body> | 275 | </body> |
276 | </html> | 276 | </html> |
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:·202 | 300 | ·-·Last·updated:·2025-08-06·01:32:59·UTC |
301 | </p> | 301 | </p> |
302 | </div> | 302 | </div> |
303 | </body> | 303 | </body> |
304 | </html> | 304 | </html> |
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:·202 | 631 | ·-·Last·updated:·2025-08-06·01:32:59·UTC |
632 | </p> | 632 | </p> |
633 | </div> | 633 | </div> |
634 | </body> | 634 | </body> |
635 | </html> | 635 | </html> |
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:·202 | 731 | ·-·Last·updated:·2025-08-06·01:32:59·UTC |
732 | </p> | 732 | </p> |
733 | </div> | 733 | </div> |
734 | </body> | 734 | </body> |
735 | </html> | 735 | </html> |
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:·202 | 328 | ·-·Last·updated:·2025-08-06·01:33:07·UTC |
329 | </p> | 329 | </p> |
330 | </div> | 330 | </div> |
331 | </body> | 331 | </body> |
332 | </html> | 332 | </html> |