--- /srv/reproducible-results/rbuild-debian/r-b-build.rtWy3plI/b1/allegro5_5.2.8.0+dfsg-1_arm64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.rtWy3plI/b2/allegro5_5.2.8.0+dfsg-1_arm64.changes ├── Files │ @@ -1,9 +1,9 @@ │ │ - 673d973f5c70f3c581536259ecaa042b 1512864 doc optional allegro5-doc_5.2.8.0+dfsg-1_all.deb │ + 487476dd73d5a4e1059cd10fd0760bb3 1504464 doc optional allegro5-doc_5.2.8.0+dfsg-1_all.deb │ 458e25ff4f76b9a9e6e847bce3cdbb7a 16952 libdevel optional liballegro-acodec5-dev_5.2.8.0+dfsg-1_arm64.deb │ 9ef047bb42d9aa132129cf7b57d4a5a3 60860 debug optional liballegro-acodec5.2-dbgsym_5.2.8.0+dfsg-1_arm64.deb │ 0aeea781320da8bc217a4c275fd21499 34412 libs optional liballegro-acodec5.2_5.2.8.0+dfsg-1_arm64.deb │ 6846d032bacb500ea7145ab5a62eac6e 19740 libdevel optional liballegro-audio5-dev_5.2.8.0+dfsg-1_arm64.deb │ ae13189617543976db6d093a4c3ecda9 106472 debug optional liballegro-audio5.2-dbgsym_5.2.8.0+dfsg-1_arm64.deb │ 914257468a46a9b78510a33e802be075 53192 libs optional liballegro-audio5.2_5.2.8.0+dfsg-1_arm64.deb │ a50c2dfd0125e08b4b6f88a4166c2135 18028 libdevel optional liballegro-dialog5-dev_5.2.8.0+dfsg-1_arm64.deb ├── allegro5-doc_5.2.8.0+dfsg-1_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2022-12-06 16:59:12.000000 debian-binary │ │ --rw-r--r-- 0 0 0 31448 2022-12-06 16:59:12.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 1481224 2022-12-06 16:59:12.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 31420 2022-12-06 16:59:12.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 1472852 2022-12-06 16:59:12.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./control │ │ │ │ @@ -1,13 +1,13 @@ │ │ │ │ Package: allegro5-doc │ │ │ │ Source: allegro5 │ │ │ │ Version: 2:5.2.8.0+dfsg-1 │ │ │ │ Architecture: all │ │ │ │ Maintainer: Debian Games Team │ │ │ │ -Installed-Size: 5678 │ │ │ │ +Installed-Size: 5528 │ │ │ │ Depends: fonts-dejavu-core │ │ │ │ Section: doc │ │ │ │ Priority: optional │ │ │ │ Multi-Arch: foreign │ │ │ │ Homepage: https://liballeg.org/ │ │ │ │ Description: documentation for the Allegro 5 library │ │ │ │ This package contains the Allegro documentation in various formats, │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -197,399 +197,399 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5396 2017-05-30 18:25:58.000000 ./usr/share/doc/allegro5-doc/examples/ex_window_maximized.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2660 2015-08-31 04:43:15.000000 ./usr/share/doc/allegro5-doc/examples/ex_window_title.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4515 2021-10-23 04:51:52.000000 ./usr/share/doc/allegro5-doc/examples/ex_windows.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1674 2013-11-06 11:26:41.000000 ./usr/share/doc/allegro5-doc/examples/ex_winfull.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 19521 2016-02-21 20:36:27.000000 ./usr/share/doc/allegro5-doc/examples/nihgui.cpp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6456 2013-07-07 19:37:58.000000 ./usr/share/doc/allegro5-doc/examples/nihgui.hpp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12006 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/acodec.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 270452 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11365 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/acodec.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 222951 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 36350 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/autosuggest.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 85229 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/color.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 37451 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/config.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 65575 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/color.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 36835 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/config.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 17025 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/direct3d.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 81613 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/display.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 77986 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/events.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 61528 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/file.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 55962 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/fixed.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 116488 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/font.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41928 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/fshook.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 13249 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 81265 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/display.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 76630 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/events.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 61020 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/file.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 55786 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/fixed.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93506 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/font.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41161 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/fshook.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 13087 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 16408 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/getting_started.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 220633 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/graphics.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 69012 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/haptic.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12823 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/image.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 219103 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/graphics.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 68337 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/haptic.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11976 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/image.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/images/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 21480 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/images/LINE_CAP.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 15893 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/images/LINE_JOIN.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 65065 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/images/audio.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 16058 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/images/primitives1.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 25805 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/images/primitives2.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6469 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 109449 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/index_all.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 34838 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/joystick.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22779 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/keyboard.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 34302 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/joystick.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22567 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/keyboard.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 8705 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/main.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10783 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/memfile.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 23133 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/memory.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10172 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/misc.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 17484 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/monitor.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 39776 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/mouse.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 90710 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/native_dialog.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10148 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/memfile.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21741 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/memory.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10021 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/misc.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 17322 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/monitor.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 39570 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/mouse.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 76509 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/native_dialog.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 26484 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/opengl.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3973 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/pandoc.css │ │ │ │ -rw-r--r-- 0 root (0) root (0) 37115 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/path.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11902 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/physfs.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11469 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/physfs.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 25747 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/platform.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 172587 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/primitives.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 143428 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/primitives.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 71562 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/search_index.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44884 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15770 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/state.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 67306 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/system.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 35128 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/threads.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44272 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15417 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/state.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 66981 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/system.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 34546 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/threads.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 12236 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/time.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25283 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/timer.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22404 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/touch.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 81363 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 101006 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 36175 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 24471 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/timer.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21450 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/touch.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 81161 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 100613 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 30831 2022-12-06 16:59:12.000000 ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-12-06 16:59:12.000000 ./usr/share/doc-base/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 300 2022-12-06 16:50:02.000000 ./usr/share/doc-base/allegro5-doc.allegro5 │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-12-06 16:59:12.000000 ./usr/share/man/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 539 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 393 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 688 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 689 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 449 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 607 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1084 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 383 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 591 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 390 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 382 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 380 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 372 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 388 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 590 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4718 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 503 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 536 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 435 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 445 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 408 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 388 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 908 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 537 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 555 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 456 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 645 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 816 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 916 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 560 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 949 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 3265 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 588 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 503 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 472 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 548 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 586 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 561 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 535 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 929 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 511 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 840 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 635 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 592 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 576 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 591 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 381 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 374 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 431 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 2284 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 599 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1265 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 700 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 495 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1032 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 616 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_RENDER_FUNCTION.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 990 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_RENDER_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 542 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SAMPLE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 482 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SAMPLE_ID.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 735 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SAMPLE_INSTANCE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 432 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SEEK.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 585 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SHADER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 650 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SHADER_PLATFORM.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 839 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SHADER_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 816 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_STATE_FLAGS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SYSTEM_ID.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 389 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TEXTLOG.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 376 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_THREAD.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 536 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 388 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 685 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 684 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 602 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1079 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 378 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 588 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 382 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 377 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 418 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 377 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 367 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 384 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 587 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4715 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 498 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 531 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 405 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 384 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 906 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 534 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 551 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 452 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 642 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 812 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 912 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 555 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 946 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3262 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 584 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 499 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 469 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 414 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 543 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 580 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 558 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 924 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 506 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 420 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 835 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 630 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 432 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 589 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 574 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 586 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 376 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 370 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2282 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 597 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1261 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 698 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1029 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 613 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 471 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_RENDER_FUNCTION.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 986 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_RENDER_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 538 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SAMPLE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 477 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SAMPLE_ID.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 730 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SAMPLE_INSTANCE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 429 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SEEK.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 581 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SHADER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 646 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SHADER_PLATFORM.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 835 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SHADER_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 811 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_STATE_FLAGS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 523 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_SYSTEM_ID.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 385 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TEXTLOG.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 370 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_THREAD.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TIMEOUT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 385 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TIMER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 412 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 414 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 596 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_STATE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 493 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TRANSFORM.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 381 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USECS_TO_SECS.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 805 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USER_EVENT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USTR.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 452 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USTR_INFO.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 712 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 495 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_BUFFER.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 543 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_CACHE_SIZE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 513 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_DECL.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1017 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_ELEMENT.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 658 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VIDEO_EVENT_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 692 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VIDEO_POSITION_TYPE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VOICE.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 520 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_WRITE_MASK_FLAGS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 380 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TIMER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 409 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 591 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TOUCH_STATE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_TRANSFORM.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 375 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USECS_TO_SECS.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 799 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USER_EVENT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USTR.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 447 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_USTR_INFO.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 706 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_BUFFER.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 538 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_CACHE_SIZE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 509 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_DECL.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1012 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VERTEX_ELEMENT.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 655 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VIDEO_EVENT_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 685 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VIDEO_POSITION_TYPE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 518 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_VOICE.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 516 2022-12-06 16:59:12.000000 ./usr/share/man/man3/ALLEGRO_WRITE_MASK_FLAGS.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 612 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_acknowledge_drawing_halt.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_acknowledge_drawing_resume.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 684 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_acknowledge_resize.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 550 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_add_config_comment.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_add_config_section.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_add_new_bitmap_flag.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 504 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_add_timer_count.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 506 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_android_get_activity.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 753 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_android_get_jni_env.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_android_get_os_version.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_android_set_apk_file_interface.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 628 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_android_set_apk_fs_interface.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 504 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_append_menu_item.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 586 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_append_native_text_log.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 498 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_append_menu_item.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 581 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_append_native_text_log.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 405 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_append_path_component.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 759 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_apply_window_constraints.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_audio_stream_to_mixer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 689 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_audio_stream_to_voice.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 575 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_mixer_to_mixer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 500 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_mixer_to_voice.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 490 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_sample_instance_to_mixer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 670 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_sample_instance_to_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 477 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_audio_stream_to_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 683 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_audio_stream_to_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 570 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_mixer_to_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 495 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_mixer_to_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 485 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_sample_instance_to_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 664 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_sample_instance_to_voice.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1877 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_shader_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 550 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_attach_shader_source_file.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 735 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_backup_dirty_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_backup_dirty_bitmaps.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 544 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_broadcast_cond.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 947 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_build_camera_transform.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 567 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_build_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 563 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_build_menu.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 658 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_build_shader.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 696 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_build_transform.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1370 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calculate_arc.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 790 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calculate_ribbon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 743 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calculate_spline.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 471 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calloc.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1364 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calculate_arc.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 784 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calculate_ribbon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 737 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calculate_spline.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calloc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 485 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_calloc_with_context.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_change_directory.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1016 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_check_inverse.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 690 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clear_depth_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 775 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clear_keyboard_state.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clear_to_color.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clipboard_has_text.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 550 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clone_bitmap.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 494 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clone_menu.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 438 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clone_menu_for_popup.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clone_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clone_menu_for_popup.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 402 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_clone_path.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_close_directory.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_close_native_text_log.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 431 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_close_video.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_cmyk.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_cmyk_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 849 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_distance_ciede2000.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 502 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsl.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 539 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsl_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 498 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsv.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 533 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsv_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 570 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_html.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 629 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_html_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 706 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lab.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lab_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 664 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lch.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lch_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 894 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_linear.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 463 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_linear_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_name.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1344 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_name_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 620 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_oklab.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_oklab_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 561 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_cmyk.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_hsl.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 486 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_hsv.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 645 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_html.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_lab.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_lch.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 462 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_linear.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 458 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_name.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_oklab.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_xyy.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_xyz.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_yuv.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 529 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyy.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyy_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 665 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyz.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyz_to_rgb.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_yuv.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 432 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_yuv_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_close_native_text_log.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_close_video.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_cmyk.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_cmyk_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 843 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_distance_ciede2000.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 498 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsl.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 535 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsl_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 494 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsv.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 527 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_hsv_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 565 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_html.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 623 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_html_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 702 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lab.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lab_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 661 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lch.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_lch_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 890 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_linear.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_linear_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 435 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_name.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1338 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_name_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 615 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_oklab.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_oklab_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 554 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_cmyk.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 484 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_hsl.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_hsv.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 641 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_html.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_lab.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_lch.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 458 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_linear.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 454 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_name.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_oklab.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_xyy.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_xyz.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_rgb_to_yuv.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 525 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyy.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyy_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 660 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyz.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_xyz_to_rgb.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_yuv.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 428 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_color_yuv_to_rgb.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 599 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_compose_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 601 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_convert_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_convert_mask_to_alpha.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 679 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_convert_memory_bitmaps.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_copy_transform.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1156 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_audio_recorder.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1390 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1148 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_audio_recorder.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1384 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_audio_stream.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1730 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_bitmap.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 724 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_builtin_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 719 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_builtin_font.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 403 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_cond.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_config.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 698 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_display.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 476 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_event_queue.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 556 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_file_handle.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_fs_entry.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 912 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_index_buffer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_menu.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 711 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 906 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_index_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 705 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_mixer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 534 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_mouse_cursor.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_mutex.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 598 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_mutex_recursive.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1236 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_native_file_dialog.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1229 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_native_file_dialog.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 533 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_path.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_path_for_directory.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 509 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_popup_menu.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 922 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_sample_instance.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 504 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_popup_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 914 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_sample_instance.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 758 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_shader.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 839 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_sub_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 520 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_thread.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 628 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_thread_with_stacksize.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 586 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_timer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 913 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_vertex_buffer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 548 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_vertex_decl.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 837 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 907 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_vertex_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 543 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_vertex_decl.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 831 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_create_voice.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 791 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_cstr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_cstr_dup.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 561 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_audio_recorder.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 501 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 556 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_audio_recorder.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_audio_stream.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 583 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 445 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_cond.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_config.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 550 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_display.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 464 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_event_queue.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 423 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 418 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_font.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_fs_entry.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 449 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_index_buffer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 496 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_menu.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 391 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_index_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 387 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_mixer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_mouse_cursor.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 450 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_mutex.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_native_file_dialog.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 398 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_native_file_dialog.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_path.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 536 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 476 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_sample_instance.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 531 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 469 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_sample_instance.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 588 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_shader.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 470 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_thread.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 488 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_timer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 461 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_user_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_vertex_buffer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 463 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_vertex_decl.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_voice.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_audio_stream.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 424 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_mixer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 484 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_sample_instance.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_voice.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 460 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_disable_menu_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1049 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_do_multiline_text.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 505 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_do_multiline_ustr.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 493 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_drain_audio_stream.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 623 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_arc.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_vertex_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_vertex_decl.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 433 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_destroy_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_sample_instance.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_detach_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_disable_menu_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1042 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_do_multiline_text.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 500 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_do_multiline_ustr.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_drain_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 617 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_arc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 856 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 587 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_bitmap_region.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 528 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_circle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 533 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_ellipse.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 648 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_elliptical_arc.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 478 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_circle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 485 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_ellipse.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 606 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_pieslice.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 639 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_polygon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1076 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_polygon_with_holes.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 503 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_rectangle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_rounded_rectangle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_triangle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 767 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_glyph.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 856 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_indexed_buffer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 757 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_indexed_prim.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 701 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_justified_text.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 516 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_justified_textf.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 504 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_justified_ustr.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 528 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_line.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1363 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_multiline_text.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 538 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_multiline_textf.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 525 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_multiline_ustr.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 652 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_pieslice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 522 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_circle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_ellipse.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 643 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_elliptical_arc.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_circle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 480 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_ellipse.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 600 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_pieslice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 633 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_polygon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1070 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_polygon_with_holes.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 496 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_rectangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_rounded_rectangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_filled_triangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 762 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_glyph.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 848 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_indexed_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 751 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_indexed_prim.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 696 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_justified_text.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 509 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_justified_textf.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 499 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_justified_ustr.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_line.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1357 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_multiline_text.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 531 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_multiline_textf.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 519 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_multiline_ustr.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 646 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_pieslice.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 743 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_pixel.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 700 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_polygon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 929 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_polyline.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 894 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_prim.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 548 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_rectangle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 711 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_ribbon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 695 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_polygon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 923 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_polyline.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 888 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_prim.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 543 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_rectangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 704 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_ribbon.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 805 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_rotated_bitmap.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 577 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_rounded_rectangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 575 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_rounded_rectangle.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 597 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_scaled_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 676 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_scaled_rotated_bitmap.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 945 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_soft_line.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1186 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_soft_triangle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 542 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_spline.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 829 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_text.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_textf.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 937 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_soft_line.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1175 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_soft_triangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 538 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_spline.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 824 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_text.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_textf.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 642 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_tinted_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 509 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_tinted_bitmap_region.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 510 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_tinted_rotated_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 515 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_tinted_scaled_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 522 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_tinted_scaled_rotated_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 663 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_tinted_scaled_rotated_bitmap_region.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 542 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_triangle.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 502 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_ustr.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 749 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_vertex_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 536 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_triangle.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 496 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_ustr.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 744 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_draw_vertex_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 466 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_drop_next_event.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_drop_path_tail.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1095 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_emit_user_event.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 533 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_enable_menu_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_enable_menu_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 552 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fclearerr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fclose.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 604 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_feof.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 498 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ferrmsg.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ferror.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fflush.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 593 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fget_ustr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fgetc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 671 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fgets.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_filename_exists.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 509 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fill_silence.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_find_menu.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 644 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_find_menu_item.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 503 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fill_silence.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_find_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 639 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_find_menu_item.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 628 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixacos.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 763 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixadd.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 730 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixasin.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixatan.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 714 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixatan2.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 508 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixceil.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 558 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixcos.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 822 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixdiv.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1018 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixed.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1014 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 514 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixfloor.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 450 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixhypot.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 801 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixmul.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 537 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixsin.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixsqrt.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 769 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixsub.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 591 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fixtan.3alleg5.gz │ │ │ │ @@ -607,135 +607,135 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fputc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 636 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fputs.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 595 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fread.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fread16be.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 525 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fread16le.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fread32be.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fread32le.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 588 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_free.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 583 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_free.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_free_with_context.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 476 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fs_entry_exists.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 673 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fseek.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 389 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fsize.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ftell.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 644 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ftofix.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 680 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fungetc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 527 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fwrite.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 458 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fwrite16be.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fwrite16le.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 458 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fwrite32be.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 460 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_fwrite32le.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_acodec_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_audio_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_color_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_font_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_image_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 402 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_memfile_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 408 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_native_dialog_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 402 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_physfs_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_primitives_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_ttf_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 398 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_acodec_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 397 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_audio_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 397 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_color_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_font_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 397 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_image_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 398 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_memfile_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_native_dialog_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 398 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_physfs_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 400 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_primitives_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_ttf_version.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 671 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_version.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 411 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_video_version.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_allegro_video_version.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 393 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_app_name.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_depth_size.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_device_name.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 418 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_output_device.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_recorder_event.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 482 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_recorder_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_attached.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 431 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_channels.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_depth.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 470 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 839 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_fragment.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 480 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_fragments.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 408 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_frequency.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_length.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 511 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_length_secs.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_pan.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 447 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_played_samples.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 418 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_playmode.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_position_secs.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 426 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_speed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_available_audio_stream_fragments.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_depth_size.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_device_name.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_output_device.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 453 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_recorder_event.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 477 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_recorder_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_attached.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_channels.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 410 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_depth.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 466 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 834 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_fragment.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_fragments.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_frequency.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_gain.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_length.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 505 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_length_secs.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 409 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_pan.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_played_samples.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_playmode.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 486 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_position_secs.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_audio_stream_speed.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 486 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_available_audio_stream_fragments.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 709 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_backbuffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 458 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_blend_color.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_depth.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_format.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 380 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_height.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 495 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_samples.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 380 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_width.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 445 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_x.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 445 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_bitmap_y.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_blend_color.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_blender.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_channel_count.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_channel_count.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 651 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_clipboard_text.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 402 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_clipping_rectangle.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 549 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_config_value.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 792 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_cpu_count.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 537 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_current_directory.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_current_display.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 552 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_current_inverse_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 468 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_current_projection_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 478 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_current_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 465 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_d3d_device.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 484 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_d3d_system_texture.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_d3d_texture_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 505 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_d3d_texture_size.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 507 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_d3d_video_texture.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 503 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_menu_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 542 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_menu_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 537 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_mixer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 631 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_shader_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_default_voice.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 585 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 403 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_format.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_height.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 460 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 456 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_menu.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 566 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_mode.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_option.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 476 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_orientation.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 398 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_refresh_rate.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_display_width.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_errno.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 453 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_event_source_data.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 409 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fallback_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 405 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fallback_font.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_file_userdata.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 554 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_first_config_entry.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 605 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_first_config_section.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_ascent.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_descent.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 673 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_line_height.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 635 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_ranges.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_ascent.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_descent.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 667 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_line_height.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 630 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_font_ranges.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 535 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_entry_atime.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_entry_ctime.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 457 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_entry_mode.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_entry_mtime.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 673 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_entry_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_entry_size.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 435 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_fs_interface.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 646 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1356 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph_advance.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1206 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph_dimensions.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 517 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph_width.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 640 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1351 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph_advance.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1200 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph_dimensions.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 511 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_glyph_width.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 840 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_autocenter.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 570 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_capabilities.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 594 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_effect_duration.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 544 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_from_display.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 652 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_from_joystick.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 548 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_from_keyboard.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 542 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_from_mouse.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 554 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_from_touch_input.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 705 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_haptic_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 426 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_index_buffer_size.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_index_buffer_size.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 612 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 521 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_active.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 472 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_axis_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_button_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 429 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 420 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 449 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_num_axes.3alleg5.gz │ │ │ │ @@ -743,38 +743,38 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_num_sticks.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 429 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_state.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 464 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_stick_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 463 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_joystick_stick_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_keyboard_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_keyboard_state.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 588 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_max_haptic_effects.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_menu_item_caption.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_menu_item_flags.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 537 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_menu_item_icon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_attached.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_channels.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 411 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_depth.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_frequency.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 409 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_quality.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_menu_item_caption.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 486 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_menu_item_flags.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_menu_item_icon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 450 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_attached.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_channels.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_depth.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 410 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_frequency.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_gain.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 405 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 411 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mixer_quality.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_monitor_dpi.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 590 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_monitor_info.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_monitor_refresh_rate.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 521 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_cursor_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 531 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_emulation_mode.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_num_axes.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_num_buttons.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 610 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_state.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 480 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_state_axis.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_mouse_wheel_precision.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_native_file_dialog_count.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_native_file_dialog_path.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 603 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_native_text_log_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 423 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_native_file_dialog_count.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_native_file_dialog_path.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 598 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_native_text_log_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 501 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_bitmap_depth.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 390 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_bitmap_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_bitmap_format.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 501 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_bitmap_samples.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 464 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_bitmap_wrap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 477 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_display_adapter.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 418 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_display_flags.3alleg5.gz │ │ │ │ @@ -782,15 +782,15 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_display_refresh_rate.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_file_interface.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 429 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_window_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 585 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_new_window_title.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_next_config_entry.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_next_config_section.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 534 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_next_event.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_num_audio_output_devices.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_num_audio_output_devices.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_num_display_modes.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_num_joysticks.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 568 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_num_video_adapters.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 898 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_opengl_extension_list.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 658 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_opengl_fbo.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 822 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_opengl_proc_address.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_opengl_program_object.3alleg5.gz │ │ │ │ @@ -811,313 +811,313 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 514 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_pixel.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 438 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_pixel_block_height.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_pixel_block_size.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 438 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_pixel_block_width.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_pixel_format_bits.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_pixel_size.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 833 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_ram_size.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 582 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 456 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_channels.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_data.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 450 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_depth.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_frequency.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 457 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_attached.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 453 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_channels.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_depth.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_frequency.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 428 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 480 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_length.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 423 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_pan.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 464 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_playmode.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_position.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 435 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_speed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_time.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 445 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_length.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 577 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_channels.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_data.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_depth.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_frequency.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_attached.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 449 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_channels.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_depth.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_frequency.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_gain.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_length.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_pan.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 460 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_playmode.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 428 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_position.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_speed.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_instance_time.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_sample_length.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 507 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_separate_bitmap_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 462 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_separate_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_shader_log.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_shader_platform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1561 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_standard_path.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 844 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_system_config.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_system_id.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_target_bitmap.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 661 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_text_dimensions.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_text_width.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 655 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_text_dimensions.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 454 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_text_width.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 556 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_thread_should_stop.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 455 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_time.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_timer_count.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 420 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_timer_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_timer_speed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 396 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_timer_started.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 464 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_touch_input_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 575 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_touch_input_mouse_emulation_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 450 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_touch_input_state.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 477 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_ustr_dimensions.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 426 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_ustr_width.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 423 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_vertex_buffer_size.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_audio_rate.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 445 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 431 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_fps.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 681 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_frame.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_position.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_scaled_height.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 496 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_scaled_width.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_channels.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_depth.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_frequency.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 483 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_position.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 471 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_ustr_dimensions.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_ustr_width.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_vertex_buffer_size.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 400 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_audio_rate.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_event_source.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_fps.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 677 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_frame.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 469 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_position.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 494 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_scaled_height.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_video_scaled_width.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 418 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_channels.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_depth.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_frequency.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 411 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 472 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_voice_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_win_window_handle.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_window_constraints.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_window_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_get_x_window_id.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1317 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_grab_font_from_bitmap.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1312 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_grab_font_from_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 563 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_grab_mouse.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 451 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_have_d3d_non_pow2_texture_support.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 438 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_have_d3d_non_square_texture_support.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 550 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_have_opengl_extension.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 502 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_hide_mouse_cursor.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 883 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_hold_bitmap_drawing.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_horizontal_shear_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 676 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_bitmap_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 541 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 677 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_sample_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 518 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_video.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 615 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_video_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 537 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 671 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_sample_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 515 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_video.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 611 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identify_video_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 511 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_identity_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 478 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_inhibit_screensaver.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 636 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 802 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_acodec_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 647 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_font_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 746 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_image_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 606 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_native_dialog_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 428 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_primitives_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 631 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 799 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_acodec_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 644 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_font_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 742 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_image_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 603 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_native_dialog_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 424 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_primitives_addon.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 502 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_timeout.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 447 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_ttf_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 442 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_ttf_addon.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 901 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_user_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 376 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_video_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 921 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_insert_menu_item.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 372 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_init_video_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 915 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_insert_menu_item.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 542 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_insert_path_component.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 484 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_audio.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_audio.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 782 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 424 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_joystick.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_keyboard.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 414 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_mouse.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 854 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_system.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_install_touch_input.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 592 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_invert_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 411 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_iphone_get_view.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_iphone_get_window.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 489 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_iphone_set_statusbar_orientation.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 403 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_acodec_addon_initialized.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 401 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_audio_installed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_audio_recorder_recording.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_acodec_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_audio_installed.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 470 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_audio_recorder_recording.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 409 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_bitmap_drawing_held.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_bitmap_locked.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 482 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_color_valid.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 705 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_compatible_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_d3d_device_lost.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 574 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_display_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_event_queue_empty.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 423 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_event_queue_paused.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_event_source_registered.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 429 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_font_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_font_addon_initialized.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 518 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_haptic_active.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 606 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_haptic_capable.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 571 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_haptic_effect_ok.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 636 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_haptic_effect_playing.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 504 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_haptic_installed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_image_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_image_addon_initialized.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 520 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_joystick_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 383 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_joystick_installed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 520 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_keyboard_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 383 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_keyboard_installed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 515 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_mouse_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 379 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_mouse_installed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 410 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_native_dialog_addon_initialized.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_primitives_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_native_dialog_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 432 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_primitives_addon_initialized.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_sub_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 376 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_system_installed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_touch_input_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 394 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_touch_input_installed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_ttf_addon_initialized.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 403 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_video_addon_initialized.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 402 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_video_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 427 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_ttf_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_video_addon_initialized.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 400 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_is_video_playing.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 660 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_itofix.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 607 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_join_paths.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 534 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_join_thread.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 428 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_key_down.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 380 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_keycode_to_name.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 786 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_audio_stream.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 910 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_audio_stream_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 780 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 903 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_audio_stream_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 668 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 734 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1881 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 721 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_flags_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 558 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_font.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 517 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_font_flags.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 554 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 511 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_bitmap_font_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_config_file.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_config_file_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 609 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_font.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 653 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 746 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_sample_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 942 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 567 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 673 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font_stretch.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 605 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font_stretch_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 604 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 648 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 741 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_sample_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 936 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 562 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 667 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font_stretch.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 598 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_load_ttf_font_stretch_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1304 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 684 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_bitmap_blocked.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 769 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_bitmap_region.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 517 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_bitmap_region_blocked.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 652 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_index_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 646 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_index_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 625 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_mutex.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 719 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_sample_id.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 652 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_vertex_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 714 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_sample_id.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 647 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_lock_vertex_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 505 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_make_directory.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 568 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_make_path_canonical.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 647 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_make_temp_file.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_malloc.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_malloc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_malloc_with_context.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 468 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_map_rgb.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 462 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_map_rgb_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 470 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_map_rgba.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 462 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_map_rgba_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 501 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_merge_config.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_merge_config_into.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 485 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_mouse_button_down.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 472 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_directory.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 552 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_fs_entry.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 696 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_memfile.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 719 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_native_text_log.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 454 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_video.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 690 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_memfile.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 713 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_native_text_log.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 450 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_open_video.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 963 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_orthographic_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_osx_get_window.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 611 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_path_cstr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 620 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_path_ustr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 611 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_pause_event_queue.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 540 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_peek_next_event.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1403 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_perspective_transform.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 666 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_audio_stream.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 771 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_audio_stream_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 662 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 765 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_audio_stream_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 729 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_haptic_effect.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 832 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 435 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_sample_instance.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 813 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_popup_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 827 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 430 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_play_sample_instance.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 808 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_popup_menu.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 750 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_premul_rgba.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 735 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_premul_rgba_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_put_blended_pixel.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 539 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_put_pixel.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_radtofix_r.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 592 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_read_directory.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 471 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_realloc.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_realloc.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 486 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_realloc_with_context.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 576 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rebase_path.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 907 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reconfigure_joysticks.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ref_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 658 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ref_cstr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 739 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ref_ustr.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 509 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_assert_handler.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 678 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_audio_stream_loader.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 682 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_audio_stream_loader_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 671 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_audio_stream_loader.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 676 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_audio_stream_loader_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 816 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_bitmap_identifier.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 633 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_bitmap_loader.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 629 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_bitmap_loader_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 633 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_bitmap_saver.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 629 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_bitmap_saver_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 506 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_event_source.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 622 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_font_loader.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 831 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_identifier.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 636 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_loader.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 629 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_loader_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 642 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_saver.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 635 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_saver_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 618 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_font_loader.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 824 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_identifier.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 630 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_loader.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 624 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_loader_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 636 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_saver.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 630 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_sample_saver_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 577 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_register_trace_handler.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 734 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_release_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 849 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_release_haptic_effect.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_release_joystick.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 468 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_config_key.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_config_section.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 520 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_display_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 514 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_display_menu.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 521 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_filename.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_fs_entry.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 616 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_menu_item.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 611 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_menu_item.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 483 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_opengl_fbo.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 507 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_remove_path_component.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 654 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reparent_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 518 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_replace_path_component.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 743 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reserve_samples.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 740 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reserve_samples.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reset_bitmap_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reset_clipping_rectangle.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 393 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_reset_new_display_options.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 527 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_resize_display.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 549 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rest.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 585 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_restore_default_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 581 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_restore_default_mixer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 411 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_restore_state.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 522 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_resume_timer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 484 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rewind_audio_stream.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rewind_audio_stream.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 472 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rotate_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 510 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rotate_transform_3d.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 926 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_rumble_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_run_detached_thread.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 612 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_run_main.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 576 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 654 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_bitmap_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 449 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_config_file.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 466 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_config_file_f.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 601 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 643 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_sample_f.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 596 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 638 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_save_sample_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 466 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_scale_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 466 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_scale_transform_3d.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 522 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_seek_audio_stream_secs.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_seek_video.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 516 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_seek_audio_stream_secs.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 440 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_seek_video.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 490 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_app_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 415 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_channel_matrix.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_fragment.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 483 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_loop_secs.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 628 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_pan.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 447 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 463 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_playmode.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 503 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_speed.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 491 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_fragment.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 478 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_gain.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_loop_secs.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 623 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_pan.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 441 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_playmode.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 496 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_audio_stream_speed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 470 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_bitmap_blend_color.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 596 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_bitmap_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 458 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_blend_color.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1563 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 452 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_clipboard_text.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 459 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_clipping_rectangle.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 666 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_config_value.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 645 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_current_opengl_context.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 552 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_d3d_device_release_callback.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_d3d_device_restore_callback.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 558 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_default_mixer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 504 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_default_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 554 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_default_mixer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 498 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_default_voice.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 625 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_display_flag.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 444 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_display_icon.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 660 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_display_icons.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 766 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_display_menu.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 761 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_display_menu.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 715 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_display_option.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 359 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_errno.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 501 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_event_source_data.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 590 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_exe_name.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 531 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_fallback_font.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 524 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_fallback_font.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 431 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_fs_interface.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 897 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_haptic_autocenter.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 724 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_haptic_gain.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 548 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_keyboard_leds.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 551 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_memory_interface.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 486 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_menu_item_caption.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 478 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_menu_item_flags.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 595 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_menu_item_icon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 479 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_frequency.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 462 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 596 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_postprocess_callback.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 488 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_quality.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_menu_item_caption.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_menu_item_flags.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 591 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_menu_item_icon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_frequency.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 457 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_gain.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 589 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_postprocess_callback.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 484 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mixer_quality.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 478 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_axis.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_cursor.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 525 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_emulation_mode.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 419 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_w.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 876 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_wheel_precision.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 515 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_xy.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_mouse_z.3alleg5.gz │ │ │ │ @@ -1133,25 +1133,25 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_new_file_interface.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_new_window_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_new_window_title.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 497 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_org_name.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 446 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_path_drive.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 578 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_path_extension.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 470 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_path_filename.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 801 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_physfs_file_interface.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 797 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_physfs_file_interface.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 502 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_render_state.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 731 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 886 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_channel_matrix.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_gain.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 552 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_length.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 683 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_pan.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 495 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_playmode.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_position.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 508 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_speed.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 725 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 879 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_channel_matrix.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 482 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_gain.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 546 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_length.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 678 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_pan.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 468 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_playmode.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 462 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_position.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 502 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_sample_instance_speed.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 565 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_separate_bitmap_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 532 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_separate_blender.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 475 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_shader_bool.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 476 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_shader_float.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 460 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_shader_float_vector.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 483 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_shader_int.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 810 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_shader_int_vector.3alleg5.gz │ │ │ │ @@ -1161,64 +1161,64 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_standard_fs_interface.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 728 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_system_mouse_cursor.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 414 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_target_backbuffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1591 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_target_bitmap.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 434 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_thread_should_stop.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 490 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_timer_count.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 576 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_timer_speed.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 399 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_video_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 530 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_voice_playing.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 499 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_voice_position.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 398 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_video_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 526 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_voice_playing.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 494 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_voice_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 583 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_window_constraints.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_window_position.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 413 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_set_window_title.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 465 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_show_mouse_cursor.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 569 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_show_native_file_dialog.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1268 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_show_native_message_box.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_font_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 421 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_image_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 410 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_native_dialog_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 443 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_primitives_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 395 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_ttf_addon.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 433 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_video_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 564 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_show_native_file_dialog.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1262 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_show_native_message_box.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 433 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_font_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 417 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_image_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 406 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_native_dialog_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_primitives_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 388 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_ttf_addon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 429 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_shutdown_video_addon.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 474 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_signal_cond.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 561 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_audio_recorder.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 556 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_audio_recorder.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 469 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_thread.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 531 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_timer.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 407 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_video.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 426 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_video_with_voice.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 624 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_audio_recorder.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 402 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_video.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 422 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_start_video_with_voice.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 619 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_audio_recorder.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 582 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_haptic_effect.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 404 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_sample.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 414 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_sample_instance.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 385 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_samples.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 400 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_sample.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 408 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_sample_instance.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 382 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_samples.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 473 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_stop_timer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 655 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_store_state.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 620 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_toggle_menu_item_flags.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 614 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_toggle_menu_item_flags.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 469 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_transform_coordinates.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 544 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_transform_coordinates_3d.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 903 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_transform_coordinates_3d_projective.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 495 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_transform_coordinates_4d.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 461 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_translate_transform.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 463 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_translate_transform_3d.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 573 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_transpose_transform.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 942 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_triangulate_polygon.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 934 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_triangulate_polygon.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_ungrab_mouse.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 379 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_audio.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 374 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_audio.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 609 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_haptic.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 482 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_joystick.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 457 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_keyboard.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 436 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_mouse.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 425 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_system.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 448 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_uninstall_touch_input.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 492 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_bitmap.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 437 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_index_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 432 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_index_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 467 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_mutex.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 590 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_sample_id.3alleg5.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 439 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_vertex_buffer.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 584 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_sample_id.3alleg5.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 433 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unlock_vertex_buffer.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 487 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unmap_rgb.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unmap_rgb_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 481 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unmap_rgba.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 477 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unmap_rgba_f.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 512 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unref_user_event.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 516 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_unregister_event_source.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 585 2022-12-06 16:59:12.000000 ./usr/share/man/man3/al_update_display_region.3alleg5.gz │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/acodec.html │ │ │ │ @@ -171,16 +171,15 @@ │ │ │ │ href="#al_get_allegro_acodec_version">al_get_allegro_acodec_version │ │ │ │ │ │ │ │ │ │ │ │

These functions are declared in the following header file. Link with │ │ │ │ allegro_acodec.

│ │ │ │
 #include <allegro5/allegro_acodec.h>
│ │ │ │

al_init_acodec_addon

│ │ │ │ -
bool al_init_acodec_addon(void)
│ │ │ │ -bool al_init_acodec_addon(void)
│ │ │ │ +
bool al_init_acodec_addon(void)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │

This function registers all the known audio file type handlers for al_load_sample, al_save_sample, al_load_audio_stream, │ │ │ │ @@ -211,31 +210,29 @@ │ │ │ │

  • ex_acodec_multi.c
  • │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │ │ │ │ │

    al_is_acodec_addon_initialized

    │ │ │ │ -
    bool al_is_acodec_addon_initialized(void)
    │ │ │ │ -bool al_is_acodec_addon_initialized(void)
    │ │ │ │ +
    bool al_is_acodec_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the acodec addon is initialized, otherwise returns │ │ │ │ false.

    │ │ │ │

    Since: 5.2.6

    │ │ │ │

    al_get_allegro_acodec_version

    │ │ │ │ -
    uint32_t al_get_allegro_acodec_version(void)
    │ │ │ │ -uint32_t al_get_allegro_acodec_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_acodec_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:15 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -51,15 +51,14 @@ │ │ │ │ │ * al_is_acodec_addon_initialized │ │ │ │ │ * al_get_allegro_acodec_version │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_acodec. │ │ │ │ │ #include │ │ │ │ │ ****** al_init_acodec_addon ****** │ │ │ │ │ bool al_init_acodec_addon(void) │ │ │ │ │ -bool al_init_acodec_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ This function registers all the known audio file type handlers for │ │ │ │ │ al_load_sample, al_save_sample, al_load_audio_stream, etc. │ │ │ │ │ Depending on what libraries are available, the full set of recognised │ │ │ │ │ extensions is: .wav, .flac, .ogg, .opus, .it, .mod, .s3m, .xm, .voc. │ │ │ │ │ Limitations: │ │ │ │ │ * Saving is only supported for wav files. │ │ │ │ │ @@ -75,18 +74,16 @@ │ │ │ │ │ Return true on success. │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ****** al_is_acodec_addon_initialized ****** │ │ │ │ │ bool al_is_acodec_addon_initialized(void) │ │ │ │ │ -bool al_is_acodec_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the acodec addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ ****** al_get_allegro_acodec_version ****** │ │ │ │ │ uint32_t al_get_allegro_acodec_version(void) │ │ │ │ │ -uint32_t al_get_allegro_acodec_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:15 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ │ @@ -453,16 +453,15 @@ │ │ │ │

    If you want to play large audio files (e.g. background music) without │ │ │ │ loading the whole file at once you can use al_play_audio_stream (after │ │ │ │ calling al_reserve_samples). │ │ │ │ This will load and play an ALLEGRO_AUDIO_STREAM. Note that │ │ │ │ the basic API only supports on such audio stream playing at once.

    │ │ │ │

    ALLEGRO_SAMPLE_ID

    │ │ │ │ -
    typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID;
    │ │ │ │ -typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID;
    │ │ │ │ +
    typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An ALLEGRO_SAMPLE_ID represents a sample being played via al_play_sample. It can be used to │ │ │ │ later sALLEGRO_BITMAP_WRAPtop the sample with al_stop_sample. The underlying │ │ │ │ @@ -470,16 +469,15 @@ │ │ │ │ href="audio.html#al_lock_sample_id">al_lock_sample_id.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_install_audio

    │ │ │ │ -
    bool al_install_audio(void)
    │ │ │ │ -bool al_install_audio(void)
    │ │ │ │ +
    bool al_install_audio(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Install the audio subsystem.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │
    │ │ │ │

    Note: most users will call ex_audio_devices.c │ │ │ │

  • ex_saw.c
  • │ │ │ │
  • ex_stream_file.c
  • │ │ │ │ │ │ │ │

    al_uninstall_audio

    │ │ │ │ -
    void al_uninstall_audio(void)
    │ │ │ │ -void al_uninstall_audio(void)
    │ │ │ │ +
    void al_uninstall_audio(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Uninstalls the audio subsystem.

    │ │ │ │

    See also: al_install_audio

    │ │ │ │

    Examples:

    │ │ │ │ @@ -516,25 +513,23 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L116">ex_saw.c │ │ │ │
  • ex_stream_file.c
  • │ │ │ │
  • ex_acodec_multi.c
  • │ │ │ │ │ │ │ │

    al_is_audio_installed

    │ │ │ │ -
    bool al_is_audio_installed(void)
    │ │ │ │ -bool al_is_audio_installed(void)
    │ │ │ │ +
    bool al_is_audio_installed(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if al_install_audio was called │ │ │ │ previously and returned successfully.

    │ │ │ │

    al_reserve_samples

    │ │ │ │ -
    bool al_reserve_samples(int reserve_samples)
    │ │ │ │ -bool al_reserve_samples(int reserve_samples)
    │ │ │ │ +
    bool al_reserve_samples(int reserve_samples)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Reserves a number of sample instances, attaching them to the default │ │ │ │ mixer. If no default mixer is set when this function is called, then it │ │ │ │ will create one and attach it to the default voice. If no default voice │ │ │ │ has been set, it, too, will be created.

    │ │ │ │ @@ -562,17 +557,15 @@ │ │ │ │
  • ex_audio_props.cpp
  • │ │ │ │
  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_play_sample

    │ │ │ │
    bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed,
    │ │ │ │ -   ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id)
    │ │ │ │ -bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed,
    │ │ │ │ -   ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id)
    │ │ │ │ + ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Plays a sample on one of the sample instances created by al_reserve_samples. Returns │ │ │ │ true on success, false on failure. Playback may fail because all the │ │ │ │ reserved sample instances are currently used.

    │ │ │ │ @@ -605,16 +598,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L107">ex_acodec_multi.c │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_stop_sample

    │ │ │ │ -
    void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │ -void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │ +
    void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Stop the sample started by al_play_sample.

    │ │ │ │

    See also: al_stop_samples

    │ │ │ │ @@ -624,30 +616,28 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L123">ex_acodec_multi.c │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_stop_samples

    │ │ │ │ -
    void al_stop_samples(void)
    │ │ │ │ -void al_stop_samples(void)
    │ │ │ │ +
    void al_stop_samples(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Stop all samples started by al_play_sample.

    │ │ │ │

    See also: al_stop_sample

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_lock_sample_id

    │ │ │ │ -
    ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │ -ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │ +
    ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Locks a ALLEGRO_SAMPLE_ID, │ │ │ │ returning the underlying ALLEGRO_SAMPLE_INSTANCE. │ │ │ │ This allows you to adjust the various properties of the instance (such │ │ │ │ @@ -669,16 +659,15 @@ │ │ │ │

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_unlock_sample_id

    │ │ │ │ -
    void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │ -void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │ +
    void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Unlocks a ALLEGRO_SAMPLE_ID, allowing │ │ │ │ future calls to al_play_sample │ │ │ │ to reuse it if possible. Note that after the id is unlocked, the │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_play_audio_stream

    │ │ │ │ -
    ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename)
    │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename)
    │ │ │ │ +
    ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads and plays an audio file from disk as it is needed. This API can │ │ │ │ only play one audio stream at a time.

    │ │ │ │

    Returns the stream on success, NULL on failure. You must not destroy │ │ │ │ the returned stream, it will be automatically destroyed when the addon │ │ │ │ @@ -725,16 +713,15 @@ │ │ │ │ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_play_audio_stream_f

    │ │ │ │ -
    ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char *ident)
    │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char *ident)
    │ │ │ │ +
    ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char *ident)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads and plays an audio file from ALLEGRO_FILE stream as it is │ │ │ │ needed.

    │ │ │ │

    The file type is determined by the passed ‘ident’ parameter, which is │ │ │ │ @@ -755,16 +742,15 @@ │ │ │ │

    Since: 5.2.8

    │ │ │ │
    │ │ │ │

    Unstable │ │ │ │ API: New API.

    │ │ │ │
    │ │ │ │

    Samples

    │ │ │ │

    ALLEGRO_SAMPLE

    │ │ │ │ -
    typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE;
    │ │ │ │ -typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE;
    │ │ │ │ +
    typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An ALLEGRO_SAMPLE object stores the data necessary for playing │ │ │ │ pre-defined digital audio. It holds a user-specified PCM data buffer and │ │ │ │ information about its format (data length, depth, frequency, channel │ │ │ │ configuration). You can have the same ALLEGRO_SAMPLE playing multiple │ │ │ │ @@ -779,18 +765,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L21">ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │ │ │ │ │

    al_create_sample

    │ │ │ │
    ALLEGRO_SAMPLE *al_create_sample(void *buf, unsigned int samples,
    │ │ │ │     unsigned int freq, ALLEGRO_AUDIO_DEPTH depth,
    │ │ │ │ -   ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf)
    │ │ │ │ -ALLEGRO_SAMPLE *al_create_sample(void *buf, unsigned int samples,
    │ │ │ │ -   unsigned int freq, ALLEGRO_AUDIO_DEPTH depth,
    │ │ │ │ -   ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf)
    │ │ │ │ + ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Create a sample data structure from the supplied buffer. If │ │ │ │ free_buf is true then the buffer will be freed with al_free when the sample data structure is │ │ │ │ destroyed. For portability (especially Windows), the buffer should have │ │ │ │ @@ -820,16 +803,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L83">ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_load_sample

    │ │ │ │ -
    ALLEGRO_SAMPLE *al_load_sample(const char *filename)
    │ │ │ │ -ALLEGRO_SAMPLE *al_load_sample(const char *filename)
    │ │ │ │ +
    ALLEGRO_SAMPLE *al_load_sample(const char *filename)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads a few different audio file formats based on their │ │ │ │ extension.

    │ │ │ │

    Note that this stores the entire file in memory at once, which may be │ │ │ │ time consuming. To read the file as it is needed, use ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_load_sample_f

    │ │ │ │ -
    ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident)
    │ │ │ │ -ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident)
    │ │ │ │ +
    ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads an audio file from an ALLEGRO_FILE stream into an ALLEGRO_SAMPLE. The file type is │ │ │ │ determined by the passed ‘ident’ parameter, which is a file name │ │ │ │ @@ -876,16 +857,15 @@ │ │ │ │ file formats by default. You must use the allegro_acodec addon, or │ │ │ │ register your own format handler.

    │ │ │ │ │ │ │ │

    See also: al_register_sample_loader_f, │ │ │ │ al_init_acodec_addon

    │ │ │ │

    al_save_sample

    │ │ │ │ -
    bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl)
    │ │ │ │ -bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Writes a sample into a file. Currently, wav is the only supported │ │ │ │ format, and the extension must be “.wav”.

    │ │ │ │

    Returns true on success, false on error.

    │ │ │ │
    │ │ │ │ @@ -894,16 +874,15 @@ │ │ │ │ register your own format handler.

    │ │ │ │
    │ │ │ │

    See also: al_save_sample_f, │ │ │ │ al_register_sample_saver, │ │ │ │ al_init_acodec_addon

    │ │ │ │

    al_save_sample_f

    │ │ │ │ -
    bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl)
    │ │ │ │ -bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Writes a sample into a ALLEGRO_FILE filestream. Currently, │ │ │ │ wav is the only supported format, and the extension must be “.wav”.

    │ │ │ │

    Returns true on success, false on error. The file remains open │ │ │ │ @@ -913,16 +892,15 @@ │ │ │ │ file formats by default. You must use the allegro_acodec addon, or │ │ │ │ register your own format handler.

    │ │ │ │ │ │ │ │

    See also: al_save_sample, al_register_sample_saver_f, │ │ │ │ al_init_acodec_addon

    │ │ │ │

    al_destroy_sample

    │ │ │ │ -
    void al_destroy_sample(ALLEGRO_SAMPLE *spl)
    │ │ │ │ -void al_destroy_sample(ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    void al_destroy_sample(ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Free the sample data structure. If it was created with the │ │ │ │ free_buf parameter set to true, then the buffer will be │ │ │ │ freed with al_free.

    │ │ │ │

    This function will stop any sample instances which may be playing the │ │ │ │ @@ -938,66 +916,61 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L86">ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_get_sample_channels

    │ │ │ │ -
    ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the channel configuration of the sample.

    │ │ │ │

    See also: ALLEGRO_CHANNEL_CONF, al_get_sample_depth, al_get_sample_frequency, │ │ │ │ al_get_sample_length, al_get_sample_data

    │ │ │ │

    al_get_sample_depth

    │ │ │ │ -
    ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the audio depth of the sample.

    │ │ │ │

    See also: ALLEGRO_AUDIO_DEPTH, al_get_sample_channels, al_get_sample_frequency, │ │ │ │ al_get_sample_length, al_get_sample_data

    │ │ │ │

    al_get_sample_frequency

    │ │ │ │ -
    unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ -unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the frequency (in Hz) of the sample.

    │ │ │ │

    See also: al_get_sample_channels, al_get_sample_depth, al_get_sample_length, al_get_sample_data

    │ │ │ │

    al_get_sample_length

    │ │ │ │ -
    unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ -unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the length of the sample in sample values.

    │ │ │ │

    See also: al_get_sample_channels, al_get_sample_depth, al_get_sample_frequency, │ │ │ │ al_get_sample_data

    │ │ │ │

    al_get_sample_data

    │ │ │ │ -
    void *al_get_sample_data(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ -void *al_get_sample_data(const ALLEGRO_SAMPLE *spl)
    │ │ │ │ +
    void *al_get_sample_data(const ALLEGRO_SAMPLE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return a pointer to the raw sample data.

    │ │ │ │

    See also: al_get_sample_channels, al_get_sample_depth, al_set_default_mixer.

    │ │ │ │

    Sample instances

    │ │ │ │

    ALLEGRO_SAMPLE_INSTANCE

    │ │ │ │ -
    typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE;
    │ │ │ │ -typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE;
    │ │ │ │ +
    typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An ALLEGRO_SAMPLE_INSTANCE object represents a playable instance of a │ │ │ │ predefined sound effect. It holds information about how the effect │ │ │ │ should be played: These playback parameters consist of the looping mode, │ │ │ │ loop start/end points, playing position, speed, gain, pan and the │ │ │ │ @@ -1125,16 +1097,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L22">ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_create_sample_instance

    │ │ │ │ -
    ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data)
    │ │ │ │ -ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data)
    │ │ │ │ +
    ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a sample instance, using the supplied sample data. The │ │ │ │ instance must be attached to a mixer (or voice) in order to actually │ │ │ │ produce output.

    │ │ │ │

    The argument may be NULL. You can then set the sample data later with │ │ │ │ @@ -1147,16 +1118,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L83">ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_destroy_sample_instance

    │ │ │ │ -
    void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Detaches the sample instance from anything it may be attached to and │ │ │ │ frees it (the sample data, i.e. its ALLEGRO_SAMPLE, is not │ │ │ │ freed!).

    │ │ │ │

    See also: ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_play_sample_instance

    │ │ │ │ -
    bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Play the sample instance. Returns true on success, false on │ │ │ │ failure.

    │ │ │ │

    See also: al_stop_sample_instance

    │ │ │ │ @@ -1186,16 +1155,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L107">ex_acodec_multi.c │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_stop_sample_instance

    │ │ │ │ -
    bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Stop an sample instance playing.

    │ │ │ │

    See also: al_play_sample_instance

    │ │ │ │

    Examples:

    │ │ │ │ @@ -1206,17 +1174,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L88">ex_kcm_direct.c │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_get_sample_instance_channels

    │ │ │ │
    ALLEGRO_CHANNEL_CONF al_get_sample_instance_channels(
    │ │ │ │ -   const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_sample_instance_channels(
    │ │ │ │ -   const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ + const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the channel configuration of the sample instance’s sample │ │ │ │ data.

    │ │ │ │

    See also: ALLEGRO_CHANNEL_CONF.

    │ │ │ │ @@ -1224,45 +1190,42 @@ │ │ │ │ │ │ │ │

    al_get_sample_instance_depth

    │ │ │ │ -
    ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the audio depth of the sample instance’s sample data.

    │ │ │ │

    See also: ALLEGRO_AUDIO_DEPTH.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_sample_instance_frequency

    │ │ │ │ -
    unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the frequency (in Hz) of the sample instance’s sample │ │ │ │ data.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_sample_instance_length

    │ │ │ │ -
    unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the length of the sample instance in sample values. This │ │ │ │ property may differ from the length of the instance’s sample data.

    │ │ │ │

    See also: al_set_sample_instance_length, │ │ │ │ @@ -1274,17 +1237,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_props.cpp#L196">ex_audio_props.cpp │ │ │ │

  • ex_audio_simple.c
  • │ │ │ │ │ │ │ │

    al_set_sample_instance_length

    │ │ │ │
    bool al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   unsigned int val)
    │ │ │ │ -bool al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   unsigned int val)
    │ │ │ │ + unsigned int val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the length of the sample instance in sample values. This can be │ │ │ │ used to play only parts of the underlying sample. Be careful not to │ │ │ │ exceed the actual length of the sample data, though.

    │ │ │ │

    Return true on success, false on failure. Will fail if the sample │ │ │ │ @@ -1294,33 +1255,30 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_sample_instance_position

    │ │ │ │ -
    unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the playback position of a sample instance.

    │ │ │ │

    See also: al_set_sample_instance_position

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_sample_instance_position

    │ │ │ │
    bool al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   unsigned int val)
    │ │ │ │ -bool al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   unsigned int val)
    │ │ │ │ + unsigned int val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the playback position of a sample instance.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: al_get_sample_instance_position

    │ │ │ │ @@ -1328,25 +1286,23 @@ │ │ │ │ │ │ │ │

    al_get_sample_instance_speed

    │ │ │ │ -
    float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the relative playback speed of the sample instance.

    │ │ │ │

    See also: al_set_sample_instance_speed

    │ │ │ │

    al_set_sample_instance_speed

    │ │ │ │ -
    bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │ -bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │ +
    bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the relative playback speed of the sample instance. 1.0 means │ │ │ │ normal speed.

    │ │ │ │

    Return true on success, false on failure. Will fail if the sample │ │ │ │ instance is attached directly to a voice.

    │ │ │ │ @@ -1356,30 +1312,28 @@ │ │ │ │ │ │ │ │

    al_get_sample_instance_gain

    │ │ │ │ -
    float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the playback gain of the sample instance.

    │ │ │ │

    See also: al_set_sample_instance_gain

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_sample_instance_gain

    │ │ │ │ -
    bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │ -bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │ +
    bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the playback gain of the sample instance.

    │ │ │ │

    Returns true on success, false on failure. Will fail if the sample │ │ │ │ instance is attached directly to a voice.

    │ │ │ │

    See also: ex_mixer_chain.c │ │ │ │

  • ex_acodec.c
  • │ │ │ │
  • ex_audio_props.cpp
  • │ │ │ │ │ │ │ │

    al_get_sample_instance_pan

    │ │ │ │ -
    float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the pan value of the sample instance.

    │ │ │ │

    See also: al_set_sample_instance_pan.

    │ │ │ │

    al_set_sample_instance_pan

    │ │ │ │ -
    bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │ -bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │ +
    bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the pan value on a sample instance. A value of -1.0 means to play │ │ │ │ the sample only through the left speaker; +1.0 means only through the │ │ │ │ right speaker; 0.0 means the sample is centre balanced. A special value │ │ │ │ ALLEGRO_AUDIO_PAN_NONE │ │ │ │ @@ -1428,16 +1380,15 @@ │ │ │ │

    │ │ │ │

    al_get_sample_instance_time

    │ │ │ │ -
    float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the length of the sample instance in seconds, assuming a │ │ │ │ playback speed of 1.0.

    │ │ │ │

    See also: al_get_sample_instance_length

    │ │ │ │ @@ -1448,29 +1399,26 @@ │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_get_sample_instance_playmode

    │ │ │ │ -
    ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the playback mode of the sample instance.

    │ │ │ │

    See also: ALLEGRO_PLAYMODE, │ │ │ │ al_set_sample_instance_playmode

    │ │ │ │

    al_set_sample_instance_playmode

    │ │ │ │
    bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   ALLEGRO_PLAYMODE val)
    │ │ │ │ -bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   ALLEGRO_PLAYMODE val)
    │ │ │ │ + ALLEGRO_PLAYMODE val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the playback mode of the sample instance.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: ALLEGRO_PLAYMODE, │ │ │ │ ex_mixer_chain.c │ │ │ │

  • ex_acodec.c
  • │ │ │ │ │ │ │ │

    al_get_sample_instance_playing

    │ │ │ │ -
    bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return true if the sample instance is in the playing state. This may │ │ │ │ be true even if the instance is not attached to anything.

    │ │ │ │

    See also: al_set_sample_instance_playing

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_sample_instance_playing

    │ │ │ │ -
    bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val)
    │ │ │ │ -bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val)
    │ │ │ │ +
    bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Change whether the sample instance is playing.

    │ │ │ │

    The instance does not need to be attached to anything (since: │ │ │ │ 5.1.8).

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │ @@ -1518,29 +1464,27 @@ │ │ │ │
  • ex_audio_props.cpp
  • │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_get_sample_instance_attached

    │ │ │ │ -
    bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return whether the sample instance is attached to something.

    │ │ │ │

    See also: al_attach_sample_instance_to_mixer, │ │ │ │ al_attach_sample_instance_to_voice, │ │ │ │ al_detach_sample_instance

    │ │ │ │

    al_detach_sample_instance

    │ │ │ │ -
    bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Detach the sample instance from whatever it’s attached to, if │ │ │ │ anything.

    │ │ │ │

    Returns true on success.

    │ │ │ │

    See also: al_get_sample_instance_attached

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_sample

    │ │ │ │ -
    ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ -ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │ +
    ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the sample data that the sample instance plays.

    │ │ │ │

    Note this returns a pointer to an internal structure, not │ │ │ │ the ALLEGRO_SAMPLE that you may │ │ │ │ have passed to al_set_sample. │ │ │ │ @@ -1576,16 +1519,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L109">ex_acodec_multi.c │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_set_sample

    │ │ │ │ -
    bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data)
    │ │ │ │ -bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data)
    │ │ │ │ +
    bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Change the sample data that a sample instance plays. This can be │ │ │ │ quite an involved process.

    │ │ │ │

    First, the sample is stopped if it is not already.

    │ │ │ │

    Next, if data is NULL, the sample is detached from its parent (if │ │ │ │ @@ -1607,16 +1549,15 @@ │ │ │ │

  • ex_mixer_chain.c
  • │ │ │ │
  • ex_acodec.c
  • │ │ │ │ │ │ │ │

    al_set_sample_instance_channel_matrix

    │ │ │ │ -
    bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const float *matrix)
    │ │ │ │ -bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const float *matrix)
    │ │ │ │ +
    bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const float *matrix)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the matrix used to mix the channels coming from this instance │ │ │ │ into the mixer it is attached to. Normally Allegro derives the values of │ │ │ │ this matrix from the gain and pan settings, as well as the channel │ │ │ │ configurations of this instance and the mixer it is attached to, but │ │ │ │ @@ -1646,16 +1587,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    Audio streams

    │ │ │ │

    ALLEGRO_AUDIO_STREAM

    │ │ │ │ -
    typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM;
    │ │ │ │ -typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM;
    │ │ │ │ +
    typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An ALLEGRO_AUDIO_STREAM object is used to stream generated audio to │ │ │ │ the sound device, in real-time. This is done by reading from a buffer, │ │ │ │ which is split into a number of fragments. Whenever a fragment has │ │ │ │ finished playing, the user can refill it with new data.

    │ │ │ │ @@ -1701,18 +1641,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L79">ex_stream_file.c │ │ │ │
  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_create_audio_stream

    │ │ │ │
    ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count,
    │ │ │ │     unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth,
    │ │ │ │ -   ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count,
    │ │ │ │ -   unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth,
    │ │ │ │ -   ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ + ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates an ALLEGRO_AUDIO_STREAM. The │ │ │ │ stream will be set to play by default. It will feed audio data from a │ │ │ │ buffer, which is split into a number of fragments.

    │ │ │ │ @@ -1768,17 +1705,15 @@ │ │ │ │
  • ex_resample_test.c
  • │ │ │ │
  • ex_synth.cpp
  • │ │ │ │ │ │ │ │

    al_load_audio_stream

    │ │ │ │
    ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename,
    │ │ │ │ -   size_t buffer_count, unsigned int samples)
    │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename,
    │ │ │ │ -   size_t buffer_count, unsigned int samples)
    │ │ │ │ + size_t buffer_count, unsigned int samples) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads an audio file from disk as it is needed.

    │ │ │ │

    Unlike regular streams, the one returned by this function need not be │ │ │ │ fed by the user; the library will automatically read more of the file as │ │ │ │ it is needed. The stream will contain buffer_count buffers with │ │ │ │ @@ -1804,17 +1739,15 @@ │ │ │ │

  • ex_mixer_pp.c
  • │ │ │ │
  • ex_stream_seek.c
  • │ │ │ │ │ │ │ │

    al_load_audio_stream_f

    │ │ │ │
    ALLEGRO_AUDIO_STREAM *al_load_audio_stream_f(ALLEGRO_FILE* fp, const char *ident,
    │ │ │ │ -   size_t buffer_count, unsigned int samples)
    │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_load_audio_stream_f(ALLEGRO_FILE* fp, const char *ident,
    │ │ │ │ -   size_t buffer_count, unsigned int samples)
    │ │ │ │ + size_t buffer_count, unsigned int samples) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads an audio file from ALLEGRO_FILE stream as it is │ │ │ │ needed.

    │ │ │ │

    Unlike regular streams, the one returned by this function need not be │ │ │ │ @@ -1836,16 +1769,15 @@ │ │ │ │ register your own format handler.

    │ │ │ │ │ │ │ │

    See also: al_load_audio_stream, al_register_audio_stream_loader_f, │ │ │ │ al_init_acodec_addon

    │ │ │ │

    al_destroy_audio_stream

    │ │ │ │ -
    void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Destroy an audio stream which was created with al_create_audio_stream or │ │ │ │ al_load_audio_stream.

    │ │ │ │
    │ │ │ │ @@ -1863,17 +1795,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L124">ex_stream_file.c │ │ │ │
  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_get_audio_stream_event_source

    │ │ │ │
    ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source(
    │ │ │ │ -   ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source(
    │ │ │ │ -   ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ + ALLEGRO_AUDIO_STREAM *stream) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Retrieve the associated event source.

    │ │ │ │

    See al_get_audio_stream_fragment │ │ │ │ for a description of the ex_saw.c │ │ │ │

  • ex_stream_file.c
  • │ │ │ │
  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_drain_audio_stream

    │ │ │ │ -
    void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    You should call this to finalise an audio stream that you will no │ │ │ │ longer be feeding, to wait for all pending buffers to finish playing. │ │ │ │ The stream’s playing state will change to false.

    │ │ │ │

    See also: ex_saw.c │ │ │ │

  • ex_resample_test.c
  • │ │ │ │
  • ex_record.c
  • │ │ │ │ │ │ │ │

    al_rewind_audio_stream

    │ │ │ │ -
    bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the streaming file playing position to the beginning. Returns │ │ │ │ true on success. Currently this can only be called on streams created │ │ │ │ with al_load_audio_stream, │ │ │ │ al_play_audio_stream, Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_stream_frequency

    │ │ │ │ -
    unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the stream frequency (in Hz).

    │ │ │ │

    al_get_audio_stream_channels

    │ │ │ │
    ALLEGRO_CHANNEL_CONF al_get_audio_stream_channels(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_audio_stream_channels(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ + const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the stream channel configuration.

    │ │ │ │

    See also: ALLEGRO_CHANNEL_CONF.

    │ │ │ │

    al_get_audio_stream_depth

    │ │ │ │
    ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ + const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the stream audio depth.

    │ │ │ │

    See also: ALLEGRO_AUDIO_DEPTH.

    │ │ │ │

    al_get_audio_stream_length

    │ │ │ │ -
    unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the stream length in samples.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_stream_speed

    │ │ │ │ -
    float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the relative playback speed of the stream.

    │ │ │ │

    See also: al_set_audio_stream_speed.

    │ │ │ │

    al_set_audio_stream_speed

    │ │ │ │ -
    bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │ -bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │ +
    bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the relative playback speed of the stream. 1.0 means normal │ │ │ │ speed.

    │ │ │ │

    Return true on success, false on failure. Will fail if the audio │ │ │ │ stream is attached directly to a voice.

    │ │ │ │

    See also: al_get_audio_stream_speed.

    │ │ │ │

    al_get_audio_stream_gain

    │ │ │ │ -
    float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the playback gain of the stream.

    │ │ │ │

    See also: al_set_audio_stream_gain.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_audio_stream_gain

    │ │ │ │ -
    bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │ -bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │ +
    bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the playback gain of the stream.

    │ │ │ │

    Returns true on success, false on failure. Will fail if the audio │ │ │ │ stream is attached directly to a voice.

    │ │ │ │

    See also: │ │ │ │

  • ex_synth.cpp
  • │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_get_audio_stream_pan

    │ │ │ │ -
    float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the pan value of the stream.

    │ │ │ │

    See also: al_set_audio_stream_pan.

    │ │ │ │

    al_set_audio_stream_pan

    │ │ │ │ -
    bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │ -bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │ +
    bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the pan value on an audio stream. A value of -1.0 means to play │ │ │ │ the stream only through the left speaker; +1.0 means only through the │ │ │ │ right speaker; 0.0 means the sample is centre balanced. A special value │ │ │ │ ALLEGRO_AUDIO_PAN_NONE │ │ │ │ @@ -2050,16 +1966,15 @@ │ │ │ │ href="audio.html#allegro_audio_pan_none">ALLEGRO_AUDIO_PAN_NONE

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_stream_playing

    │ │ │ │ -
    bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return true if the stream is playing.

    │ │ │ │

    See also: al_set_audio_stream_playing.

    │ │ │ │

    Examples:

    │ │ │ │ @@ -2068,16 +1983,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record.c#L274">ex_record.c │ │ │ │
  • ex_stream_seek.c
  • │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_set_audio_stream_playing

    │ │ │ │ -
    bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val)
    │ │ │ │ -bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val)
    │ │ │ │ +
    bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Change whether the stream is playing.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: al_get_audio_stream_playing

    │ │ │ │ @@ -2088,29 +2002,25 @@ │ │ │ │
  • ex_record.c
  • │ │ │ │
  • ex_stream_seek.c
  • │ │ │ │ │ │ │ │

    al_get_audio_stream_playmode

    │ │ │ │
    ALLEGRO_PLAYMODE al_get_audio_stream_playmode(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -ALLEGRO_PLAYMODE al_get_audio_stream_playmode(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ + const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the playback mode of the stream.

    │ │ │ │

    See also: ALLEGRO_PLAYMODE, │ │ │ │ al_set_audio_stream_playmode.

    │ │ │ │

    al_set_audio_stream_playmode

    │ │ │ │
    bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream,
    │ │ │ │ -   ALLEGRO_PLAYMODE val)
    │ │ │ │ -bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream,
    │ │ │ │ -   ALLEGRO_PLAYMODE val)
    │ │ │ │ + ALLEGRO_PLAYMODE val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the playback mode of the stream.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: ALLEGRO_PLAYMODE, │ │ │ │ ex_stream_file.c │ │ │ │

  • ex_mixer_pp.c
  • │ │ │ │
  • ex_stream_seek.c
  • │ │ │ │ │ │ │ │

    al_get_audio_stream_attached

    │ │ │ │ -
    bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return whether the stream is attached to something.

    │ │ │ │

    See also: al_attach_audio_stream_to_mixer, │ │ │ │ al_attach_audio_stream_to_voice, │ │ │ │ al_detach_audio_stream.

    │ │ │ │

    al_detach_audio_stream

    │ │ │ │ -
    bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Detach the stream from whatever it’s attached to, if anything.

    │ │ │ │

    See also: al_attach_audio_stream_to_mixer, │ │ │ │ Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_stream_played_samples

    │ │ │ │ -
    uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the number of samples consumed by the parent since the audio │ │ │ │ stream was started.

    │ │ │ │

    Since: 5.1.8

    │ │ │ │

    al_get_audio_stream_fragment

    │ │ │ │ -
    void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    When using Allegro’s audio streaming, you will use this function to │ │ │ │ continuously provide new sample data to a stream.

    │ │ │ │

    If the stream is ready for new data, the function will return the │ │ │ │ address of an internal buffer to be filled with audio data. The length │ │ │ │ @@ -2209,16 +2115,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L39">ex_saw.c │ │ │ │

  • ex_resample_test.c
  • │ │ │ │
  • ex_synth.cpp
  • │ │ │ │ │ │ │ │

    al_set_audio_stream_fragment

    │ │ │ │ -
    bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val)
    │ │ │ │ -bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val)
    │ │ │ │ +
    bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This function needs to be called for every successful call of al_get_audio_stream_fragment │ │ │ │ to indicate that the buffer (pointed to by val) is filled │ │ │ │ with new data.

    │ │ │ │ @@ -2231,43 +2136,39 @@ │ │ │ │
  • ex_resample_test.c
  • │ │ │ │
  • ex_synth.cpp
  • │ │ │ │ │ │ │ │

    al_get_audio_stream_fragments

    │ │ │ │ -
    unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the number of fragments this stream uses. This is the same │ │ │ │ value as passed to al_create_audio_stream when │ │ │ │ a new stream is created.

    │ │ │ │

    See also: al_get_available_audio_stream_fragments

    │ │ │ │

    al_get_available_audio_stream_fragments

    │ │ │ │
    unsigned int al_get_available_audio_stream_fragments(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -unsigned int al_get_available_audio_stream_fragments(
    │ │ │ │ -   const ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ + const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the number of available fragments in the stream, that is, │ │ │ │ fragments which are not currently filled with data for playback.

    │ │ │ │

    See also: al_get_audio_stream_fragment, │ │ │ │ al_get_audio_stream_fragments

    │ │ │ │

    al_seek_audio_stream_secs

    │ │ │ │ -
    bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time)
    │ │ │ │ -bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time)
    │ │ │ │ +
    bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the streaming file playing position to time. Returns true on │ │ │ │ success. Currently this can only be called on streams created with al_load_audio_stream, al_play_audio_stream, Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_stream_position_secs

    │ │ │ │ -
    double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the position of the stream in seconds. Currently this can only │ │ │ │ be called on streams created with al_load_audio_stream, al_play_audio_stream, Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_stream_length_secs

    │ │ │ │ -
    double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ -double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │ +
    double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the length of the stream in seconds, if known. Otherwise │ │ │ │ returns zero.

    │ │ │ │

    Currently this can only be called on streams created with al_load_audio_stream, │ │ │ │

  • ex_stream_seek.c
  • │ │ │ │ │ │ │ │

    al_set_audio_stream_loop_secs

    │ │ │ │
    bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream,
    │ │ │ │ -   double start, double end)
    │ │ │ │ -bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream,
    │ │ │ │ -   double start, double end)
    │ │ │ │ + double start, double end) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sets the loop points for the stream in seconds. Currently this can │ │ │ │ only be called on streams created with al_load_audio_stream, al_play_audio_stream, │ │ │ │

    Unstable │ │ │ │ API: New API.

    │ │ │ │
    │ │ │ │

    Advanced audio file I/O

    │ │ │ │

    al_register_sample_loader

    │ │ │ │
    bool al_register_sample_loader(const char *ext,
    │ │ │ │ -   ALLEGRO_SAMPLE *(*loader)(const char *filename))
    │ │ │ │ -bool al_register_sample_loader(const char *ext,
    │ │ │ │ -   ALLEGRO_SAMPLE *(*loader)(const char *filename))
    │ │ │ │ + ALLEGRO_SAMPLE *(*loader)(const char *filename)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register a handler for al_load_sample. The given function │ │ │ │ will be used to handle the loading of sample files with the given │ │ │ │ extension.

    │ │ │ │ @@ -2379,17 +2274,15 @@ │ │ │ │ unregistering an entry that doesn’t exist.

    │ │ │ │

    See also: al_register_sample_loader_f, │ │ │ │ al_register_sample_saver

    │ │ │ │

    al_register_sample_loader_f

    │ │ │ │
    bool al_register_sample_loader_f(const char *ext,
    │ │ │ │ -   ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp))
    │ │ │ │ -bool al_register_sample_loader_f(const char *ext,
    │ │ │ │ -   ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp))
    │ │ │ │ + ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register a handler for al_load_sample_f. The given │ │ │ │ function will be used to handle the loading of sample files with the │ │ │ │ given extension.

    │ │ │ │ @@ -2399,17 +2292,15 @@ │ │ │ │ entry.

    │ │ │ │

    Returns true on success, false on error. Returns false if │ │ │ │ unregistering an entry that doesn’t exist.

    │ │ │ │

    See also: al_register_sample_loader

    │ │ │ │

    al_register_sample_saver

    │ │ │ │
    bool al_register_sample_saver(const char *ext,
    │ │ │ │ -   bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl))
    │ │ │ │ -bool al_register_sample_saver(const char *ext,
    │ │ │ │ -   bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl))
    │ │ │ │ + bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register a handler for al_save_sample. The given function │ │ │ │ will be used to handle the saving of sample files with the given │ │ │ │ extension.

    │ │ │ │ @@ -2421,17 +2312,15 @@ │ │ │ │ unregistering an entry that doesn’t exist.

    │ │ │ │

    See also: al_register_sample_saver_f, │ │ │ │ al_register_sample_loader

    │ │ │ │

    al_register_sample_saver_f

    │ │ │ │
    bool al_register_sample_saver_f(const char *ext,
    │ │ │ │ -   bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl))
    │ │ │ │ -bool al_register_sample_saver_f(const char *ext,
    │ │ │ │ -   bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl))
    │ │ │ │ + bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register a handler for al_save_sample_f. The given │ │ │ │ function will be used to handle the saving of sample files with the │ │ │ │ given extension.

    │ │ │ │ @@ -2444,18 +2333,15 @@ │ │ │ │

    See also: al_register_sample_saver

    │ │ │ │

    al_register_audio_stream_loader

    │ │ │ │
    bool al_register_audio_stream_loader(const char *ext,
    │ │ │ │     ALLEGRO_AUDIO_STREAM *(*stream_loader)(const char *filename,
    │ │ │ │ -      size_t buffer_count, unsigned int samples))
    │ │ │ │ -bool al_register_audio_stream_loader(const char *ext,
    │ │ │ │ -   ALLEGRO_AUDIO_STREAM *(*stream_loader)(const char *filename,
    │ │ │ │ -      size_t buffer_count, unsigned int samples))
    │ │ │ │ + size_t buffer_count, unsigned int samples)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register a handler for al_load_audio_stream and al_play_audio_stream. The │ │ │ │ given function will be used to open streams from files with the given │ │ │ │ @@ -2469,18 +2355,15 @@ │ │ │ │

    See also: al_register_audio_stream_loader_f

    │ │ │ │

    al_register_audio_stream_loader_f

    │ │ │ │
    bool al_register_audio_stream_loader_f(const char *ext,
    │ │ │ │     ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp,
    │ │ │ │ -      size_t buffer_count, unsigned int samples))
    │ │ │ │ -bool al_register_audio_stream_loader_f(const char *ext,
    │ │ │ │ -   ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp,
    │ │ │ │ -      size_t buffer_count, unsigned int samples))
    │ │ │ │ + size_t buffer_count, unsigned int samples)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register a handler for al_load_audio_stream_f and │ │ │ │ al_play_audio_stream_f. │ │ │ │ The given function will be used to open streams from files with the │ │ │ │ @@ -2493,17 +2376,15 @@ │ │ │ │ unregistering an entry that doesn’t exist.

    │ │ │ │

    See also: al_register_audio_stream_loader

    │ │ │ │

    al_register_sample_identifier

    │ │ │ │
    bool al_register_sample_identifier(const char *ext,
    │ │ │ │ -   bool (*identifier)(ALLEGRO_FILE* fp))
    │ │ │ │ -bool al_register_sample_identifier(const char *ext,
    │ │ │ │ -   bool (*identifier)(ALLEGRO_FILE* fp))
    │ │ │ │ + bool (*identifier)(ALLEGRO_FILE* fp)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Register an identify handler for al_identify_sample. The given │ │ │ │ function will be used to detect files for the given extension. It will │ │ │ │ be called with a single argument of type Returns true on success, false on error. Returns false if │ │ │ │ unregistering an entry that doesn’t exist.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_identify_bitmap

    │ │ │ │

    al_identify_sample

    │ │ │ │
    char const *al_identify_sample(char const *filename)
    │ │ │ │ -char const *al_identify_sample(char const *filename)
    │ │ │ │ +class="sourceCode c">char const *al_identify_sample(char const *filename) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This works exactly as al_identify_sample_f but you │ │ │ │ specify the filename of the file for which to detect the type and not a │ │ │ │ file handle. The extension, if any, of the passed filename is not taken │ │ │ │ @@ -2537,16 +2417,15 @@ │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_init_acodec_addon, al_identify_sample_f, al_register_sample_identifier

    │ │ │ │

    al_identify_sample_f

    │ │ │ │
    char const *al_identify_sample_f(ALLEGRO_FILE *fp)
    │ │ │ │ -char const *al_identify_sample_f(ALLEGRO_FILE *fp)
    │ │ │ │ +class="sourceCode c">char const *al_identify_sample_f(ALLEGRO_FILE *fp) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Tries to guess the audio file type of the open ALLEGRO_FILE by │ │ │ │ reading the first few bytes. By default Allegro cannot recognize any │ │ │ │ file types, but calling al_init_acodec_addon will │ │ │ │ @@ -2568,16 +2447,15 @@ │ │ │ │ add a small amount of latency. However, for most applications that small │ │ │ │ overhead will not adversely affect performance.

    │ │ │ │

    Recording is supported by the ALSA, AudioQueue, DirectSound8, and │ │ │ │ PulseAudio drivers. Enumerating or choosing other recording devices is │ │ │ │ not yet supported.

    │ │ │ │

    ALLEGRO_AUDIO_RECORDER

    │ │ │ │
    typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER;
    │ │ │ │ -typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER;
    │ │ │ │ +class="sourceCode c">typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER; │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque datatype that represents a recording device.

    │ │ │ │

    Since: 5.1.1

    │ │ │ │
    │ │ │ │

    Unstable │ │ │ │ @@ -2588,16 +2466,15 @@ │ │ │ │

  • ex_record_name.c
  • │ │ │ │
  • ex_record.c
  • │ │ │ │ │ │ │ │

    ALLEGRO_AUDIO_RECORDER_EVENT

    │ │ │ │
    typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT;
    │ │ │ │ -typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT;
    │ │ │ │ +class="sourceCode c">typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT; │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Structure that holds the audio recorder event data. Every event type │ │ │ │ will contain:

    │ │ │ │
      │ │ │ │
    • .source: pointer to the audio recorder
    • │ │ │ │ @@ -2621,18 +2498,15 @@ │ │ │ │
    • ex_record.c
    • │ │ │ │
    │ │ │ │

    al_create_audio_recorder

    │ │ │ │
    ALLEGRO_AUDIO_RECORDER *al_create_audio_recorder(size_t fragment_count,
    │ │ │ │     unsigned int samples, unsigned int frequency,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ -ALLEGRO_AUDIO_RECORDER *al_create_audio_recorder(size_t fragment_count,
    │ │ │ │ -   unsigned int samples, unsigned int frequency,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ + ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates an audio recorder using the system’s default recording │ │ │ │ device. (So if the returned device does not work, try updating the │ │ │ │ system’s default recording device.)

    │ │ │ │

    Allegro will internally buffer several seconds of captured audio with │ │ │ │ @@ -2669,16 +2543,15 @@ │ │ │ │

  • ex_record_name.c
  • │ │ │ │
  • ex_record.c
  • │ │ │ │ │ │ │ │

    al_start_audio_recorder

    │ │ │ │
    bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ -bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ +class="sourceCode c">bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Begin recording into the fragment buffer. Once a complete fragment │ │ │ │ has been captured (as specified in al_create_audio_recorder), │ │ │ │ an ex_record_name.c │ │ │ │

  • ex_record.c
  • │ │ │ │ │ │ │ │

    al_stop_audio_recorder

    │ │ │ │
    void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ -void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ +class="sourceCode c">void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Stop capturing audio data. Note that the audio recorder is still │ │ │ │ active and consuming resources, so if you are finished recording you │ │ │ │ should destroy it with al_destroy_audio_recorder.

    │ │ │ │ @@ -2716,30 +2588,28 @@ │ │ │ │
    │ │ │ │

    Unstable │ │ │ │ API: The API may need a slight redesign.

    │ │ │ │
    │ │ │ │

    al_is_audio_recorder_recording

    │ │ │ │
    bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ -bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ +class="sourceCode c">bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the audio recorder is currently capturing data and │ │ │ │ generating events.

    │ │ │ │

    Since: 5.1.1

    │ │ │ │
    │ │ │ │

    Unstable │ │ │ │ API: The API may need a slight redesign.

    │ │ │ │
    │ │ │ │

    al_get_audio_recorder_event

    │ │ │ │
    ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event)
    │ │ │ │ -ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event)
    │ │ │ │ +class="sourceCode c">ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the event as an ALLEGRO_AUDIO_RECORDER_EVENT.

    │ │ │ │

    Since: 5.1.1

    │ │ │ │
    │ │ │ │ @@ -2752,16 +2622,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record_name.c#L131">ex_record_name.c │ │ │ │
  • ex_record.c
  • │ │ │ │ │ │ │ │

    al_get_audio_recorder_event_source

    │ │ │ │
    ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ +class="sourceCode c">ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the event source for the recorder that generates the various │ │ │ │ recording events.

    │ │ │ │

    Since: 5.1.1

    │ │ │ │
    │ │ │ │ @@ -2773,16 +2642,15 @@ │ │ │ │
  • ex_record_name.c
  • │ │ │ │
  • ex_record.c
  • │ │ │ │ │ │ │ │

    al_destroy_audio_recorder

    │ │ │ │
    void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ -void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    │ │ │ │ +class="sourceCode c">void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Destroys the audio recorder and frees all resources associated with │ │ │ │ it. It is safe to destroy a recorder that is recording.

    │ │ │ │

    You may receive events after the recorder has been destroyed. They │ │ │ │ must be ignored, as the fragment buffer will no longer be valid.

    │ │ │ │ @@ -2797,74 +2665,69 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record_name.c#L215">ex_record_name.c │ │ │ │
  • ex_record.c
  • │ │ │ │ │ │ │ │

    Audio devices

    │ │ │ │

    ALLEGRO_AUDIO_DEVICE

    │ │ │ │
    typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE;
    │ │ │ │ -typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE;
    │ │ │ │ +class="sourceCode c">typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE; │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque datatype that represents an audio device.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_num_audio_output_devices

    │ │ │ │
    int al_get_num_audio_output_devices()
    │ │ │ │ -int al_get_num_audio_output_devices()
    │ │ │ │ +class="sourceCode c">int al_get_num_audio_output_devices() │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the number of available audio output devices on the system.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    return -1 for unsupported drivers.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_output_device

    │ │ │ │
    const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index)
    │ │ │ │ -const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index)
    │ │ │ │ +class="sourceCode c">const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the output audio device of the specified index.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_audio_device_name

    │ │ │ │
    const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device)
    │ │ │ │ -const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device)
    │ │ │ │ +class="sourceCode c">const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the user friendly display name of the device.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    Voices

    │ │ │ │

    ALLEGRO_VOICE

    │ │ │ │
    typedef struct ALLEGRO_VOICE ALLEGRO_VOICE;
    │ │ │ │ -typedef struct ALLEGRO_VOICE ALLEGRO_VOICE;
    │ │ │ │ +class="sourceCode c">typedef struct ALLEGRO_VOICE ALLEGRO_VOICE; │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A voice represents an audio device on the system, which may be a real │ │ │ │ device, or an abstract device provided by the operating system. To play │ │ │ │ back audio, you would attach a mixer, sample instance or audio stream to │ │ │ │ a voice.

    │ │ │ │ @@ -2879,17 +2742,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L24">ex_acodec_multi.c │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │ │ │ │ │

    al_create_voice

    │ │ │ │
    ALLEGRO_VOICE *al_create_voice(unsigned int freq,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ -ALLEGRO_VOICE *al_create_voice(unsigned int freq,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ + ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a voice structure and allocates a voice from the digital │ │ │ │ sound driver. The passed frequency (in Hz), sample format and channel │ │ │ │ configuration are used as a hint to what kind of data will be sent to │ │ │ │ the voice. However, the underlying sound driver is free to use │ │ │ │ @@ -2912,16 +2773,15 @@ │ │ │ │

  • ex_acodec_multi.c
  • │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │ │ │ │ │

    al_destroy_voice

    │ │ │ │
    void al_destroy_voice(ALLEGRO_VOICE *voice)
    │ │ │ │ -void al_destroy_voice(ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">void al_destroy_voice(ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Destroys the voice and deallocates it from the digital driver. Does │ │ │ │ nothing if the voice is NULL.

    │ │ │ │

    See also: al_create_voice

    │ │ │ │ @@ -2932,16 +2792,15 @@ │ │ │ │
  • ex_acodec_multi.c
  • │ │ │ │
  • ex_kcm_direct.c
  • │ │ │ │ │ │ │ │

    al_detach_voice

    │ │ │ │
    void al_detach_voice(ALLEGRO_VOICE *voice)
    │ │ │ │ -void al_detach_voice(ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">void al_detach_voice(ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Detaches the mixer, sample instance or audio stream from the │ │ │ │ voice.

    │ │ │ │

    See also: al_attach_mixer_to_voice, │ │ │ │ @@ -2949,17 +2808,15 @@ │ │ │ │ href="audio.html#al_attach_sample_instance_to_voice">al_attach_sample_instance_to_voice, │ │ │ │ al_attach_audio_stream_to_voice

    │ │ │ │

    al_attach_audio_stream_to_voice

    │ │ │ │
    bool al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM *stream,
    │ │ │ │ -   ALLEGRO_VOICE *voice)
    │ │ │ │ -bool al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM *stream,
    │ │ │ │ -   ALLEGRO_VOICE *voice)
    │ │ │ │ + ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Attaches an audio stream to a voice. The same rules as al_attach_sample_instance_to_voice │ │ │ │ apply. This may fail if the driver can’t create a voice with the buffer │ │ │ │ count and buffer size the stream uses.

    │ │ │ │ @@ -2976,16 +2833,15 @@ │ │ │ │
  • ex_stream_file.c
  • │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_attach_mixer_to_voice

    │ │ │ │
    bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice)
    │ │ │ │ -bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Attaches a mixer to a voice. It must have the same frequency and │ │ │ │ channel configuration, but the depth may be different.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: ex_mixer_chain.c │ │ │ │ │ │ │ │

    al_attach_sample_instance_to_voice

    │ │ │ │
    bool al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   ALLEGRO_VOICE *voice)
    │ │ │ │ -bool al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   ALLEGRO_VOICE *voice)
    │ │ │ │ + ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Attaches a sample instance to a voice, and allows it to play. The │ │ │ │ instance’s gain and loop mode will be ignored, and it must have the same │ │ │ │ frequency, channel configuration and depth (including signed-ness) as │ │ │ │ the voice. This function may fail if the selected driver doesn’t support │ │ │ │ @@ -3024,59 +2878,54 @@ │ │ │ │

  • ex_kcm_direct.c
  • │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_get_voice_frequency

    │ │ │ │
    unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice)
    │ │ │ │ -unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the frequency of the voice (in Hz), e.g. 44100.

    │ │ │ │

    al_get_voice_channels

    │ │ │ │
    ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice)
    │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the channel configuration of the voice.

    │ │ │ │

    See also: ALLEGRO_CHANNEL_CONF.

    │ │ │ │

    al_get_voice_depth

    │ │ │ │
    ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice)
    │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the audio depth of the voice.

    │ │ │ │

    See also: ALLEGRO_AUDIO_DEPTH.

    │ │ │ │

    al_get_voice_playing

    │ │ │ │
    bool al_get_voice_playing(const ALLEGRO_VOICE *voice)
    │ │ │ │ -bool al_get_voice_playing(const ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">bool al_get_voice_playing(const ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return true if the voice is currently playing.

    │ │ │ │

    See also: al_set_voice_playing

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_voice_playing

    │ │ │ │
    bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val)
    │ │ │ │ -bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val)
    │ │ │ │ +class="sourceCode c">bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Change whether a voice is playing or not. This can only work if the │ │ │ │ voice has a non-streaming object attached to it, e.g. a sample instance. │ │ │ │ On success the voice’s current sample position is reset.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │ @@ -3085,41 +2934,38 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_voice_position

    │ │ │ │
    unsigned int al_get_vALLEGRO_TIMEOUT
    │ │ │ │ -unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ +href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_voice.c#L414">Source │ │ │ │ Code

    │ │ │ │

    When the voice has a non-streaming object attached to it, e.g. a │ │ │ │ sample, returns the voice’s current sample position. Otherwise, returns │ │ │ │ zero.

    │ │ │ │

    See also: al_set_voice_position.

    │ │ │ │

    al_set_voice_position

    │ │ │ │
    bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val)
    │ │ │ │ -bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val)
    │ │ │ │ +class="sourceCode c">bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the voice position. This can only work if the voice has a │ │ │ │ non-streaming object attached to it, e.g. a sample instance.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: al_get_voice_position.

    │ │ │ │

    Mixers

    │ │ │ │

    ALLEGRO_MIXER

    │ │ │ │
    typedef struct ALLEGRO_MIXER ALLEGRO_MIXER;
    │ │ │ │ -typedef struct ALLEGRO_MIXER ALLEGRO_MIXER;
    │ │ │ │ +class="sourceCode c">typedef struct ALLEGRO_MIXER ALLEGRO_MIXER; │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A mixer mixes together attached streams into a single buffer. In the │ │ │ │ process, it converts channel configurations, sample frequencies and │ │ │ │ audio depths of the attached sample instances and audio streams │ │ │ │ accordingly. You can control the quality of this conversion using │ │ │ │ @@ -3136,31 +2982,28 @@ │ │ │ │

  • ex_acodec_multi.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    ALLEGRO_MIXER_QUALITY

    │ │ │ │
    enum ALLEGRO_MIXER_QUALITY
    │ │ │ │ -enum ALLEGRO_MIXER_QUALITY
    │ │ │ │ +class="sourceCode c">enum ALLEGRO_MIXER_QUALITY │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │
      │ │ │ │
    • ALLEGRO_MIXER_QUALITY_POINT - point sampling
    • │ │ │ │
    • ALLEGRO_MIXER_QUALITY_LINEAR - linear interpolation
    • │ │ │ │
    • ALLEGRO_MIXER_QUALITY_CUBIC - cubic interpolation (since: 5.0.8, │ │ │ │ 5.1.4)
    • │ │ │ │
    │ │ │ │

    al_create_mixer

    │ │ │ │
    ALLEGRO_MIXER *al_create_mixer(unsigned int freq,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ -ALLEGRO_MIXER *al_create_mixer(unsigned int freq,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ + ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a mixer to attach sample instances, audio streams, or other │ │ │ │ mixers to. It will mix into a buffer at the requested frequency (in Hz) │ │ │ │ and channel count.

    │ │ │ │

    The only supported audio depths are ALLEGRO_AUDIO_DEPTH_FLOAT32 and │ │ │ │ @@ -3182,16 +3025,15 @@ │ │ │ │

  • ex_acodec_multi.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_destroy_mixer

    │ │ │ │
    void al_destroy_mixer(ALLEGRO_MIXER *mixer)
    │ │ │ │ -void al_destroy_mixer(ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">void al_destroy_mixer(ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Destroys the mixer.

    │ │ │ │

    See also: al_create_mixer

    │ │ │ │

    Examples:

    │ │ │ │ @@ -3201,16 +3043,15 @@ │ │ │ │
  • ex_acodec_multi.c
  • │ │ │ │
  • ex_mixer_chain.c
  • │ │ │ │ │ │ │ │

    al_get_default_mixer

    │ │ │ │
    ALLEGRO_MIXER *al_get_default_mixer(void)
    │ │ │ │ -ALLEGRO_MIXER *al_get_default_mixer(void)
    │ │ │ │ +class="sourceCode c">ALLEGRO_MIXER *al_get_default_mixer(void) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the default mixer, or NULL if one has not been set. Although │ │ │ │ different configurations of mixers and voices can be used, in most cases │ │ │ │ a single mixer attached to a voice is what you want. The default mixer │ │ │ │ is used by al_play_sample.

    │ │ │ │ @@ -3226,16 +3067,15 @@ │ │ │ │
  • ex_audio_props.cpp
  • │ │ │ │
  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_set_default_mixer

    │ │ │ │
    bool al_set_default_mixer(ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_set_default_mixer(ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">bool al_set_default_mixer(ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sets the default mixer. All samples started with al_play_sample will be stopped and │ │ │ │ all sample instances returned by al_lock_sample_id will be │ │ │ │ @@ -3246,16 +3086,15 @@ │ │ │ │

    See also: al_reserve_samples, al_play_sample, al_get_default_mixer, al_restore_default_mixer

    │ │ │ │

    al_restore_default_mixer

    │ │ │ │
    bool al_restore_default_mixer(void)
    │ │ │ │ -bool al_restore_default_mixer(void)
    │ │ │ │ +class="sourceCode c">bool al_restore_default_mixer(void) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Restores Allegro’s default mixer and attaches it to the default │ │ │ │ voice. If the default mixer hasn’t been created before, it will be │ │ │ │ created. If the default voice hasn’t been set via al_set_default_voice or │ │ │ │ @@ -3267,40 +3106,37 @@ │ │ │ │

    Returns true on success, false on error.

    │ │ │ │

    See also: al_get_default_mixer, al_set_default_mixer, al_reserve_samples.

    │ │ │ │

    al_get_default_voice

    │ │ │ │
    ALLEGRO_VOICE *al_get_default_voice(void)
    │ │ │ │ -ALLEGRO_VOICE *al_get_default_voice(void)
    │ │ │ │ +class="sourceCode c">ALLEGRO_VOICE *al_get_default_voice(void) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the default voice or NULL if there is none.

    │ │ │ │

    Since: 5.1.13

    │ │ │ │

    See also: al_get_default_mixer

    │ │ │ │

    al_set_default_voice

    │ │ │ │
    void al_set_default_voice(ALLEGRO_VOICE *voice)
    │ │ │ │ -void al_set_default_voice(ALLEGRO_VOICE *voice)
    │ │ │ │ +class="sourceCode c">void al_set_default_voice(ALLEGRO_VOICE *voice) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    You can call this before calling al_restore_default_mixer to provide │ │ │ │ the voice which should be used. Any previous voice will be destroyed. │ │ │ │ You can also pass NULL to destroy the current default voice.

    │ │ │ │

    Since: 5.1.13

    │ │ │ │

    See also: al_get_default_mixer

    │ │ │ │

    al_attach_mixer_to_mixer

    │ │ │ │
    bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Attaches the mixer passed as the first argument onto the mixer passed │ │ │ │ as the second argument. The first mixer (that is going to be attached) │ │ │ │ must not already be attached to anything. Both mixers must use the same │ │ │ │ frequency, audio depth and channel configuration.

    │ │ │ │ @@ -3315,17 +3151,15 @@ │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_attach_sample_instance_to_mixer

    │ │ │ │
    bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl,
    │ │ │ │ -   ALLEGRO_MIXER *mixer)
    │ │ │ │ + ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Attach a sample instance to a mixer. The instance must not already be │ │ │ │ attached to anything.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: ex_mixer_chain.c │ │ │ │

  • ex_acodec.c
  • │ │ │ │ │ │ │ │

    al_attach_audio_stream_to_mixer

    │ │ │ │
    bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Attach an audio stream to a mixer. The stream must not already be │ │ │ │ attached to anything.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: ex_stream_file.c │ │ │ │

  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_get_mixer_frequency

    │ │ │ │
    unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the mixer frequency (in Hz).

    │ │ │ │

    See also: al_set_mixer_frequency

    │ │ │ │

    al_set_mixer_frequency

    │ │ │ │
    bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val)
    │ │ │ │ -bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val)
    │ │ │ │ +class="sourceCode c">bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the mixer frequency (in Hz). This will only work if the mixer is │ │ │ │ not attached to anything.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: al_get_mixer_frequency

    │ │ │ │

    al_get_mixer_channels

    │ │ │ │
    ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the mixer channel configuration.

    │ │ │ │

    See also: ALLEGRO_CHANNEL_CONF.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_mixer_depth

    │ │ │ │
    ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the mixer audio depth.

    │ │ │ │

    See also: ALLEGRO_AUDIO_DEPTH.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_mixer_gain

    │ │ │ │
    float al_get_mixer_gain(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -float al_get_mixer_gain(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">float al_get_mixer_gain(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the mixer gain (amplification factor). The default is 1.0.

    │ │ │ │

    Since: 5.0.6, 5.1.0

    │ │ │ │

    See also: al_set_mixer_gain.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_mixer_gain

    │ │ │ │
    bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain)
    │ │ │ │ -bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain)
    │ │ │ │ +class="sourceCode c">bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the mixer gain (amplification factor).

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    Since: 5.0.6, 5.1.0

    │ │ │ │

    See also: ex_audio_props.cpp │ │ │ │

  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_get_mixer_quality

    │ │ │ │
    ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the mixer quality.

    │ │ │ │

    See also: ALLEGRO_MIXER_QUALITY, al_set_mixer_quality

    │ │ │ │

    al_set_mixer_quality

    │ │ │ │
    bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY new_quality)
    │ │ │ │ -bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY new_quality)
    │ │ │ │ +class="sourceCode c">bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY new_quality) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Set the mixer quality. This can only succeed if the mixer does not │ │ │ │ have anything attached to it.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: ALLEGRO_MIXER_QUALITY, al_get_mixer_quality

    │ │ │ │

    al_get_mixer_playing

    │ │ │ │
    bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return true if the mixer is playing.

    │ │ │ │

    See also: al_set_mixer_playing.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_mixer_playing

    │ │ │ │
    bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val)
    │ │ │ │ -bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val)
    │ │ │ │ +class="sourceCode c">bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Change whether the mixer is playing.

    │ │ │ │

    Returns true on success, false on failure.

    │ │ │ │

    See also: al_get_mixer_playing.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_mixer_attached

    │ │ │ │
    bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return true if the mixer is attached to something.

    │ │ │ │

    See also: al_attach_sample_instance_to_mixer, │ │ │ │ al_attach_audio_stream_to_mixer, │ │ │ │ al_attach_mixer_to_mixer, │ │ │ │ al_detach_mixer

    │ │ │ │

    al_detach_mixer

    │ │ │ │
    bool al_detach_mixer(ALLEGRO_MIXER *mixer)
    │ │ │ │ -bool al_detach_mixer(ALLEGRO_MIXER *mixer)
    │ │ │ │ +class="sourceCode c">bool al_detach_mixer(ALLEGRO_MIXER *mixer) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Detach the mixer from whatever it is attached to, if anything.

    │ │ │ │

    See also: al_attach_mixer_to_mixer.

    │ │ │ │

    Examples:

    │ │ │ │ @@ -3534,18 +3355,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_chain.cpp#L460">ex_audio_chain.cpp │ │ │ │ │ │ │ │

    al_set_mixer_postprocess_callback

    │ │ │ │
    bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer,
    │ │ │ │     void (*pp_callback)(void *buf, unsigned int samples, void *data),
    │ │ │ │ -   void *pp_callback_userdata)
    │ │ │ │ -bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer,
    │ │ │ │ -   void (*pp_callback)(void *buf, unsigned int samples, void *data),
    │ │ │ │ -   void *pp_callback_userdata)
    │ │ │ │ + void *pp_callback_userdata) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sets a post-processing filter function that’s called after the │ │ │ │ attached streams have been mixed. The buffer’s format will be whatever │ │ │ │ the mixer was created with. The sample count and user-data pointer is │ │ │ │ also passed.

    │ │ │ │ @@ -3561,16 +3379,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_synth.cpp#L500">ex_synth.cpp │ │ │ │
  • ex_mixer_pp.c
  • │ │ │ │ │ │ │ │

    Miscelaneous

    │ │ │ │

    ALLEGRO_AUDIO_DEPTH

    │ │ │ │
    enum ALLEGRO_AUDIO_DEPTH
    │ │ │ │ -enum ALLEGRO_AUDIO_DEPTH
    │ │ │ │ +class="sourceCode c">enum ALLEGRO_AUDIO_DEPTH │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sample depth and type as well as signedness. Mixers only use 32-bit │ │ │ │ signed float (-1..+1), or 16-bit signed integers. Signedness is │ │ │ │ determined by an “unsigned” bit-flag applied to the depth value.

    │ │ │ │ │ │ │ │

    ALLEGRO_AUDIO_PAN_NONE

    │ │ │ │
    #define ALLEGRO_AUDIO_PAN_NONE      (-1000.0f)
    │ │ │ │ -#define ALLEGRO_AUDIO_PAN_NONE      (-1000.0f)
    │ │ │ │ +class="sourceCode c">#define ALLEGRO_AUDIO_PAN_NONE (-1000.0f) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A special value for the pan property of sample instances and audio │ │ │ │ streams. Use this value to disable panning on sample instances and audio │ │ │ │ streams, and play them without attentuation implied by panning │ │ │ │ support.

    │ │ │ │ @@ -3616,16 +3432,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_CHANNEL_CONF

    │ │ │ │
    enum ALLEGRO_CHANNEL_CONF
    │ │ │ │ -enum ALLEGRO_CHANNEL_CONF
    │ │ │ │ +class="sourceCode c">enum ALLEGRO_CHANNEL_CONF │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Speaker configuration (mono, stereo, 2.1, etc).

    │ │ │ │
      │ │ │ │
    • ALLEGRO_CHANNEL_CONF_1
    • │ │ │ │
    • ALLEGRO_CHANNEL_CONF_2
    • │ │ │ │ @@ -3642,16 +3457,15 @@ │ │ │ │
    • ex_stream_file.c
    • │ │ │ │
    • ex_acodec_multi.c
    • │ │ │ │
    │ │ │ │

    ALLEGRO_PLAYMODE

    │ │ │ │
    enum ALLEGRO_PLAYMODE
    │ │ │ │ -enum ALLEGRO_PLAYMODE
    │ │ │ │ +class="sourceCode c">enum ALLEGRO_PLAYMODE │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sample and stream playback mode.

    │ │ │ │
      │ │ │ │
    • ALLEGRO_PLAYMODE_ONCE - the sample/stream is played from start to │ │ │ │ finish an then it stops.
    • │ │ │ │ @@ -3673,16 +3487,15 @@ │ │ │ │
    • ex_kcm_direct.c
    • │ │ │ │
    • ex_mixer_chain.c
    • │ │ │ │
    │ │ │ │

    ALLEGRO_AUDIO_EVENT_TYPE

    │ │ │ │
    enum ALLEGRO_AUDIO_EVENT_TYPE
    │ │ │ │ -enum ALLEGRO_AUDIO_EVENT_TYPE
    │ │ │ │ +class="sourceCode c">enum ALLEGRO_AUDIO_EVENT_TYPE │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Events sent by al_get_audio_stream_event_source │ │ │ │ or al_get_audio_recorder_event_source.

    │ │ │ │ @@ -3705,64 +3518,59 @@ │ │ │ │

    Since: 5.1.1

    │ │ │ │
    │ │ │ │

    Unstable │ │ │ │ API: The API may need a slight redesign.

    │ │ │ │
    │ │ │ │

    al_get_allegro_audio_version

    │ │ │ │
    uint32_t al_get_allegro_audio_version(void)
    │ │ │ │ -uint32_t al_get_allegro_audio_version(void)
    │ │ │ │ +class="sourceCode c">uint32_t al_get_allegro_audio_version(void) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    al_get_audio_depth_size

    │ │ │ │
    size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth)
    │ │ │ │ -size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth)
    │ │ │ │ +class="sourceCode c">size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the size of a sample, in bytes, for the given format. The │ │ │ │ format is one of the values listed under ALLEGRO_AUDIO_DEPTH.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_channel_count

    │ │ │ │
    size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf)
    │ │ │ │ -size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf)
    │ │ │ │ +class="sourceCode c">size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return the number of channels for the given channel configuration, │ │ │ │ which is one of the values listed under ALLEGRO_CHANNEL_CONF.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_fill_silence

    │ │ │ │
    void al_fill_silence(void *buf, unsigned int samples,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ -void al_fill_silence(void *buf, unsigned int samples,
    │ │ │ │ -   ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
    │ │ │ │ + ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Fill a buffer with silence, for the given format and channel │ │ │ │ configuration. The buffer must have enough space for the given number of │ │ │ │ samples, and be properly aligned.

    │ │ │ │

    Since: 5.1.8

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:15 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -230,55 +230,50 @@ │ │ │ │ │ samples, you can use the ALLEGRO_SAMPLE_ID that al_play_sample returns. │ │ │ │ │ If you want to play large audio files (e.g. background music) without loading │ │ │ │ │ the whole file at once you can use al_play_audio_stream (after calling │ │ │ │ │ al_reserve_samples). This will load and play an ALLEGRO_AUDIO_STREAM. Note that │ │ │ │ │ the basic API only supports on such audio stream playing at once. │ │ │ │ │ ***** ALLEGRO_SAMPLE_ID ***** │ │ │ │ │ typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID; │ │ │ │ │ -typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_SAMPLE_ID represents a sample being played via al_play_sample. It │ │ │ │ │ can be used to later sALLEGRO_BITMAP_WRAPtop the sample with al_stop_sample. │ │ │ │ │ The underlying ALLEGRO_SAMPLE_INSTANCE can be extracted using │ │ │ │ │ al_lock_sample_id. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_install_audio ***** │ │ │ │ │ bool al_install_audio(void) │ │ │ │ │ -bool al_install_audio(void) │ │ │ │ │ Source_Code │ │ │ │ │ Install the audio subsystem. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ Note: most users will call al_reserve_samples and │ │ │ │ │ al_init_acodec_addon after this. │ │ │ │ │ See also: al_reserve_samples, al_uninstall_audio, al_is_audio_installed, │ │ │ │ │ al_init_acodec_addon │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_devices.c │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ ***** al_uninstall_audio ***** │ │ │ │ │ void al_uninstall_audio(void) │ │ │ │ │ -void al_uninstall_audio(void) │ │ │ │ │ Source_Code │ │ │ │ │ Uninstalls the audio subsystem. │ │ │ │ │ See also: al_install_audio │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ ***** al_is_audio_installed ***** │ │ │ │ │ bool al_is_audio_installed(void) │ │ │ │ │ -bool al_is_audio_installed(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if al_install_audio was called previously and returned │ │ │ │ │ successfully. │ │ │ │ │ ***** al_reserve_samples ***** │ │ │ │ │ bool al_reserve_samples(int reserve_samples) │ │ │ │ │ -bool al_reserve_samples(int reserve_samples) │ │ │ │ │ Source_Code │ │ │ │ │ Reserves a number of sample instances, attaching them to the default mixer. If │ │ │ │ │ no default mixer is set when this function is called, then it will create one │ │ │ │ │ and attach it to the default voice. If no default voice has been set, it, too, │ │ │ │ │ will be created. │ │ │ │ │ If you call this function a second time with a smaller number of samples, then │ │ │ │ │ the excess internal sample instances will be destroyed causing some sounds to │ │ │ │ │ @@ -295,16 +290,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ***** al_play_sample ***** │ │ │ │ │ bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed, │ │ │ │ │ ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id) │ │ │ │ │ -bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed, │ │ │ │ │ - ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id) │ │ │ │ │ Source_Code │ │ │ │ │ Plays a sample on one of the sample instances created by al_reserve_samples. │ │ │ │ │ Returns true on success, false on failure. Playback may fail because all the │ │ │ │ │ reserved sample instances are currently used. │ │ │ │ │ Parameters: │ │ │ │ │ * gain - relative volume at which the sample is played; 1.0 is normal. │ │ │ │ │ * pan - 0.0 is centred, -1.0 is left, 1.0 is right, or │ │ │ │ │ @@ -320,33 +313,30 @@ │ │ │ │ │ ALLEGRO_SAMPLE_ID, al_stop_sample, al_stop_samples, al_lock_sample_id. │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_stop_sample ***** │ │ │ │ │ void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ -void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ Source_Code │ │ │ │ │ Stop the sample started by al_play_sample. │ │ │ │ │ See also: al_stop_samples │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_stop_samples ***** │ │ │ │ │ void al_stop_samples(void) │ │ │ │ │ -void al_stop_samples(void) │ │ │ │ │ Source_Code │ │ │ │ │ Stop all samples started by al_play_sample. │ │ │ │ │ See also: al_stop_sample │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_lock_sample_id ***** │ │ │ │ │ ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ -ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ Source_Code │ │ │ │ │ Locks a ALLEGRO_SAMPLE_ID, returning the underlying ALLEGRO_SAMPLE_INSTANCE. │ │ │ │ │ This allows you to adjust the various properties of the instance (such as │ │ │ │ │ volume, pan, etc) while the sound is playing. │ │ │ │ │ This function will return NULL if the sound corresponding to the id is no │ │ │ │ │ longer playing. │ │ │ │ │ While locked, ALLEGRO_SAMPLE_ID will be unavailable to additional calls to │ │ │ │ │ @@ -356,28 +346,26 @@ │ │ │ │ │ See also: al_play_sample, al_unlock_sample_id │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_unlock_sample_id ***** │ │ │ │ │ void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ -void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ Source_Code │ │ │ │ │ Unlocks a ALLEGRO_SAMPLE_ID, allowing future calls to al_play_sample to reuse │ │ │ │ │ it if possible. Note that after the id is unlocked, the ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ that was previously returned by al_lock_sample_id will possibly be playing a │ │ │ │ │ different sound, so you should only use it after locking the id again. │ │ │ │ │ See also: al_play_sample, al_lock_sample_id │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_play_audio_stream ***** │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename) │ │ │ │ │ Source_Code │ │ │ │ │ Loads and plays an audio file from disk as it is needed. This API can only play │ │ │ │ │ one audio stream at a time. │ │ │ │ │ Returns the stream on success, NULL on failure. You must not destroy the │ │ │ │ │ returned stream, it will be automatically destroyed when the addon is shut │ │ │ │ │ down. │ │ │ │ │ Note: the allegro_audio library does not support any audio file │ │ │ │ │ @@ -387,16 +375,14 @@ │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_play_audio_stream_f ***** │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char │ │ │ │ │ *ident) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char │ │ │ │ │ -*ident) │ │ │ │ │ Source_Code │ │ │ │ │ Loads and plays an audio file from ALLEGRO_FILE stream as it is needed. │ │ │ │ │ The file type is determined by the passed ‘ident’ parameter, which is a │ │ │ │ │ file name extension including the leading dot. │ │ │ │ │ Returns the stream on success, NULL on failure. You must not destroy the │ │ │ │ │ returned stream, it will be automatically destroyed when the addon is shut │ │ │ │ │ down. On success the file should be considered owned by the audio stream, and │ │ │ │ │ @@ -407,32 +393,28 @@ │ │ │ │ │ register your own format handler. │ │ │ │ │ See also: al_play_audio_stream, al_load_audio_stream_f │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ ****** Samples ****** │ │ │ │ │ ***** ALLEGRO_SAMPLE ***** │ │ │ │ │ typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE; │ │ │ │ │ -typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_SAMPLE object stores the data necessary for playing pre-defined │ │ │ │ │ digital audio. It holds a user-specified PCM data buffer and information about │ │ │ │ │ its format (data length, depth, frequency, channel configuration). You can have │ │ │ │ │ the same ALLEGRO_SAMPLE playing multiple times simultaneously. │ │ │ │ │ See also: ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ Examples: │ │ │ │ │ * ex_glext.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ***** al_create_sample ***** │ │ │ │ │ ALLEGRO_SAMPLE *al_create_sample(void *buf, unsigned int samples, │ │ │ │ │ unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf) │ │ │ │ │ -ALLEGRO_SAMPLE *al_create_sample(void *buf, unsigned int samples, │ │ │ │ │ - unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ - ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf) │ │ │ │ │ Source_Code │ │ │ │ │ Create a sample data structure from the supplied buffer. If free_buf is true │ │ │ │ │ then the buffer will be freed with al_free when the sample data structure is │ │ │ │ │ destroyed. For portability (especially Windows), the buffer should have been │ │ │ │ │ allocated with al_malloc. Otherwise you should free the sample data yourself. │ │ │ │ │ A sample that is referred to by the samples parameter refers to a sequence │ │ │ │ │ channel intensities. E.g. if you’re making a stereo sample with the samples │ │ │ │ │ @@ -448,15 +430,14 @@ │ │ │ │ │ See also: al_destroy_sample, ALLEGRO_AUDIO_DEPTH, ALLEGRO_CHANNEL_CONF │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_load_sample ***** │ │ │ │ │ ALLEGRO_SAMPLE *al_load_sample(const char *filename) │ │ │ │ │ -ALLEGRO_SAMPLE *al_load_sample(const char *filename) │ │ │ │ │ Source_Code │ │ │ │ │ Loads a few different audio file formats based on their extension. │ │ │ │ │ Note that this stores the entire file in memory at once, which may be time │ │ │ │ │ consuming. To read the file as it is needed, use al_load_audio_stream or │ │ │ │ │ al_play_audio_stream. │ │ │ │ │ Returns the sample on success, NULL on failure. │ │ │ │ │ Note: the allegro_audio library does not support any audio file │ │ │ │ │ @@ -465,15 +446,14 @@ │ │ │ │ │ See also: al_register_sample_loader, al_init_acodec_addon │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_load_sample_f ***** │ │ │ │ │ ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident) │ │ │ │ │ -ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident) │ │ │ │ │ Source_Code │ │ │ │ │ Loads an audio file from an ALLEGRO_FILE stream into an ALLEGRO_SAMPLE. The │ │ │ │ │ file type is determined by the passed ‘ident’ parameter, which is a file │ │ │ │ │ name extension including the leading dot. │ │ │ │ │ Note that this stores the entire file in memory at once, which may be time │ │ │ │ │ consuming. To read the file as it is needed, use al_load_audio_stream_f or │ │ │ │ │ al_play_audio_stream_f. │ │ │ │ │ @@ -481,78 +461,70 @@ │ │ │ │ │ afterwards. │ │ │ │ │ Note: the allegro_audio library does not support any audio file │ │ │ │ │ formats by default. You must use the allegro_acodec addon, or │ │ │ │ │ register your own format handler. │ │ │ │ │ See also: al_register_sample_loader_f, al_init_acodec_addon │ │ │ │ │ ***** al_save_sample ***** │ │ │ │ │ bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl) │ │ │ │ │ -bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Writes a sample into a file. Currently, wav is the only supported format, and │ │ │ │ │ the extension must be “.wav”. │ │ │ │ │ Returns true on success, false on error. │ │ │ │ │ Note: the allegro_audio library does not support any audio file │ │ │ │ │ formats by default. You must use the allegro_acodec addon, or │ │ │ │ │ register your own format handler. │ │ │ │ │ See also: al_save_sample_f, al_register_sample_saver, al_init_acodec_addon │ │ │ │ │ ***** al_save_sample_f ***** │ │ │ │ │ bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl) │ │ │ │ │ -bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Writes a sample into a ALLEGRO_FILE filestream. Currently, wav is the only │ │ │ │ │ supported format, and the extension must be “.wav”. │ │ │ │ │ Returns true on success, false on error. The file remains open afterwards. │ │ │ │ │ Note: the allegro_audio library does not support any audio file │ │ │ │ │ formats by default. You must use the allegro_acodec addon, or │ │ │ │ │ register your own format handler. │ │ │ │ │ See also: al_save_sample, al_register_sample_saver_f, al_init_acodec_addon │ │ │ │ │ ***** al_destroy_sample ***** │ │ │ │ │ void al_destroy_sample(ALLEGRO_SAMPLE *spl) │ │ │ │ │ -void al_destroy_sample(ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Free the sample data structure. If it was created with the free_buf parameter │ │ │ │ │ set to true, then the buffer will be freed with al_free. │ │ │ │ │ This function will stop any sample instances which may be playing the buffer │ │ │ │ │ referenced by the ALLEGRO_SAMPLE. │ │ │ │ │ See also: al_destroy_sample_instance, al_stop_sample, al_stop_samples │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_get_sample_channels ***** │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the channel configuration of the sample. │ │ │ │ │ See also: ALLEGRO_CHANNEL_CONF, al_get_sample_depth, al_get_sample_frequency, │ │ │ │ │ al_get_sample_length, al_get_sample_data │ │ │ │ │ ***** al_get_sample_depth ***** │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the audio depth of the sample. │ │ │ │ │ See also: ALLEGRO_AUDIO_DEPTH, al_get_sample_channels, al_get_sample_frequency, │ │ │ │ │ al_get_sample_length, al_get_sample_data │ │ │ │ │ ***** al_get_sample_frequency ***** │ │ │ │ │ unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the frequency (in Hz) of the sample. │ │ │ │ │ See also: al_get_sample_channels, al_get_sample_depth, al_get_sample_length, │ │ │ │ │ al_get_sample_data │ │ │ │ │ ***** al_get_sample_length ***** │ │ │ │ │ unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the length of the sample in sample values. │ │ │ │ │ See also: al_get_sample_channels, al_get_sample_depth, al_get_sample_frequency, │ │ │ │ │ al_get_sample_data │ │ │ │ │ ***** al_get_sample_data ***** │ │ │ │ │ void *al_get_sample_data(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -void *al_get_sample_data(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return a pointer to the raw sample data. │ │ │ │ │ See also: al_get_sample_channels, al_get_sample_depth, al_get_sample_frequency, │ │ │ │ │ al_get_sample_length │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_timer.c │ │ │ │ │ ****** Advanced Audio ****** │ │ │ │ │ @@ -626,15 +598,14 @@ │ │ │ │ │ al_play_sample is called, it’ll use one of these internal sample instances │ │ │ │ │ that is not currently playing to play the requested sample. All of these sample │ │ │ │ │ instances will be attached to the default mixer, which can be changed via │ │ │ │ │ al_set_default_mixer. │ │ │ │ │ ****** Sample instances ****** │ │ │ │ │ ***** ALLEGRO_SAMPLE_INSTANCE ***** │ │ │ │ │ typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE; │ │ │ │ │ -typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_SAMPLE_INSTANCE object represents a playable instance of a │ │ │ │ │ predefined sound effect. It holds information about how the effect should be │ │ │ │ │ played: These playback parameters consist of the looping mode, loop start/end │ │ │ │ │ points, playing position, speed, gain, pan and the playmode. Whether a sample │ │ │ │ │ instance is currently playing or paused is also one of its properties. │ │ │ │ │ An instance uses the data from an ALLEGRO_SAMPLE object. Multiple instances may │ │ │ │ │ @@ -645,178 +616,155 @@ │ │ │ │ │ See also: ALLEGRO_SAMPLE │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_create_sample_instance ***** │ │ │ │ │ ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data) │ │ │ │ │ -ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a sample instance, using the supplied sample data. The instance must be │ │ │ │ │ attached to a mixer (or voice) in order to actually produce output. │ │ │ │ │ The argument may be NULL. You can then set the sample data later with │ │ │ │ │ al_set_sample. │ │ │ │ │ See also: al_destroy_sample_instance │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_destroy_sample_instance ***** │ │ │ │ │ void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Detaches the sample instance from anything it may be attached to and frees it │ │ │ │ │ (the sample data, i.e. its ALLEGRO_SAMPLE, is not freed!). │ │ │ │ │ See also: al_create_sample_instance │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_play_sample_instance ***** │ │ │ │ │ bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Play the sample instance. Returns true on success, false on failure. │ │ │ │ │ See also: al_stop_sample_instance │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_stop_sample_instance ***** │ │ │ │ │ bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Stop an sample instance playing. │ │ │ │ │ See also: al_play_sample_instance │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_get_sample_instance_channels ***** │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_sample_instance_channels( │ │ │ │ │ const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_sample_instance_channels( │ │ │ │ │ - const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the channel configuration of the sample instance’s sample data. │ │ │ │ │ See also: ALLEGRO_CHANNEL_CONF. │ │ │ │ │ Examples: │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_acodec.c │ │ │ │ │ ***** al_get_sample_instance_depth ***** │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ *spl) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ -*spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the audio depth of the sample instance’s sample data. │ │ │ │ │ See also: ALLEGRO_AUDIO_DEPTH. │ │ │ │ │ Examples: │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ***** al_get_sample_instance_frequency ***** │ │ │ │ │ unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ *spl) │ │ │ │ │ -unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ -*spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the frequency (in Hz) of the sample instance’s sample data. │ │ │ │ │ Examples: │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ***** al_get_sample_instance_length ***** │ │ │ │ │ unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the length of the sample instance in sample values. This property may │ │ │ │ │ differ from the length of the instance’s sample data. │ │ │ │ │ See also: al_set_sample_instance_length, al_get_sample_instance_time │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_set_sample_instance_length ***** │ │ │ │ │ bool al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ unsigned int val) │ │ │ │ │ -bool al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - unsigned int val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the length of the sample instance in sample values. This can be used to │ │ │ │ │ play only parts of the underlying sample. Be careful not to exceed the actual │ │ │ │ │ length of the sample data, though. │ │ │ │ │ Return true on success, false on failure. Will fail if the sample instance is │ │ │ │ │ currently playing. │ │ │ │ │ See also: al_get_sample_instance_length │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ ***** al_get_sample_instance_position ***** │ │ │ │ │ unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ *spl) │ │ │ │ │ -unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ -*spl) │ │ │ │ │ Source_Code │ │ │ │ │ Get the playback position of a sample instance. │ │ │ │ │ See also: al_set_sample_instance_position │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_sample_instance_position ***** │ │ │ │ │ bool al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ unsigned int val) │ │ │ │ │ -bool al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - unsigned int val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the playback position of a sample instance. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_sample_instance_position │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_sample_instance_speed ***** │ │ │ │ │ float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the relative playback speed of the sample instance. │ │ │ │ │ See also: al_set_sample_instance_speed │ │ │ │ │ ***** al_set_sample_instance_speed ***** │ │ │ │ │ bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ -bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the relative playback speed of the sample instance. 1.0 means normal speed. │ │ │ │ │ Return true on success, false on failure. Will fail if the sample instance is │ │ │ │ │ attached directly to a voice. │ │ │ │ │ See also: al_get_sample_instance_speed │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_get_sample_instance_gain ***** │ │ │ │ │ float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the playback gain of the sample instance. │ │ │ │ │ See also: al_set_sample_instance_gain │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_sample_instance_gain ***** │ │ │ │ │ bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ -bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the playback gain of the sample instance. │ │ │ │ │ Returns true on success, false on failure. Will fail if the sample instance is │ │ │ │ │ attached directly to a voice. │ │ │ │ │ See also: al_get_sample_instance_gain │ │ │ │ │ Examples: │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ * ex_acodec.c │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ ***** al_get_sample_instance_pan ***** │ │ │ │ │ float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Get the pan value of the sample instance. │ │ │ │ │ See also: al_set_sample_instance_pan. │ │ │ │ │ ***** al_set_sample_instance_pan ***** │ │ │ │ │ bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ -bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the pan value on a sample instance. A value of -1.0 means to play the │ │ │ │ │ sample only through the left speaker; +1.0 means only through the right │ │ │ │ │ speaker; 0.0 means the sample is centre balanced. A special value │ │ │ │ │ ALLEGRO_AUDIO_PAN_NONE disables panning and plays the sample at its original │ │ │ │ │ level. This will be louder than a pan value of 0.0. │ │ │ │ │ Note: panning samples with more than two channels doesn’t work yet. │ │ │ │ │ @@ -824,99 +772,88 @@ │ │ │ │ │ attached directly to a voice. │ │ │ │ │ See also: al_get_sample_instance_pan, ALLEGRO_AUDIO_PAN_NONE │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ ***** al_get_sample_instance_time ***** │ │ │ │ │ float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the length of the sample instance in seconds, assuming a playback speed │ │ │ │ │ of 1.0. │ │ │ │ │ See also: al_get_sample_instance_length │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_get_sample_instance_playmode ***** │ │ │ │ │ ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ *spl) │ │ │ │ │ -ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE │ │ │ │ │ -*spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the playback mode of the sample instance. │ │ │ │ │ See also: ALLEGRO_PLAYMODE, al_set_sample_instance_playmode │ │ │ │ │ ***** al_set_sample_instance_playmode ***** │ │ │ │ │ bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ ALLEGRO_PLAYMODE val) │ │ │ │ │ -bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - ALLEGRO_PLAYMODE val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the playback mode of the sample instance. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: ALLEGRO_PLAYMODE, al_get_sample_instance_playmode │ │ │ │ │ Examples: │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ * ex_acodec.c │ │ │ │ │ ***** al_get_sample_instance_playing ***** │ │ │ │ │ bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return true if the sample instance is in the playing state. This may be true │ │ │ │ │ even if the instance is not attached to anything. │ │ │ │ │ See also: al_set_sample_instance_playing │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_sample_instance_playing ***** │ │ │ │ │ bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val) │ │ │ │ │ -bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val) │ │ │ │ │ Source_Code │ │ │ │ │ Change whether the sample instance is playing. │ │ │ │ │ The instance does not need to be attached to anything (since: 5.1.8). │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_sample_instance_playing │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_sample_instance_attached ***** │ │ │ │ │ bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return whether the sample instance is attached to something. │ │ │ │ │ See also: al_attach_sample_instance_to_mixer, │ │ │ │ │ al_attach_sample_instance_to_voice, al_detach_sample_instance │ │ │ │ │ ***** al_detach_sample_instance ***** │ │ │ │ │ bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Detach the sample instance from whatever it’s attached to, if anything. │ │ │ │ │ Returns true on success. │ │ │ │ │ See also: al_attach_sample_instance_to_mixer, │ │ │ │ │ al_attach_sample_instance_to_voice, al_get_sample_instance_attached │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_sample ***** │ │ │ │ │ ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ Source_Code │ │ │ │ │ Return the sample data that the sample instance plays. │ │ │ │ │ Note this returns a pointer to an internal structure, not the ALLEGRO_SAMPLE │ │ │ │ │ that you may have passed to al_set_sample. However, the sample buffer of the │ │ │ │ │ returned ALLEGRO_SAMPLE will be the same as the one that was used to create the │ │ │ │ │ sample (passed to al_create_sample). You can use al_get_sample_data on the │ │ │ │ │ return value to retrieve and compare it. │ │ │ │ │ See also: al_set_sample │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_set_sample ***** │ │ │ │ │ bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data) │ │ │ │ │ -bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data) │ │ │ │ │ Source_Code │ │ │ │ │ Change the sample data that a sample instance plays. This can be quite an │ │ │ │ │ involved process. │ │ │ │ │ First, the sample is stopped if it is not already. │ │ │ │ │ Next, if data is NULL, the sample is detached from its parent (if any). │ │ │ │ │ If data is not NULL, the sample may be detached and reattached to its parent │ │ │ │ │ (if any). This is not necessary if the old sample data and new sample data have │ │ │ │ │ @@ -930,16 +867,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ * ex_acodec.c │ │ │ │ │ ***** al_set_sample_instance_channel_matrix ***** │ │ │ │ │ bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const │ │ │ │ │ float *matrix) │ │ │ │ │ -bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const │ │ │ │ │ -float *matrix) │ │ │ │ │ Source_Code │ │ │ │ │ Set the matrix used to mix the channels coming from this instance into the │ │ │ │ │ mixer it is attached to. Normally Allegro derives the values of this matrix │ │ │ │ │ from the gain and pan settings, as well as the channel configurations of this │ │ │ │ │ instance and the mixer it is attached to, but this allows you override that │ │ │ │ │ default value. Note that if you do set gain or pan of this instance or the │ │ │ │ │ mixer it is attached to, you’ll need to call this function again. │ │ │ │ │ @@ -961,15 +896,14 @@ │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec.c │ │ │ │ │ ****** Audio streams ****** │ │ │ │ │ ***** ALLEGRO_AUDIO_STREAM ***** │ │ │ │ │ typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_AUDIO_STREAM object is used to stream generated audio to the sound │ │ │ │ │ device, in real-time. This is done by reading from a buffer, which is split │ │ │ │ │ into a number of fragments. Whenever a fragment has finished playing, the user │ │ │ │ │ can refill it with new data. │ │ │ │ │ As with ALLEGRO_SAMPLE_INSTANCE objects, streams store information necessary │ │ │ │ │ for playback, so you may not play the same stream multiple times │ │ │ │ │ @@ -995,17 +929,14 @@ │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ***** al_create_audio_stream ***** │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count, │ │ │ │ │ unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count, │ │ │ │ │ - unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ - ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ Source_Code │ │ │ │ │ Creates an ALLEGRO_AUDIO_STREAM. The stream will be set to play by default. It │ │ │ │ │ will feed audio data from a buffer, which is split into a number of fragments. │ │ │ │ │ Parameters: │ │ │ │ │ * fragment_count - How many fragments to use for the audio stream. Usually │ │ │ │ │ only two fragments are required - splitting the audio buffer in two │ │ │ │ │ halves. But it means that the only time when new data can be supplied is │ │ │ │ │ @@ -1041,16 +972,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_load_audio_stream ***** │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename, │ │ │ │ │ size_t buffer_count, unsigned int samples) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename, │ │ │ │ │ - size_t buffer_count, unsigned int samples) │ │ │ │ │ Source_Code │ │ │ │ │ Loads an audio file from disk as it is needed. │ │ │ │ │ Unlike regular streams, the one returned by this function need not be fed by │ │ │ │ │ the user; the library will automatically read more of the file as it is needed. │ │ │ │ │ The stream will contain buffer_count buffers with samples samples. │ │ │ │ │ The audio stream will start in the playing state. It should be attached to a │ │ │ │ │ voice or mixer to generate any output. See ALLEGRO_AUDIO_STREAM for more │ │ │ │ │ @@ -1065,17 +994,14 @@ │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_mixer_pp.c │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_load_audio_stream_f ***** │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_load_audio_stream_f(ALLEGRO_FILE* fp, const char │ │ │ │ │ *ident, │ │ │ │ │ size_t buffer_count, unsigned int samples) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_load_audio_stream_f(ALLEGRO_FILE* fp, const char │ │ │ │ │ -*ident, │ │ │ │ │ - size_t buffer_count, unsigned int samples) │ │ │ │ │ Source_Code │ │ │ │ │ Loads an audio file from ALLEGRO_FILE stream as it is needed. │ │ │ │ │ Unlike regular streams, the one returned by this function need not be fed by │ │ │ │ │ the user; the library will automatically read more of the file as it is needed. │ │ │ │ │ The stream will contain buffer_count buffers with samples samples. │ │ │ │ │ The file type is determined by the passed ‘ident’ parameter, which is a │ │ │ │ │ file name extension including the leading dot. │ │ │ │ │ @@ -1088,209 +1014,182 @@ │ │ │ │ │ Note: the allegro_audio library does not support any audio file │ │ │ │ │ formats by default. You must use the allegro_acodec addon, or │ │ │ │ │ register your own format handler. │ │ │ │ │ See also: al_load_audio_stream, al_register_audio_stream_loader_f, │ │ │ │ │ al_init_acodec_addon │ │ │ │ │ ***** al_destroy_audio_stream ***** │ │ │ │ │ void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Destroy an audio stream which was created with al_create_audio_stream or │ │ │ │ │ al_load_audio_stream. │ │ │ │ │ Note: If the stream is still attached to a mixer or voice, │ │ │ │ │ al_detach_audio_stream is automatically called on it first. │ │ │ │ │ See also: al_drain_audio_stream. │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ***** al_get_audio_stream_event_source ***** │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source( │ │ │ │ │ ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source( │ │ │ │ │ - ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Retrieve the associated event source. │ │ │ │ │ See al_get_audio_stream_fragment for a description of the │ │ │ │ │ ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT event that audio streams emit. │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ***** al_drain_audio_stream ***** │ │ │ │ │ void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ You should call this to finalise an audio stream that you will no longer be │ │ │ │ │ feeding, to wait for all pending buffers to finish playing. The stream’s │ │ │ │ │ playing state will change to false. │ │ │ │ │ See also: al_destroy_audio_stream │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** al_rewind_audio_stream ***** │ │ │ │ │ bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Set the streaming file playing position to the beginning. Returns true on │ │ │ │ │ success. Currently this can only be called on streams created with │ │ │ │ │ al_load_audio_stream, al_play_audio_stream, al_load_audio_stream_f or │ │ │ │ │ al_play_audio_stream_f. │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_get_audio_stream_frequency ***** │ │ │ │ │ unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the stream frequency (in Hz). │ │ │ │ │ ***** al_get_audio_stream_channels ***** │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_audio_stream_channels( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_audio_stream_channels( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the stream channel configuration. │ │ │ │ │ See also: ALLEGRO_CHANNEL_CONF. │ │ │ │ │ ***** al_get_audio_stream_depth ***** │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the stream audio depth. │ │ │ │ │ See also: ALLEGRO_AUDIO_DEPTH. │ │ │ │ │ ***** al_get_audio_stream_length ***** │ │ │ │ │ unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the stream length in samples. │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_get_audio_stream_speed ***** │ │ │ │ │ float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the relative playback speed of the stream. │ │ │ │ │ See also: al_set_audio_stream_speed. │ │ │ │ │ ***** al_set_audio_stream_speed ***** │ │ │ │ │ bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ -bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the relative playback speed of the stream. 1.0 means normal speed. │ │ │ │ │ Return true on success, false on failure. Will fail if the audio stream is │ │ │ │ │ attached directly to a voice. │ │ │ │ │ See also: al_get_audio_stream_speed. │ │ │ │ │ ***** al_get_audio_stream_gain ***** │ │ │ │ │ float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the playback gain of the stream. │ │ │ │ │ See also: al_set_audio_stream_gain. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_audio_stream_gain ***** │ │ │ │ │ bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ -bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the playback gain of the stream. │ │ │ │ │ Returns true on success, false on failure. Will fail if the audio stream is │ │ │ │ │ attached directly to a voice. │ │ │ │ │ See also: al_get_audio_stream_gain. │ │ │ │ │ Examples: │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_audio_stream_pan ***** │ │ │ │ │ float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Get the pan value of the stream. │ │ │ │ │ See also: al_set_audio_stream_pan. │ │ │ │ │ ***** al_set_audio_stream_pan ***** │ │ │ │ │ bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ -bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the pan value on an audio stream. A value of -1.0 means to play the stream │ │ │ │ │ only through the left speaker; +1.0 means only through the right speaker; 0.0 │ │ │ │ │ means the sample is centre balanced. A special value ALLEGRO_AUDIO_PAN_NONE │ │ │ │ │ disables panning and plays the stream at its original level. This will be │ │ │ │ │ louder than a pan value of 0.0. │ │ │ │ │ Returns true on success, false on failure. Will fail if the audio stream is │ │ │ │ │ attached directly to a voice. │ │ │ │ │ See also: al_get_audio_stream_pan, ALLEGRO_AUDIO_PAN_NONE │ │ │ │ │ Examples: │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_get_audio_stream_playing ***** │ │ │ │ │ bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return true if the stream is playing. │ │ │ │ │ See also: al_set_audio_stream_playing. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record.c │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_audio_stream_playing ***** │ │ │ │ │ bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val) │ │ │ │ │ -bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val) │ │ │ │ │ Source_Code │ │ │ │ │ Change whether the stream is playing. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_audio_stream_playing │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_simple.c │ │ │ │ │ * ex_record.c │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_get_audio_stream_playmode ***** │ │ │ │ │ ALLEGRO_PLAYMODE al_get_audio_stream_playmode( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_PLAYMODE al_get_audio_stream_playmode( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the playback mode of the stream. │ │ │ │ │ See also: ALLEGRO_PLAYMODE, al_set_audio_stream_playmode. │ │ │ │ │ ***** al_set_audio_stream_playmode ***** │ │ │ │ │ bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ ALLEGRO_PLAYMODE val) │ │ │ │ │ -bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ - ALLEGRO_PLAYMODE val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the playback mode of the stream. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: ALLEGRO_PLAYMODE, al_get_audio_stream_playmode. │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_mixer_pp.c │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_get_audio_stream_attached ***** │ │ │ │ │ bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return whether the stream is attached to something. │ │ │ │ │ See also: al_attach_audio_stream_to_mixer, al_attach_audio_stream_to_voice, │ │ │ │ │ al_detach_audio_stream. │ │ │ │ │ ***** al_detach_audio_stream ***** │ │ │ │ │ bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Detach the stream from whatever it’s attached to, if anything. │ │ │ │ │ See also: al_attach_audio_stream_to_mixer, al_attach_audio_stream_to_voice, │ │ │ │ │ al_get_audio_stream_attached. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_audio_stream_played_samples ***** │ │ │ │ │ uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Get the number of samples consumed by the parent since the audio stream was │ │ │ │ │ started. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ ***** al_get_audio_stream_fragment ***** │ │ │ │ │ void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ When using Allegro’s audio streaming, you will use this function to │ │ │ │ │ continuously provide new sample data to a stream. │ │ │ │ │ If the stream is ready for new data, the function will return the address of an │ │ │ │ │ internal buffer to be filled with audio data. The length and format of the │ │ │ │ │ buffer are specified with al_create_audio_stream or can be queried with the │ │ │ │ │ various functions described here. Once the buffer is filled, you must signal │ │ │ │ │ @@ -1306,75 +1205,66 @@ │ │ │ │ │ al_get_audio_stream_depth, al_get_audio_stream_length │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_set_audio_stream_fragment ***** │ │ │ │ │ bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val) │ │ │ │ │ -bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val) │ │ │ │ │ Source_Code │ │ │ │ │ This function needs to be called for every successful call of │ │ │ │ │ al_get_audio_stream_fragment to indicate that the buffer (pointed to by val) is │ │ │ │ │ filled with new data. │ │ │ │ │ See also: al_get_audio_stream_fragment │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_get_audio_stream_fragments ***** │ │ │ │ │ unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the number of fragments this stream uses. This is the same value as │ │ │ │ │ passed to al_create_audio_stream when a new stream is created. │ │ │ │ │ See also: al_get_available_audio_stream_fragments │ │ │ │ │ ***** al_get_available_audio_stream_fragments ***** │ │ │ │ │ unsigned int al_get_available_audio_stream_fragments( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_available_audio_stream_fragments( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the number of available fragments in the stream, that is, fragments │ │ │ │ │ which are not currently filled with data for playback. │ │ │ │ │ See also: al_get_audio_stream_fragment, al_get_audio_stream_fragments │ │ │ │ │ ***** al_seek_audio_stream_secs ***** │ │ │ │ │ bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time) │ │ │ │ │ -bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time) │ │ │ │ │ Source_Code │ │ │ │ │ Set the streaming file playing position to time. Returns true on success. │ │ │ │ │ Currently this can only be called on streams created with al_load_audio_stream, │ │ │ │ │ al_play_audio_stream, al_load_audio_stream_f or al_play_audio_stream_f. │ │ │ │ │ See also: al_get_audio_stream_position_secs, al_get_audio_stream_length_secs │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_get_audio_stream_position_secs ***** │ │ │ │ │ double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the position of the stream in seconds. Currently this can only be called │ │ │ │ │ on streams created with al_load_audio_stream, al_play_audio_stream, │ │ │ │ │ al_load_audio_stream_f or al_play_audio_stream_f. │ │ │ │ │ See also: al_get_audio_stream_length_secs │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_get_audio_stream_length_secs ***** │ │ │ │ │ double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ Source_Code │ │ │ │ │ Return the length of the stream in seconds, if known. Otherwise returns zero. │ │ │ │ │ Currently this can only be called on streams created with al_load_audio_stream, │ │ │ │ │ al_play_audio_stream, al_load_audio_stream_f or al_play_audio_stream_f. │ │ │ │ │ See also: al_get_audio_stream_position_secs │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_set_audio_stream_loop_secs ***** │ │ │ │ │ bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ double start, double end) │ │ │ │ │ -bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ - double start, double end) │ │ │ │ │ Source_Code │ │ │ │ │ Sets the loop points for the stream in seconds. Currently this can only be │ │ │ │ │ called on streams created with al_load_audio_stream, al_play_audio_stream, │ │ │ │ │ al_load_audio_stream_f or al_play_audio_stream_f. │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ***** al_set_audio_stream_channel_matrix ***** │ │ │ │ │ @@ -1382,105 +1272,89 @@ │ │ │ │ │ Like al_set_sample_instance_channel_matrix but for streams. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ ****** Advanced audio file I/O ****** │ │ │ │ │ ***** al_register_sample_loader ***** │ │ │ │ │ bool al_register_sample_loader(const char *ext, │ │ │ │ │ ALLEGRO_SAMPLE *(*loader)(const char *filename)) │ │ │ │ │ -bool al_register_sample_loader(const char *ext, │ │ │ │ │ - ALLEGRO_SAMPLE *(*loader)(const char *filename)) │ │ │ │ │ Source_Code │ │ │ │ │ Register a handler for al_load_sample. The given function will be used to │ │ │ │ │ handle the loading of sample files with the given extension. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The loader argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_register_sample_loader_f, al_register_sample_saver │ │ │ │ │ ***** al_register_sample_loader_f ***** │ │ │ │ │ bool al_register_sample_loader_f(const char *ext, │ │ │ │ │ ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp)) │ │ │ │ │ -bool al_register_sample_loader_f(const char *ext, │ │ │ │ │ - ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp)) │ │ │ │ │ Source_Code │ │ │ │ │ Register a handler for al_load_sample_f. The given function will be used to │ │ │ │ │ handle the loading of sample files with the given extension. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The loader argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_register_sample_loader │ │ │ │ │ ***** al_register_sample_saver ***** │ │ │ │ │ bool al_register_sample_saver(const char *ext, │ │ │ │ │ bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ -bool al_register_sample_saver(const char *ext, │ │ │ │ │ - bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ Source_Code │ │ │ │ │ Register a handler for al_save_sample. The given function will be used to │ │ │ │ │ handle the saving of sample files with the given extension. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The saver argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_register_sample_saver_f, al_register_sample_loader │ │ │ │ │ ***** al_register_sample_saver_f ***** │ │ │ │ │ bool al_register_sample_saver_f(const char *ext, │ │ │ │ │ bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ -bool al_register_sample_saver_f(const char *ext, │ │ │ │ │ - bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ Source_Code │ │ │ │ │ Register a handler for al_save_sample_f. The given function will be used to │ │ │ │ │ handle the saving of sample files with the given extension. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The saver argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_register_sample_saver │ │ │ │ │ ***** al_register_audio_stream_loader ***** │ │ │ │ │ bool al_register_audio_stream_loader(const char *ext, │ │ │ │ │ ALLEGRO_AUDIO_STREAM *(*stream_loader)(const char *filename, │ │ │ │ │ size_t buffer_count, unsigned int samples)) │ │ │ │ │ -bool al_register_audio_stream_loader(const char *ext, │ │ │ │ │ - ALLEGRO_AUDIO_STREAM *(*stream_loader)(const char *filename, │ │ │ │ │ - size_t buffer_count, unsigned int samples)) │ │ │ │ │ Source_Code │ │ │ │ │ Register a handler for al_load_audio_stream and al_play_audio_stream. The given │ │ │ │ │ function will be used to open streams from files with the given extension. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The stream_loader argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_register_audio_stream_loader_f │ │ │ │ │ ***** al_register_audio_stream_loader_f ***** │ │ │ │ │ bool al_register_audio_stream_loader_f(const char *ext, │ │ │ │ │ ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp, │ │ │ │ │ size_t buffer_count, unsigned int samples)) │ │ │ │ │ -bool al_register_audio_stream_loader_f(const char *ext, │ │ │ │ │ - ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp, │ │ │ │ │ - size_t buffer_count, unsigned int samples)) │ │ │ │ │ Source_Code │ │ │ │ │ Register a handler for al_load_audio_stream_f and al_play_audio_stream_f. The │ │ │ │ │ given function will be used to open streams from files with the given │ │ │ │ │ extension. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The stream_loader argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_register_audio_stream_loader │ │ │ │ │ ***** al_register_sample_identifier ***** │ │ │ │ │ bool al_register_sample_identifier(const char *ext, │ │ │ │ │ bool (*identifier)(ALLEGRO_FILE* fp)) │ │ │ │ │ -bool al_register_sample_identifier(const char *ext, │ │ │ │ │ - bool (*identifier)(ALLEGRO_FILE* fp)) │ │ │ │ │ Source_Code │ │ │ │ │ Register an identify handler for al_identify_sample. The given function will be │ │ │ │ │ used to detect files for the given extension. It will be called with a single │ │ │ │ │ argument of type ALLEGRO_FILE which is a file handle opened for reading and │ │ │ │ │ located at the first byte of the file. The handler should try to read as few │ │ │ │ │ bytes as possible to safely determine if the given file contents correspond to │ │ │ │ │ the type with the extension and return true in that case, false otherwise. The │ │ │ │ │ @@ -1491,25 +1365,23 @@ │ │ │ │ │ The identifier argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_identify_bitmap │ │ │ │ │ ***** al_identify_sample ***** │ │ │ │ │ char const *al_identify_sample(char const *filename) │ │ │ │ │ -char const *al_identify_sample(char const *filename) │ │ │ │ │ Source_Code │ │ │ │ │ This works exactly as al_identify_sample_f but you specify the filename of the │ │ │ │ │ file for which to detect the type and not a file handle. The extension, if any, │ │ │ │ │ of the passed filename is not taken into account - only the file contents. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_init_acodec_addon, al_identify_sample_f, │ │ │ │ │ al_register_sample_identifier │ │ │ │ │ ***** al_identify_sample_f ***** │ │ │ │ │ char const *al_identify_sample_f(ALLEGRO_FILE *fp) │ │ │ │ │ -char const *al_identify_sample_f(ALLEGRO_FILE *fp) │ │ │ │ │ Source_Code │ │ │ │ │ Tries to guess the audio file type of the open ALLEGRO_FILE by reading the │ │ │ │ │ first few bytes. By default Allegro cannot recognize any file types, but │ │ │ │ │ calling al_init_acodec_addon will add detection of the types it can read. You │ │ │ │ │ can also use al_register_sample_identifier to add identification for custom │ │ │ │ │ file types. │ │ │ │ │ Returns a pointer to a static string with a file extension for the type, │ │ │ │ │ @@ -1524,25 +1396,23 @@ │ │ │ │ │ specific implementation details with its own buffering, it will add a small │ │ │ │ │ amount of latency. However, for most applications that small overhead will not │ │ │ │ │ adversely affect performance. │ │ │ │ │ Recording is supported by the ALSA, AudioQueue, DirectSound8, and PulseAudio │ │ │ │ │ drivers. Enumerating or choosing other recording devices is not yet supported. │ │ │ │ │ ***** ALLEGRO_AUDIO_RECORDER ***** │ │ │ │ │ typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque datatype that represents a recording device. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** ALLEGRO_AUDIO_RECORDER_EVENT ***** │ │ │ │ │ typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT; │ │ │ │ │ Source_Code │ │ │ │ │ Structure that holds the audio recorder event data. Every event type will │ │ │ │ │ contain: │ │ │ │ │ * .source: pointer to the audio recorder │ │ │ │ │ The following will be available depending on the event type: │ │ │ │ │ * .buffer: pointer to buffer containing the audio samples │ │ │ │ │ * .samples: number of samples (not bytes) that are available │ │ │ │ │ @@ -1552,17 +1422,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** al_create_audio_recorder ***** │ │ │ │ │ ALLEGRO_AUDIO_RECORDER *al_create_audio_recorder(size_t fragment_count, │ │ │ │ │ unsigned int samples, unsigned int frequency, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_AUDIO_RECORDER *al_create_audio_recorder(size_t fragment_count, │ │ │ │ │ - unsigned int samples, unsigned int frequency, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ Source_Code │ │ │ │ │ Creates an audio recorder using the system’s default recording device. (So if │ │ │ │ │ the returned device does not work, try updating the system’s default │ │ │ │ │ recording device.) │ │ │ │ │ Allegro will internally buffer several seconds of captured audio with minimal │ │ │ │ │ latency. (XXX: These settings need to be exposed via config or API calls.) │ │ │ │ │ Audio will be copied out of that private buffer into a fragment buffer of the │ │ │ │ │ @@ -1586,133 +1453,119 @@ │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** al_start_audio_recorder ***** │ │ │ │ │ bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ Source_Code │ │ │ │ │ Begin recording into the fragment buffer. Once a complete fragment has been │ │ │ │ │ captured (as specified in al_create_audio_recorder), an │ │ │ │ │ ALLEGRO_EVENT_AUDIO_RECORDER_FRAGMENT event will be triggered. │ │ │ │ │ Returns true if it was able to begin recording. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** al_stop_audio_recorder ***** │ │ │ │ │ void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ Source_Code │ │ │ │ │ Stop capturing audio data. Note that the audio recorder is still active and │ │ │ │ │ consuming resources, so if you are finished recording you should destroy it │ │ │ │ │ with al_destroy_audio_recorder. │ │ │ │ │ You may still receive a few events after you call this function as the device │ │ │ │ │ flushes the buffer. │ │ │ │ │ If you restart the recorder, it will begin recording at the beginning of the │ │ │ │ │ next fragment buffer. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ ***** al_is_audio_recorder_recording ***** │ │ │ │ │ bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the audio recorder is currently capturing data and generating │ │ │ │ │ events. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ ***** al_get_audio_recorder_event ***** │ │ │ │ │ ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event) │ │ │ │ │ -ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the event as an ALLEGRO_AUDIO_RECORDER_EVENT. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** al_get_audio_recorder_event_source ***** │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER │ │ │ │ │ *r) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER │ │ │ │ │ -*r) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the event source for the recorder that generates the various recording │ │ │ │ │ events. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ***** al_destroy_audio_recorder ***** │ │ │ │ │ void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys the audio recorder and frees all resources associated with it. It is │ │ │ │ │ safe to destroy a recorder that is recording. │ │ │ │ │ You may receive events after the recorder has been destroyed. They must be │ │ │ │ │ ignored, as the fragment buffer will no longer be valid. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_record.c │ │ │ │ │ ****** Audio devices ****** │ │ │ │ │ ***** ALLEGRO_AUDIO_DEVICE ***** │ │ │ │ │ typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque datatype that represents an audio device. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_devices.c │ │ │ │ │ ***** al_get_num_audio_output_devices ***** │ │ │ │ │ int al_get_num_audio_output_devices() │ │ │ │ │ -int al_get_num_audio_output_devices() │ │ │ │ │ Source_Code │ │ │ │ │ Get the number of available audio output devices on the system. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ return -1 for unsupported drivers. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_devices.c │ │ │ │ │ ***** al_get_audio_output_device ***** │ │ │ │ │ const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index) │ │ │ │ │ -const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index) │ │ │ │ │ Source_Code │ │ │ │ │ Get the output audio device of the specified index. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_devices.c │ │ │ │ │ ***** al_get_audio_device_name ***** │ │ │ │ │ const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device) │ │ │ │ │ -const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device) │ │ │ │ │ Source_Code │ │ │ │ │ Get the user friendly display name of the device. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_devices.c │ │ │ │ │ ****** Voices ****** │ │ │ │ │ ***** ALLEGRO_VOICE ***** │ │ │ │ │ typedef struct ALLEGRO_VOICE ALLEGRO_VOICE; │ │ │ │ │ -typedef struct ALLEGRO_VOICE ALLEGRO_VOICE; │ │ │ │ │ Source_Code │ │ │ │ │ A voice represents an audio device on the system, which may be a real device, │ │ │ │ │ or an abstract device provided by the operating system. To play back audio, you │ │ │ │ │ would attach a mixer, sample instance or audio stream to a voice. │ │ │ │ │ See also: ALLEGRO_MIXER, ALLEGRO_SAMPLE, ALLEGRO_AUDIO_STREAM │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ***** al_create_voice ***** │ │ │ │ │ ALLEGRO_VOICE *al_create_voice(unsigned int freq, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_VOICE *al_create_voice(unsigned int freq, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a voice structure and allocates a voice from the digital sound driver. │ │ │ │ │ The passed frequency (in Hz), sample format and channel configuration are used │ │ │ │ │ as a hint to what kind of data will be sent to the voice. However, the │ │ │ │ │ underlying sound driver is free to use non-matching values. For example, it may │ │ │ │ │ be the native format of the sound hardware. │ │ │ │ │ If a mixer is attached to the voice, the mixer will handle the conversion of │ │ │ │ │ @@ -1725,35 +1578,31 @@ │ │ │ │ │ See also: al_destroy_voice │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ***** al_destroy_voice ***** │ │ │ │ │ void al_destroy_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_destroy_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys the voice and deallocates it from the digital driver. Does nothing if │ │ │ │ │ the voice is NULL. │ │ │ │ │ See also: al_create_voice │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ ***** al_detach_voice ***** │ │ │ │ │ void al_detach_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_detach_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Detaches the mixer, sample instance or audio stream from the voice. │ │ │ │ │ See also: al_attach_mixer_to_voice, al_attach_sample_instance_to_voice, │ │ │ │ │ al_attach_audio_stream_to_voice │ │ │ │ │ ***** al_attach_audio_stream_to_voice ***** │ │ │ │ │ bool al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ - ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Attaches an audio stream to a voice. The same rules as │ │ │ │ │ al_attach_sample_instance_to_voice apply. This may fail if the driver can’t │ │ │ │ │ create a voice with the buffer count and buffer size the stream uses. │ │ │ │ │ An audio stream attached directly to a voice has a number of limitations: The │ │ │ │ │ audio stream plays immediately and cannot be stopped. The stream position, │ │ │ │ │ speed, gain and panning cannot be changed. At this time, we don’t recommend │ │ │ │ │ @@ -1761,29 +1610,26 @@ │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_detach_voice │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_attach_mixer_to_voice ***** │ │ │ │ │ bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Attaches a mixer to a voice. It must have the same frequency and channel │ │ │ │ │ configuration, but the depth may be different. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_detach_voice │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_attach_sample_instance_to_voice ***** │ │ │ │ │ bool al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Attaches a sample instance to a voice, and allows it to play. The instance’s │ │ │ │ │ gain and loop mode will be ignored, and it must have the same frequency, │ │ │ │ │ channel configuration and depth (including signed-ness) as the voice. This │ │ │ │ │ function may fail if the selected driver doesn’t support preloading sample │ │ │ │ │ data. │ │ │ │ │ At this time, we don’t recommend attaching sample instances directly to │ │ │ │ │ @@ -1791,67 +1637,59 @@ │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_detach_voice │ │ │ │ │ Examples: │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_voice_frequency ***** │ │ │ │ │ unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice) │ │ │ │ │ -unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Return the frequency of the voice (in Hz), e.g. 44100. │ │ │ │ │ ***** al_get_voice_channels ***** │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Return the channel configuration of the voice. │ │ │ │ │ See also: ALLEGRO_CHANNEL_CONF. │ │ │ │ │ ***** al_get_voice_depth ***** │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Return the audio depth of the voice. │ │ │ │ │ See also: ALLEGRO_AUDIO_DEPTH. │ │ │ │ │ ***** al_get_voice_playing ***** │ │ │ │ │ bool al_get_voice_playing(const ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_get_voice_playing(const ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Return true if the voice is currently playing. │ │ │ │ │ See also: al_set_voice_playing │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_voice_playing ***** │ │ │ │ │ bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val) │ │ │ │ │ -bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val) │ │ │ │ │ Source_Code │ │ │ │ │ Change whether a voice is playing or not. This can only work if the voice has a │ │ │ │ │ non-streaming object attached to it, e.g. a sample instance. On success the │ │ │ │ │ voice’s current sample position is reset. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_voice_playing │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_voice_position ***** │ │ │ │ │ -unsigned int al_get_vALLEGRO_TIMEOUT │ │ │ │ │ unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ When the voice has a non-streaming object attached to it, e.g. a sample, │ │ │ │ │ returns the voice’s current sample position. Otherwise, returns zero. │ │ │ │ │ See also: al_set_voice_position. │ │ │ │ │ ***** al_set_voice_position ***** │ │ │ │ │ bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val) │ │ │ │ │ -bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the voice position. This can only work if the voice has a non-streaming │ │ │ │ │ object attached to it, e.g. a sample instance. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_voice_position. │ │ │ │ │ ****** Mixers ****** │ │ │ │ │ ***** ALLEGRO_MIXER ***** │ │ │ │ │ typedef struct ALLEGRO_MIXER ALLEGRO_MIXER; │ │ │ │ │ -typedef struct ALLEGRO_MIXER ALLEGRO_MIXER; │ │ │ │ │ Source_Code │ │ │ │ │ A mixer mixes together attached streams into a single buffer. In the process, │ │ │ │ │ it converts channel configurations, sample frequencies and audio depths of the │ │ │ │ │ attached sample instances and audio streams accordingly. You can control the │ │ │ │ │ quality of this conversion using ALLEGRO_MIXER_QUALITY. │ │ │ │ │ When going from mono to stereo (and above), the mixer reduces the volume of │ │ │ │ │ both channels by sqrt(2). When going from stereo (and above) to mono, the mixer │ │ │ │ │ @@ -1859,24 +1697,21 @@ │ │ │ │ │ to the center channel (if present). │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** ALLEGRO_MIXER_QUALITY ***** │ │ │ │ │ enum ALLEGRO_MIXER_QUALITY │ │ │ │ │ -enum ALLEGRO_MIXER_QUALITY │ │ │ │ │ Source_Code │ │ │ │ │ * ALLEGRO_MIXER_QUALITY_POINT - point sampling │ │ │ │ │ * ALLEGRO_MIXER_QUALITY_LINEAR - linear interpolation │ │ │ │ │ * ALLEGRO_MIXER_QUALITY_CUBIC - cubic interpolation (since: 5.0.8, 5.1.4) │ │ │ │ │ ***** al_create_mixer ***** │ │ │ │ │ ALLEGRO_MIXER *al_create_mixer(unsigned int freq, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_MIXER *al_create_mixer(unsigned int freq, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a mixer to attach sample instances, audio streams, or other mixers to. │ │ │ │ │ It will mix into a buffer at the requested frequency (in Hz) and channel count. │ │ │ │ │ The only supported audio depths are ALLEGRO_AUDIO_DEPTH_FLOAT32 and │ │ │ │ │ ALLEGRO_AUDIO_DEPTH_INT16 (not yet complete). │ │ │ │ │ To actually produce any output, the mixer will have to be attached to a voice │ │ │ │ │ using al_attach_mixer_to_voice. │ │ │ │ │ @@ -1886,233 +1721,205 @@ │ │ │ │ │ See also: al_destroy_mixer, ALLEGRO_AUDIO_DEPTH, ALLEGRO_CHANNEL_CONF │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_destroy_mixer ***** │ │ │ │ │ void al_destroy_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ -void al_destroy_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys the mixer. │ │ │ │ │ See also: al_create_mixer │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** al_get_default_mixer ***** │ │ │ │ │ ALLEGRO_MIXER *al_get_default_mixer(void) │ │ │ │ │ -ALLEGRO_MIXER *al_get_default_mixer(void) │ │ │ │ │ Source_Code │ │ │ │ │ Return the default mixer, or NULL if one has not been set. Although different │ │ │ │ │ configurations of mixers and voices can be used, in most cases a single mixer │ │ │ │ │ attached to a voice is what you want. The default mixer is used by │ │ │ │ │ al_play_sample. │ │ │ │ │ See also: al_reserve_samples, al_play_sample, al_set_default_mixer, │ │ │ │ │ al_restore_default_mixer │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ***** al_set_default_mixer ***** │ │ │ │ │ bool al_set_default_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_set_default_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Sets the default mixer. All samples started with al_play_sample will be stopped │ │ │ │ │ and all sample instances returned by al_lock_sample_id will be invalidated. If │ │ │ │ │ you are using your own mixer, this should be called before al_reserve_samples. │ │ │ │ │ Returns true on success, false on error. │ │ │ │ │ See also: al_reserve_samples, al_play_sample, al_get_default_mixer, │ │ │ │ │ al_restore_default_mixer │ │ │ │ │ ***** al_restore_default_mixer ***** │ │ │ │ │ bool al_restore_default_mixer(void) │ │ │ │ │ -bool al_restore_default_mixer(void) │ │ │ │ │ Source_Code │ │ │ │ │ Restores Allegro’s default mixer and attaches it to the default voice. If the │ │ │ │ │ default mixer hasn’t been created before, it will be created. If the default │ │ │ │ │ voice hasn’t been set via al_set_default_voice or created before, it will │ │ │ │ │ also be created. All samples started with al_play_sample will be stopped and │ │ │ │ │ all sample instances returned by al_lock_sample_id will be invalidated. │ │ │ │ │ Returns true on success, false on error. │ │ │ │ │ See also: al_get_default_mixer, al_set_default_mixer, al_reserve_samples. │ │ │ │ │ ***** al_get_default_voice ***** │ │ │ │ │ ALLEGRO_VOICE *al_get_default_voice(void) │ │ │ │ │ -ALLEGRO_VOICE *al_get_default_voice(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the default voice or NULL if there is none. │ │ │ │ │ Since: 5.1.13 │ │ │ │ │ See also: al_get_default_mixer │ │ │ │ │ ***** al_set_default_voice ***** │ │ │ │ │ void al_set_default_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_set_default_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ You can call this before calling al_restore_default_mixer to provide the voice │ │ │ │ │ which should be used. Any previous voice will be destroyed. You can also pass │ │ │ │ │ NULL to destroy the current default voice. │ │ │ │ │ Since: 5.1.13 │ │ │ │ │ See also: al_get_default_mixer │ │ │ │ │ ***** al_attach_mixer_to_mixer ***** │ │ │ │ │ bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Attaches the mixer passed as the first argument onto the mixer passed as the │ │ │ │ │ second argument. The first mixer (that is going to be attached) must not │ │ │ │ │ already be attached to anything. Both mixers must use the same frequency, audio │ │ │ │ │ depth and channel configuration. │ │ │ │ │ Returns true on success, false on error. │ │ │ │ │ It is invalid to attach a mixer to itself. │ │ │ │ │ See also: al_detach_mixer. │ │ │ │ │ Examples: │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_attach_sample_instance_to_mixer ***** │ │ │ │ │ bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Attach a sample instance to a mixer. The instance must not already be attached │ │ │ │ │ to anything. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_detach_sample_instance. │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ * ex_acodec.c │ │ │ │ │ ***** al_attach_audio_stream_to_mixer ***** │ │ │ │ │ bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ -ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Attach an audio stream to a mixer. The stream must not already be attached to │ │ │ │ │ anything. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_detach_audio_stream. │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ***** al_get_mixer_frequency ***** │ │ │ │ │ unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return the mixer frequency (in Hz). │ │ │ │ │ See also: al_set_mixer_frequency │ │ │ │ │ ***** al_set_mixer_frequency ***** │ │ │ │ │ bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val) │ │ │ │ │ -bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val) │ │ │ │ │ Source_Code │ │ │ │ │ Set the mixer frequency (in Hz). This will only work if the mixer is not │ │ │ │ │ attached to anything. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_mixer_frequency │ │ │ │ │ ***** al_get_mixer_channels ***** │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return the mixer channel configuration. │ │ │ │ │ See also: ALLEGRO_CHANNEL_CONF. │ │ │ │ │ Examples: │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_get_mixer_depth ***** │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return the mixer audio depth. │ │ │ │ │ See also: ALLEGRO_AUDIO_DEPTH. │ │ │ │ │ Examples: │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_get_mixer_gain ***** │ │ │ │ │ float al_get_mixer_gain(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -float al_get_mixer_gain(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return the mixer gain (amplification factor). The default is 1.0. │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_set_mixer_gain. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_mixer_gain ***** │ │ │ │ │ bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain) │ │ │ │ │ -bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain) │ │ │ │ │ Source_Code │ │ │ │ │ Set the mixer gain (amplification factor). │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_get_mixer_gain │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_mixer_quality ***** │ │ │ │ │ ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return the mixer quality. │ │ │ │ │ See also: ALLEGRO_MIXER_QUALITY, al_set_mixer_quality │ │ │ │ │ ***** al_set_mixer_quality ***** │ │ │ │ │ bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY │ │ │ │ │ new_quality) │ │ │ │ │ -bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY │ │ │ │ │ -new_quality) │ │ │ │ │ Source_Code │ │ │ │ │ Set the mixer quality. This can only succeed if the mixer does not have │ │ │ │ │ anything attached to it. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: ALLEGRO_MIXER_QUALITY, al_get_mixer_quality │ │ │ │ │ ***** al_get_mixer_playing ***** │ │ │ │ │ bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return true if the mixer is playing. │ │ │ │ │ See also: al_set_mixer_playing. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_mixer_playing ***** │ │ │ │ │ bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val) │ │ │ │ │ -bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val) │ │ │ │ │ Source_Code │ │ │ │ │ Change whether the mixer is playing. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: al_get_mixer_playing. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_get_mixer_attached ***** │ │ │ │ │ bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Return true if the mixer is attached to something. │ │ │ │ │ See also: al_attach_sample_instance_to_mixer, al_attach_audio_stream_to_mixer, │ │ │ │ │ al_attach_mixer_to_mixer, al_detach_mixer │ │ │ │ │ ***** al_detach_mixer ***** │ │ │ │ │ bool al_detach_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_detach_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Detach the mixer from whatever it is attached to, if anything. │ │ │ │ │ See also: al_attach_mixer_to_mixer. │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_set_mixer_postprocess_callback ***** │ │ │ │ │ bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer, │ │ │ │ │ void (*pp_callback)(void *buf, unsigned int samples, void *data), │ │ │ │ │ void *pp_callback_userdata) │ │ │ │ │ -bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer, │ │ │ │ │ - void (*pp_callback)(void *buf, unsigned int samples, void *data), │ │ │ │ │ - void *pp_callback_userdata) │ │ │ │ │ Source_Code │ │ │ │ │ Sets a post-processing filter function that’s called after the attached │ │ │ │ │ streams have been mixed. The buffer’s format will be whatever the mixer was │ │ │ │ │ created with. The sample count and user-data pointer is also passed. │ │ │ │ │ Note: The callback is called from a dedicated audio thread. │ │ │ │ │ Examples: │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ * ex_mixer_pp.c │ │ │ │ │ ****** Miscelaneous ****** │ │ │ │ │ ***** ALLEGRO_AUDIO_DEPTH ***** │ │ │ │ │ enum ALLEGRO_AUDIO_DEPTH │ │ │ │ │ -enum ALLEGRO_AUDIO_DEPTH │ │ │ │ │ Source_Code │ │ │ │ │ Sample depth and type as well as signedness. Mixers only use 32-bit signed │ │ │ │ │ float (-1..+1), or 16-bit signed integers. Signedness is determined by an │ │ │ │ │ “unsigned” bit-flag applied to the depth value. │ │ │ │ │ * ALLEGRO_AUDIO_DEPTH_INT8 │ │ │ │ │ * ALLEGRO_AUDIO_DEPTH_INT16 │ │ │ │ │ * ALLEGRO_AUDIO_DEPTH_INT24 │ │ │ │ │ @@ -2124,30 +1931,28 @@ │ │ │ │ │ * ALLEGRO_AUDIO_DEPTH_UINT24 │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ ***** ALLEGRO_AUDIO_PAN_NONE ***** │ │ │ │ │ #define ALLEGRO_AUDIO_PAN_NONE (-1000.0f) │ │ │ │ │ -#define ALLEGRO_AUDIO_PAN_NONE (-1000.0f) │ │ │ │ │ Source_Code │ │ │ │ │ A special value for the pan property of sample instances and audio streams. Use │ │ │ │ │ this value to disable panning on sample instances and audio streams, and play │ │ │ │ │ them without attentuation implied by panning support. │ │ │ │ │ ALLEGRO_AUDIO_PAN_NONE is different from a pan value of 0.0 (centered) because, │ │ │ │ │ when panning is enabled, we try to maintain a constant sound power level as a │ │ │ │ │ sample is panned from left to right. A sound coming out of one speaker should │ │ │ │ │ sound as loud as it does when split over two speakers. As a consequence, a │ │ │ │ │ sample with pan value 0.0 will be 3 dB softer than the original level. │ │ │ │ │ (Please correct us if this is wrong.) │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_props.cpp │ │ │ │ │ ***** ALLEGRO_CHANNEL_CONF ***** │ │ │ │ │ enum ALLEGRO_CHANNEL_CONF │ │ │ │ │ -enum ALLEGRO_CHANNEL_CONF │ │ │ │ │ Source_Code │ │ │ │ │ Speaker configuration (mono, stereo, 2.1, etc). │ │ │ │ │ * ALLEGRO_CHANNEL_CONF_1 │ │ │ │ │ * ALLEGRO_CHANNEL_CONF_2 │ │ │ │ │ * ALLEGRO_CHANNEL_CONF_3 │ │ │ │ │ * ALLEGRO_CHANNEL_CONF_4 │ │ │ │ │ * ALLEGRO_CHANNEL_CONF_5_1 │ │ │ │ │ @@ -2155,15 +1960,14 @@ │ │ │ │ │ * ALLEGRO_CHANNEL_CONF_7_1 │ │ │ │ │ Examples: │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_acodec_multi.c │ │ │ │ │ ***** ALLEGRO_PLAYMODE ***** │ │ │ │ │ enum ALLEGRO_PLAYMODE │ │ │ │ │ -enum ALLEGRO_PLAYMODE │ │ │ │ │ Source_Code │ │ │ │ │ Sample and stream playback mode. │ │ │ │ │ * ALLEGRO_PLAYMODE_ONCE - the sample/stream is played from start to finish │ │ │ │ │ an then it stops. │ │ │ │ │ * ALLEGRO_PLAYMODE_LOOP - the sample/stream is played from start to finish │ │ │ │ │ (or between the two loop points). When it reaches the end, it restarts │ │ │ │ │ from the beginning. │ │ │ │ │ @@ -2176,15 +1980,14 @@ │ │ │ │ │ for streams. │ │ │ │ │ Examples: │ │ │ │ │ * ex_stream_file.c │ │ │ │ │ * ex_kcm_direct.c │ │ │ │ │ * ex_mixer_chain.c │ │ │ │ │ ***** ALLEGRO_AUDIO_EVENT_TYPE ***** │ │ │ │ │ enum ALLEGRO_AUDIO_EVENT_TYPE │ │ │ │ │ -enum ALLEGRO_AUDIO_EVENT_TYPE │ │ │ │ │ Source_Code │ │ │ │ │ Events sent by al_get_audio_stream_event_source or │ │ │ │ │ al_get_audio_recorder_event_source. │ │ │ │ │ **** ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT **** │ │ │ │ │ Sent when a stream fragment is ready to be filled in. See │ │ │ │ │ al_get_audio_stream_fragment. │ │ │ │ │ **** ALLEGRO_EVENT_AUDIO_STREAM_FINISHED **** │ │ │ │ │ @@ -2194,38 +1997,33 @@ │ │ │ │ │ to ALLEGRO_AUDIO_RECORDER_EVENT via al_get_audio_recorder_event. │ │ │ │ │ You must always check the values for the buffer and samples as they are not │ │ │ │ │ guaranteed to be exactly what was originally specified. │ │ │ │ │ Since: 5.1.1 │ │ │ │ │ Unstable_API: The API may need a slight redesign. │ │ │ │ │ ***** al_get_allegro_audio_version ***** │ │ │ │ │ uint32_t al_get_allegro_audio_version(void) │ │ │ │ │ -uint32_t al_get_allegro_audio_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ ***** al_get_audio_depth_size ***** │ │ │ │ │ size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth) │ │ │ │ │ -size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth) │ │ │ │ │ Source_Code │ │ │ │ │ Return the size of a sample, in bytes, for the given format. The format is one │ │ │ │ │ of the values listed under ALLEGRO_AUDIO_DEPTH. │ │ │ │ │ Examples: │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ ***** al_get_channel_count ***** │ │ │ │ │ size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf) │ │ │ │ │ -size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf) │ │ │ │ │ Source_Code │ │ │ │ │ Return the number of channels for the given channel configuration, which is one │ │ │ │ │ of the values listed under ALLEGRO_CHANNEL_CONF. │ │ │ │ │ Examples: │ │ │ │ │ * ex_acodec.c │ │ │ │ │ ***** al_fill_silence ***** │ │ │ │ │ void al_fill_silence(void *buf, unsigned int samples, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -void al_fill_silence(void *buf, unsigned int samples, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ Source_Code │ │ │ │ │ Fill a buffer with silence, for the given format and channel configuration. The │ │ │ │ │ buffer must have enough space for the given number of samples, and be properly │ │ │ │ │ aligned. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:15 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/color.html │ │ │ │ @@ -224,16 +224,15 @@ │ │ │ │ between the three color channels into account as well. In general, most │ │ │ │ monitors nowadays try to be close to the sRGB specification. And so if │ │ │ │ in an Allegro game you display something with color

    │ │ │ │

    al_map_rgb_f(0.5, 0.5, 0,5)

    │ │ │ │

    then it will appear at about half brightness (even though the actual │ │ │ │ brightness output of the monitor will be less than half).

    │ │ │ │

    al_color_cmyk

    │ │ │ │ -
    ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k)
    │ │ │ │ -ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from CMYK values (cyan, magenta, yellow, black).

    │ │ │ │

    See also: al_color_cmyk_to_rgb, Examples:

    │ │ │ │ │ │ │ │

    al_color_cmyk_to_rgb

    │ │ │ │
    void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow,
    │ │ │ │ -    float key, float *red, float *green, float *blue)
    │ │ │ │ -void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow,
    │ │ │ │ -    float key, float *red, float *green, float *blue)
    │ │ │ │ + float key, float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert CMYK values to RGB values.

    │ │ │ │

    See also: al_color_cmyk, al_color_rgb_to_cmyk

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_hsl

    │ │ │ │ -
    ALLEGRO_COLOR al_color_hsl(float h, float s, float l)
    │ │ │ │ -ALLEGRO_COLOR al_color_hsl(float h, float s, float l)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_hsl(float h, float s, float l)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from HSL (hue, saturation, lightness) values.

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │ @@ -283,17 +279,15 @@ │ │ │ │
    • ex_clip.c
    • │ │ │ │
    • ex_palette.c
    • │ │ │ │
    │ │ │ │

    al_color_hsl_to_rgb

    │ │ │ │
    void al_color_hsl_to_rgb(float hue, float saturation, float lightness,
    │ │ │ │ -   float *red, float *green, float *blue)
    │ │ │ │ -void al_color_hsl_to_rgb(float hue, float saturation, float lightness,
    │ │ │ │ -   float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert values in HSL color model to RGB color model.

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │
    • hue - Color hue angle in the range 0..360
    • │ │ │ │ @@ -309,16 +303,15 @@ │ │ │ │ │ │ │ │

      al_color_hsv

      │ │ │ │ -
      ALLEGRO_COLOR al_color_hsv(float h, float s, float v)
      │ │ │ │ -ALLEGRO_COLOR al_color_hsv(float h, float s, float v)
      │ │ │ │ +
      ALLEGRO_COLOR al_color_hsv(float h, float s, float v)
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Return an ALLEGRO_COLOR │ │ │ │ structure from HSV (hue, saturation, value) values.

      │ │ │ │

      Parameters:

      │ │ │ │ │ │ │ │

      al_color_hsv_to_rgb

      │ │ │ │
      void al_color_hsv_to_rgb(float hue, float saturation, float value,
      │ │ │ │ -   float *red, float *green, float *blue)
      │ │ │ │ -void al_color_hsv_to_rgb(float hue, float saturation, float value,
      │ │ │ │ -   float *red, float *green, float *blue)
      │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Convert values in HSV color model to RGB color model.

      │ │ │ │

      Parameters:

      │ │ │ │
        │ │ │ │
      • hue - Color hue angle in the range 0..360
      • │ │ │ │ @@ -360,16 +351,15 @@ │ │ │ │ href="color.html#al_color_hsl_to_rgb">al_color_hsl_to_rgb

        │ │ │ │

        Examples:

        │ │ │ │ │ │ │ │

        al_color_html

        │ │ │ │ -
        ALLEGRO_COLOR al_color_html(char const *string)
        │ │ │ │ -ALLEGRO_COLOR al_color_html(char const *string)
        │ │ │ │ +
        ALLEGRO_COLOR al_color_html(char const *string)
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Interprets an HTML-style hex number (e.g. #00faff) as a color. The │ │ │ │ accepted format is the same as al_color_html_to_rgb.

        │ │ │ │

        Returns the interpreted color, or │ │ │ │ @@ -380,17 +370,15 @@ │ │ │ │ Allegro 5.0.x.

        │ │ │ │
    │ │ │ │

    See also: al_color_html_to_rgb, al_color_rgb_to_html

    │ │ │ │

    al_color_html_to_rgb

    │ │ │ │
    bool al_color_html_to_rgb(char const *string,
    │ │ │ │ -   float *red, float *green, float *blue)
    │ │ │ │ -bool al_color_html_to_rgb(char const *string,
    │ │ │ │ -   float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Interprets an HTML-style hex number (e.g. #00faff) as a color. The │ │ │ │ only accepted formats are “#RRGGBB” and “RRGGBB” where R, G, B are │ │ │ │ hexadecimal digits [0-9A-Fa-f].

    │ │ │ │

    Returns true on success, false on failure. On failure all components │ │ │ │ @@ -399,17 +387,15 @@ │ │ │ │

    Note: the behaviour on invalid strings is different from │ │ │ │ Allegro 5.0.x.

    │ │ │ │
    │ │ │ │

    See also: al_color_html, al_color_rgb_to_html

    │ │ │ │

    al_color_rgb_to_html

    │ │ │ │
    void al_color_rgb_to_html(float red, float green, float blue,
    │ │ │ │ -    char *string)
    │ │ │ │ -void al_color_rgb_to_html(float red, float green, float blue,
    │ │ │ │ -    char *string)
    │ │ │ │ + char *string) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Create an HTML-style string representation of an ALLEGRO_COLOR, e.g. #00faff.

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │ @@ -425,16 +411,15 @@ │ │ │ │ href="color.html#al_color_html_to_rgb">al_color_html_to_rgb

      │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      al_color_name

      │ │ │ │ -
      ALLEGRO_COLOR al_color_name(char const *name)
      │ │ │ │ -ALLEGRO_COLOR al_color_name(char const *name)
      │ │ │ │ +
      ALLEGRO_COLOR al_color_name(char const *name)
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Return an ALLEGRO_COLOR │ │ │ │ with the given name. If the color is not found then black is │ │ │ │ returned.

      │ │ │ │

      See ex_multisample_target.c │ │ │ │

    • ex_clip.c
    • │ │ │ │
    • ex_blit.c
    • │ │ │ │
    │ │ │ │

    al_color_name_to_rgb

    │ │ │ │ -
    bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b)
    │ │ │ │ -bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b)
    │ │ │ │ +
    bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │
    • name - The (lowercase) name of the color.
    • │ │ │ │
    • r, g, b - If one of the recognized color names below is passed, the │ │ │ │ @@ -495,17 +479,15 @@ │ │ │ │ lightgray = lightgrey, lightslategray = lightslategrey, slategray = │ │ │ │ slategrey

      │ │ │ │

      Returns: true if a name from the list above was passed, else │ │ │ │ false.

      │ │ │ │

      See also: al_color_name

      │ │ │ │

      al_color_rgb_to_cmyk

      │ │ │ │
      void al_color_rgb_to_cmyk(float red, float green, float blue,
      │ │ │ │ -   float *cyan, float *magenta, float *yellow, float *key)
      │ │ │ │ -void al_color_rgb_to_cmyk(float red, float green, float blue,
      │ │ │ │ -   float *cyan, float *magenta, float *yellow, float *key)
      │ │ │ │ + float *cyan, float *magenta, float *yellow, float *key) │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Each RGB color can be represented in CMYK with a K component of 0 │ │ │ │ with the following formula:

      │ │ │ │
      C = 1 - R
      │ │ │ │  M = 1 - G
      │ │ │ │ @@ -518,17 +500,15 @@
      │ │ │ │  

      Examples:

      │ │ │ │ │ │ │ │

      al_color_rgb_to_hsl

      │ │ │ │
      void al_color_rgb_to_hsl(float red, float green, float blue,
      │ │ │ │ -   float *hue, float *saturation, float *lightness)
      │ │ │ │ -void al_color_rgb_to_hsl(float red, float green, float blue,
      │ │ │ │ -   float *hue, float *saturation, float *lightness)
      │ │ │ │ + float *hue, float *saturation, float *lightness)
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Given an RGB triplet with components in the range 0..1, return the │ │ │ │ hue in degrees from 0..360 and saturation and lightness in the range │ │ │ │ 0..1.

      │ │ │ │

      See also: ex_color.cpp

    • │ │ │ │
    • ex_palette.c
    • │ │ │ │
    │ │ │ │

    al_color_rgb_to_hsv

    │ │ │ │
    void al_color_rgb_to_hsv(float red, float green, float blue,
    │ │ │ │ -   float *hue, float *saturation, float *value)
    │ │ │ │ -void al_color_rgb_to_hsv(float red, float green, float blue,
    │ │ │ │ -   float *hue, float *saturation, float *value)
    │ │ │ │ + float *hue, float *saturation, float *value) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Given an RGB triplet with components in the range 0..1, return the │ │ │ │ hue in degrees from 0..360 and saturation and value in the range │ │ │ │ 0..1.

    │ │ │ │

    See also: │ │ │ │

  • ex_color.cpp
  • │ │ │ │
  • ex_color_gradient.c
  • │ │ │ │ │ │ │ │

    al_color_rgb_to_name

    │ │ │ │ -
    char const *al_color_rgb_to_name(float r, float g, float b)
    │ │ │ │ -char const *al_color_rgb_to_name(float r, float g, float b)
    │ │ │ │ +
    char const *al_color_rgb_to_name(float r, float g, float b)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Given an RGB triplet with components in the range 0..1, find a color │ │ │ │ name describing it approximately.

    │ │ │ │

    See also: al_color_name_to_rgb, Examples:

    │ │ │ │ │ │ │ │

    al_color_rgb_to_xyz

    │ │ │ │
    void al_color_rgb_to_xyz(float red, float green, float blue,
    │ │ │ │ -   float *x, float *y, float *z)
    │ │ │ │ -void al_color_rgb_to_xyz(float red, float green, float blue,
    │ │ │ │ -   float *x, float *y, float *z)
    │ │ │ │ + float *x, float *y, float *z) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert RGB values to XYZ color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_xyz, al_color_xyz_to_rgb

    │ │ │ │

    al_color_xyz

    │ │ │ │ -
    ALLEGRO_COLOR al_color_xyz(float x, float y, float z)
    │ │ │ │ -ALLEGRO_COLOR al_color_xyz(float x, float y, float z)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_xyz(float x, float y, float z)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from XYZ values. The CIE 1931 XYZ color space consists of │ │ │ │ three components in the range 0..1. The Y component corresponds to │ │ │ │ luminance and the X and Z components define the color.

    │ │ │ │ @@ -610,39 +584,34 @@ │ │ │ │
    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_xyz_to_rgb, al_color_rgb_to_xyz

    │ │ │ │

    al_color_xyz_to_rgb

    │ │ │ │
    void al_color_xyz_to_rgb(float x, float y, float z,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_xyz_to_rgb(float x, float y, float z,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert XYZ color values to RGB color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_xyz, al_color_rgb_to_xyz

    │ │ │ │

    al_color_rgb_to_xyy

    │ │ │ │
    void al_color_rgb_to_xyy(float red, float green, float blue,
    │ │ │ │ -   float *x, float *y, float *y2)
    │ │ │ │ -void al_color_rgb_to_xyy(float red, float green, float blue,
    │ │ │ │ -   float *x, float *y, float *y2)
    │ │ │ │ + float *x, float *y, float *y2) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert RGB values to xyY color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_xyy, al_color_xyy_to_rgb

    │ │ │ │

    al_color_xyy

    │ │ │ │ -
    ALLEGRO_COLOR al_color_xyy(float x, float y, float y2)
    │ │ │ │ -ALLEGRO_COLOR al_color_xyy(float x, float y, float y2)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_xyy(float x, float y, float y2)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from xyY values. The Y component in the xyY color space is the │ │ │ │ same as the Y in XYZ.

    │ │ │ │

    However the x and y values are computed from XYZ like this:

    │ │ │ │ @@ -650,44 +619,39 @@ │ │ │ │ y = Y / (X + Y + Z) │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_xyy_to_rgb, al_color_rgb_to_xyy

    │ │ │ │

    al_color_xyy_to_rgb

    │ │ │ │
    void al_color_xyy_to_rgb(float x, float y, float y2,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_xyy_to_rgb(float x, float y, float y2,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert xyY color values to RGB color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_xyy, al_color_rgb_to_xyy

    │ │ │ │

    al_color_rgb_to_lab

    │ │ │ │
    void al_color_rgb_to_lab(float red, float green, float blue,
    │ │ │ │ -   float *l, float *a, float *b)
    │ │ │ │ -void al_color_rgb_to_lab(float red, float green, float blue,
    │ │ │ │ -   float *l, float *a, float *b)
    │ │ │ │ + float *l, float *a, float *b) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert RGB values to L*a*b* color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_lab, al_color_lab_to_rgb

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_lab

    │ │ │ │ -
    ALLEGRO_COLOR al_color_lab(float l, float a, float b)
    │ │ │ │ -ALLEGRO_COLOR al_color_lab(float l, float a, float b)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_lab(float l, float a, float b)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from CIE L*a*b* values. The L* component corresponds to │ │ │ │ luminance from 0..1. The a* and b* components are in the range │ │ │ │ -1..+1.

    │ │ │ │ @@ -713,49 +677,44 @@ │ │ │ │
  • ex_color2.c
  • │ │ │ │
  • ex_color_gradient.c
  • │ │ │ │ │ │ │ │

    al_color_lab_to_rgb

    │ │ │ │
    void al_color_lab_to_rgb(float l, float a, float b,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_lab_to_rgb(float l, float a, float b,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert CIE L*a*b* color values to RGB color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_lab, al_color_rgb_to_lab

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_rgb_to_lch

    │ │ │ │
    void al_color_rgb_to_lch(float red, float green, float blue,
    │ │ │ │ -   float *l, float *c, float *h)
    │ │ │ │ -void al_color_rgb_to_lch(float red, float green, float blue,
    │ │ │ │ -   float *l, float *c, float *h)
    │ │ │ │ + float *l, float *c, float *h) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert RGB values to CIE LCH color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_lch, al_color_lch_to_rgb

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_lch

    │ │ │ │ -
    ALLEGRO_COLOR al_color_lch(float l, float c, float h)
    │ │ │ │ -ALLEGRO_COLOR al_color_lch(float l, float c, float h)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_lch(float l, float c, float h)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from CIE LCH values. LCH colors are very similar to HSL, with │ │ │ │ the same meaning of L and H and C corresponding to S. However LCH is │ │ │ │ more visually uniform. Furthermore, this function expects the angle for │ │ │ │ @@ -772,34 +731,30 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_lch_to_rgb

    │ │ │ │
    void al_color_lch_to_rgb(float l, float c, float h,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_lch_to_rgb(float l, float c, float h,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert CIE LCH color values to RGB color space.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    See also: al_color_lch, al_color_rgb_to_lch

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_distance_ciede2000

    │ │ │ │
    double al_color_distance_ciede2000(ALLEGRO_COLOR color1,
    │ │ │ │ -      ALLEGRO_COLOR color2) {
    │ │ │ │ -double al_color_distance_ciede2000(ALLEGRO_COLOR color1,
    │ │ │ │ -      ALLEGRO_COLOR color2) {
    │ │ │ │ + ALLEGRO_COLOR color2) { │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This function computes the CIEDE2000 color difference between two RGB │ │ │ │ colors. This is a visually uniform color difference, unlike for example │ │ │ │ the RGB distance.

    │ │ │ │

    When using the RGB distance (Euklidean distance between two RGB │ │ │ │ @@ -822,31 +777,28 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_rgb_to_yuv

    │ │ │ │
    void al_color_rgb_to_yuv(float red, float green, float blue,
    │ │ │ │ -   float *y, float *u, float *v)
    │ │ │ │ -void al_color_rgb_to_yuv(float red, float green, float blue,
    │ │ │ │ -   float *y, float *u, float *v)
    │ │ │ │ + float *y, float *u, float *v) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert RGB values to YUV color space.

    │ │ │ │

    See also: al_color_yuv, al_color_yuv_to_rgb

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_yuv

    │ │ │ │ -
    ALLEGRO_COLOR al_color_yuv(float y, float u, float v)
    │ │ │ │ -ALLEGRO_COLOR al_color_yuv(float y, float u, float v)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_yuv(float y, float u, float v)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from YUV values.

    │ │ │ │

    See also: al_color_yuv_to_rgb, Examples:

    │ │ │ │ │ │ │ │

    al_color_yuv_to_rgb

    │ │ │ │
    void al_color_yuv_to_rgb(float y, float u, float v,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_yuv_to_rgb(float y, float u, float v,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert YUV color values to RGB color space.

    │ │ │ │

    See also: al_color_yuv, al_color_rgb_to_yuv

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_allegro_color_version

    │ │ │ │ -
    uint32_t al_get_allegro_color_version(void)
    │ │ │ │ -uint32_t al_get_allegro_color_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_color_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    al_is_color_valid

    │ │ │ │

    Source Code

    │ │ │ │

    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.

    │ │ │ │

    Since: 5.2.3

    │ │ │ │

    al_color_rgb_to_oklab

    │ │ │ │
    void al_color_rgb_to_oklab(float red, float green, float blue,
    │ │ │ │ -   float *ol, float *oa, float *ob)
    │ │ │ │ -void al_color_rgb_to_oklab(float red, float green, float blue,
    │ │ │ │ -   float *ol, float *oa, float *ob)
    │ │ │ │ + float *ol, float *oa, float *ob) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert RGB values to the Oklab color space.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_color_oklab, al_color_oklab_to_rgb

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_oklab

    │ │ │ │ -
    ALLEGRO_COLOR al_color_oklab(float l, float a, float b)
    │ │ │ │ -ALLEGRO_COLOR al_color_oklab(float l, float a, float b)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_oklab(float l, float a, float b)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from Oklab values. The L component corresponds to luminance │ │ │ │ from 0..1. The a and b components are in the range -1..+1.

    │ │ │ │
    │ │ │ │ @@ -927,29 +873,25 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_oklab_to_rgb

    │ │ │ │
    void al_color_oklab_to_rgb(float ol, float oa, float ob,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_oklab_to_rgb(float ol, float oa, float ob,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert Oklab color values to RGB.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_color_oklab, al_color_rgb_to_oklab

    │ │ │ │

    al_color_rgb_to_linear

    │ │ │ │
    void al_color_rgb_to_linear(float red, float green, float blue,
    │ │ │ │ -   float *r, float *g, float *b)
    │ │ │ │ -void al_color_rgb_to_linear(float red, float green, float blue,
    │ │ │ │ -   float *r, float *g, float *b)
    │ │ │ │ + float *r, float *g, float *b) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert gamma corrected sRGB values (i.e. normal RGB) to linear sRGB │ │ │ │ space.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_color_linear, │ │ │ │ @@ -957,16 +899,15 @@ │ │ │ │ href="color.html#al_color_linear_to_rgb">al_color_linear_to_rgb

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_linear

    │ │ │ │ -
    ALLEGRO_COLOR al_color_linear(float r, float g, float b)
    │ │ │ │ -ALLEGRO_COLOR al_color_linear(float r, float g, float b)
    │ │ │ │ +
    ALLEGRO_COLOR al_color_linear(float r, float g, float b)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Return an ALLEGRO_COLOR │ │ │ │ structure from linear sRGB values. Allegro RGB values are assumed to be │ │ │ │ sRGB. The sRGB standard is in wide use by various display devices. It │ │ │ │ accounts for a standard gamma correction applied to RGB colors before │ │ │ │ @@ -990,25 +931,23 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_color_linear_to_rgb

    │ │ │ │
    void al_color_linear_to_rgb(float r, float g, float b,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ -void al_color_linear_to_rgb(float r, float g, float b,
    │ │ │ │ -    float *red, float *green, float *blue)
    │ │ │ │ + float *red, float *green, float *blue) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert linear sRGB color values to gamma corrected (i.e. normal) RGB │ │ │ │ values.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: [al_color_linera], al_color_rgb_to_linear

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:15 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -103,120 +103,106 @@ │ │ │ │ │ try to be close to the sRGB specification. And so if in an Allegro game you │ │ │ │ │ display something with color │ │ │ │ │ al_map_rgb_f(0.5, 0.5, 0,5) │ │ │ │ │ then it will appear at about half brightness (even though the actual brightness │ │ │ │ │ output of the monitor will be less than half). │ │ │ │ │ ****** al_color_cmyk ****** │ │ │ │ │ ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k) │ │ │ │ │ -ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from CMYK values (cyan, magenta, yellow, │ │ │ │ │ black). │ │ │ │ │ See also: al_color_cmyk_to_rgb, al_color_rgb_to_cmyk │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_cmyk_to_rgb ****** │ │ │ │ │ void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow, │ │ │ │ │ float key, float *red, float *green, float *blue) │ │ │ │ │ -void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow, │ │ │ │ │ - float key, float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert CMYK values to RGB values. │ │ │ │ │ See also: al_color_cmyk, al_color_rgb_to_cmyk │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_hsl ****** │ │ │ │ │ ALLEGRO_COLOR al_color_hsl(float h, float s, float l) │ │ │ │ │ -ALLEGRO_COLOR al_color_hsl(float h, float s, float l) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from HSL (hue, saturation, lightness) values. │ │ │ │ │ Parameters: │ │ │ │ │ * hue - Color hue angle in the range 0..360 │ │ │ │ │ * saturation - Color saturation in the range 0..1 │ │ │ │ │ * lightness - Color lightness in the range 0..1 │ │ │ │ │ See also: al_color_hsl_to_rgb, al_color_hsv │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ * ex_clip.c │ │ │ │ │ * ex_palette.c │ │ │ │ │ ****** al_color_hsl_to_rgb ****** │ │ │ │ │ void al_color_hsl_to_rgb(float hue, float saturation, float lightness, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_hsl_to_rgb(float hue, float saturation, float lightness, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert values in HSL color model to RGB color model. │ │ │ │ │ Parameters: │ │ │ │ │ * hue - Color hue angle in the range 0..360 │ │ │ │ │ * saturation - Color saturation in the range 0..1 │ │ │ │ │ * lightness - Color lightness in the range 0..1 │ │ │ │ │ * red, green, blue - returned RGB values in the range 0..1 │ │ │ │ │ See also: al_color_rgb_to_hsl, al_color_hsl, al_color_hsv_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ * ex_palette.c │ │ │ │ │ ****** al_color_hsv ****** │ │ │ │ │ ALLEGRO_COLOR al_color_hsv(float h, float s, float v) │ │ │ │ │ -ALLEGRO_COLOR al_color_hsv(float h, float s, float v) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from HSV (hue, saturation, value) values. │ │ │ │ │ Parameters: │ │ │ │ │ * hue - Color hue angle in the range 0..360 │ │ │ │ │ * saturation - Color saturation in the range 0..1 │ │ │ │ │ * value - Color value in the range 0..1 │ │ │ │ │ See also: al_color_hsv_to_rgb, al_color_hsl │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ * ex_color.cpp │ │ │ │ │ * ex_multisample.c │ │ │ │ │ ****** al_color_hsv_to_rgb ****** │ │ │ │ │ void al_color_hsv_to_rgb(float hue, float saturation, float value, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_hsv_to_rgb(float hue, float saturation, float value, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert values in HSV color model to RGB color model. │ │ │ │ │ Parameters: │ │ │ │ │ * hue - Color hue angle in the range 0..360 │ │ │ │ │ * saturation - Color saturation in the range 0..1 │ │ │ │ │ * value - Color value in the range 0..1 │ │ │ │ │ * red, green, blue - returned RGB values in the range 0..1 │ │ │ │ │ See also: al_color_rgb_to_hsv, al_color_hsv, al_color_hsl_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_html ****** │ │ │ │ │ ALLEGRO_COLOR al_color_html(char const *string) │ │ │ │ │ -ALLEGRO_COLOR al_color_html(char const *string) │ │ │ │ │ Source_Code │ │ │ │ │ Interprets an HTML-style hex number (e.g. #00faff) as a color. The accepted │ │ │ │ │ format is the same as al_color_html_to_rgb. │ │ │ │ │ Returns the interpreted color, or al_map_rgba(0, 0, 0, 0) if the string could │ │ │ │ │ not be parsed. │ │ │ │ │ Note: the behaviour on invalid strings is different from Allegro │ │ │ │ │ 5.0.x. │ │ │ │ │ See also: al_color_html_to_rgb, al_color_rgb_to_html │ │ │ │ │ ****** al_color_html_to_rgb ****** │ │ │ │ │ bool al_color_html_to_rgb(char const *string, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -bool al_color_html_to_rgb(char const *string, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Interprets an HTML-style hex number (e.g. #00faff) as a color. The only │ │ │ │ │ accepted formats are “#RRGGBB” and “RRGGBB” where R, G, B are │ │ │ │ │ hexadecimal digits [0-9A-Fa-f]. │ │ │ │ │ Returns true on success, false on failure. On failure all components are set to │ │ │ │ │ zero. │ │ │ │ │ Note: the behaviour on invalid strings is different from Allegro │ │ │ │ │ 5.0.x. │ │ │ │ │ See also: al_color_html, al_color_rgb_to_html │ │ │ │ │ ****** al_color_rgb_to_html ****** │ │ │ │ │ void al_color_rgb_to_html(float red, float green, float blue, │ │ │ │ │ char *string) │ │ │ │ │ -void al_color_rgb_to_html(float red, float green, float blue, │ │ │ │ │ - char *string) │ │ │ │ │ Source_Code │ │ │ │ │ Create an HTML-style string representation of an ALLEGRO_COLOR, e.g. #00faff. │ │ │ │ │ Parameters: │ │ │ │ │ * red, green, blue - The color components in the range 0..1. │ │ │ │ │ * string - A pointer to a buffer of at least 8 bytes, into which the result │ │ │ │ │ will be written (including the NUL terminator). │ │ │ │ │ Example: │ │ │ │ │ @@ -224,26 +210,24 @@ │ │ │ │ │ al_color_rgb_to_html(1, 0, 0, html); │ │ │ │ │ Now html will contain “#ff0000”. │ │ │ │ │ See also: al_color_html, al_color_html_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_name ****** │ │ │ │ │ ALLEGRO_COLOR al_color_name(char const *name) │ │ │ │ │ -ALLEGRO_COLOR al_color_name(char const *name) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR with the given name. If the color is not found then │ │ │ │ │ black is returned. │ │ │ │ │ See al_color_name_to_rgb for the list of names. │ │ │ │ │ Examples: │ │ │ │ │ * ex_multisample_target.c │ │ │ │ │ * ex_clip.c │ │ │ │ │ * ex_blit.c │ │ │ │ │ ****** al_color_name_to_rgb ****** │ │ │ │ │ bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b) │ │ │ │ │ -bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b) │ │ │ │ │ Source_Code │ │ │ │ │ Parameters: │ │ │ │ │ * name - The (lowercase) name of the color. │ │ │ │ │ * r, g, b - If one of the recognized color names below is passed, the │ │ │ │ │ corresponding RGB values in the range 0..1 are written. │ │ │ │ │ The 148 recognized names are: │ │ │ │ │ aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, │ │ │ │ │ @@ -276,16 +260,14 @@ │ │ │ │ │ dimgray = dimgrey, fuchsia = purple, gray = grey, lightgray = lightgrey, │ │ │ │ │ lightslategray = lightslategrey, slategray = slategrey │ │ │ │ │ Returns: true if a name from the list above was passed, else false. │ │ │ │ │ See also: al_color_name │ │ │ │ │ ****** al_color_rgb_to_cmyk ****** │ │ │ │ │ void al_color_rgb_to_cmyk(float red, float green, float blue, │ │ │ │ │ float *cyan, float *magenta, float *yellow, float *key) │ │ │ │ │ -void al_color_rgb_to_cmyk(float red, float green, float blue, │ │ │ │ │ - float *cyan, float *magenta, float *yellow, float *key) │ │ │ │ │ Source_Code │ │ │ │ │ Each RGB color can be represented in CMYK with a K component of 0 with the │ │ │ │ │ following formula: │ │ │ │ │ C = 1 - R │ │ │ │ │ M = 1 - G │ │ │ │ │ Y = 1 - B │ │ │ │ │ K = 0 │ │ │ │ │ @@ -293,119 +275,101 @@ │ │ │ │ │ and minimal color components. │ │ │ │ │ See also: al_color_cmyk, al_color_cmyk_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_rgb_to_hsl ****** │ │ │ │ │ void al_color_rgb_to_hsl(float red, float green, float blue, │ │ │ │ │ float *hue, float *saturation, float *lightness) │ │ │ │ │ -void al_color_rgb_to_hsl(float red, float green, float blue, │ │ │ │ │ - float *hue, float *saturation, float *lightness) │ │ │ │ │ Source_Code │ │ │ │ │ Given an RGB triplet with components in the range 0..1, return the hue in │ │ │ │ │ degrees from 0..360 and saturation and lightness in the range 0..1. │ │ │ │ │ See also: al_color_hsl_to_rgb, al_color_hsl │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ * ex_palette.c │ │ │ │ │ ****** al_color_rgb_to_hsv ****** │ │ │ │ │ void al_color_rgb_to_hsv(float red, float green, float blue, │ │ │ │ │ float *hue, float *saturation, float *value) │ │ │ │ │ -void al_color_rgb_to_hsv(float red, float green, float blue, │ │ │ │ │ - float *hue, float *saturation, float *value) │ │ │ │ │ Source_Code │ │ │ │ │ Given an RGB triplet with components in the range 0..1, return the hue in │ │ │ │ │ degrees from 0..360 and saturation and value in the range 0..1. │ │ │ │ │ See also: al_color_hsv_to_rgb, al_color_hsv │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_rgb_to_name ****** │ │ │ │ │ char const *al_color_rgb_to_name(float r, float g, float b) │ │ │ │ │ -char const *al_color_rgb_to_name(float r, float g, float b) │ │ │ │ │ Source_Code │ │ │ │ │ Given an RGB triplet with components in the range 0..1, find a color name │ │ │ │ │ describing it approximately. │ │ │ │ │ See also: al_color_name_to_rgb, al_color_name │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_rgb_to_xyz ****** │ │ │ │ │ void al_color_rgb_to_xyz(float red, float green, float blue, │ │ │ │ │ float *x, float *y, float *z) │ │ │ │ │ -void al_color_rgb_to_xyz(float red, float green, float blue, │ │ │ │ │ - float *x, float *y, float *z) │ │ │ │ │ Source_Code │ │ │ │ │ Convert RGB values to XYZ color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_xyz, al_color_xyz_to_rgb │ │ │ │ │ ****** al_color_xyz ****** │ │ │ │ │ ALLEGRO_COLOR al_color_xyz(float x, float y, float z) │ │ │ │ │ -ALLEGRO_COLOR al_color_xyz(float x, float y, float z) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from XYZ values. The CIE 1931 XYZ color space │ │ │ │ │ consists of three components in the range 0..1. The Y component corresponds to │ │ │ │ │ luminance and the X and Z components define the color. │ │ │ │ │ RGB components are always assumed to be in sRGB space. │ │ │ │ │ Note: │ │ │ │ │ The XYZ color space can represent more colors than are visible in │ │ │ │ │ sRGB and therefore conversion may result in RGB values outside of the │ │ │ │ │ 0..1 range. You can check for that case with al_is_color_valid. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_xyz_to_rgb, al_color_rgb_to_xyz │ │ │ │ │ ****** al_color_xyz_to_rgb ****** │ │ │ │ │ void al_color_xyz_to_rgb(float x, float y, float z, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_xyz_to_rgb(float x, float y, float z, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert XYZ color values to RGB color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_xyz, al_color_rgb_to_xyz │ │ │ │ │ ****** al_color_rgb_to_xyy ****** │ │ │ │ │ void al_color_rgb_to_xyy(float red, float green, float blue, │ │ │ │ │ float *x, float *y, float *y2) │ │ │ │ │ -void al_color_rgb_to_xyy(float red, float green, float blue, │ │ │ │ │ - float *x, float *y, float *y2) │ │ │ │ │ Source_Code │ │ │ │ │ Convert RGB values to xyY color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_xyy, al_color_xyy_to_rgb │ │ │ │ │ ****** al_color_xyy ****** │ │ │ │ │ ALLEGRO_COLOR al_color_xyy(float x, float y, float y2) │ │ │ │ │ -ALLEGRO_COLOR al_color_xyy(float x, float y, float y2) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from xyY values. The Y component in the xyY │ │ │ │ │ color space is the same as the Y in XYZ. │ │ │ │ │ However the x and y values are computed from XYZ like this: │ │ │ │ │ x = X / (X + Y + Z) │ │ │ │ │ y = Y / (X + Y + Z) │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_xyy_to_rgb, al_color_rgb_to_xyy │ │ │ │ │ ****** al_color_xyy_to_rgb ****** │ │ │ │ │ void al_color_xyy_to_rgb(float x, float y, float y2, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_xyy_to_rgb(float x, float y, float y2, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert xyY color values to RGB color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_xyy, al_color_rgb_to_xyy │ │ │ │ │ ****** al_color_rgb_to_lab ****** │ │ │ │ │ void al_color_rgb_to_lab(float red, float green, float blue, │ │ │ │ │ float *l, float *a, float *b) │ │ │ │ │ -void al_color_rgb_to_lab(float red, float green, float blue, │ │ │ │ │ - float *l, float *a, float *b) │ │ │ │ │ Source_Code │ │ │ │ │ Convert RGB values to L*a*b* color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_lab, al_color_lab_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_lab ****** │ │ │ │ │ ALLEGRO_COLOR al_color_lab(float l, float a, float b) │ │ │ │ │ -ALLEGRO_COLOR al_color_lab(float l, float a, float b) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from CIE L*a*b* values. The L* component │ │ │ │ │ corresponds to luminance from 0..1. The a* and b* components are in the range - │ │ │ │ │ 1..+1. │ │ │ │ │ Note: │ │ │ │ │ The L*a*b* color space can represent more colors than are visible in │ │ │ │ │ sRGB and therefore conversion may result in RGB values outside of the │ │ │ │ │ @@ -418,36 +382,31 @@ │ │ │ │ │ See also: al_color_lab_to_rgb, al_color_rgb_to_lab │ │ │ │ │ Examples: │ │ │ │ │ * ex_color2.c │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_lab_to_rgb ****** │ │ │ │ │ void al_color_lab_to_rgb(float l, float a, float b, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_lab_to_rgb(float l, float a, float b, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert CIE L*a*b* color values to RGB color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_lab, al_color_rgb_to_lab │ │ │ │ │ Examples: │ │ │ │ │ * ex_color2.c │ │ │ │ │ ****** al_color_rgb_to_lch ****** │ │ │ │ │ void al_color_rgb_to_lch(float red, float green, float blue, │ │ │ │ │ float *l, float *c, float *h) │ │ │ │ │ -void al_color_rgb_to_lch(float red, float green, float blue, │ │ │ │ │ - float *l, float *c, float *h) │ │ │ │ │ Source_Code │ │ │ │ │ Convert RGB values to CIE LCH color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_lch, al_color_lch_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_lch ****** │ │ │ │ │ ALLEGRO_COLOR al_color_lch(float l, float c, float h) │ │ │ │ │ -ALLEGRO_COLOR al_color_lch(float l, float c, float h) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from CIE LCH values. LCH colors are very │ │ │ │ │ similar to HSL, with the same meaning of L and H and C corresponding to S. │ │ │ │ │ However LCH is more visually uniform. Furthermore, this function expects the │ │ │ │ │ angle for H in radians and not in degree. │ │ │ │ │ The CIE LCH color space is a cylindrical representation of the L*a*b* color │ │ │ │ │ space. The L component is the same and C and H are computed like this: │ │ │ │ │ @@ -456,27 +415,23 @@ │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_lch_to_rgb, al_color_rgb_to_lch │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_lch_to_rgb ****** │ │ │ │ │ void al_color_lch_to_rgb(float l, float c, float h, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_lch_to_rgb(float l, float c, float h, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert CIE LCH color values to RGB color space. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ See also: al_color_lch, al_color_rgb_to_lch │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_distance_ciede2000 ****** │ │ │ │ │ double al_color_distance_ciede2000(ALLEGRO_COLOR color1, │ │ │ │ │ ALLEGRO_COLOR color2) { │ │ │ │ │ -double al_color_distance_ciede2000(ALLEGRO_COLOR color1, │ │ │ │ │ - ALLEGRO_COLOR color2) { │ │ │ │ │ Source_Code │ │ │ │ │ This function computes the CIEDE2000 color difference between two RGB colors. │ │ │ │ │ This is a visually uniform color difference, unlike for example the RGB │ │ │ │ │ distance. │ │ │ │ │ When using the RGB distance (Euklidean distance between two RGB triplets) there │ │ │ │ │ can be color pairs with the same distance, where the colors of one pair appear │ │ │ │ │ to be almost the same color, while the colors of the other pair look quite │ │ │ │ │ @@ -490,66 +445,57 @@ │ │ │ │ │ seen). │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ Examples: │ │ │ │ │ * ex_color2.c │ │ │ │ │ ****** al_color_rgb_to_yuv ****** │ │ │ │ │ void al_color_rgb_to_yuv(float red, float green, float blue, │ │ │ │ │ float *y, float *u, float *v) │ │ │ │ │ -void al_color_rgb_to_yuv(float red, float green, float blue, │ │ │ │ │ - float *y, float *u, float *v) │ │ │ │ │ Source_Code │ │ │ │ │ Convert RGB values to YUV color space. │ │ │ │ │ See also: al_color_yuv, al_color_yuv_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_yuv ****** │ │ │ │ │ ALLEGRO_COLOR al_color_yuv(float y, float u, float v) │ │ │ │ │ -ALLEGRO_COLOR al_color_yuv(float y, float u, float v) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from YUV values. │ │ │ │ │ See also: al_color_yuv_to_rgb, al_color_rgb_to_yuv │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_color_yuv_to_rgb ****** │ │ │ │ │ void al_color_yuv_to_rgb(float y, float u, float v, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_yuv_to_rgb(float y, float u, float v, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert YUV color values to RGB color space. │ │ │ │ │ See also: al_color_yuv, al_color_rgb_to_yuv │ │ │ │ │ Examples: │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ****** al_get_allegro_color_version ****** │ │ │ │ │ uint32_t al_get_allegro_color_version(void) │ │ │ │ │ -uint32_t al_get_allegro_color_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ ****** al_is_color_valid ****** │ │ │ │ │ Source Code │ │ │ │ │ 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. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ ****** al_color_rgb_to_oklab ****** │ │ │ │ │ void al_color_rgb_to_oklab(float red, float green, float blue, │ │ │ │ │ float *ol, float *oa, float *ob) │ │ │ │ │ -void al_color_rgb_to_oklab(float red, float green, float blue, │ │ │ │ │ - float *ol, float *oa, float *ob) │ │ │ │ │ Source_Code │ │ │ │ │ Convert RGB values to the Oklab color space. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_color_oklab, al_color_oklab_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_oklab ****** │ │ │ │ │ ALLEGRO_COLOR al_color_oklab(float l, float a, float b) │ │ │ │ │ -ALLEGRO_COLOR al_color_oklab(float l, float a, float b) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from Oklab values. The L component │ │ │ │ │ corresponds to luminance from 0..1. The a and b components are in the range - │ │ │ │ │ 1..+1. │ │ │ │ │ Note: │ │ │ │ │ The Oklab color space can represent more colors than are visible in │ │ │ │ │ sRGB and therefore conversion may result in RGB values outside of the │ │ │ │ │ @@ -557,34 +503,29 @@ │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_color_oklab_to_rgb, al_color_rgb_to_oklab │ │ │ │ │ Examples: │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_oklab_to_rgb ****** │ │ │ │ │ void al_color_oklab_to_rgb(float ol, float oa, float ob, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_oklab_to_rgb(float ol, float oa, float ob, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert Oklab color values to RGB. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_color_oklab, al_color_rgb_to_oklab │ │ │ │ │ ****** al_color_rgb_to_linear ****** │ │ │ │ │ void al_color_rgb_to_linear(float red, float green, float blue, │ │ │ │ │ float *r, float *g, float *b) │ │ │ │ │ -void al_color_rgb_to_linear(float red, float green, float blue, │ │ │ │ │ - float *r, float *g, float *b) │ │ │ │ │ Source_Code │ │ │ │ │ Convert gamma corrected sRGB values (i.e. normal RGB) to linear sRGB space. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_color_linear, al_color_linear_to_rgb │ │ │ │ │ Examples: │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_linear ****** │ │ │ │ │ ALLEGRO_COLOR al_color_linear(float r, float g, float b) │ │ │ │ │ -ALLEGRO_COLOR al_color_linear(float r, float g, float b) │ │ │ │ │ Source_Code │ │ │ │ │ Return an ALLEGRO_COLOR structure from linear sRGB values. Allegro RGB values │ │ │ │ │ are assumed to be sRGB. The sRGB standard is in wide use by various display │ │ │ │ │ devices. It accounts for a standard gamma correction applied to RGB colors │ │ │ │ │ before they get displayed. │ │ │ │ │ Gamma correction means if for example we have a medium gray color specified │ │ │ │ │ with al_map_rgb_f(0.5,0.5,0.5) then we do not want the monitor to set the pixel │ │ │ │ │ @@ -600,14 +541,12 @@ │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_color_linear_to_rgb, al_color_rgb_to_linear │ │ │ │ │ Examples: │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ****** al_color_linear_to_rgb ****** │ │ │ │ │ void al_color_linear_to_rgb(float r, float g, float b, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_linear_to_rgb(float r, float g, float b, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ Source_Code │ │ │ │ │ Convert linear sRGB color values to gamma corrected (i.e. normal) RGB values. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: [al_color_linera], al_color_rgb_to_linear │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:15 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/config.html │ │ │ │ @@ -228,32 +228,30 @@ │ │ │ │ an actual program):

    │ │ │ │
    ALLEGRO_CONFIG* cfg = al_load_config_file("test.cfg");
    │ │ │ │  printf("%s\n", al_get_config_value(cfg, "", "monster name")); /* Prints: Allegro Developer */
    │ │ │ │  printf("%s\n", al_get_config_value(cfg, "weapon 0", "damage")); /* Prints: 443 */
    │ │ │ │  printf("%s\n", al_get_config_value(cfg, "weapon 1", "damage")); /* Prints: 503 */
    │ │ │ │  al_destroy_config(cfg);
    │ │ │ │

    ALLEGRO_CONFIG

    │ │ │ │ -
    typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG;
    │ │ │ │ -typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG;
    │ │ │ │ +
    typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An abstract configuration structure.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_CONFIG_SECTION

    │ │ │ │ -
    typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION;
    │ │ │ │ -typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION;
    │ │ │ │ +
    typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque structure used for iterating across sections in a │ │ │ │ configuration structure.

    │ │ │ │

    See also: al_get_first_config_section, │ │ │ │ @@ -261,16 +259,15 @@ │ │ │ │ href="config.html#al_get_next_config_section">al_get_next_config_section

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_CONFIG_ENTRY

    │ │ │ │ -
    typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY;
    │ │ │ │ -typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY;
    │ │ │ │ +
    typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque structure used for iterating across entries in a │ │ │ │ configuration section.

    │ │ │ │

    See also: al_get_first_config_entry, │ │ │ │ @@ -567,12 +564,12 @@ │ │ │ │

    Merge one configuration structure into another. Values in │ │ │ │ configuration ‘add’ override those in ‘master’. ‘master’ is modified. │ │ │ │ Comments from ‘add’ are not retained.

    │ │ │ │

    See also: al_merge_config

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:09 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -105,33 +105,30 @@ │ │ │ │ │ printf("%s\n", al_get_config_value(cfg, "weapon 0", "damage")); /* Prints: 443 │ │ │ │ │ */ │ │ │ │ │ printf("%s\n", al_get_config_value(cfg, "weapon 1", "damage")); /* Prints: 503 │ │ │ │ │ */ │ │ │ │ │ al_destroy_config(cfg); │ │ │ │ │ ****** ALLEGRO_CONFIG ****** │ │ │ │ │ typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG; │ │ │ │ │ -typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG; │ │ │ │ │ Source_Code │ │ │ │ │ An abstract configuration structure. │ │ │ │ │ Examples: │ │ │ │ │ * ex_config.c │ │ │ │ │ * ex_vsync.c │ │ │ │ │ * ex_stream_seek.c │ │ │ │ │ ****** ALLEGRO_CONFIG_SECTION ****** │ │ │ │ │ typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION; │ │ │ │ │ -typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque structure used for iterating across sections in a configuration │ │ │ │ │ structure. │ │ │ │ │ See also: al_get_first_config_section, al_get_next_config_section │ │ │ │ │ Examples: │ │ │ │ │ * ex_config.c │ │ │ │ │ ****** ALLEGRO_CONFIG_ENTRY ****** │ │ │ │ │ typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY; │ │ │ │ │ -typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque structure used for iterating across entries in a configuration │ │ │ │ │ section. │ │ │ │ │ See also: al_get_first_config_entry, al_get_next_config_entry │ │ │ │ │ Examples: │ │ │ │ │ * ex_config.c │ │ │ │ │ ****** al_create_config ****** │ │ │ │ │ @@ -300,8 +297,8 @@ │ │ │ │ │ ****** al_merge_config_into ****** │ │ │ │ │ void al_merge_config_into(ALLEGRO_CONFIG *master, const ALLEGRO_CONFIG *add) │ │ │ │ │ Source_Code │ │ │ │ │ Merge one configuration structure into another. Values in configuration │ │ │ │ │ ‘add’ override those in ‘master’. ‘master’ is modified. Comments │ │ │ │ │ from ‘add’ are not retained. │ │ │ │ │ See also: al_merge_config │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:09 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/direct3d.html │ │ │ │ @@ -297,12 +297,12 @@ │ │ │ │ is restored. In the callback you should restore any d3d resources you │ │ │ │ have created yourself. The callback receives the affected display as a │ │ │ │ parameter.

    │ │ │ │

    Pass NULL to disable the callback.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:14 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -132,8 +132,8 @@ │ │ │ │ │ void (*callback)(ALLEGRO_DISPLAY *display)) │ │ │ │ │ Source_Code │ │ │ │ │ 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. │ │ │ │ │ Pass NULL to disable the callback. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:14 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/display.html │ │ │ │ @@ -293,16 +293,15 @@ │ │ │ │ example.

    │ │ │ │

    In order to write a well-behaved application, it is necessary to │ │ │ │ remember that displays will also inform you about important events via their event sources.

    │ │ │ │

    Display creation

    │ │ │ │

    ALLEGRO_DISPLAY

    │ │ │ │ -
    typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY;
    │ │ │ │ -typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY;
    │ │ │ │ +
    typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque type representing an open display or window.

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • Examples:

      │ │ │ │
      │ │ │ │

      ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE

      │ │ │ │ -
      #define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255
      │ │ │ │ -#define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255
      │ │ │ │ +
      #define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      This is the maximum size of the title that can be set with al_set_new_window_title.

      │ │ │ │

      See also: al_set_new_window_title

      │ │ │ │ @@ -1502,12 +1500,12 @@ │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:09 UTC │ │ │ │

      │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -126,15 +126,14 @@ │ │ │ │ │ provides integration for both (see the OpenGL / Direct3D sections), so you can │ │ │ │ │ retrieve the underlying textures of ALLEGRO_BITMAPs, for example. │ │ │ │ │ In order to write a well-behaved application, it is necessary to remember that │ │ │ │ │ displays will also inform you about important events via their event_sources. │ │ │ │ │ ****** Display creation ****** │ │ │ │ │ ***** ALLEGRO_DISPLAY ***** │ │ │ │ │ typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY; │ │ │ │ │ -typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque type representing an open display or window. │ │ │ │ │ Examples: │ │ │ │ │ * ex_monitorinfo.c │ │ │ │ │ * ex_d3d.cpp │ │ │ │ │ * ex_keyboard_focus.c │ │ │ │ │ ***** al_create_display ***** │ │ │ │ │ @@ -721,15 +720,14 @@ │ │ │ │ │ See also: al_set_window_title, al_get_new_window_title, al_create_display, │ │ │ │ │ ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ Examples: │ │ │ │ │ * ex_window_title.c │ │ │ │ │ ***** ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE ***** │ │ │ │ │ #define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255 │ │ │ │ │ -#define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255 │ │ │ │ │ Source_Code │ │ │ │ │ This is the maximum size of the title that can be set with │ │ │ │ │ al_set_new_window_title. │ │ │ │ │ See also: al_set_new_window_title │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ ***** al_get_new_window_title ***** │ │ │ │ │ const char *al_get_new_window_title(void) │ │ │ │ │ @@ -831,8 +829,8 @@ │ │ │ │ │ bool al_clipboard_has_text(ALLEGRO_DISPLAY *display) │ │ │ │ │ Source_Code │ │ │ │ │ This function returns true if and only if the clipboard has text available. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_set_clipboard_text, al_get_clipboard_text │ │ │ │ │ Examples: │ │ │ │ │ * ex_clipboard.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:09 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/events.html │ │ │ │ @@ -281,16 +281,15 @@ │ │ │ │ union according to the event type.

      │ │ │ │

      In addition to the events sent by Allegro core, there’s also events │ │ │ │ send by the addons, see ALLEGRO_AUDIO_EVENT_TYPE │ │ │ │ and ALLEGRO_VIDEO_EVENT_TYPE.

      │ │ │ │

      ALLEGRO_EVENT

      │ │ │ │ -
      typedef union ALLEGRO_EVENT ALLEGRO_EVENT;
      │ │ │ │ -typedef union ALLEGRO_EVENT ALLEGRO_EVENT;
      │ │ │ │ +
      typedef union ALLEGRO_EVENT ALLEGRO_EVENT;
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      An ALLEGRO_EVENT is a union of all builtin event structures, i.e. it │ │ │ │ is an object large enough to hold the data of any event type. All events │ │ │ │ have the following fields in common:

      │ │ │ │
      │ │ │ │ @@ -926,16 +925,15 @@ │ │ │ │
      │ │ │ │
      display.source (ALLEGRO_DISPLAY *)
      │ │ │ │
      │ │ │ │ The display which was disconnected. │ │ │ │
      │ │ │ │
      │ │ │ │

      ALLEGRO_USER_EVENT

      │ │ │ │ -
      typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT;
      │ │ │ │ -typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT;
      │ │ │ │ +
      typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT;
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      An event structure that can be emitted by user event sources. These │ │ │ │ are the public fields:

      │ │ │ │
        │ │ │ │
      • ALLEGRO_EVENT_SOURCE *source;
      • │ │ │ │ @@ -976,16 +974,15 @@ │ │ │ │ href="events.html#al_init_user_event_source">al_init_user_event_source

        │ │ │ │

        Examples:

        │ │ │ │ │ │ │ │

        ALLEGRO_EVENT_QUEUE

        │ │ │ │ -
        typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE;
        │ │ │ │ -typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE;
        │ │ │ │ +
        typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE;
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        An event queue holds events that have been generated by event sources │ │ │ │ that are registered with the queue. Events are stored in the order they │ │ │ │ are generated. Access is in a strictly FIFO (first-in-first-out) │ │ │ │ order.

        │ │ │ │ @@ -998,16 +995,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L18">ex_inject_events.c │ │ │ │
      • ex_enet_server.c
      • │ │ │ │
      • ex_timer_pause.c
      • │ │ │ │
      │ │ │ │

      ALLEGRO_EVENT_SOURCE

      │ │ │ │ -
      typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE;
      │ │ │ │ -typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE;
      │ │ │ │ +
      typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE;
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      An event source is any object which can generate events. For example, │ │ │ │ an ALLEGRO_DISPLAY can generate events, and you can get the │ │ │ │ ALLEGRO_EVENT_SOURCE pointer from an ALLEGRO_DISPLAY with al_get_display_event_source.

      │ │ │ │ @@ -1022,26 +1018,24 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L17">ex_inject_events.c
    • │ │ │ │
    • ex_user_events.c
    • │ │ │ │
    • nihgui.cpp
    • │ │ │ │
    │ │ │ │

    ALLEGRO_EVENT_TYPE

    │ │ │ │ -
    typedef unsigned int ALLEGRO_EVENT_TYPE;
    │ │ │ │ -typedef unsigned int ALLEGRO_EVENT_TYPE;
    │ │ │ │ +
    typedef unsigned int ALLEGRO_EVENT_TYPE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An integer used to distinguish between different types of events.

    │ │ │ │

    See also: ALLEGRO_EVENT, ALLEGRO_GET_EVENT_TYPE, ALLEGRO_EVENT_TYPE_IS_USER

    │ │ │ │

    ALLEGRO_GET_EVENT_TYPE

    │ │ │ │ -
    #define ALLEGRO_GET_EVENT_TYPE(a, b, c, d)   AL_ID(a, b, c, d)
    │ │ │ │ -#define ALLEGRO_GET_EVENT_TYPE(a, b, c, d)   AL_ID(a, b, c, d)
    │ │ │ │ +
    #define ALLEGRO_GET_EVENT_TYPE(a, b, c, d)   AL_ID(a, b, c, d)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Make an event type identifier, which is a 32-bit integer. Usually, │ │ │ │ but not necessarily, this will be made from four 8-bit character codes, │ │ │ │ for example:

    │ │ │ │
    Examples:
    │ │ │ │ @@ -1068,16 +1062,15 @@
    │ │ │ │     MEOW_EVENT,
    │ │ │ │     SQUAWK_EVENT
    │ │ │ │  };
    │ │ │ │

    See also: ALLEGRO_EVENT, ALLEGRO_USER_EVENT, ALLEGRO_EVENT_TYPE_IS_USER

    │ │ │ │

    ALLEGRO_EVENT_TYPE_IS_USER

    │ │ │ │ -
    #define ALLEGRO_EVENT_TYPE_IS_USER(t)        ((t) >= 512)
    │ │ │ │ -#define ALLEGRO_EVENT_TYPE_IS_USER(t)        ((t) >= 512)
    │ │ │ │ +
    #define ALLEGRO_EVENT_TYPE_IS_USER(t)        ((t) >= 512)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A macro which evaluates to true if the event type is not a builtin │ │ │ │ event type, i.e. one of those described in ALLEGRO_EVENT_TYPE.

    │ │ │ │

    al_create_event_queue

    │ │ │ │ @@ -1511,12 +1504,12 @@ │ │ │ │

    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.

    │ │ │ │

    See also: al_get_event_source_data

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:09 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -121,15 +121,14 @@ │ │ │ │ │ events that can be generated by user-defined event sources. │ │ │ │ │ The appropriate reaction to an event is determined by examining the fields of │ │ │ │ │ the ALLEGRO_EVENT union according to the event type. │ │ │ │ │ In addition to the events sent by Allegro core, there’s also events send by │ │ │ │ │ the addons, see ALLEGRO_AUDIO_EVENT_TYPE and ALLEGRO_VIDEO_EVENT_TYPE. │ │ │ │ │ ****** ALLEGRO_EVENT ****** │ │ │ │ │ typedef union ALLEGRO_EVENT ALLEGRO_EVENT; │ │ │ │ │ -typedef union ALLEGRO_EVENT ALLEGRO_EVENT; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_EVENT is a union of all builtin event structures, i.e. it is an │ │ │ │ │ object large enough to hold the data of any event type. All events have the │ │ │ │ │ following fields in common: │ │ │ │ │ type (ALLEGRO_EVENT_TYPE) │ │ │ │ │ Indicates the type of event. │ │ │ │ │ any.source (ALLEGRO_EVENT_SOURCE *) │ │ │ │ │ @@ -469,15 +468,14 @@ │ │ │ │ │ This event is sent when a physical display is disconnected from the device │ │ │ │ │ Allegro runs on. Currently, on most platforms, Allegro supports only a single │ │ │ │ │ physical display. However, on iOS, a secondary physical display is supported. │ │ │ │ │ display.source (ALLEGRO_DISPLAY *) │ │ │ │ │ The display which was disconnected. │ │ │ │ │ ****** ALLEGRO_USER_EVENT ****** │ │ │ │ │ typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT; │ │ │ │ │ -typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT; │ │ │ │ │ Source_Code │ │ │ │ │ An event structure that can be emitted by user event sources. These are the │ │ │ │ │ public fields: │ │ │ │ │ * ALLEGRO_EVENT_SOURCE *source; │ │ │ │ │ * intptr_t data1; │ │ │ │ │ * intptr_t data2; │ │ │ │ │ * intptr_t data3; │ │ │ │ │ @@ -505,46 +503,42 @@ │ │ │ │ │ documentation for ALLEGRO_GET_EVENT_TYPE for the rules you should follow when │ │ │ │ │ assigning identifiers. │ │ │ │ │ See also: al_emit_user_event, ALLEGRO_GET_EVENT_TYPE, al_init_user_event_source │ │ │ │ │ Examples: │ │ │ │ │ * ex_user_events.c │ │ │ │ │ ****** ALLEGRO_EVENT_QUEUE ****** │ │ │ │ │ typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE; │ │ │ │ │ -typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE; │ │ │ │ │ Source_Code │ │ │ │ │ An event queue holds events that have been generated by event sources that are │ │ │ │ │ registered with the queue. Events are stored in the order they are generated. │ │ │ │ │ Access is in a strictly FIFO (first-in-first-out) order. │ │ │ │ │ See also: al_create_event_queue, al_destroy_event_queue │ │ │ │ │ Examples: │ │ │ │ │ * ex_inject_events.c │ │ │ │ │ * ex_enet_server.c │ │ │ │ │ * ex_timer_pause.c │ │ │ │ │ ****** ALLEGRO_EVENT_SOURCE ****** │ │ │ │ │ typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE; │ │ │ │ │ -typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE; │ │ │ │ │ Source_Code │ │ │ │ │ An event source is any object which can generate events. For example, an │ │ │ │ │ ALLEGRO_DISPLAY can generate events, and you can get the ALLEGRO_EVENT_SOURCE │ │ │ │ │ pointer from an ALLEGRO_DISPLAY with al_get_display_event_source. │ │ │ │ │ You may create your own “user” event sources that emit custom events. │ │ │ │ │ See also: ALLEGRO_EVENT, al_init_user_event_source, al_emit_user_event │ │ │ │ │ Examples: │ │ │ │ │ * ex_inject_events.c │ │ │ │ │ * ex_user_events.c │ │ │ │ │ * nihgui.cpp │ │ │ │ │ ****** ALLEGRO_EVENT_TYPE ****** │ │ │ │ │ typedef unsigned int ALLEGRO_EVENT_TYPE; │ │ │ │ │ -typedef unsigned int ALLEGRO_EVENT_TYPE; │ │ │ │ │ Source_Code │ │ │ │ │ An integer used to distinguish between different types of events. │ │ │ │ │ See also: ALLEGRO_EVENT, ALLEGRO_GET_EVENT_TYPE, ALLEGRO_EVENT_TYPE_IS_USER │ │ │ │ │ ****** ALLEGRO_GET_EVENT_TYPE ****** │ │ │ │ │ #define ALLEGRO_GET_EVENT_TYPE(a, b, c, d) AL_ID(a, b, c, d) │ │ │ │ │ -#define ALLEGRO_GET_EVENT_TYPE(a, b, c, d) AL_ID(a, b, c, d) │ │ │ │ │ Source_Code │ │ │ │ │ Make an event type identifier, which is a 32-bit integer. Usually, but not │ │ │ │ │ necessarily, this will be made from four 8-bit character codes, for example: │ │ │ │ │ Examples: │ │ │ │ │ │ │ │ │ │ * [ex_user_events.c](https://github.com/liballeg/allegro5/blob/master/examples/ │ │ │ │ │ ex_user_events.c#L10) │ │ │ │ │ @@ -567,15 +561,14 @@ │ │ │ │ │ BARK_EVENT = ALLEGRO_GET_EVENT_TYPE('M','I','N','E'), │ │ │ │ │ MEOW_EVENT, │ │ │ │ │ SQUAWK_EVENT │ │ │ │ │ }; │ │ │ │ │ See also: ALLEGRO_EVENT, ALLEGRO_USER_EVENT, ALLEGRO_EVENT_TYPE_IS_USER │ │ │ │ │ ****** ALLEGRO_EVENT_TYPE_IS_USER ****** │ │ │ │ │ #define ALLEGRO_EVENT_TYPE_IS_USER(t) ((t) >= 512) │ │ │ │ │ -#define ALLEGRO_EVENT_TYPE_IS_USER(t) ((t) >= 512) │ │ │ │ │ Source_Code │ │ │ │ │ A macro which evaluates to true if the event type is not a builtin event type, │ │ │ │ │ i.e. one of those described in ALLEGRO_EVENT_TYPE. │ │ │ │ │ ****** al_create_event_queue ****** │ │ │ │ │ ALLEGRO_EVENT_QUEUE *al_create_event_queue(void) │ │ │ │ │ Source_Code │ │ │ │ │ Create a new, empty event queue, returning a pointer to the newly created │ │ │ │ │ @@ -829,8 +822,8 @@ │ │ │ │ │ ****** al_set_event_source_data ****** │ │ │ │ │ void al_set_event_source_data(ALLEGRO_EVENT_SOURCE *source, intptr_t data) │ │ │ │ │ Source_Code │ │ │ │ │ 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. │ │ │ │ │ See also: al_get_event_source_data │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:09 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/file.html │ │ │ │ @@ -215,16 +215,15 @@ │ │ │ │
  • al_get_file_userdata
  • │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_FILE

    │ │ │ │ -
    typedef struct ALLEGRO_FILE ALLEGRO_FILE;
    │ │ │ │ -typedef struct ALLEGRO_FILE ALLEGRO_FILE;
    │ │ │ │ +
    typedef struct ALLEGRO_FILE ALLEGRO_FILE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque object representing an open file. This could be a real file │ │ │ │ on disk or a virtual file.

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │ @@ -232,16 +231,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_file.c#L23">ex_file.c │ │ │ │
    • ex_dir.c
    • │ │ │ │
    • ex_memfile.c
    • │ │ │ │
    │ │ │ │

    ALLEGRO_FILE_INTERFACE

    │ │ │ │ -
    typedef struct ALLEGRO_FILE_INTERFACE
    │ │ │ │ -typedef struct ALLEGRO_FILE_INTERFACE
    │ │ │ │ +
    typedef struct ALLEGRO_FILE_INTERFACE
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A structure containing function pointers to handle a type of “file”, │ │ │ │ real or virtual. See the full discussion in al_set_new_file_interface.

    │ │ │ │

    The fields are:

    │ │ │ │ @@ -272,16 +270,15 @@ │ │ │ │ char long buffer will be used.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_SEEK

    │ │ │ │ -
    typedef enum ALLEGRO_SEEK
    │ │ │ │ -typedef enum ALLEGRO_SEEK
    │ │ │ │ +
    typedef enum ALLEGRO_SEEK
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │
      │ │ │ │
    • ALLEGRO_SEEK_SET - seek relative to beginning of file
    • │ │ │ │
    • ALLEGRO_SEEK_CUR - seek relative to current file position
    • │ │ │ │
    • ALLEGRO_SEEK_END - seek relative to end of file
    • │ │ │ │ @@ -957,12 +954,12 @@ │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:10 UTC │ │ │ │

      │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -89,25 +89,23 @@ │ │ │ │ │ o al_get_new_file_interface │ │ │ │ │ o al_create_file_handle │ │ │ │ │ o al_get_file_userdata │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_FILE ****** │ │ │ │ │ typedef struct ALLEGRO_FILE ALLEGRO_FILE; │ │ │ │ │ -typedef struct ALLEGRO_FILE ALLEGRO_FILE; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque object representing an open file. This could be a real file on disk │ │ │ │ │ or a virtual file. │ │ │ │ │ Examples: │ │ │ │ │ * ex_file.c │ │ │ │ │ * ex_dir.c │ │ │ │ │ * ex_memfile.c │ │ │ │ │ ****** ALLEGRO_FILE_INTERFACE ****** │ │ │ │ │ typedef struct ALLEGRO_FILE_INTERFACE │ │ │ │ │ -typedef struct ALLEGRO_FILE_INTERFACE │ │ │ │ │ Source_Code │ │ │ │ │ A structure containing function pointers to handle a type of “file”, real │ │ │ │ │ or virtual. See the full discussion in al_set_new_file_interface. │ │ │ │ │ The fields are: │ │ │ │ │ void* (*fi_fopen)(const char *path, const char *mode); │ │ │ │ │ bool (*fi_fclose)(ALLEGRO_FILE *f); │ │ │ │ │ size_t (*fi_fread)(ALLEGRO_FILE *f, void *ptr, size_t size); │ │ │ │ │ @@ -130,15 +128,14 @@ │ │ │ │ │ free the ALLEGRO_FILE handle. │ │ │ │ │ If fi_fungetc is NULL, then Allegro’s default implementation of a 16 char │ │ │ │ │ long buffer will be used. │ │ │ │ │ Examples: │ │ │ │ │ * ex_curl.c │ │ │ │ │ ****** ALLEGRO_SEEK ****** │ │ │ │ │ typedef enum ALLEGRO_SEEK │ │ │ │ │ -typedef enum ALLEGRO_SEEK │ │ │ │ │ Source_Code │ │ │ │ │ * ALLEGRO_SEEK_SET - seek relative to beginning of file │ │ │ │ │ * ALLEGRO_SEEK_CUR - seek relative to current file position │ │ │ │ │ * ALLEGRO_SEEK_END - seek relative to end of file │ │ │ │ │ See also: al_fseek │ │ │ │ │ Examples: │ │ │ │ │ * ex_file.c │ │ │ │ │ @@ -553,8 +550,8 @@ │ │ │ │ │ ***** al_get_file_userdata ***** │ │ │ │ │ void *al_get_file_userdata(ALLEGRO_FILE *f) │ │ │ │ │ Source_Code │ │ │ │ │ Returns a pointer to the custom userdata that is attached to the file handle. │ │ │ │ │ This is intended to be used by functions that extend ALLEGRO_FILE_INTERFACE. │ │ │ │ │ Examples: │ │ │ │ │ * ex_curl.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:54 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:10 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/fixed.html │ │ │ │ @@ -190,16 +190,15 @@ │ │ │ │
    • al_fixhypot
    • │ │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    al_fixed

    │ │ │ │ -
    typedef int32_t al_fixed;
    │ │ │ │ -typedef int32_t al_fixed;
    │ │ │ │ +
    typedef int32_t al_fixed;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A fixed point number.

    │ │ │ │

    Allegro provides some routines for working with fixed point numbers, │ │ │ │ and defines the type al_fixed to be a signed 32-bit │ │ │ │ integer. The high word is used for the integer part and the low word for │ │ │ │ @@ -656,12 +655,12 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source │ │ │ │ Code

    │ │ │ │

    Fixed point hypotenuse (returns the square root of │ │ │ │ x*x + y*y). This should be better than calculating the │ │ │ │ formula yourself manually, since the error is much smaller.

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:10 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -70,15 +70,14 @@ │ │ │ │ │ o al_fixatan2 │ │ │ │ │ o al_fixsqrt │ │ │ │ │ o al_fixhypot │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** al_fixed ****** │ │ │ │ │ typedef int32_t al_fixed; │ │ │ │ │ -typedef int32_t al_fixed; │ │ │ │ │ Source_Code │ │ │ │ │ A fixed point number. │ │ │ │ │ Allegro provides some routines for working with fixed point numbers, and │ │ │ │ │ defines the type al_fixed to be a signed 32-bit integer. The high word is used │ │ │ │ │ for the integer part and the low word for the fraction, giving a range of - │ │ │ │ │ 32768 to 32767 and an accuracy of about four or five decimal places. Fixed │ │ │ │ │ point numbers can be assigned, compared, added, subtracted, negated and shifted │ │ │ │ │ @@ -440,8 +439,8 @@ │ │ │ │ │ errno is set to EDOM and the function returns zero. │ │ │ │ │ ***** al_fixhypot ***** │ │ │ │ │ al_fixed al_fixhypot(al_fixed x, al_fixed y) │ │ │ │ │ Source_Code │ │ │ │ │ Fixed point hypotenuse (returns the square root of x*x + y*y). This should be │ │ │ │ │ better than calculating the formula yourself manually, since the error is much │ │ │ │ │ smaller. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:10 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/font.html │ │ │ │ @@ -237,16 +237,15 @@ │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the following header file. Link with │ │ │ │ allegro_font.

    │ │ │ │
     #include <allegro5/allegro_font.h>
    │ │ │ │

    General font routines

    │ │ │ │

    ALLEGRO_FONT

    │ │ │ │ -
    typedef struct ALLEGRO_FONT ALLEGRO_FONT;
    │ │ │ │ -typedef struct ALLEGRO_FONT ALLEGRO_FONT;
    │ │ │ │ +
    typedef struct ALLEGRO_FONT ALLEGRO_FONT;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A handle identifying any kind of font. Usually you will create it │ │ │ │ with al_load_font which supports │ │ │ │ loading all kinds of TrueType fonts supported by the FreeType library. │ │ │ │ If you instead pass the filename of a bitmap file, it will be loaded │ │ │ │ @@ -259,16 +258,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L10">ex_disable_screensaver.c │ │ │ │

  • ex_font_justify.cpp
  • │ │ │ │
  • ex_display_events.c
  • │ │ │ │ │ │ │ │

    ALLEGRO_GLYPH

    │ │ │ │ -
    typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH;
    │ │ │ │ -typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH;
    │ │ │ │ +
    typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A structure containing the properties of a character in a font.

    │ │ │ │
    typedef struct ALLEGRO_GLYPH {
    │ │ │ │     ALLEGRO_BITMAP *bitmap;   // the bitmap the character is on
    │ │ │ │     int x;                    // the x position of the glyph on bitmap
    │ │ │ │ @@ -299,16 +297,15 @@
    │ │ │ │  

    See also: al_get_glyph

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_ttf.c
    • │ │ │ │
    │ │ │ │

    al_init_font_addon

    │ │ │ │ -
    bool al_init_font_addon(void)
    │ │ │ │ -bool al_init_font_addon(void)
    │ │ │ │ +
    bool al_init_font_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Initialise the font addon.

    │ │ │ │

    Note that if you intend to load bitmap fonts, you will need to │ │ │ │ initialise allegro_image separately (unless you are using another │ │ │ │ library to load images).

    │ │ │ │ @@ -328,38 +325,35 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L28">ex_disable_screensaver.c │ │ │ │
  • ex_font_justify.cpp
  • │ │ │ │
  • ex_display_events.c
  • │ │ │ │ │ │ │ │

    al_is_font_addon_initialized

    │ │ │ │ -
    bool al_is_font_addon_initialized(void)
    │ │ │ │ -bool al_is_font_addon_initialized(void)
    │ │ │ │ +
    bool al_is_font_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the font addon is initialized, otherwise returns │ │ │ │ false.

    │ │ │ │

    Since: 5.2.6

    │ │ │ │

    See also: al_init_font_addon, al_shutdown_font_addon

    │ │ │ │

    al_shutdown_font_addon

    │ │ │ │ -
    void al_shutdown_font_addon(void)
    │ │ │ │ -void al_shutdown_font_addon(void)
    │ │ │ │ +
    void al_shutdown_font_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Shut down the font addon. This is done automatically at program exit, │ │ │ │ but can be called any time the user wishes as well.

    │ │ │ │

    See also: al_init_font_addon

    │ │ │ │

    al_load_font

    │ │ │ │ -
    ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags)
    │ │ │ │ -ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags)
    │ │ │ │ +
    ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads a font from disk. This will use al_load_bitmap_font_flags │ │ │ │ if you pass the name of a known bitmap format, or else al_load_ttf_font.

    │ │ │ │ @@ -378,16 +372,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L116">ex_font_justify.cpp │ │ │ │
  • ex_membmp.c
  • │ │ │ │
  • ex_window_title.c
  • │ │ │ │ │ │ │ │

    al_destroy_font

    │ │ │ │ -
    void al_destroy_font(ALLEGRO_FONT *f)
    │ │ │ │ -void al_destroy_font(ALLEGRO_FONT *f)
    │ │ │ │ +
    void al_destroy_font(ALLEGRO_FONT *f)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Frees the memory being used by a font structure. Does nothing if │ │ │ │ passed NULL.

    │ │ │ │

    See also: al_load_font

    │ │ │ │

    Examples:

    │ │ │ │ @@ -397,33 +390,30 @@ │ │ │ │
  • ex_font_justify.cpp
  • │ │ │ │
  • ex_cpu.c
  • │ │ │ │ │ │ │ │

    al_register_font_loader

    │ │ │ │
    bool al_register_font_loader(char const *extension,
    │ │ │ │ -   ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags))
    │ │ │ │ -bool al_register_font_loader(char const *extension,
    │ │ │ │ -   ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags))
    │ │ │ │ + ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Informs Allegro of a new font file type, telling it how to load files │ │ │ │ of this format.

    │ │ │ │

    The extension should include the leading dot (‘.’) │ │ │ │ character. It will be matched case-insensitively.

    │ │ │ │

    The load_font argument may be NULL to unregister an │ │ │ │ entry.

    │ │ │ │

    Returns true on success, false on error. Returns false if │ │ │ │ unregistering an entry that doesn’t exist.

    │ │ │ │

    See also: al_init_font_addon

    │ │ │ │

    al_get_font_line_height

    │ │ │ │ -
    int al_get_font_line_height(const ALLEGRO_FONT *f)
    │ │ │ │ -int al_get_font_line_height(const ALLEGRO_FONT *f)
    │ │ │ │ +
    int al_get_font_line_height(const ALLEGRO_FONT *f)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the usual height of a line of text in the specified font. For │ │ │ │ bitmap fonts this is simply the height of all glyph bitmaps. For │ │ │ │ truetype fonts it is whatever the font file specifies. In particular, │ │ │ │ some special glyphs may be higher than the height returned here.

    │ │ │ │ @@ -449,46 +439,43 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L78">ex_font_justify.cpp │ │ │ │
  • ex_membmp.c
  • │ │ │ │
  • ex_mouse_warp.c
  • │ │ │ │ │ │ │ │

    al_get_font_ascent

    │ │ │ │ -
    int al_get_font_ascent(const ALLEGRO_FONT *f)
    │ │ │ │ -int al_get_font_ascent(const ALLEGRO_FONT *f)
    │ │ │ │ +
    int al_get_font_ascent(const ALLEGRO_FONT *f)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the ascent of the specified font.

    │ │ │ │

    See also: al_get_font_descent, al_get_font_line_height

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_ttf.c
    • │ │ │ │
    │ │ │ │

    al_get_font_descent

    │ │ │ │ -
    int al_get_font_descent(const ALLEGRO_FONT *f)
    │ │ │ │ -int al_get_font_descent(const ALLEGRO_FONT *f)
    │ │ │ │ +
    int al_get_font_descent(const ALLEGRO_FONT *f)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the descent of the specified font.

    │ │ │ │

    See also: al_get_font_ascent, al_get_font_line_height

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_ttf.c
    • │ │ │ │
    │ │ │ │

    al_get_text_width

    │ │ │ │ -
    int al_get_text_width(const ALLEGRO_FONT *f, const char *str)
    │ │ │ │ -int al_get_text_width(const ALLEGRO_FONT *f, const char *str)
    │ │ │ │ +
    int al_get_text_width(const ALLEGRO_FONT *f, const char *str)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Calculates the length of a string in a particular font, in │ │ │ │ pixels.

    │ │ │ │

    See also: al_get_ustr_width, ex_display_options.c │ │ │ │

  • ex_record_name.c
  • │ │ │ │
  • ex_color_gradient.c
  • │ │ │ │ │ │ │ │

    al_get_ustr_width

    │ │ │ │ -
    int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
    │ │ │ │ -int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
    │ │ │ │ +
    int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_get_text_width but │ │ │ │ expects an ALLEGRO_USTR.

    │ │ │ │

    See also: al_get_text_width, │ │ │ │

  • nihgui.cpp
  • │ │ │ │ │ │ │ │

    al_draw_text

    │ │ │ │
    void al_draw_text(const ALLEGRO_FONT *font,
    │ │ │ │     ALLEGRO_COLOR color, float x, float y, int flags,
    │ │ │ │ -   char const *text) 
    │ │ │ │ -void al_draw_text(const ALLEGRO_FONT *font,
    │ │ │ │ -   ALLEGRO_COLOR color, float x, float y, int flags,
    │ │ │ │ -   char const *text) 
    │ │ │ │ + char const *text) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Writes the NUL-terminated string text onto the target │ │ │ │ bitmap at position x, y, using the specified │ │ │ │ font.

    │ │ │ │

    The flags parameter can be 0 or one of the following │ │ │ │ @@ -563,18 +546,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_events.c#L67">ex_display_events.c │ │ │ │

  • ex_membmp.c
  • │ │ │ │ │ │ │ │

    al_draw_ustr

    │ │ │ │
    void al_draw_ustr(const ALLEGRO_FONT *font,
    │ │ │ │     ALLEGRO_COLOR color, float x, float y, int flags,
    │ │ │ │ -   const ALLEGRO_USTR *ustr) 
    │ │ │ │ -void al_draw_ustr(const ALLEGRO_FONT *font,
    │ │ │ │ -   ALLEGRO_COLOR color, float x, float y, int flags,
    │ │ │ │ -   const ALLEGRO_USTR *ustr) 
    │ │ │ │ + const ALLEGRO_USTR *ustr) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_draw_text, except the │ │ │ │ text is passed as an ALLEGRO_USTR instead of a NUL-terminated char │ │ │ │ array.

    │ │ │ │

    See also: al_draw_text, nihgui.cpp │ │ │ │

  • ex_blend.c
  • │ │ │ │ │ │ │ │

    al_draw_justified_text

    │ │ │ │
    void al_draw_justified_text(const ALLEGRO_FONT *font,
    │ │ │ │     ALLEGRO_COLOR color, float x1, float x2,
    │ │ │ │ -   float y, float diff, int flags, const char *text)
    │ │ │ │ -void al_draw_justified_text(const ALLEGRO_FONT *font,
    │ │ │ │ -   ALLEGRO_COLOR color, float x1, float x2,
    │ │ │ │ -   float y, float diff, int flags, const char *text)
    │ │ │ │ + float y, float diff, int flags, const char *text) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_draw_text, but justifies │ │ │ │ the string to the region x1-x2.

    │ │ │ │

    The diff parameter is the maximum amount of horizontal │ │ │ │ space to allow between words. If justisfying the text would exceed │ │ │ │ @@ -618,35 +595,29 @@ │ │ │ │

    │ │ │ │

    al_draw_justified_ustr

    │ │ │ │
    void al_draw_justified_ustr(const ALLEGRO_FONT *font,
    │ │ │ │     ALLEGRO_COLOR color, float x1, float x2,
    │ │ │ │ -   float y, float diff, int flags, const ALLEGRO_USTR *ustr)
    │ │ │ │ -void al_draw_justified_ustr(const ALLEGRO_FONT *font,
    │ │ │ │ -   ALLEGRO_COLOR color, float x1, float x2,
    │ │ │ │ -   float y, float diff, int flags, const ALLEGRO_USTR *ustr)
    │ │ │ │ + float y, float diff, int flags, const ALLEGRO_USTR *ustr) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_draw_justified_text, │ │ │ │ except the text is passed as an ALLEGRO_USTR instead of a NUL-terminated │ │ │ │ char array.

    │ │ │ │

    See also: al_draw_justified_text, al_draw_justified_textf.

    │ │ │ │

    al_draw_textf

    │ │ │ │
    void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color,
    │ │ │ │     float x, float y, int flags,
    │ │ │ │ -   const char *format, ...)
    │ │ │ │ -void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color,
    │ │ │ │ -   float x, float y, int flags,
    │ │ │ │ -   const char *format, ...)
    │ │ │ │ + const char *format, ...) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Formatted text output, using a printf() style format string. All │ │ │ │ parameters have the same meaning as with al_draw_text otherwise.

    │ │ │ │

    See also: al_draw_text, ex_display_events.c │ │ │ │

  • ex_cpu.c
  • │ │ │ │ │ │ │ │

    al_draw_justified_textf

    │ │ │ │
    void al_draw_justified_textf(const ALLEGRO_FONT *f,
    │ │ │ │     ALLEGRO_COLOR color, float x1, float x2, float y,
    │ │ │ │ -   float diff, int flags, const char *format, ...)
    │ │ │ │ -void al_draw_justified_textf(const ALLEGRO_FONT *f,
    │ │ │ │ -   ALLEGRO_COLOR color, float x1, float x2, float y,
    │ │ │ │ -   float diff, int flags, const char *format, ...)
    │ │ │ │ + float diff, int flags, const char *format, ...) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Formatted text output, using a printf() style format string. All │ │ │ │ parameters have the same meaning as with al_draw_justified_text │ │ │ │ otherwise.

    │ │ │ │

    See also: al_draw_justified_text, al_draw_justified_ustr.

    │ │ │ │

    al_get_text_dimensions

    │ │ │ │
    void al_get_text_dimensions(const ALLEGRO_FONT *f,
    │ │ │ │     char const *text,
    │ │ │ │ -   int *bbx, int *bby, int *bbw, int *bbh)
    │ │ │ │ -void al_get_text_dimensions(const ALLEGRO_FONT *f,
    │ │ │ │ -   char const *text,
    │ │ │ │ -   int *bbx, int *bby, int *bbw, int *bbh)
    │ │ │ │ + int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sometimes, the al_get_text_width and al_get_font_line_height │ │ │ │ functions are not enough for exact text placement, so this function │ │ │ │ @@ -709,38 +674,33 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_ttf.c#L210">ex_ttf.c │ │ │ │

  • ex_logo.c
  • │ │ │ │ │ │ │ │

    al_get_ustr_dimensions

    │ │ │ │
    void al_get_ustr_dimensions(const ALLEGRO_FONT *f,
    │ │ │ │     ALLEGRO_USTR const *ustr,
    │ │ │ │ -   int *bbx, int *bby, int *bbw, int *bbh)
    │ │ │ │ -void al_get_ustr_dimensions(const ALLEGRO_FONT *f,
    │ │ │ │ -   ALLEGRO_USTR const *ustr,
    │ │ │ │ -   int *bbx, int *bby, int *bbw, int *bbh)
    │ │ │ │ + int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_get_text_dimensions, │ │ │ │ except the text is passed as an ALLEGRO_USTR instead of a NUL-terminated │ │ │ │ char array.

    │ │ │ │

    See also: al_get_text_dimensions

    │ │ │ │

    al_get_allegro_font_version

    │ │ │ │ -
    uint32_t al_get_allegro_font_version(void)
    │ │ │ │ -uint32_t al_get_allegro_font_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_font_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    al_get_font_ranges

    │ │ │ │ -
    int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges)
    │ │ │ │ -int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges)
    │ │ │ │ +
    int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Gets information about all glyphs contained in a font, as a list of │ │ │ │ ranges. Ranges have the same format as with al_grab_font_from_bitmap.

    │ │ │ │

    ranges_count is the maximum number of ranges that will │ │ │ │ @@ -756,16 +716,15 @@ │ │ │ │ href="font.html#al_grab_font_from_bitmap">al_grab_font_from_bitmap

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_ttf.c
    • │ │ │ │
    │ │ │ │

    al_set_fallback_font

    │ │ │ │ -
    void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback)
    │ │ │ │ -void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback)
    │ │ │ │ +
    void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sets a font which is used instead if a character is not present. Can │ │ │ │ be chained, but make sure there is no loop as that would crash the │ │ │ │ application! Pass NULL to remove a fallback font again.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │ @@ -775,16 +734,15 @@ │ │ │ │ href="font.html#al_draw_text">al_draw_text

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_ttf.c
    • │ │ │ │
    │ │ │ │

    al_get_fallback_font

    │ │ │ │ -
    ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font)
    │ │ │ │ -ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font)
    │ │ │ │ +
    ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Retrieves the fallback font for this font or NULL.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    See also: al_set_fallback_font

    │ │ │ │ @@ -798,17 +756,15 @@ │ │ │ │

    And it’s also possible to get the kerning to use between two glyphs. │ │ │ │ These per glyph functions have less overhead than Allegro’s per string │ │ │ │ text drawing and dimensioning functions. So, with these functions you │ │ │ │ can write your own efficient and precise custom text drawing │ │ │ │ functions.

    │ │ │ │

    al_draw_glyph

    │ │ │ │
    void al_draw_glyph(const ALLEGRO_FONT *f, ALLEGRO_COLOR color, float x, float y,
    │ │ │ │ -   int codepoint)
    │ │ │ │ -void al_draw_glyph(const ALLEGRO_FONT *f, ALLEGRO_COLOR color, float x, float y,
    │ │ │ │ -   int codepoint)
    │ │ │ │ + int codepoint) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Draws the glyph that corresponds with codepoint in the │ │ │ │ given color using the given font. If │ │ │ │ font does not have such a glyph, nothing will be drawn.

    │ │ │ │

    To draw a string as left to right horizontal text you will need to │ │ │ │ @@ -832,31 +788,28 @@ │ │ │ │

    │ │ │ │

    al_get_glyph_width

    │ │ │ │ -
    int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint)
    │ │ │ │ -int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint)
    │ │ │ │ +
    int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This function returns the width in pixels of the glyph that │ │ │ │ corresponds with codepoint in the font font. │ │ │ │ Returns zero if the font does not have such a glyph.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    See also: al_draw_glyph, al_get_glyph_dimensions, al_get_glyph_advance.

    │ │ │ │

    al_get_glyph_dimensions

    │ │ │ │
    bool al_get_glyph_dimensions(const ALLEGRO_FONT *f,
    │ │ │ │ -   int codepoint, int *bbx, int *bby, int *bbw, int *bbh)
    │ │ │ │ -bool al_get_glyph_dimensions(const ALLEGRO_FONT *f,
    │ │ │ │ -   int codepoint, int *bbx, int *bby, int *bbw, int *bbh)
    │ │ │ │ + int codepoint, int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sometimes, the al_get_glyph_width or al_get_glyph_advance functions │ │ │ │ are not enough for exact glyph placement, so this function returns some │ │ │ │ @@ -910,16 +863,15 @@ │ │ │ │ href="font.html#al_get_glyph_advance">al_get_glyph_advance.

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_ttf.c
    • │ │ │ │
    │ │ │ │

    al_get_glyph_advance

    │ │ │ │ -
    int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2)
    │ │ │ │ -int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2)
    │ │ │ │ +
    int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This function returns by how much the x position should be advanced │ │ │ │ for left to right text drawing when the glyph that corresponds to │ │ │ │ codepoint1 has been drawn, and the glyph that corresponds to codepoint2 │ │ │ │ will be the next to be drawn. This takes into consideration the │ │ │ │ @@ -990,18 +942,15 @@ │ │ │ │

  • ex_ttf.c
  • │ │ │ │ │ │ │ │

    Multiline text drawing

    │ │ │ │

    al_draw_multiline_text

    │ │ │ │
    void al_draw_multiline_text(const ALLEGRO_FONT *font,
    │ │ │ │       ALLEGRO_COLOR color, float x, float y, float max_width, float line_height,
    │ │ │ │ -     int flags, const char *text)
    │ │ │ │ -void al_draw_multiline_text(const ALLEGRO_FONT *font,
    │ │ │ │ -     ALLEGRO_COLOR color, float x, float y, float max_width, float line_height,
    │ │ │ │ -     int flags, const char *text)
    │ │ │ │ + int flags, const char *text) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_draw_text, but this │ │ │ │ function supports drawing multiple lines of text. It will break │ │ │ │ text in lines based on its contents and the │ │ │ │ max_width parameter. The lines are then layed out │ │ │ │ @@ -1053,18 +1002,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resize2.c#L61">ex_resize2.c │ │ │ │

  • ex_font_multiline.cpp
  • │ │ │ │ │ │ │ │

    al_draw_multiline_ustr

    │ │ │ │
    void al_draw_multiline_ustr(const ALLEGRO_FONT *font,
    │ │ │ │       ALLEGRO_COLOR color, float x, float y, float max_width, float line_height,
    │ │ │ │ -     int flags, const ALLEGRO_USTR *ustr)
    │ │ │ │ -void al_draw_multiline_ustr(const ALLEGRO_FONT *font,
    │ │ │ │ -     ALLEGRO_COLOR color, float x, float y, float max_width, float line_height,
    │ │ │ │ -     int flags, const ALLEGRO_USTR *ustr)
    │ │ │ │ + int flags, const ALLEGRO_USTR *ustr) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_draw_multiline_text, │ │ │ │ except the text is passed as an ALLEGRO_USTR instead of a NUL-terminated │ │ │ │ char array.

    │ │ │ │ @@ -1072,18 +1018,15 @@ │ │ │ │

    See also: al_draw_multiline_text, al_draw_multiline_textf, al_do_multiline_text

    │ │ │ │

    al_draw_multiline_textf

    │ │ │ │
    void al_draw_multiline_textf(const ALLEGRO_FONT *font,
    │ │ │ │       ALLEGRO_COLOR color, float x, float y, float max_width, float line_height,
    │ │ │ │ -     int flags, const char *format, ...)
    │ │ │ │ -void al_draw_multiline_textf(const ALLEGRO_FONT *font,
    │ │ │ │ -     ALLEGRO_COLOR color, float x, float y, float max_width, float line_height,
    │ │ │ │ -     int flags, const char *format, ...)
    │ │ │ │ + int flags, const char *format, ...) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Formatted text output, using a printf() style format string. All │ │ │ │ parameters have the same meaning as with al_draw_multiline_text │ │ │ │ otherwise.

    │ │ │ │ @@ -1097,19 +1040,15 @@ │ │ │ │
  • ex_resize2.c
  • │ │ │ │ │ │ │ │

    al_do_multiline_text

    │ │ │ │
    void al_do_multiline_text(const ALLEGRO_FONT *font,
    │ │ │ │     float max_width, const char *text,
    │ │ │ │     bool (*cb)(int line_num, const char *line, int size, void *extra),
    │ │ │ │ -   void *extra)
    │ │ │ │ -void al_do_multiline_text(const ALLEGRO_FONT *font,
    │ │ │ │ -   float max_width, const char *text,
    │ │ │ │ -   bool (*cb)(int line_num, const char *line, int size, void *extra),
    │ │ │ │ -   void *extra)
    │ │ │ │ + void *extra) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This function processes the text and splits it into │ │ │ │ lines as al_draw_multiline_text │ │ │ │ would, and then calls the callback cb once for every line. │ │ │ │ @@ -1148,34 +1087,28 @@ │ │ │ │

  • ex_font_multiline.cpp
  • │ │ │ │ │ │ │ │

    al_do_multiline_ustr

    │ │ │ │
    void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width,
    │ │ │ │     const ALLEGRO_USTR *ustr,
    │ │ │ │     bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra),
    │ │ │ │ -   void *extra)
    │ │ │ │ -void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width,
    │ │ │ │ -   const ALLEGRO_USTR *ustr,
    │ │ │ │ -   bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra),
    │ │ │ │ -   void *extra)
    │ │ │ │ + void *extra) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_do_multiline_text, but │ │ │ │ using ALLEGRO_USTR instead of a NUL-terminated char array for text.

    │ │ │ │

    Since: 5.1.9

    │ │ │ │

    See also: al_draw_multiline_ustr

    │ │ │ │

    Bitmap fonts

    │ │ │ │

    al_grab_font_from_bitmap

    │ │ │ │
    ALLEGRO_FONT *al_grab_font_from_bitmap(ALLEGRO_BITMAP *bmp,
    │ │ │ │ -   int ranges_n, const int ranges[])
    │ │ │ │ -ALLEGRO_FONT *al_grab_font_from_bitmap(ALLEGRO_BITMAP *bmp,
    │ │ │ │ -   int ranges_n, const int ranges[])
    │ │ │ │ + int ranges_n, const int ranges[]) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a new font from an Allegro bitmap. You can delete the bitmap │ │ │ │ after the function returns as the font will contain a copy for │ │ │ │ itself.

    │ │ │ │

    Parameters:

    │ │ │ │ @@ -1232,16 +1165,15 @@ │ │ │ │ │ │ │ │

    al_load_bitmap_font

    │ │ │ │ -
    ALLEGRO_FONT *al_load_bitmap_font(const char *fname)
    │ │ │ │ -ALLEGRO_FONT *al_load_bitmap_font(const char *fname)
    │ │ │ │ +
    ALLEGRO_FONT *al_load_bitmap_font(const char *fname)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Load a bitmap font from a file. This is done by first calling al_load_bitmap_flags and │ │ │ │ then al_grab_font_from_bitmap.

    │ │ │ │ @@ -1260,16 +1192,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_bitmap_flip.c#L105">ex_bitmap_flip.c │ │ │ │
  • ex_mouse_cursor.c
  • │ │ │ │
  • ex_record_name.c
  • │ │ │ │ │ │ │ │

    al_load_bitmap_font_flags

    │ │ │ │ -
    ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags)
    │ │ │ │ -ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags)
    │ │ │ │ +
    ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_load_bitmap_font │ │ │ │ but additionally takes a flags parameter which is a bitfield containing │ │ │ │ a combination of the following:

    │ │ │ │
    │ │ │ │ @@ -1279,16 +1210,15 @@ │ │ │ │ href="graphics.html#al_load_bitmap_flags">al_load_bitmap_flags. │ │ │ │ │ │ │ │
    │ │ │ │

    See also: al_load_bitmap_font, al_load_bitmap_flags

    │ │ │ │

    al_create_builtin_font

    │ │ │ │ -
    ALLEGRO_FONT *al_create_builtin_font(void)
    │ │ │ │ -ALLEGRO_FONT *al_create_builtin_font(void)
    │ │ │ │ +
    ALLEGRO_FONT *al_create_builtin_font(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a monochrome bitmap font (8x8 pixels per character).

    │ │ │ │

    This font is primarily intended to be used for displaying information │ │ │ │ in environments or during early runtime states where no external font │ │ │ │ data is available or loaded (e.g. for debugging).

    │ │ │ │ @@ -1314,16 +1244,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L42">ex_cpu.c │ │ │ │ │ │ │ │

    TTF fonts

    │ │ │ │

    These functions are declared in the following header file. Link with │ │ │ │ allegro_ttf.

    │ │ │ │
     #include <allegro5/allegro_ttf.h>
    │ │ │ │

    al_init_ttf_addon

    │ │ │ │ -
    bool al_init_ttf_addon(void)
    │ │ │ │ -bool al_init_ttf_addon(void)
    │ │ │ │ +
    bool al_init_ttf_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Call this after al_init_font_addon to make al_load_font recognize “.ttf” and │ │ │ │ other formats supported by ex_font_justify.cpp │ │ │ │

  • ex_font_multiline.cpp
  • │ │ │ │
  • ex_color.cpp
  • │ │ │ │ │ │ │ │

    al_is_ttf_addon_initialized

    │ │ │ │ -
    bool al_is_ttf_addon_initialized(void)
    │ │ │ │ -bool al_is_ttf_addon_initialized(void)
    │ │ │ │ +
    bool al_is_ttf_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the TTF addon is initialized, otherwise returns │ │ │ │ false.

    │ │ │ │

    Since: 5.2.6

    │ │ │ │

    See also: al_init_ttf_addon, al_shutdown_ttf_addon

    │ │ │ │

    al_shutdown_ttf_addon

    │ │ │ │ -
    void al_shutdown_ttf_addon(void)
    │ │ │ │ -void al_shutdown_ttf_addon(void)
    │ │ │ │ +
    void al_shutdown_ttf_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Unloads the ttf addon again. You normally don’t need to call │ │ │ │ this.

    │ │ │ │

    al_load_ttf_font

    │ │ │ │ -
    ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags)
    │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags)
    │ │ │ │ +
    ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Loads a TrueType font from a file using the FreeType library. Quoting │ │ │ │ from the FreeType FAQ this means support for many different font │ │ │ │ formats:

    │ │ │ │

    TrueType, OpenType, Type1, CID, CFF, Windows FON/FNT, X11 PCF, │ │ │ │ @@ -1397,33 +1323,29 @@ │ │ │ │

  • ex_synth.cpp
  • │ │ │ │
  • ex_audio_chain.cpp
  • │ │ │ │ │ │ │ │

    al_load_ttf_font_f

    │ │ │ │
    ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file,
    │ │ │ │ -    char const *filename, int size, int flags)
    │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file,
    │ │ │ │ -    char const *filename, int size, int flags)
    │ │ │ │ + char const *filename, int size, int flags) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_load_ttf_font, but │ │ │ │ the font is read from the file handle. The filename is only used to find │ │ │ │ possible additional files next to a font file.

    │ │ │ │
    │ │ │ │

    Note: The file handle is owned by the returned ALLEGRO_FONT │ │ │ │ object and must not be freed by the caller, as FreeType expects to be │ │ │ │ able to read from it at a later time.

    │ │ │ │
    │ │ │ │

    al_load_ttf_font_stretch

    │ │ │ │
    ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h,
    │ │ │ │ -   int flags)
    │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h,
    │ │ │ │ -   int flags)
    │ │ │ │ + int flags) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_load_ttf_font, │ │ │ │ except it takes separate width and height parameters instead of a single │ │ │ │ size parameter.

    │ │ │ │

    If the height is a positive value, and the width zero or positive, │ │ │ │ @@ -1436,17 +1358,15 @@ │ │ │ │ negative, or if the height is negative while the width is positive.

    │ │ │ │

    Since: 5.0.6, 5.1.0

    │ │ │ │

    See also: al_load_ttf_font, │ │ │ │ al_load_ttf_font_stretch_f

    │ │ │ │

    al_load_ttf_font_stretch_f

    │ │ │ │
    ALLEGRO_FONT *al_load_ttf_font_stretch_f(ALLEGRO_FILE *file,
    │ │ │ │ -    char const *filename, int w, int h, int flags)
    │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_stretch_f(ALLEGRO_FILE *file,
    │ │ │ │ -    char const *filename, int w, int h, int flags)
    │ │ │ │ + char const *filename, int w, int h, int flags) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_load_ttf_font_stretch, │ │ │ │ but the font is read from the file handle. The filename is only used to │ │ │ │ find possible additional files next to a font file.

    │ │ │ │ @@ -1455,24 +1375,22 @@ │ │ │ │ object and must not be freed by the caller, as FreeType expects to be │ │ │ │ able to read from it at a later time.

    │ │ │ │
    │ │ │ │

    Since: 5.0.6, 5.1.0

    │ │ │ │

    See also: al_load_ttf_font_stretch

    │ │ │ │

    al_get_allegro_ttf_version

    │ │ │ │ -
    uint32_t al_get_allegro_ttf_version(void)
    │ │ │ │ -uint32_t al_get_allegro_ttf_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_ttf_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    al_get_glyph

    │ │ │ │ -
    bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph)
    │ │ │ │ -bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph)
    │ │ │ │ +
    bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Gets all the information about a glyph, including the bitmap, needed │ │ │ │ to draw it yourself. prev_codepoint is the codepoint in the string │ │ │ │ before the one you want to draw and is used for kerning. codepoint is │ │ │ │ the character you want to get info about. You should clear the ‘glyph’ │ │ │ │ @@ -1489,12 +1407,12 @@ │ │ │ │

  • ex_font.c
  • │ │ │ │
  • ex_ttf.c
  • │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:15 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -101,28 +101,26 @@ │ │ │ │ │ o al_get_glyph │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_font. │ │ │ │ │ #include │ │ │ │ │ ****** General font routines ****** │ │ │ │ │ ***** ALLEGRO_FONT ***** │ │ │ │ │ typedef struct ALLEGRO_FONT ALLEGRO_FONT; │ │ │ │ │ -typedef struct ALLEGRO_FONT ALLEGRO_FONT; │ │ │ │ │ Source_Code │ │ │ │ │ A handle identifying any kind of font. Usually you will create it with │ │ │ │ │ al_load_font which supports loading all kinds of TrueType fonts supported by │ │ │ │ │ the FreeType library. If you instead pass the filename of a bitmap file, it │ │ │ │ │ will be loaded with al_load_bitmap and a font in Allegro’s bitmap font format │ │ │ │ │ will be created from it with al_grab_font_from_bitmap. │ │ │ │ │ Examples: │ │ │ │ │ * ex_disable_screensaver.c │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_display_events.c │ │ │ │ │ ***** ALLEGRO_GLYPH ***** │ │ │ │ │ typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH; │ │ │ │ │ -typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH; │ │ │ │ │ Source_Code │ │ │ │ │ A structure containing the properties of a character in a font. │ │ │ │ │ typedef struct ALLEGRO_GLYPH { │ │ │ │ │ ALLEGRO_BITMAP *bitmap; // the bitmap the character is on │ │ │ │ │ int x; // the x position of the glyph on bitmap │ │ │ │ │ int y; // the y position of the glyph on bitmap │ │ │ │ │ int w; // the width of the glyph in pixels │ │ │ │ │ @@ -145,15 +143,14 @@ │ │ │ │ │ Since: 5.2.1 │ │ │ │ │ Unstable_API: This API is new and subject to refinement. │ │ │ │ │ See also: al_get_glyph │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_init_font_addon ***** │ │ │ │ │ bool al_init_font_addon(void) │ │ │ │ │ -bool al_init_font_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Initialise the font addon. │ │ │ │ │ Note that if you intend to load bitmap fonts, you will need to initialise │ │ │ │ │ allegro_image separately (unless you are using another library to load images). │ │ │ │ │ Similarly, if you wish to load truetype-fonts, do not forget to also call │ │ │ │ │ al_init_ttf_addon. │ │ │ │ │ Returns true on success, false on failure. On the 5.0 branch, this function has │ │ │ │ │ @@ -163,68 +160,61 @@ │ │ │ │ │ See also: al_init_image_addon, al_init_ttf_addon, al_shutdown_font_addon │ │ │ │ │ Examples: │ │ │ │ │ * ex_disable_screensaver.c │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_display_events.c │ │ │ │ │ ***** al_is_font_addon_initialized ***** │ │ │ │ │ bool al_is_font_addon_initialized(void) │ │ │ │ │ -bool al_is_font_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the font addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ See also: al_init_font_addon, al_shutdown_font_addon │ │ │ │ │ ***** al_shutdown_font_addon ***** │ │ │ │ │ void al_shutdown_font_addon(void) │ │ │ │ │ -void al_shutdown_font_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Shut down the font addon. This is done automatically at program exit, but can │ │ │ │ │ be called any time the user wishes as well. │ │ │ │ │ See also: al_init_font_addon │ │ │ │ │ ***** al_load_font ***** │ │ │ │ │ ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Loads a font from disk. This will use al_load_bitmap_font_flags if you pass the │ │ │ │ │ name of a known bitmap format, or else al_load_ttf_font. │ │ │ │ │ The flags parameter is passed through to either of those functions. Bitmap and │ │ │ │ │ TTF fonts are also affected by the current bitmap_flags at the time the font is │ │ │ │ │ loaded. │ │ │ │ │ See also: al_destroy_font, al_init_font_addon, al_register_font_loader, │ │ │ │ │ al_load_bitmap_font_flags, al_load_ttf_font │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_membmp.c │ │ │ │ │ * ex_window_title.c │ │ │ │ │ ***** al_destroy_font ***** │ │ │ │ │ void al_destroy_font(ALLEGRO_FONT *f) │ │ │ │ │ -void al_destroy_font(ALLEGRO_FONT *f) │ │ │ │ │ Source_Code │ │ │ │ │ Frees the memory being used by a font structure. Does nothing if passed NULL. │ │ │ │ │ See also: al_load_font │ │ │ │ │ Examples: │ │ │ │ │ * ex_disable_screensaver.c │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_cpu.c │ │ │ │ │ ***** al_register_font_loader ***** │ │ │ │ │ bool al_register_font_loader(char const *extension, │ │ │ │ │ ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags)) │ │ │ │ │ -bool al_register_font_loader(char const *extension, │ │ │ │ │ - ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags)) │ │ │ │ │ Source_Code │ │ │ │ │ Informs Allegro of a new font file type, telling it how to load files of this │ │ │ │ │ format. │ │ │ │ │ The extension should include the leading dot (‘.’) character. It will be │ │ │ │ │ matched case-insensitively. │ │ │ │ │ The load_font argument may be NULL to unregister an entry. │ │ │ │ │ Returns true on success, false on error. Returns false if unregistering an │ │ │ │ │ entry that doesn’t exist. │ │ │ │ │ See also: al_init_font_addon │ │ │ │ │ ***** al_get_font_line_height ***** │ │ │ │ │ int al_get_font_line_height(const ALLEGRO_FONT *f) │ │ │ │ │ -int al_get_font_line_height(const ALLEGRO_FONT *f) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the usual height of a line of text in the specified font. For bitmap │ │ │ │ │ fonts this is simply the height of all glyph bitmaps. For truetype fonts it is │ │ │ │ │ whatever the font file specifies. In particular, some special glyphs may be │ │ │ │ │ higher than the height returned here. │ │ │ │ │ If the X is the position you specify to draw text, the meaning of ascent and │ │ │ │ │ descent and the line height is like in the figure below. │ │ │ │ │ @@ -242,53 +232,46 @@ │ │ │ │ │ See also: al_get_text_width, al_get_text_dimensions │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_membmp.c │ │ │ │ │ * ex_mouse_warp.c │ │ │ │ │ ***** al_get_font_ascent ***** │ │ │ │ │ int al_get_font_ascent(const ALLEGRO_FONT *f) │ │ │ │ │ -int al_get_font_ascent(const ALLEGRO_FONT *f) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the ascent of the specified font. │ │ │ │ │ See also: al_get_font_descent, al_get_font_line_height │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_get_font_descent ***** │ │ │ │ │ int al_get_font_descent(const ALLEGRO_FONT *f) │ │ │ │ │ -int al_get_font_descent(const ALLEGRO_FONT *f) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the descent of the specified font. │ │ │ │ │ See also: al_get_font_ascent, al_get_font_line_height │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_get_text_width ***** │ │ │ │ │ int al_get_text_width(const ALLEGRO_FONT *f, const char *str) │ │ │ │ │ -int al_get_text_width(const ALLEGRO_FONT *f, const char *str) │ │ │ │ │ Source_Code │ │ │ │ │ Calculates the length of a string in a particular font, in pixels. │ │ │ │ │ See also: al_get_ustr_width, al_get_font_line_height, al_get_text_dimensions │ │ │ │ │ Examples: │ │ │ │ │ * ex_display_options.c │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_color_gradient.c │ │ │ │ │ ***** al_get_ustr_width ***** │ │ │ │ │ int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr) │ │ │ │ │ -int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_get_text_width but expects an ALLEGRO_USTR. │ │ │ │ │ See also: al_get_text_width, al_get_ustr_dimensions │ │ │ │ │ Examples: │ │ │ │ │ * nihgui.cpp │ │ │ │ │ ***** al_draw_text ***** │ │ │ │ │ void al_draw_text(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ char const *text) │ │ │ │ │ -void al_draw_text(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ - char const *text) │ │ │ │ │ Source_Code │ │ │ │ │ Writes the NUL-terminated string text onto the target bitmap at position x, y, │ │ │ │ │ using the specified font. │ │ │ │ │ The flags parameter can be 0 or one of the following flags: │ │ │ │ │ * ALLEGRO_ALIGN_LEFT - Draw the text left-aligned (same as 0). │ │ │ │ │ * ALLEGRO_ALIGN_CENTRE - Draw the text centered around the given position. │ │ │ │ │ * ALLEGRO_ALIGN_RIGHT - Draw the text right-aligned to the given position. │ │ │ │ │ @@ -303,32 +286,26 @@ │ │ │ │ │ * ex_disable_screensaver.c │ │ │ │ │ * ex_display_events.c │ │ │ │ │ * ex_membmp.c │ │ │ │ │ ***** al_draw_ustr ***** │ │ │ │ │ void al_draw_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ const ALLEGRO_USTR *ustr) │ │ │ │ │ -void al_draw_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ - const ALLEGRO_USTR *ustr) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_draw_text, except the text is passed as an ALLEGRO_USTR instead of a │ │ │ │ │ NUL-terminated char array. │ │ │ │ │ See also: al_draw_text, al_draw_justified_ustr, al_draw_multiline_ustr │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ * nihgui.cpp │ │ │ │ │ * ex_blend.c │ │ │ │ │ ***** al_draw_justified_text ***** │ │ │ │ │ void al_draw_justified_text(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ float y, float diff, int flags, const char *text) │ │ │ │ │ -void al_draw_justified_text(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ - float y, float diff, int flags, const char *text) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_draw_text, but justifies the string to the region x1-x2. │ │ │ │ │ The diff parameter is the maximum amount of horizontal space to allow between │ │ │ │ │ words. If justisfying the text would exceed diff pixels, or the string contains │ │ │ │ │ less than two words, then the string will be drawn left aligned. │ │ │ │ │ The flags parameter can be 0 or one of the following flags: │ │ │ │ │ * ALLEGRO_ALIGN_INTEGER - Draw text aligned to integer pixel positions. │ │ │ │ │ @@ -336,54 +313,42 @@ │ │ │ │ │ See also: al_draw_justified_textf, al_draw_justified_ustr │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ ***** al_draw_justified_ustr ***** │ │ │ │ │ void al_draw_justified_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ float y, float diff, int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ -void al_draw_justified_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ - float y, float diff, int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_draw_justified_text, except the text is passed as an ALLEGRO_USTR │ │ │ │ │ instead of a NUL-terminated char array. │ │ │ │ │ See also: al_draw_justified_text, al_draw_justified_textf. │ │ │ │ │ ***** al_draw_textf ***** │ │ │ │ │ void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, │ │ │ │ │ float x, float y, int flags, │ │ │ │ │ const char *format, ...) │ │ │ │ │ -void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, │ │ │ │ │ - float x, float y, int flags, │ │ │ │ │ - const char *format, ...) │ │ │ │ │ Source_Code │ │ │ │ │ Formatted text output, using a printf() style format string. All parameters │ │ │ │ │ have the same meaning as with al_draw_text otherwise. │ │ │ │ │ See also: al_draw_text, al_draw_ustr │ │ │ │ │ Examples: │ │ │ │ │ * ex_disable_screensaver.c │ │ │ │ │ * ex_display_events.c │ │ │ │ │ * ex_cpu.c │ │ │ │ │ ***** al_draw_justified_textf ***** │ │ │ │ │ void al_draw_justified_textf(const ALLEGRO_FONT *f, │ │ │ │ │ ALLEGRO_COLOR color, float x1, float x2, float y, │ │ │ │ │ float diff, int flags, const char *format, ...) │ │ │ │ │ -void al_draw_justified_textf(const ALLEGRO_FONT *f, │ │ │ │ │ - ALLEGRO_COLOR color, float x1, float x2, float y, │ │ │ │ │ - float diff, int flags, const char *format, ...) │ │ │ │ │ Source_Code │ │ │ │ │ Formatted text output, using a printf() style format string. All parameters │ │ │ │ │ have the same meaning as with al_draw_justified_text otherwise. │ │ │ │ │ See also: al_draw_justified_text, al_draw_justified_ustr. │ │ │ │ │ ***** al_get_text_dimensions ***** │ │ │ │ │ void al_get_text_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ char const *text, │ │ │ │ │ int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ -void al_get_text_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ - char const *text, │ │ │ │ │ - int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ Source_Code │ │ │ │ │ Sometimes, the al_get_text_width and al_get_font_line_height functions are not │ │ │ │ │ enough for exact text placement, so this function returns some additional │ │ │ │ │ information. │ │ │ │ │ Returned variables (all in pixels): │ │ │ │ │ * x, y - Offset to upper left corner of bounding box. │ │ │ │ │ * w, h - Dimensions of bounding box. │ │ │ │ │ @@ -393,30 +358,25 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ * ex_logo.c │ │ │ │ │ ***** al_get_ustr_dimensions ***** │ │ │ │ │ void al_get_ustr_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ ALLEGRO_USTR const *ustr, │ │ │ │ │ int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ -void al_get_ustr_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ - ALLEGRO_USTR const *ustr, │ │ │ │ │ - int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_get_text_dimensions, except the text is passed as an ALLEGRO_USTR │ │ │ │ │ instead of a NUL-terminated char array. │ │ │ │ │ See also: al_get_text_dimensions │ │ │ │ │ ***** al_get_allegro_font_version ***** │ │ │ │ │ uint32_t al_get_allegro_font_version(void) │ │ │ │ │ -uint32_t al_get_allegro_font_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ ***** al_get_font_ranges ***** │ │ │ │ │ int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges) │ │ │ │ │ -int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges) │ │ │ │ │ Source_Code │ │ │ │ │ Gets information about all glyphs contained in a font, as a list of ranges. │ │ │ │ │ Ranges have the same format as with al_grab_font_from_bitmap. │ │ │ │ │ ranges_count is the maximum number of ranges that will be returned. │ │ │ │ │ ranges should be an array with room for ranges_count * 2 elements. The even │ │ │ │ │ integers are the first unicode point in a range, the odd integers the last │ │ │ │ │ unicode point in a range. │ │ │ │ │ @@ -424,26 +384,24 @@ │ │ │ │ │ ranges_count). │ │ │ │ │ Since: 5.1.4 │ │ │ │ │ See also: al_grab_font_from_bitmap │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_set_fallback_font ***** │ │ │ │ │ void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback) │ │ │ │ │ -void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback) │ │ │ │ │ Source_Code │ │ │ │ │ Sets a font which is used instead if a character is not present. Can be │ │ │ │ │ chained, but make sure there is no loop as that would crash the application! │ │ │ │ │ Pass NULL to remove a fallback font again. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_get_fallback_font, al_draw_glyph, al_draw_text │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_get_fallback_font ***** │ │ │ │ │ ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font) │ │ │ │ │ -ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font) │ │ │ │ │ Source_Code │ │ │ │ │ Retrieves the fallback font for this font or NULL. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_set_fallback_font │ │ │ │ │ ****** Per glyph text handling ****** │ │ │ │ │ For some applications Allegro’s text drawing functions may not be sufficient. │ │ │ │ │ For example, you would like to give a different color to every letter in a │ │ │ │ │ @@ -455,17 +413,14 @@ │ │ │ │ │ per glyph functions have less overhead than Allegro’s per string text drawing │ │ │ │ │ and dimensioning functions. So, with these functions you can write your own │ │ │ │ │ efficient and precise custom text drawing functions. │ │ │ │ │ ***** al_draw_glyph ***** │ │ │ │ │ void al_draw_glyph(const ALLEGRO_FONT *f, ALLEGRO_COLOR color, float x, float │ │ │ │ │ y, │ │ │ │ │ int codepoint) │ │ │ │ │ -void al_draw_glyph(const ALLEGRO_FONT *f, ALLEGRO_COLOR color, float x, float │ │ │ │ │ -y, │ │ │ │ │ - int codepoint) │ │ │ │ │ Source_Code │ │ │ │ │ Draws the glyph that corresponds with codepoint in the given color using the │ │ │ │ │ given font. If font does not have such a glyph, nothing will be drawn. │ │ │ │ │ To draw a string as left to right horizontal text you will need to use │ │ │ │ │ al_get_glyph_advance to determine the position of each glyph. For drawing │ │ │ │ │ strings in other directions, such as top to down, use al_get_glyph_dimensions │ │ │ │ │ to determine the size and position of each glyph. │ │ │ │ │ @@ -476,26 +431,23 @@ │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_get_glyph_width, al_get_glyph_dimensions, al_get_glyph_advance. │ │ │ │ │ Examples: │ │ │ │ │ * ex_font.c │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_get_glyph_width ***** │ │ │ │ │ int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint) │ │ │ │ │ -int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint) │ │ │ │ │ Source_Code │ │ │ │ │ This function returns the width in pixels of the glyph that corresponds with │ │ │ │ │ codepoint in the font font. Returns zero if the font does not have such a │ │ │ │ │ glyph. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_draw_glyph, al_get_glyph_dimensions, al_get_glyph_advance. │ │ │ │ │ ***** al_get_glyph_dimensions ***** │ │ │ │ │ bool al_get_glyph_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ int codepoint, int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ -bool al_get_glyph_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ - int codepoint, int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ Source_Code │ │ │ │ │ Sometimes, the al_get_glyph_width or al_get_glyph_advance functions are not │ │ │ │ │ enough for exact glyph placement, so this function returns some additional │ │ │ │ │ information, particularly if you want to draw the font vertically. │ │ │ │ │ The function itself returns true if the character was present in font and false │ │ │ │ │ if the character was not present in font. │ │ │ │ │ Returned variables (all in pixel): │ │ │ │ │ @@ -535,15 +487,14 @@ │ │ │ │ │ +---+-------+ │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_draw_glyph, al_get_glyph_width, al_get_glyph_advance. │ │ │ │ │ Examples: │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_get_glyph_advance ***** │ │ │ │ │ int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2) │ │ │ │ │ -int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2) │ │ │ │ │ Source_Code │ │ │ │ │ This function returns by how much the x position should be advanced for left to │ │ │ │ │ right text drawing when the glyph that corresponds to codepoint1 has been │ │ │ │ │ drawn, and the glyph that corresponds to codepoint2 will be the next to be │ │ │ │ │ drawn. This takes into consideration the horizontal advance width of the glyph │ │ │ │ │ that corresponds with codepoint1 as well as the kerning between the glyphs of │ │ │ │ │ codepoint1 and codepoint2. │ │ │ │ │ @@ -601,17 +552,14 @@ │ │ │ │ │ * ex_font.c │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ****** Multiline text drawing ****** │ │ │ │ │ ***** al_draw_multiline_text ***** │ │ │ │ │ void al_draw_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ int flags, const char *text) │ │ │ │ │ -void al_draw_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ - int flags, const char *text) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_draw_text, but this function supports drawing multiple lines of text. │ │ │ │ │ It will break text in lines based on its contents and the max_width parameter. │ │ │ │ │ The lines are then layed out vertically depending on the line_height parameter │ │ │ │ │ and drawn each as if al_draw_text was called on them. │ │ │ │ │ A newline \n in the text will cause a “hard” line break after its │ │ │ │ │ occurrence in the string. The text after a hard break is placed on a new line. │ │ │ │ │ @@ -641,45 +589,35 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_resize2.c │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ ***** al_draw_multiline_ustr ***** │ │ │ │ │ void al_draw_multiline_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ -void al_draw_multiline_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ - int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_draw_multiline_text, except the text is passed as an ALLEGRO_USTR │ │ │ │ │ instead of a NUL-terminated char array. │ │ │ │ │ Since: 5.1.9 │ │ │ │ │ See also: al_draw_multiline_text, al_draw_multiline_textf, al_do_multiline_text │ │ │ │ │ ***** al_draw_multiline_textf ***** │ │ │ │ │ void al_draw_multiline_textf(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ int flags, const char *format, ...) │ │ │ │ │ -void al_draw_multiline_textf(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ - int flags, const char *format, ...) │ │ │ │ │ Source_Code │ │ │ │ │ Formatted text output, using a printf() style format string. All parameters │ │ │ │ │ have the same meaning as with al_draw_multiline_text otherwise. │ │ │ │ │ Since: 5.1.9 │ │ │ │ │ See also: al_draw_multiline_text, al_draw_multiline_ustr, al_do_multiline_text │ │ │ │ │ Examples: │ │ │ │ │ * ex_resize2.c │ │ │ │ │ ***** al_do_multiline_text ***** │ │ │ │ │ void al_do_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ float max_width, const char *text, │ │ │ │ │ bool (*cb)(int line_num, const char *line, int size, void *extra), │ │ │ │ │ void *extra) │ │ │ │ │ -void al_do_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ - float max_width, const char *text, │ │ │ │ │ - bool (*cb)(int line_num, const char *line, int size, void *extra), │ │ │ │ │ - void *extra) │ │ │ │ │ Source_Code │ │ │ │ │ This function processes the text and splits it into lines as │ │ │ │ │ al_draw_multiline_text would, and then calls the callback cb once for every │ │ │ │ │ line. This is useful for custom drawing of multiline text, or for calculating │ │ │ │ │ the size of multiline text ahead of time. See the documentation on │ │ │ │ │ al_draw_multiline_text for an explanation of the splitting algorithm. │ │ │ │ │ For every line that this function splits text into the callback cb will be │ │ │ │ │ @@ -701,29 +639,23 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ ***** al_do_multiline_ustr ***** │ │ │ │ │ void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width, │ │ │ │ │ const ALLEGRO_USTR *ustr, │ │ │ │ │ bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra), │ │ │ │ │ void *extra) │ │ │ │ │ -void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width, │ │ │ │ │ - const ALLEGRO_USTR *ustr, │ │ │ │ │ - bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra), │ │ │ │ │ - void *extra) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_do_multiline_text, but using ALLEGRO_USTR instead of a NUL-terminated │ │ │ │ │ char array for text. │ │ │ │ │ Since: 5.1.9 │ │ │ │ │ See also: al_draw_multiline_ustr │ │ │ │ │ ****** Bitmap fonts ****** │ │ │ │ │ ***** al_grab_font_from_bitmap ***** │ │ │ │ │ ALLEGRO_FONT *al_grab_font_from_bitmap(ALLEGRO_BITMAP *bmp, │ │ │ │ │ int ranges_n, const int ranges[]) │ │ │ │ │ -ALLEGRO_FONT *al_grab_font_from_bitmap(ALLEGRO_BITMAP *bmp, │ │ │ │ │ - int ranges_n, const int ranges[]) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a new font from an Allegro bitmap. You can delete the bitmap after the │ │ │ │ │ function returns as the font will contain a copy for itself. │ │ │ │ │ Parameters: │ │ │ │ │ * bmp: The bitmap with the glyphs drawn onto it │ │ │ │ │ * n: Number of unicode ranges in the bitmap. │ │ │ │ │ * ranges: ‘n’ pairs of first and last unicode point to map glyphs to │ │ │ │ │ @@ -767,38 +699,35 @@ │ │ │ │ │ characters found in the Allegro 4 font.) │ │ │ │ │ See also: al_load_bitmap, al_grab_font_from_bitmap │ │ │ │ │ Examples: │ │ │ │ │ * ex_font.c │ │ │ │ │ * ex_ttf.c │ │ │ │ │ ***** al_load_bitmap_font ***** │ │ │ │ │ ALLEGRO_FONT *al_load_bitmap_font(const char *fname) │ │ │ │ │ -ALLEGRO_FONT *al_load_bitmap_font(const char *fname) │ │ │ │ │ Source_Code │ │ │ │ │ Load a bitmap font from a file. This is done by first calling │ │ │ │ │ al_load_bitmap_flags and then al_grab_font_from_bitmap. │ │ │ │ │ If you wanted to load an old A4 font, for example, it would be better to load │ │ │ │ │ the bitmap yourself in order to call al_convert_mask_to_alpha on it before │ │ │ │ │ passing it to al_grab_font_from_bitmap. │ │ │ │ │ See also: al_load_bitmap_font_flags, al_load_font, al_load_bitmap_flags │ │ │ │ │ Examples: │ │ │ │ │ * ex_bitmap_flip.c │ │ │ │ │ * ex_mouse_cursor.c │ │ │ │ │ * ex_record_name.c │ │ │ │ │ ***** al_load_bitmap_font_flags ***** │ │ │ │ │ ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_load_bitmap_font but additionally takes a flags parameter which is a │ │ │ │ │ bitfield containing a combination of the following: │ │ │ │ │ ALLEGRO_NO_PREMULTIPLIED_ALPHA │ │ │ │ │ The same meaning as for al_load_bitmap_flags. │ │ │ │ │ See also: al_load_bitmap_font, al_load_bitmap_flags │ │ │ │ │ ***** al_create_builtin_font ***** │ │ │ │ │ ALLEGRO_FONT *al_create_builtin_font(void) │ │ │ │ │ -ALLEGRO_FONT *al_create_builtin_font(void) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a monochrome bitmap font (8x8 pixels per character). │ │ │ │ │ This font is primarily intended to be used for displaying information in │ │ │ │ │ environments or during early runtime states where no external font data is │ │ │ │ │ available or loaded (e.g. for debugging). │ │ │ │ │ The builtin font contains the following unicode character ranges: │ │ │ │ │ 0x0020 to 0x007F (ASCII) │ │ │ │ │ @@ -816,38 +745,34 @@ │ │ │ │ │ * ex_cpu.c │ │ │ │ │ ****** TTF fonts ****** │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_ttf. │ │ │ │ │ #include │ │ │ │ │ ***** al_init_ttf_addon ***** │ │ │ │ │ bool al_init_ttf_addon(void) │ │ │ │ │ -bool al_init_ttf_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Call this after al_init_font_addon to make al_load_font recognize “.ttf” │ │ │ │ │ and other formats supported by al_load_ttf_font. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ * ex_color.cpp │ │ │ │ │ ***** al_is_ttf_addon_initialized ***** │ │ │ │ │ bool al_is_ttf_addon_initialized(void) │ │ │ │ │ -bool al_is_ttf_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the TTF addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ See also: al_init_ttf_addon, al_shutdown_ttf_addon │ │ │ │ │ ***** al_shutdown_ttf_addon ***** │ │ │ │ │ void al_shutdown_ttf_addon(void) │ │ │ │ │ -void al_shutdown_ttf_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Unloads the ttf addon again. You normally don’t need to call this. │ │ │ │ │ ***** al_load_ttf_font ***** │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Loads a TrueType font from a file using the FreeType library. Quoting from the │ │ │ │ │ FreeType FAQ this means support for many different font formats: │ │ │ │ │ TrueType, OpenType, Type1, CID, CFF, Windows FON/FNT, X11 PCF, and others │ │ │ │ │ The size parameter determines the size the font will be rendered at, specified │ │ │ │ │ in pixels. The standard font size is measured in units per EM, if you instead │ │ │ │ │ want to specify the size as the total height of glyphs in pixels, pass it as a │ │ │ │ │ @@ -865,27 +790,23 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_bitmap_flip.c │ │ │ │ │ * ex_synth.cpp │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_load_ttf_font_f ***** │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file, │ │ │ │ │ char const *filename, int size, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file, │ │ │ │ │ - char const *filename, int size, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_load_ttf_font, but the font is read from the file handle. The filename │ │ │ │ │ is only used to find possible additional files next to a font file. │ │ │ │ │ Note: The file handle is owned by the returned ALLEGRO_FONT object │ │ │ │ │ and must not be freed by the caller, as FreeType expects to be able │ │ │ │ │ to read from it at a later time. │ │ │ │ │ ***** al_load_ttf_font_stretch ***** │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h, │ │ │ │ │ int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h, │ │ │ │ │ - int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_load_ttf_font, except it takes separate width and height parameters │ │ │ │ │ instead of a single size parameter. │ │ │ │ │ If the height is a positive value, and the width zero or positive, then font │ │ │ │ │ will be stretched according to those parameters. The width must not be negative │ │ │ │ │ if the height is positive. │ │ │ │ │ As with al_load_ttf_font, the height may be a negative value to specify the │ │ │ │ │ @@ -893,41 +814,36 @@ │ │ │ │ │ Returns NULL if the height is positive while width is negative, or if the │ │ │ │ │ height is negative while the width is positive. │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_load_ttf_font, al_load_ttf_font_stretch_f │ │ │ │ │ ***** al_load_ttf_font_stretch_f ***** │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_stretch_f(ALLEGRO_FILE *file, │ │ │ │ │ char const *filename, int w, int h, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_stretch_f(ALLEGRO_FILE *file, │ │ │ │ │ - char const *filename, int w, int h, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_load_ttf_font_stretch, but the font is read from the file handle. The │ │ │ │ │ filename is only used to find possible additional files next to a font file. │ │ │ │ │ Note: The file handle is owned by the returned ALLEGRO_FONT object │ │ │ │ │ and must not be freed by the caller, as FreeType expects to be able │ │ │ │ │ to read from it at a later time. │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_load_ttf_font_stretch │ │ │ │ │ ***** al_get_allegro_ttf_version ***** │ │ │ │ │ uint32_t al_get_allegro_ttf_version(void) │ │ │ │ │ -uint32_t al_get_allegro_ttf_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ ***** al_get_glyph ***** │ │ │ │ │ bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, │ │ │ │ │ ALLEGRO_GLYPH *glyph) │ │ │ │ │ -bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, │ │ │ │ │ -ALLEGRO_GLYPH *glyph) │ │ │ │ │ Source_Code │ │ │ │ │ Gets all the information about a glyph, including the bitmap, needed to draw it │ │ │ │ │ yourself. prev_codepoint is the codepoint in the string before the one you want │ │ │ │ │ to draw and is used for kerning. codepoint is the character you want to get │ │ │ │ │ info about. You should clear the ‘glyph’ structure to 0 with memset before │ │ │ │ │ passing it to this function for future compatibility. │ │ │ │ │ Since: 5.2.1 │ │ │ │ │ Unstable_API: This API is new and subject to refinement. │ │ │ │ │ See also: ALLEGRO_GLYPH │ │ │ │ │ Examples: │ │ │ │ │ * ex_font.c │ │ │ │ │ * ex_ttf.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:15 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/fshook.html │ │ │ │ @@ -206,16 +206,15 @@ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    These functions allow access to the filesystem. This can either be │ │ │ │ the real filesystem like your harddrive, or a virtual filesystem like a │ │ │ │ .zip archive (or whatever else you or an addon makes it do).

    │ │ │ │

    ALLEGRO_FS_ENTRY

    │ │ │ │ -
    typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY;
    │ │ │ │ -typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY;
    │ │ │ │ +
    typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Opaque filesystem entry object. Represents a file or a directory │ │ │ │ (check with al_get_fs_entry_mode). There │ │ │ │ are no user accessible member variables.

    │ │ │ │ @@ -223,16 +222,15 @@ │ │ │ │ │ │ │ │

    ALLEGRO_FILE_MODE

    │ │ │ │ -
    typedef enum ALLEGRO_FILE_MODE
    │ │ │ │ -typedef enum ALLEGRO_FILE_MODE
    │ │ │ │ +
    typedef enum ALLEGRO_FILE_MODE
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Filesystem modes/types

    │ │ │ │
      │ │ │ │
    • ALLEGRO_FILEMODE_READ - Readable
    • │ │ │ │
    • ALLEGRO_FILEMODE_WRITE - Writable
    • │ │ │ │ @@ -557,16 +555,15 @@ │ │ │ │ entry, but uses the appropriate file interface, not whatever was set │ │ │ │ with the latest call to al_set_new_file_interface.

      │ │ │ │

      Returns the handle on success, NULL on error.

      │ │ │ │

      See also: al_fopen

      │ │ │ │

      ALLEGRO_FOR_EACH_FS_ENTRY_RESULT

      │ │ │ │ -
      typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT {
      │ │ │ │ -typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT {
      │ │ │ │ +
      typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT {
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Return values for the callbacks of al_for_each_fs_entry and for │ │ │ │ that function itself.

      │ │ │ │
        │ │ │ │ @@ -645,16 +642,15 @@ │ │ │ │

        By default, Allegro uses platform specific filesystem functions for │ │ │ │ things like directory access. However if for example the files of your │ │ │ │ game are not in the local filesystem but inside some file archive, you │ │ │ │ can provide your own set of functions (or use an addon which does this │ │ │ │ for you, for example our physfs addon allows access to the most common │ │ │ │ archive formats).

        │ │ │ │

        ALLEGRO_FS_INTERFACE

        │ │ │ │ -
        typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE;
        │ │ │ │ -typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE;
        │ │ │ │ +
        typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE;
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        The available functions you can provide for a filesystem. They │ │ │ │ are:

        │ │ │ │
           ALLEGRO_FS_ENTRY *  fs_create_entry   (const char *path);
        │ │ │ │     void                fs_destroy_entry  (ALLEGRO_FS_ENTRY *e);
        │ │ │ │ @@ -709,12 +705,12 @@
        │ │ │ │  

        Return a pointer to the ALLEGRO_FS_INTERFACE table │ │ │ │ in effect for the calling thread.

        │ │ │ │

        See also: al_store_state, al_restore_state.

        │ │ │ │

        │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:11 UTC │ │ │ │

        │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -80,24 +80,22 @@ │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ These functions allow access to the filesystem. This can either be the real │ │ │ │ │ filesystem like your harddrive, or a virtual filesystem like a .zip archive (or │ │ │ │ │ whatever else you or an addon makes it do). │ │ │ │ │ ****** ALLEGRO_FS_ENTRY ****** │ │ │ │ │ typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY; │ │ │ │ │ -typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY; │ │ │ │ │ Source_Code │ │ │ │ │ Opaque filesystem entry object. Represents a file or a directory (check with │ │ │ │ │ al_get_fs_entry_mode). There are no user accessible member variables. │ │ │ │ │ Examples: │ │ │ │ │ * ex_dir.c │ │ │ │ │ * ex_physfs.c │ │ │ │ │ ****** ALLEGRO_FILE_MODE ****** │ │ │ │ │ typedef enum ALLEGRO_FILE_MODE │ │ │ │ │ -typedef enum ALLEGRO_FILE_MODE │ │ │ │ │ Source_Code │ │ │ │ │ Filesystem modes/types │ │ │ │ │ * ALLEGRO_FILEMODE_READ - Readable │ │ │ │ │ * ALLEGRO_FILEMODE_WRITE - Writable │ │ │ │ │ * ALLEGRO_FILEMODE_EXECUTE - Executable │ │ │ │ │ * ALLEGRO_FILEMODE_HIDDEN - Hidden │ │ │ │ │ * ALLEGRO_FILEMODE_ISFILE - Regular file │ │ │ │ │ @@ -285,15 +283,14 @@ │ │ │ │ │ This is like calling al_fopen with the name of the filesystem entry, but uses │ │ │ │ │ the appropriate file interface, not whatever was set with the latest call to │ │ │ │ │ al_set_new_file_interface. │ │ │ │ │ Returns the handle on success, NULL on error. │ │ │ │ │ See also: al_fopen │ │ │ │ │ ***** ALLEGRO_FOR_EACH_FS_ENTRY_RESULT ***** │ │ │ │ │ typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT { │ │ │ │ │ -typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT { │ │ │ │ │ Source_Code │ │ │ │ │ Return values for the callbacks of al_for_each_fs_entry and for that function │ │ │ │ │ itself. │ │ │ │ │ * ALLEGRO_FOR_EACH_FS_ENTRY_ERROR - An error ocurred. │ │ │ │ │ * ALLEGRO_FOR_EACH_FS_ENTRY_OK - Continue normally and recurse into │ │ │ │ │ directories. │ │ │ │ │ * ALLEGRO_FOR_EACH_FS_ENTRY_SKIP - Continue but do NOT recusively descend. │ │ │ │ │ @@ -340,15 +337,14 @@ │ │ │ │ │ By default, Allegro uses platform specific filesystem functions for things like │ │ │ │ │ directory access. However if for example the files of your game are not in the │ │ │ │ │ local filesystem but inside some file archive, you can provide your own set of │ │ │ │ │ functions (or use an addon which does this for you, for example our physfs │ │ │ │ │ addon allows access to the most common archive formats). │ │ │ │ │ ***** ALLEGRO_FS_INTERFACE ***** │ │ │ │ │ typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE; │ │ │ │ │ -typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE; │ │ │ │ │ Source_Code │ │ │ │ │ The available functions you can provide for a filesystem. They are: │ │ │ │ │ ALLEGRO_FS_ENTRY * fs_create_entry (const char *path); │ │ │ │ │ void fs_destroy_entry (ALLEGRO_FS_ENTRY *e); │ │ │ │ │ const char * fs_entry_name (ALLEGRO_FS_ENTRY *e); │ │ │ │ │ bool fs_update_entry (ALLEGRO_FS_ENTRY *e); │ │ │ │ │ uint32_t fs_entry_mode (ALLEGRO_FS_ENTRY *e); │ │ │ │ │ @@ -382,8 +378,8 @@ │ │ │ │ │ See also: al_set_fs_interface. │ │ │ │ │ ***** al_get_fs_interface ***** │ │ │ │ │ const ALLEGRO_FS_INTERFACE *al_get_fs_interface(void) │ │ │ │ │ Source_Code │ │ │ │ │ Return a pointer to the ALLEGRO_FS_INTERFACE table in effect for the calling │ │ │ │ │ thread. │ │ │ │ │ See also: al_store_state, al_restore_state. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:11 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html │ │ │ │ @@ -169,16 +169,15 @@ │ │ │ │
      • al_get_num_display_modes
      • │ │ │ │
      │ │ │ │ │ │ │ │

      These functions are declared in the main Allegro header file:

      │ │ │ │
       #include <allegro5/allegro.h>
      │ │ │ │

      ALLEGRO_DISPLAY_MODE

      │ │ │ │ -
      typedef struct ALLEGRO_DISPLAY_MODE
      │ │ │ │ -typedef struct ALLEGRO_DISPLAY_MODE
      │ │ │ │ +
      typedef struct ALLEGRO_DISPLAY_MODE
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Used for fullscreen mode queries. Contains information about a │ │ │ │ supported fullscreen modes.

      │ │ │ │
      typedef struct ALLEGRO_DISPLAY_MODE {
      │ │ │ │     int width;          // Screen width
      │ │ │ │ @@ -243,12 +242,12 @@
      │ │ │ │  
    • ex_monitorinfo.c
    • │ │ │ │
    • ex_display_options.c
    • │ │ │ │
    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:11 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -50,15 +50,14 @@ │ │ │ │ │ * ALLEGRO_DISPLAY_MODE │ │ │ │ │ * al_get_display_mode │ │ │ │ │ * al_get_num_display_modes │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_DISPLAY_MODE ****** │ │ │ │ │ typedef struct ALLEGRO_DISPLAY_MODE │ │ │ │ │ -typedef struct ALLEGRO_DISPLAY_MODE │ │ │ │ │ Source_Code │ │ │ │ │ Used for fullscreen mode queries. Contains information about a supported │ │ │ │ │ fullscreen modes. │ │ │ │ │ typedef struct ALLEGRO_DISPLAY_MODE { │ │ │ │ │ int width; // Screen width │ │ │ │ │ int height; // Screen height │ │ │ │ │ int format; // The pixel format of the mode │ │ │ │ │ @@ -91,8 +90,8 @@ │ │ │ │ │ al_set_new_display_refresh_rate, and al_set_new_display_flags 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. │ │ │ │ │ See also: al_get_display_mode │ │ │ │ │ Examples: │ │ │ │ │ * ex_monitorinfo.c │ │ │ │ │ * ex_display_options.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:11 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/getting_started.html │ │ │ │ @@ -327,12 +327,12 @@ │ │ │ │ href="system.html#al_init">al_init becomes more scrict. See │ │ │ │ documentation of those functions for details.

    │ │ │ │

    Not the end

    │ │ │ │

    There’s a heap of stuff we haven’t even mentioned yet.

    │ │ │ │

    Enjoy!

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:53 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:08 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -195,8 +195,8 @@ │ │ │ │ │ including Allegro’s headers. │ │ │ │ │ Note that when you define that macro, the version check performed by │ │ │ │ │ al_install_system and al_init becomes more scrict. See documentation of those │ │ │ │ │ functions for details. │ │ │ │ │ ****** Not the end ****** │ │ │ │ │ There’s a heap of stuff we haven’t even mentioned yet. │ │ │ │ │ Enjoy! │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:53 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:08 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/graphics.html │ │ │ │ @@ -347,16 +347,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    Colors

    │ │ │ │

    ALLEGRO_COLOR

    │ │ │ │ -
    typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
    │ │ │ │ -typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
    │ │ │ │ +
    typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An ALLEGRO_COLOR structure describes a color in a device independent │ │ │ │ way. Use al_map_rgb et al. and al_unmap_rgb et al. to translate │ │ │ │ from and to various color representations.

    │ │ │ │ @@ -584,16 +583,15 @@ │ │ │ │
  • ex_blend_test.c
  • │ │ │ │
  • ex_logo.c
  • │ │ │ │ │ │ │ │

    Locking and pixel formats

    │ │ │ │

    ALLEGRO_LOCKED_REGION

    │ │ │ │ -
    typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION;
    │ │ │ │ -typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION;
    │ │ │ │ +
    typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Users who wish to manually edit or read from a bitmap are required to │ │ │ │ lock it first. The ALLEGRO_LOCKED_REGION structure represents the locked │ │ │ │ region of the bitmap. This call will work with any bitmap, including │ │ │ │ memory bitmaps.

    │ │ │ │ @@ -630,16 +628,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_lockbitmap.c#L21">ex_lockbitmap.c │ │ │ │
  • ex_premulalpha.c
  • │ │ │ │
  • ex_multisample.c
  • │ │ │ │ │ │ │ │

    ALLEGRO_PIXEL_FORMAT

    │ │ │ │ -
    typedef enum ALLEGRO_PIXEL_FORMAT
    │ │ │ │ -typedef enum ALLEGRO_PIXEL_FORMAT
    │ │ │ │ +
    typedef enum ALLEGRO_PIXEL_FORMAT
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Pixel formats. Each pixel format specifies the exact size and bit │ │ │ │ layout of a pixel in memory. Components are specified from high bits to │ │ │ │ low bits, so for example a fully opaque red pixel in ARGB_8888 format is │ │ │ │ 0xFFFF0000.

    │ │ │ │ @@ -992,16 +989,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    Bitmap creation

    │ │ │ │

    ALLEGRO_BITMAP

    │ │ │ │ -
    typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP;
    │ │ │ │ -typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP;
    │ │ │ │ +
    typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Abstract type representing a bitmap (2D image).

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • │ │ │ │

      Unstable │ │ │ │ API: This is an experimental feature.

      │ │ │ │ │ │ │ │

      See also: ALLEGRO_BITMAP_WRAP

      │ │ │ │

      ALLEGRO_BITMAP_WRAP

      │ │ │ │ -
      typedef enum ALLEGRO_BITMAP_WRAP {
      │ │ │ │ -typedef enum ALLEGRO_BITMAP_WRAP {
      │ │ │ │ +
      typedef enum ALLEGRO_BITMAP_WRAP {
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Controls the how the pixel color is determined from a texture │ │ │ │ querying the texture coordinates are outside the usual bounds.

      │ │ │ │
        │ │ │ │
      • ALLEGRO_BITMAP_WRAP_DEFAULT - The default behavior. This │ │ │ │ @@ -3208,16 +3203,15 @@ │ │ │ │

        See also: al_init_image_addon, al_identify_bitmap, al_register_bitmap_identifier

        │ │ │ │

        Render State

        │ │ │ │

        ALLEGRO_RENDER_STATE

        │ │ │ │
        typedef enum ALLEGRO_RENDER_STATE {
        │ │ │ │ -typedef enum ALLEGRO_RENDER_STATE {
        │ │ │ │ +class="sourceCode c">typedef enum ALLEGRO_RENDER_STATE { │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Possible render states which can be set with al_set_render_state:

        │ │ │ │
        │ │ │ │
        ALLEGRO_ALPHA_TEST
        │ │ │ │ @@ -3265,16 +3259,15 @@ │ │ │ │

        See also: al_set_render_state, ALLEGRO_RENDER_FUNCTION, │ │ │ │ ALLEGRO_WRITE_MASK_FLAGS

        │ │ │ │

        ALLEGRO_RENDER_FUNCTION

        │ │ │ │
        typedef enum ALLEGRO_RENDER_FUNCTION {
        │ │ │ │ -typedef enum ALLEGRO_RENDER_FUNCTION {
        │ │ │ │ +class="sourceCode c">typedef enum ALLEGRO_RENDER_FUNCTION { │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Possible functions are:

        │ │ │ │
          │ │ │ │
        • ALLEGRO_RENDER_NEVER
        • │ │ │ │
        • ALLEGRO_RENDER_ALWAYS
        • │ │ │ │ @@ -3288,16 +3281,15 @@ │ │ │ │
        • ALLEGRO_RENDER_GREATER_EQUAL
        • │ │ │ │
        │ │ │ │

        Since: 5.1.2

        │ │ │ │

        See also: al_set_render_state

        │ │ │ │

        ALLEGRO_WRITE_MASK_FLAGS

        │ │ │ │
        typedef enum ALLEGRO_WRITE_MASK_FLAGS {
        │ │ │ │ -typedef enum ALLEGRO_WRITE_MASK_FLAGS {
        │ │ │ │ +class="sourceCode c">typedef enum ALLEGRO_WRITE_MASK_FLAGS { │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Each enabled bit means the corresponding value is written, a disabled │ │ │ │ bit means it is not.

        │ │ │ │
          │ │ │ │
        • ALLEGRO_MASK_RED
        • │ │ │ │ @@ -3372,12 +3364,12 @@ │ │ │ │

          Unstable │ │ │ │ API: This API is new and subject to refinement.

          │ │ │ │ │ │ │ │

          See also: al_backup_dirty_bitmap

          │ │ │ │

          │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:11 UTC │ │ │ │

          │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -174,15 +174,14 @@ │ │ │ │ │ o al_backup_dirty_bitmap │ │ │ │ │ o al_backup_dirty_bitmaps │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** Colors ****** │ │ │ │ │ ***** ALLEGRO_COLOR ***** │ │ │ │ │ typedef struct ALLEGRO_COLOR ALLEGRO_COLOR; │ │ │ │ │ -typedef struct ALLEGRO_COLOR ALLEGRO_COLOR; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_COLOR structure describes a color in a device independent way. Use │ │ │ │ │ al_map_rgb et al. and al_unmap_rgb et al. to translate from and to various │ │ │ │ │ color representations. │ │ │ │ │ Examples: │ │ │ │ │ * ex_keyboard_focus.c │ │ │ │ │ * ex_nodisplay.c │ │ │ │ │ @@ -311,15 +310,14 @@ │ │ │ │ │ See also: al_unmap_rgba, al_unmap_rgb, al_unmap_rgb_f │ │ │ │ │ Examples: │ │ │ │ │ * ex_blend_test.c │ │ │ │ │ * ex_logo.c │ │ │ │ │ ****** Locking and pixel formats ****** │ │ │ │ │ ***** ALLEGRO_LOCKED_REGION ***** │ │ │ │ │ typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION; │ │ │ │ │ -typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION; │ │ │ │ │ Source_Code │ │ │ │ │ Users who wish to manually edit or read from a bitmap are required to lock it │ │ │ │ │ first. The ALLEGRO_LOCKED_REGION structure represents the locked region of the │ │ │ │ │ bitmap. This call will work with any bitmap, including memory bitmaps. │ │ │ │ │ typedef struct ALLEGRO_LOCKED_REGION { │ │ │ │ │ void *data; │ │ │ │ │ int format; │ │ │ │ │ @@ -344,15 +342,14 @@ │ │ │ │ │ ALLEGRO_PIXEL_FORMAT │ │ │ │ │ Examples: │ │ │ │ │ * ex_lockbitmap.c │ │ │ │ │ * ex_premulalpha.c │ │ │ │ │ * ex_multisample.c │ │ │ │ │ ***** ALLEGRO_PIXEL_FORMAT ***** │ │ │ │ │ typedef enum ALLEGRO_PIXEL_FORMAT │ │ │ │ │ -typedef enum ALLEGRO_PIXEL_FORMAT │ │ │ │ │ Source_Code │ │ │ │ │ Pixel formats. Each pixel format specifies the exact size and bit layout of a │ │ │ │ │ pixel in memory. Components are specified from high bits to low bits, so for │ │ │ │ │ example a fully opaque red pixel in ARGB_8888 format is 0xFFFF0000. │ │ │ │ │ Note: │ │ │ │ │ The pixel format is independent of endianness. That is, in the above │ │ │ │ │ example you can always get the red component with │ │ │ │ │ @@ -587,15 +584,14 @@ │ │ │ │ │ Since: 5.1.9 │ │ │ │ │ See also: al_lock_bitmap_region, al_lock_bitmap_blocked │ │ │ │ │ Examples: │ │ │ │ │ * ex_compressed.c │ │ │ │ │ ****** Bitmap creation ****** │ │ │ │ │ ***** ALLEGRO_BITMAP ***** │ │ │ │ │ typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP; │ │ │ │ │ -typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP; │ │ │ │ │ Source_Code │ │ │ │ │ Abstract type representing a bitmap (2D image). │ │ │ │ │ Examples: │ │ │ │ │ * ex_convert.c │ │ │ │ │ * ex_nodisplay.c │ │ │ │ │ * ex_opengl_pixel_shader.c │ │ │ │ │ ***** al_create_bitmap ***** │ │ │ │ │ @@ -913,15 +909,14 @@ │ │ │ │ │ Returns the value currently set with al_set_new_bitmap_wrap on the current │ │ │ │ │ thread. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ Unstable_API: This is an experimental feature. │ │ │ │ │ See also: ALLEGRO_BITMAP_WRAP │ │ │ │ │ ***** ALLEGRO_BITMAP_WRAP ***** │ │ │ │ │ typedef enum ALLEGRO_BITMAP_WRAP { │ │ │ │ │ -typedef enum ALLEGRO_BITMAP_WRAP { │ │ │ │ │ Source_Code │ │ │ │ │ Controls the how the pixel color is determined from a texture querying the │ │ │ │ │ texture coordinates are outside the usual bounds. │ │ │ │ │ * ALLEGRO_BITMAP_WRAP_DEFAULT - The default behavior. This corresponds to │ │ │ │ │ ALLEGRO_BITMAP_WRAP_REPEAT when using the primitives addon and │ │ │ │ │ ALLEGRO_BITMAP_WRAP_CLAMP otherwise. │ │ │ │ │ * ALLEGRO_BITMAP_WRAP_REPEAT - The texture coordinates get shifted to the │ │ │ │ │ @@ -1945,15 +1940,14 @@ │ │ │ │ │ if the bitmap type cannot be determined. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_init_image_addon, al_identify_bitmap, │ │ │ │ │ al_register_bitmap_identifier │ │ │ │ │ ****** Render State ****** │ │ │ │ │ ***** ALLEGRO_RENDER_STATE ***** │ │ │ │ │ typedef enum ALLEGRO_RENDER_STATE { │ │ │ │ │ -typedef enum ALLEGRO_RENDER_STATE { │ │ │ │ │ Source_Code │ │ │ │ │ Possible render states which can be set with al_set_render_state: │ │ │ │ │ ALLEGRO_ALPHA_TEST │ │ │ │ │ If this is set to 1, the values of ALLEGRO_ALPHA_FUNCTION and │ │ │ │ │ ALLEGRO_ALPHA_TEST_VALUE define a comparison function which is performed │ │ │ │ │ on the alpha component of each pixel. Only if it evaluates to true the │ │ │ │ │ pixel is written. Otherwise no subsequent processing (like depth test or │ │ │ │ │ @@ -1976,30 +1970,28 @@ │ │ │ │ │ ALLEGRO_DEPTH_FUNCTION │ │ │ │ │ One of ALLEGRO_RENDER_FUNCTION, only used when ALLEGRO_DEPTH_TEST is 1. │ │ │ │ │ Since: 5.1.2 │ │ │ │ │ See also: al_set_render_state, ALLEGRO_RENDER_FUNCTION, │ │ │ │ │ ALLEGRO_WRITE_MASK_FLAGS │ │ │ │ │ ***** ALLEGRO_RENDER_FUNCTION ***** │ │ │ │ │ typedef enum ALLEGRO_RENDER_FUNCTION { │ │ │ │ │ -typedef enum ALLEGRO_RENDER_FUNCTION { │ │ │ │ │ Source_Code │ │ │ │ │ Possible functions are: │ │ │ │ │ * ALLEGRO_RENDER_NEVER │ │ │ │ │ * ALLEGRO_RENDER_ALWAYS │ │ │ │ │ * ALLEGRO_RENDER_LESS │ │ │ │ │ * ALLEGRO_RENDER_EQUAL │ │ │ │ │ * ALLEGRO_RENDER_LESS_EQUAL │ │ │ │ │ * ALLEGRO_RENDER_GREATER │ │ │ │ │ * ALLEGRO_RENDER_NOT_EQUAL │ │ │ │ │ * ALLEGRO_RENDER_GREATER_EQUAL │ │ │ │ │ Since: 5.1.2 │ │ │ │ │ See also: al_set_render_state │ │ │ │ │ ***** ALLEGRO_WRITE_MASK_FLAGS ***** │ │ │ │ │ typedef enum ALLEGRO_WRITE_MASK_FLAGS { │ │ │ │ │ -typedef enum ALLEGRO_WRITE_MASK_FLAGS { │ │ │ │ │ Source_Code │ │ │ │ │ Each enabled bit means the corresponding value is written, a disabled bit means │ │ │ │ │ it is not. │ │ │ │ │ * ALLEGRO_MASK_RED │ │ │ │ │ * ALLEGRO_MASK_GREEN │ │ │ │ │ * ALLEGRO_MASK_BLUE │ │ │ │ │ * ALLEGRO_MASK_ALPHA │ │ │ │ │ @@ -2037,8 +2029,8 @@ │ │ │ │ │ ***** al_backup_dirty_bitmaps ***** │ │ │ │ │ void al_backup_dirty_bitmaps(ALLEGRO_DISPLAY *display) │ │ │ │ │ Source_Code │ │ │ │ │ Backs up all of a display’s bitmaps to system memory. │ │ │ │ │ Since: 5.2.1 │ │ │ │ │ Unstable_API: This API is new and subject to refinement. │ │ │ │ │ See also: al_backup_dirty_bitmap │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:11 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/haptic.html │ │ │ │ @@ -222,16 +222,15 @@ │ │ │ │ file:

          │ │ │ │
           #include <allegro5/allegro.h>
          │ │ │ │

          Currently force feedback is fully supported on Linux and on Windows │ │ │ │ for DirectInput compatible devices. There is also minimal support for │ │ │ │ Android. It is not yet supported on OSX, iOS, or on Windows for XInput │ │ │ │ compatible devices.

          │ │ │ │

          ALLEGRO_HAPTIC

          │ │ │ │ -
          typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC;
          │ │ │ │ -typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC;
          │ │ │ │ +
          typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC;
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          This is an abstract data type representing a haptic device that │ │ │ │ supports force feedback or vibration.

          │ │ │ │

          Since: 5.1.8

          │ │ │ │
          │ │ │ │ @@ -246,16 +245,15 @@ │ │ │ │ │ │ │ │

          ALLEGRO_HAPTIC_CONSTANTS

          │ │ │ │ -
          enum ALLEGRO_HAPTIC_CONSTANTS
          │ │ │ │ -enum ALLEGRO_HAPTIC_CONSTANTS
          │ │ │ │ +
          enum ALLEGRO_HAPTIC_CONSTANTS
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          This enum contains flags that are used to define haptic effects and │ │ │ │ capabilities. If the flag is set in the return value of al_get_haptic_capabilities, │ │ │ │ it means the device supports the given effect. The value of these flags │ │ │ │ @@ -294,16 +292,15 @@ │ │ │ │ users.

          │ │ │ │
          │ │ │ │

          See also: al_get_haptic_capabilities, │ │ │ │ ALLEGRO_HAPTIC_EFFECT

          │ │ │ │

          ALLEGRO_HAPTIC_EFFECT

          │ │ │ │ -
          struct ALLEGRO_HAPTIC_EFFECT
          │ │ │ │ -struct ALLEGRO_HAPTIC_EFFECT
          │ │ │ │ +
          struct ALLEGRO_HAPTIC_EFFECT
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          This struct models a particular haptic or vibration effect. It needs │ │ │ │ to be filled in correctly and uploaded to a haptic device before the │ │ │ │ device can play it back.

          │ │ │ │

          Fields:

          │ │ │ │ @@ -506,16 +503,15 @@ │ │ │ │ │ │ │ │

          ALLEGRO_HAPTIC_EFFECT_ID

          │ │ │ │ -
          typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID;
          │ │ │ │ -typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID;
          │ │ │ │ +
          typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID;
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          This struct is used as a handle to control playback of a haptic │ │ │ │ effect and should be considered opaque. Its implementation is visible │ │ │ │ merely to allow allocation by the users of the Allegro library.

          │ │ │ │

          Since: 5.1.8

          │ │ │ │ @@ -1245,12 +1241,12 @@ │ │ │ │

          Unstable │ │ │ │ API: Perhaps could be simplified due to limited support for all │ │ │ │ the exposed features across all of the platforms. Awaiting feedback from │ │ │ │ users.

          │ │ │ │ │ │ │ │

          │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:11 UTC │ │ │ │

          │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -86,29 +86,27 @@ │ │ │ │ │ functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ Currently force feedback is fully supported on Linux and on Windows for │ │ │ │ │ DirectInput compatible devices. There is also minimal support for Android. It │ │ │ │ │ is not yet supported on OSX, iOS, or on Windows for XInput compatible devices. │ │ │ │ │ ****** ALLEGRO_HAPTIC ****** │ │ │ │ │ typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC; │ │ │ │ │ -typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC; │ │ │ │ │ Source_Code │ │ │ │ │ This is an abstract data type representing a haptic device that supports force │ │ │ │ │ feedback or vibration. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ Unstable_API: Perhaps could be simplified due to limited support for │ │ │ │ │ all the exposed features across all of the platforms. Awaiting │ │ │ │ │ feedback from users. │ │ │ │ │ See also: al_get_haptic_from_joystick │ │ │ │ │ Examples: │ │ │ │ │ * ex_haptic.c │ │ │ │ │ * ex_haptic2.cpp │ │ │ │ │ ****** ALLEGRO_HAPTIC_CONSTANTS ****** │ │ │ │ │ enum ALLEGRO_HAPTIC_CONSTANTS │ │ │ │ │ -enum ALLEGRO_HAPTIC_CONSTANTS │ │ │ │ │ Source_Code │ │ │ │ │ This enum contains flags that are used to define haptic effects and │ │ │ │ │ capabilities. If the flag is set in the return value of │ │ │ │ │ al_get_haptic_capabilities, it means the device supports the given effect. The │ │ │ │ │ value of these flags should be set into a ALLEGRO_HAPTIC_EFFECT struct to │ │ │ │ │ determine what kind of haptic effect should be played. │ │ │ │ │ * ALLEGRO_HAPTIC_RUMBLE - simple vibration effects │ │ │ │ │ @@ -133,15 +131,14 @@ │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ Unstable_API: Perhaps could be simplified due to limited support for │ │ │ │ │ all the exposed features across all of the platforms. Awaiting │ │ │ │ │ feedback from users. │ │ │ │ │ See also: al_get_haptic_capabilities, ALLEGRO_HAPTIC_EFFECT │ │ │ │ │ ****** ALLEGRO_HAPTIC_EFFECT ****** │ │ │ │ │ struct ALLEGRO_HAPTIC_EFFECT │ │ │ │ │ -struct ALLEGRO_HAPTIC_EFFECT │ │ │ │ │ Source_Code │ │ │ │ │ This struct models a particular haptic or vibration effect. It needs to be │ │ │ │ │ filled in correctly and uploaded to a haptic device before the device can play │ │ │ │ │ it back. │ │ │ │ │ Fields: │ │ │ │ │ type │ │ │ │ │ The type of the haptic effect. May be one of the ALLEGRO_HAPTIC_CONSTANTS │ │ │ │ │ @@ -300,15 +297,14 @@ │ │ │ │ │ all the exposed features across all of the platforms. Awaiting │ │ │ │ │ feedback from users. │ │ │ │ │ Examples: │ │ │ │ │ * ex_haptic.c │ │ │ │ │ * ex_haptic2.cpp │ │ │ │ │ ****** ALLEGRO_HAPTIC_EFFECT_ID ****** │ │ │ │ │ typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID; │ │ │ │ │ -typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID; │ │ │ │ │ Source_Code │ │ │ │ │ This struct is used as a handle to control playback of a haptic effect and │ │ │ │ │ should be considered opaque. Its implementation is visible merely to allow │ │ │ │ │ allocation by the users of the Allegro library. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ Unstable_API: Perhaps could be simplified due to limited support for │ │ │ │ │ all the exposed features across all of the platforms. Awaiting │ │ │ │ │ @@ -730,8 +726,8 @@ │ │ │ │ │ again manually in this case. However, if true is returned, it is necessary to │ │ │ │ │ call al_release_haptic_effect when the effect isn’t needed anymore, to │ │ │ │ │ prevent the amount of available effects on the haptic device from running out. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ Unstable_API: Perhaps could be simplified due to limited support for │ │ │ │ │ all the exposed features across all of the platforms. Awaiting │ │ │ │ │ feedback from users. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:11 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/image.html │ │ │ │ @@ -176,16 +176,15 @@ │ │ │ │ allegro_image.

          │ │ │ │
           #include <allegro5/allegro_image.h>
          │ │ │ │

          Some of the format handlers define configuration options for │ │ │ │ specifying things like compression level or gamma handling. Refer to al_get_system_config for │ │ │ │ their documentation.

          │ │ │ │

          al_init_image_addon

          │ │ │ │ -
          bool al_init_image_addon(void)
          │ │ │ │ -bool al_init_image_addon(void)
          │ │ │ │ +
          bool al_init_image_addon(void)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Initializes the image addon. This registers bitmap format handlers │ │ │ │ for al_load_bitmap, al_load_bitmap_f, al_save_bitmap, ex_nodisplay.c │ │ │ │

        • ex_opengl_pixel_shader.c
        • │ │ │ │
        │ │ │ │

        al_is_image_addon_initialized

        │ │ │ │ -
        bool al_is_image_addon_initialized(void)
        │ │ │ │ -bool al_is_image_addon_initialized(void)
        │ │ │ │ +
        bool al_is_image_addon_initialized(void)
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Returns true if the image addon is initialized, otherwise returns │ │ │ │ false.

        │ │ │ │

        Since: 5.2.6

        │ │ │ │

        al_shutdown_image_addon

        │ │ │ │ -
        void al_shutdown_image_addon(void)
        │ │ │ │ -void al_shutdown_image_addon(void)
        │ │ │ │ +
        void al_shutdown_image_addon(void)
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Shut down the image addon. This is done automatically at program │ │ │ │ exit, but can be called any time the user wishes as well.

        │ │ │ │

        al_get_allegro_image_version

        │ │ │ │ -
        uint32_t al_get_allegro_image_version(void)
        │ │ │ │ -uint32_t al_get_allegro_image_version(void)
        │ │ │ │ +
        uint32_t al_get_allegro_image_version(void)
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

        │ │ │ │

        │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:16 UTC │ │ │ │

        │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -55,15 +55,14 @@ │ │ │ │ │ allegro_image. │ │ │ │ │ #include │ │ │ │ │ Some of the format handlers define configuration options for specifying things │ │ │ │ │ like compression level or gamma handling. Refer to al_get_system_config for │ │ │ │ │ their documentation. │ │ │ │ │ ****** al_init_image_addon ****** │ │ │ │ │ bool al_init_image_addon(void) │ │ │ │ │ -bool al_init_image_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Initializes the image addon. This registers bitmap format handlers for │ │ │ │ │ al_load_bitmap, al_load_bitmap_f, al_save_bitmap, al_save_bitmap_f. │ │ │ │ │ The following types are built into the Allegro image addon and guaranteed to be │ │ │ │ │ available: BMP, DDS, PCX, TGA. Every platform also supports JPEG and PNG via │ │ │ │ │ external dependencies. │ │ │ │ │ Other formats may be available depending on the operating system and installed │ │ │ │ │ @@ -75,24 +74,21 @@ │ │ │ │ │ have the pixel format matching the format in the file. │ │ │ │ │ Examples: │ │ │ │ │ * ex_convert.c │ │ │ │ │ * ex_nodisplay.c │ │ │ │ │ * ex_opengl_pixel_shader.c │ │ │ │ │ ****** al_is_image_addon_initialized ****** │ │ │ │ │ bool al_is_image_addon_initialized(void) │ │ │ │ │ -bool al_is_image_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the image addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ ****** al_shutdown_image_addon ****** │ │ │ │ │ void al_shutdown_image_addon(void) │ │ │ │ │ -void al_shutdown_image_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Shut down the image addon. This is done automatically at program exit, but can │ │ │ │ │ be called any time the user wishes as well. │ │ │ │ │ ****** al_get_allegro_image_version ****** │ │ │ │ │ uint32_t al_get_allegro_image_version(void) │ │ │ │ │ -uint32_t al_get_allegro_image_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:16 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/index.html │ │ │ │ @@ -154,12 +154,12 @@ │ │ │ │
      • Native dialogs addon
      • │ │ │ │
      • PhysicsFS addon
      • │ │ │ │
      • Primitives addon
      • │ │ │ │
      • Video streaming addon
      • │ │ │ │
      │ │ │ │

      │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:17 UTC │ │ │ │

      │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -88,8 +88,8 @@ │ │ │ │ │ * Image_I/O_addon │ │ │ │ │ * Main_addon │ │ │ │ │ * Memfile_addon │ │ │ │ │ * Native_dialogs_addon │ │ │ │ │ * PhysicsFS_addon │ │ │ │ │ * Primitives_addon │ │ │ │ │ * Video_streaming_addon │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:17 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/index_all.html │ │ │ │ @@ -2879,12 +2879,12 @@ │ │ │ │
    • al_x_set_initial_icon │ │ │ │
    • │ │ │ │
    • iPhone
    • │ │ │ │
    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:17 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -1252,8 +1252,8 @@ │ │ │ │ │ * al_wait_for_event_timed │ │ │ │ │ * al_wait_for_event_until │ │ │ │ │ * al_wait_for_vsync │ │ │ │ │ * al_win_add_window_callback │ │ │ │ │ * al_win_remove_window_callback │ │ │ │ │ * al_x_set_initial_icon │ │ │ │ │ * iPhone │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:17 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/joystick.html │ │ │ │ @@ -203,16 +203,15 @@ │ │ │ │ Xinput one. If support for XInput was compiled in, then it can be │ │ │ │ enabled by calling al_set_config_value(al_get_system_config(), │ │ │ │ “joystick”, “driver”, “xinput”) before calling al_install_joystick, or │ │ │ │ by setting the same option in the allegro5.cfg configuration file. The │ │ │ │ Xinput and DirectInput drivers are mutually exclusive. The haptics │ │ │ │ subsystem will use the same driver as the joystick system does.

    │ │ │ │

    ALLEGRO_JOYSTICK

    │ │ │ │ -
    typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK;
    │ │ │ │ -typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK;
    │ │ │ │ +
    typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This is an abstract data type representing a physical joystick.

    │ │ │ │

    See also: al_get_joystick

    │ │ │ │

    Examples:

    │ │ │ │ @@ -221,16 +220,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L14">ex_haptic.c │ │ │ │
  • ex_joystick_hotplugging.c
  • │ │ │ │
  • ex_joystick_events.c
  • │ │ │ │ │ │ │ │

    ALLEGRO_JOYSTICK_STATE

    │ │ │ │ -
    typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE;
    │ │ │ │ -typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE;
    │ │ │ │ +
    typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This is a structure that is used to hold a “snapshot” of a joystick’s │ │ │ │ axes and buttons at a particular instant. All fields public and │ │ │ │ read-only.

    │ │ │ │
    struct {
    │ │ │ │ @@ -243,16 +241,15 @@
    │ │ │ │  
    │ │ │ │  

    ALLEGRO_JOYFLAGS

    │ │ │ │ -
    enum ALLEGRO_JOYFLAGS
    │ │ │ │ -enum ALLEGRO_JOYFLAGS
    │ │ │ │ +
    enum ALLEGRO_JOYFLAGS
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │
      │ │ │ │
    • ALLEGRO_JOYFLAG_DIGITAL - the stick provides digital input
    • │ │ │ │
    • ALLEGRO_JOYFLAG_ANALOGUE - the stick provides analogue input
    • │ │ │ │
    │ │ │ │ @@ -590,12 +587,12 @@ │ │ │ │
  • ex_joystick_events.c
  • │ │ │ │
  • ex_haptic2.cpp
  • │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:12 UTC │ │ │ │

    │ │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -75,39 +75,36 @@ │ │ │ │ │ al_set_config_value(al_get_system_config(), “joystick”, “driver”, │ │ │ │ │ “xinput”) before calling al_install_joystick, or by setting the same option │ │ │ │ │ in the allegro5.cfg configuration file. The Xinput and DirectInput drivers are │ │ │ │ │ mutually exclusive. The haptics subsystem will use the same driver as the │ │ │ │ │ joystick system does. │ │ │ │ │ ****** ALLEGRO_JOYSTICK ****** │ │ │ │ │ typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK; │ │ │ │ │ -typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK; │ │ │ │ │ Source_Code │ │ │ │ │ This is an abstract data type representing a physical joystick. │ │ │ │ │ See also: al_get_joystick │ │ │ │ │ Examples: │ │ │ │ │ * ex_haptic.c │ │ │ │ │ * ex_joystick_hotplugging.c │ │ │ │ │ * ex_joystick_events.c │ │ │ │ │ ****** ALLEGRO_JOYSTICK_STATE ****** │ │ │ │ │ typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE; │ │ │ │ │ -typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE; │ │ │ │ │ Source_Code │ │ │ │ │ This is a structure that is used to hold a “snapshot” of a joystick’s │ │ │ │ │ axes and buttons at a particular instant. All fields public and read-only. │ │ │ │ │ struct { │ │ │ │ │ float axis[num_axes]; // -1.0 to 1.0 │ │ │ │ │ } stick[num_sticks]; │ │ │ │ │ int button[num_buttons]; // 0 to 32767 │ │ │ │ │ See also: al_get_joystick_state │ │ │ │ │ Examples: │ │ │ │ │ * ex_joystick_hotplugging.c │ │ │ │ │ * ex_joystick_events.c │ │ │ │ │ ****** ALLEGRO_JOYFLAGS ****** │ │ │ │ │ enum ALLEGRO_JOYFLAGS │ │ │ │ │ -enum ALLEGRO_JOYFLAGS │ │ │ │ │ Source_Code │ │ │ │ │ * ALLEGRO_JOYFLAG_DIGITAL - the stick provides digital input │ │ │ │ │ * ALLEGRO_JOYFLAG_ANALOGUE - the stick provides analogue input │ │ │ │ │ (this enum is a holdover from the old API and may be removed) │ │ │ │ │ See also: al_get_joystick_stick_flags │ │ │ │ │ ****** al_install_joystick ****** │ │ │ │ │ bool al_install_joystick(void) │ │ │ │ │ @@ -287,8 +284,8 @@ │ │ │ │ │ Source_Code │ │ │ │ │ Returns the global joystick event source. All joystick_events are generated by │ │ │ │ │ this event source. │ │ │ │ │ Examples: │ │ │ │ │ * ex_joystick_hotplugging.c │ │ │ │ │ * ex_joystick_events.c │ │ │ │ │ * ex_haptic2.cpp │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:12 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/keyboard.html │ │ │ │ @@ -179,16 +179,15 @@ │ │ │ │
  • al_get_keyboard_event_source
  • │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_KEYBOARD_STATE

    │ │ │ │ -
    typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE;
    │ │ │ │ -typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE;
    │ │ │ │ +
    typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This is a structure that is used to hold a “snapshot” of a keyboard’s │ │ │ │ state at a particular instant. It contains the following publically │ │ │ │ readable fields:

    │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:12 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -59,15 +59,14 @@ │ │ │ │ │ * al_keycode_to_name │ │ │ │ │ * al_set_keyboard_leds │ │ │ │ │ * al_get_keyboard_event_source │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_KEYBOARD_STATE ****** │ │ │ │ │ typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE; │ │ │ │ │ -typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE; │ │ │ │ │ Source_Code │ │ │ │ │ This is a structure that is used to hold a “snapshot” of a keyboard’s │ │ │ │ │ state at a particular instant. It contains the following publically readable │ │ │ │ │ fields: │ │ │ │ │ * display - points to the display that had keyboard focus at the time the │ │ │ │ │ state was saved. If no display was focused, this points to NULL. │ │ │ │ │ You cannot read the state of keys directly. Use the function al_key_down. │ │ │ │ │ @@ -269,8 +268,8 @@ │ │ │ │ │ Retrieve the keyboard event source. All keyboard_events are generated by this │ │ │ │ │ event source. │ │ │ │ │ Returns NULL if the keyboard subsystem was not installed. │ │ │ │ │ Examples: │ │ │ │ │ * ex_keyboard_events.c │ │ │ │ │ * ex_opengl.c │ │ │ │ │ * ex_timedwait.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:55 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:12 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/main.html │ │ │ │ @@ -178,12 +178,12 @@ │ │ │ │
    int main(int argc, char **argv)
    │ │ │ │

    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.

    │ │ │ │

    Link with allegro_main.

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:16 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -56,8 +56,8 @@ │ │ │ │ │ If the user main function is defined in C++, then it must have the following │ │ │ │ │ signature for this addon to work: │ │ │ │ │ int main(int argc, char **argv) │ │ │ │ │ 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. │ │ │ │ │ Link with allegro_main. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:16 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/memfile.html │ │ │ │ @@ -171,16 +171,15 @@ │ │ │ │ │ │ │ │

    The memfile interface allows you to treat a fixed block of contiguous │ │ │ │ memory as a file that can be used with Allegro’s I/O functions.

    │ │ │ │

    These functions are declared in the following header file. Link with │ │ │ │ allegro_memfile.

    │ │ │ │
     #include <allegro5/allegro_memfile.h>
    │ │ │ │

    al_open_memfile

    │ │ │ │ -
    ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode)
    │ │ │ │ -ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode)
    │ │ │ │ +
    ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns a file handle to the block of memory. All read and write │ │ │ │ operations act upon the memory directly, so it must not be freed while │ │ │ │ the file remains open.

    │ │ │ │

    The mode can be any combination of “r” (readable) and “w” (writable). │ │ │ │ @@ -194,21 +193,20 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_allegro_memfile_version

    │ │ │ │ -
    uint32_t al_get_allegro_memfile_version(void)
    │ │ │ │ -uint32_t al_get_allegro_memfile_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_memfile_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:16 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -52,26 +52,24 @@ │ │ │ │ │ The memfile interface allows you to treat a fixed block of contiguous memory as │ │ │ │ │ a file that can be used with Allegro’s I/O functions. │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_memfile. │ │ │ │ │ #include │ │ │ │ │ ****** al_open_memfile ****** │ │ │ │ │ ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode) │ │ │ │ │ -ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode) │ │ │ │ │ Source_Code │ │ │ │ │ Returns a file handle to the block of memory. All read and write operations act │ │ │ │ │ upon the memory directly, so it must not be freed while the file remains open. │ │ │ │ │ The mode can be any combination of “r” (readable) and “w” (writable). │ │ │ │ │ Regardless of the mode, the file always opens at position 0. The file size is │ │ │ │ │ fixed and cannot be expanded. The file is always read from/written to in binary │ │ │ │ │ mode, which means that no newline translation is performed. │ │ │ │ │ It should be closed with al_fclose. After the file is closed, you are │ │ │ │ │ responsible for freeing the memory (if needed). │ │ │ │ │ Examples: │ │ │ │ │ * ex_memfile.c │ │ │ │ │ ****** al_get_allegro_memfile_version ****** │ │ │ │ │ uint32_t al_get_allegro_memfile_version(void) │ │ │ │ │ -uint32_t al_get_allegro_memfile_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:16 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/memory.html │ │ │ │ @@ -177,17 +177,15 @@ │ │ │ │
  • al_set_memory_interface
  • │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    al_malloc

    │ │ │ │
    #define al_malloc(n) \
    │ │ │ │ -   (al_malloc_with_context((n), __LINE__, __FILE__, __func__))
    │ │ │ │ -#define al_malloc(n) \
    │ │ │ │ -   (al_malloc_with_context((n), __LINE__, __FILE__, __func__))
    │ │ │ │ + (al_malloc_with_context((n), __LINE__, __FILE__, __func__))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like malloc() in the C standard library, but the implementation may │ │ │ │ be overridden.

    │ │ │ │

    This is a macro.

    │ │ │ │

    See also: al_free, ex_audio_timer.c │ │ │ │

  • ex_vertex_buffer.c
  • │ │ │ │ │ │ │ │

    al_free

    │ │ │ │
    #define al_free(p) \
    │ │ │ │ -   (al_free_with_context((p), __LINE__, __FILE__, __func__))
    │ │ │ │ -#define al_free(p) \
    │ │ │ │ -   (al_free_with_context((p), __LINE__, __FILE__, __func__))
    │ │ │ │ + (al_free_with_context((p), __LINE__, __FILE__, __func__))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like free() in the C standard library, but the implementation may be │ │ │ │ overridden.

    │ │ │ │

    Additionally, on Windows, a memory block allocated by one DLL must be │ │ │ │ freed from the same DLL. In the few places where an Allegro function │ │ │ │ @@ -226,30 +222,26 @@ │ │ │ │

  • ex_record_name.c
  • │ │ │ │
  • ex_vertex_buffer.c
  • │ │ │ │ │ │ │ │

    al_realloc

    │ │ │ │
    #define al_realloc(p, n) \
    │ │ │ │ -   (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__))
    │ │ │ │ -#define al_realloc(p, n) \
    │ │ │ │ -   (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__))
    │ │ │ │ + (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like realloc() in the C standard library, but the implementation may │ │ │ │ be overridden.

    │ │ │ │

    This is a macro.

    │ │ │ │

    See also: al_malloc, al_realloc_with_context

    │ │ │ │

    al_calloc

    │ │ │ │
    #define al_calloc(c, n) \
    │ │ │ │ -   (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__))
    │ │ │ │ -#define al_calloc(c, n) \
    │ │ │ │ -   (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__))
    │ │ │ │ + (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__)) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like calloc() in the C standard library, but the implementation may │ │ │ │ be overridden.

    │ │ │ │

    This is a macro.

    │ │ │ │

    See also: al_malloc,

    │ │ │ │

    This calls calloc() from the Allegro library (this matters on │ │ │ │ Windows), unless overridden with al_set_memory_interface,

    │ │ │ │

    Generally you should use the al_calloc macro.

    │ │ │ │

    ALLEGRO_MEMORY_INTERFACE

    │ │ │ │ -
    typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE;
    │ │ │ │ -typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE;
    │ │ │ │ +
    typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This structure has the following fields.

    │ │ │ │
    void *(*mi_malloc)(size_t n, int line, const char *file, const char *func);
    │ │ │ │  void (*mi_free)(void *ptr, int line, const char *file, const char *func);
    │ │ │ │  void *(*mi_realloc)(void *ptr, size_t n, int line, const char *file,
    │ │ │ │ @@ -332,12 +323,12 @@
    │ │ │ │  The context arguments may be used for debugging. The new functions
    │ │ │ │  should be thread safe.

    │ │ │ │

    If the pointer is NULL, the default behaviour will be restored.

    │ │ │ │

    See also: ALLEGRO_MEMORY_INTERFACE

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:12 UTC │ │ │ │

    │ │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -58,30 +58,26 @@ │ │ │ │ │ * ALLEGRO_MEMORY_INTERFACE │ │ │ │ │ * al_set_memory_interface │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** al_malloc ****** │ │ │ │ │ #define al_malloc(n) \ │ │ │ │ │ (al_malloc_with_context((n), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_malloc(n) \ │ │ │ │ │ - (al_malloc_with_context((n), __LINE__, __FILE__, __func__)) │ │ │ │ │ Source_Code │ │ │ │ │ Like malloc() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ This is a macro. │ │ │ │ │ See also: al_free, al_realloc, al_calloc, al_malloc_with_context, │ │ │ │ │ al_set_memory_interface │ │ │ │ │ Examples: │ │ │ │ │ * ex_audio_timer.c │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ ****** al_free ****** │ │ │ │ │ #define al_free(p) \ │ │ │ │ │ (al_free_with_context((p), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_free(p) \ │ │ │ │ │ - (al_free_with_context((p), __LINE__, __FILE__, __func__)) │ │ │ │ │ Source_Code │ │ │ │ │ Like free() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ Additionally, on Windows, a memory block allocated by one DLL must be freed │ │ │ │ │ from the same DLL. In the few places where an Allegro function returns a │ │ │ │ │ pointer that must be freed, you must use al_free for portability to Windows. │ │ │ │ │ This is a macro. │ │ │ │ │ @@ -89,26 +85,22 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_clipboard.c │ │ │ │ │ * ex_record_name.c │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ ****** al_realloc ****** │ │ │ │ │ #define al_realloc(p, n) \ │ │ │ │ │ (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_realloc(p, n) \ │ │ │ │ │ - (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ Source_Code │ │ │ │ │ Like realloc() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ This is a macro. │ │ │ │ │ See also: al_malloc, al_realloc_with_context │ │ │ │ │ ****** al_calloc ****** │ │ │ │ │ #define al_calloc(c, n) \ │ │ │ │ │ (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_calloc(c, n) \ │ │ │ │ │ - (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ Source_Code │ │ │ │ │ Like calloc() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ This is a macro. │ │ │ │ │ See also: al_malloc, al_calloc_with_context │ │ │ │ │ Examples: │ │ │ │ │ * ex_record_name.c │ │ │ │ │ @@ -138,15 +130,14 @@ │ │ │ │ │ int line, const char *file, const char *func) │ │ │ │ │ Source_Code │ │ │ │ │ This calls calloc() from the Allegro library (this matters on Windows), unless │ │ │ │ │ overridden with al_set_memory_interface, │ │ │ │ │ Generally you should use the al_calloc macro. │ │ │ │ │ ****** ALLEGRO_MEMORY_INTERFACE ****** │ │ │ │ │ typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE; │ │ │ │ │ -typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE; │ │ │ │ │ Source_Code │ │ │ │ │ This structure has the following fields. │ │ │ │ │ void *(*mi_malloc)(size_t n, int line, const char *file, const char *func); │ │ │ │ │ void (*mi_free)(void *ptr, int line, const char *file, const char *func); │ │ │ │ │ void *(*mi_realloc)(void *ptr, size_t n, int line, const char *file, │ │ │ │ │ const char *func); │ │ │ │ │ void *(*mi_calloc)(size_t count, size_t n, int line, const char *file, │ │ │ │ │ @@ -157,8 +148,8 @@ │ │ │ │ │ Source_Code │ │ │ │ │ Override the memory management functions with implementations of │ │ │ │ │ al_malloc_with_context, al_free_with_context, al_realloc_with_context and │ │ │ │ │ al_calloc_with_context. The context arguments may be used for debugging. The │ │ │ │ │ new functions should be thread safe. │ │ │ │ │ If the pointer is NULL, the default behaviour will be restored. │ │ │ │ │ See also: ALLEGRO_MEMORY_INTERFACE │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:12 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/misc.html │ │ │ │ @@ -167,16 +167,15 @@ │ │ │ │
  • ALLEGRO_PI
  • │ │ │ │
  • al_run_main
  • │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_PI

    │ │ │ │ -
    #define ALLEGRO_PI        3.14159265358979323846
    │ │ │ │ -#define ALLEGRO_PI        3.14159265358979323846
    │ │ │ │ +
    #define ALLEGRO_PI        3.14159265358979323846
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    C99 compilers have no predefined value like M_PI for the constant π, │ │ │ │ but you can use this one instead.

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │ @@ -199,12 +198,12 @@ │ │ │ │ other system (like OSX) don’t allow calling al_install_system in the main │ │ │ │ thread. al_run_main will know what to do in that case.

      │ │ │ │

      The passed argc and argv will simply be passed on to user_main and │ │ │ │ the return value of user_main will be returned.

      │ │ │ │

      │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:12 UTC │ │ │ │

      │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -49,15 +49,14 @@ │ │ │ │ │ │ │ │ │ │ * ALLEGRO_PI │ │ │ │ │ * al_run_main │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_PI ****** │ │ │ │ │ #define ALLEGRO_PI 3.14159265358979323846 │ │ │ │ │ -#define ALLEGRO_PI 3.14159265358979323846 │ │ │ │ │ Source_Code │ │ │ │ │ C99 compilers have no predefined value like M_PI for the constant π, but you │ │ │ │ │ can use this one instead. │ │ │ │ │ Examples: │ │ │ │ │ * ex_convert.c │ │ │ │ │ * ex_opengl.c │ │ │ │ │ * ex_blend_bench.c │ │ │ │ │ @@ -67,8 +66,8 @@ │ │ │ │ │ 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 al_install_system. But │ │ │ │ │ some other system (like OSX) don’t allow calling al_install_system in the │ │ │ │ │ main thread. al_run_main will know what to do in that case. │ │ │ │ │ The passed argc and argv will simply be passed on to user_main and the return │ │ │ │ │ value of user_main will be returned. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:12 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/monitor.html │ │ │ │ @@ -176,16 +176,15 @@ │ │ │ │
    • al_get_monitor_refresh_rate
    • │ │ │ │
    │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_MONITOR_INFO

    │ │ │ │ -
    typedef struct ALLEGRO_MONITOR_INFO
    │ │ │ │ -typedef struct ALLEGRO_MONITOR_INFO
    │ │ │ │ +
    typedef struct ALLEGRO_MONITOR_INFO
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Describes a monitor’s size and position relative to other monitors. │ │ │ │ x1, y1 will be 0, 0 on the primary display. Other monitors can have │ │ │ │ negative values if they are to the left or above the primary display. │ │ │ │ x2, y2 are the coordinates one beyond the bottom right pixel, so that │ │ │ │ @@ -321,12 +320,12 @@ │ │ │ │ API: This is an experimental feature and currently only works │ │ │ │ on Windows.

    │ │ │ │ │ │ │ │

    See also: al_get_monitor_info

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:12 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -54,15 +54,14 @@ │ │ │ │ │ * al_get_monitor_dpi │ │ │ │ │ * al_get_num_video_adapters │ │ │ │ │ * al_get_monitor_refresh_rate │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_MONITOR_INFO ****** │ │ │ │ │ typedef struct ALLEGRO_MONITOR_INFO │ │ │ │ │ -typedef struct ALLEGRO_MONITOR_INFO │ │ │ │ │ Source_Code │ │ │ │ │ Describes a monitor’s size and position relative to other monitors. x1, y1 │ │ │ │ │ will be 0, 0 on the primary display. Other monitors can have negative values if │ │ │ │ │ they are to the left or above the primary display. x2, y2 are the coordinates │ │ │ │ │ one beyond the bottom right pixel, so that x2-x1 gives the width and y2-y1 │ │ │ │ │ gives the height of the display. │ │ │ │ │ typedef struct ALLEGRO_MONITOR_INFO │ │ │ │ │ @@ -134,8 +133,8 @@ │ │ │ │ │ int al_get_monitor_refresh_rate(int adapter) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the current refresh rate of a monitor attached to the display adapter. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ Unstable_API: This is an experimental feature and currently only │ │ │ │ │ works on Windows. │ │ │ │ │ See also: al_get_monitor_info │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:12 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/mouse.html │ │ │ │ @@ -199,16 +199,15 @@ │ │ │ │
  • al_ungrab_mouse
  • │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_MOUSE_STATE

    │ │ │ │ -
    typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE;
    │ │ │ │ -typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE;
    │ │ │ │ +
    typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Public fields (read only):

    │ │ │ │
      │ │ │ │
    • x - mouse x position

    • │ │ │ │
    • y - mouse y position

    • │ │ │ │ @@ -635,12 +634,12 @@ │ │ │ │ program.

      │ │ │ │
      │ │ │ │

      Note: not yet implemented on Mac OS X.

      │ │ │ │
      │ │ │ │

      See also: al_grab_mouse

      │ │ │ │

      │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:13 UTC │ │ │ │

      │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -73,15 +73,14 @@ │ │ │ │ │ o al_show_mouse_cursor │ │ │ │ │ o al_grab_mouse │ │ │ │ │ o al_ungrab_mouse │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_MOUSE_STATE ****** │ │ │ │ │ typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE; │ │ │ │ │ -typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE; │ │ │ │ │ Source_Code │ │ │ │ │ Public fields (read only): │ │ │ │ │ * x - mouse x position │ │ │ │ │ * y - mouse y position │ │ │ │ │ * w, z - mouse wheel position (2D ‘ball’) │ │ │ │ │ * buttons - mouse buttons bitfield │ │ │ │ │ The zeroth bit is set if the primary mouse button is held down, the first │ │ │ │ │ @@ -345,8 +344,8 @@ │ │ │ │ │ See also: al_ungrab_mouse │ │ │ │ │ ***** al_ungrab_mouse ***** │ │ │ │ │ bool al_ungrab_mouse(void) │ │ │ │ │ Source_Code │ │ │ │ │ Stop confining the mouse cursor to any display belonging to the program. │ │ │ │ │ Note: not yet implemented on Mac OS X. │ │ │ │ │ See also: al_grab_mouse │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:13 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/native_dialog.html │ │ │ │ @@ -231,42 +231,39 @@ │ │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the following header file. Link with │ │ │ │ allegro_dialog.

    │ │ │ │
     #include <allegro5/allegro_native_dialog.h>
    │ │ │ │

    ALLEGRO_FILECHOOSER

    │ │ │ │ -
    typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER;
    │ │ │ │ -typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER;
    │ │ │ │ +
    typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Opaque handle to a native file dialog.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_TEXTLOG

    │ │ │ │ -
    typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG;
    │ │ │ │ -typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG;
    │ │ │ │ +
    typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Opaque handle to a text log window.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_init_native_dialog_addon

    │ │ │ │ -
    bool al_init_native_dialog_addon(void)
    │ │ │ │ -bool al_init_native_dialog_addon(void)
    │ │ │ │ +
    bool al_init_native_dialog_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Initialise the native dialog addon.

    │ │ │ │

    Returns true on success, false on error.

    │ │ │ │

    Since: 5.0.9, 5.1.0

    │ │ │ │
    │ │ │ │ @@ -287,44 +284,37 @@ │ │ │ │
  • ex_window_maximized.c
  • │ │ │ │
  • ex_menu.c
  • │ │ │ │ │ │ │ │

    al_is_native_dialog_addon_initialized

    │ │ │ │ -
    bool al_is_native_dialog_addon_initialized(void)
    │ │ │ │ -bool al_is_native_dialog_addon_initialized(void)
    │ │ │ │ +
    bool al_is_native_dialog_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the native dialog addon is initialized, otherwise │ │ │ │ returns false.

    │ │ │ │

    Since: 5.2.6

    │ │ │ │

    al_shutdown_native_dialog_addon

    │ │ │ │ -
    void al_shutdown_native_dialog_addon(void)
    │ │ │ │ -void al_shutdown_native_dialog_addon(void)
    │ │ │ │ +
    void al_shutdown_native_dialog_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Shut down the native dialog addon.

    │ │ │ │

    Since: 5.0.9, 5.1.5

    │ │ │ │

    See also: al_init_native_dialog_addon

    │ │ │ │

    al_create_native_file_dialog

    │ │ │ │
    ALLEGRO_FILECHOOSER *al_create_native_file_dialog(
    │ │ │ │     char const *initial_path,
    │ │ │ │     char const *title,
    │ │ │ │     char const *patterns,
    │ │ │ │ -   int mode)
    │ │ │ │ -ALLEGRO_FILECHOOSER *al_create_native_file_dialog(
    │ │ │ │ -   char const *initial_path,
    │ │ │ │ -   char const *title,
    │ │ │ │ -   char const *patterns,
    │ │ │ │ -   int mode)
    │ │ │ │ + int mode)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a new native file dialog. You should only have one such │ │ │ │ dialog opened at a time.

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │ @@ -386,17 +376,15 @@ │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      al_show_native_file_dialog

      │ │ │ │
      bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display,
      │ │ │ │ -   ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │ -bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display,
      │ │ │ │ -   ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │ + ALLEGRO_FILECHOOSER *dialog) │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Show the dialog window. The display may be NULL, otherwise the given │ │ │ │ display is treated as the parent if possible.

      │ │ │ │

      This function blocks the calling thread until it returns, so you may │ │ │ │ want to spawn a thread with Examples:

      │ │ │ │ │ │ │ │

      al_get_native_file_dialog_count

      │ │ │ │ -
      int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │ -int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │ +
      int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Returns the number of files selected, or 0 if the dialog was │ │ │ │ cancelled.

      │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      al_get_native_file_dialog_path

      │ │ │ │
      const char *al_get_native_file_dialog_path(
      │ │ │ │ -   const ALLEGRO_FILECHOOSER *dialog, size_t i)
      │ │ │ │ -const char *al_get_native_file_dialog_path(
      │ │ │ │ -   const ALLEGRO_FILECHOOSER *dialog, size_t i)
      │ │ │ │ + const ALLEGRO_FILECHOOSER *dialog, size_t i) │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Returns one of the selected paths with index i. The │ │ │ │ index should range from 0 to the return value of al_get_native_file_dialog_count │ │ │ │ -1.

      │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      al_destroy_native_file_dialog

      │ │ │ │ -
      void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │ -void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │ +
      void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog)
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Frees up all resources used by the file dialog.

      │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      al_show_native_message_box

      │ │ │ │
      int al_show_native_message_box(ALLEGRO_DISPLAY *display,
      │ │ │ │     char const *title, char const *heading, char const *text,
      │ │ │ │ -   char const *buttons, int flags)
      │ │ │ │ -int al_show_native_message_box(ALLEGRO_DISPLAY *display,
      │ │ │ │ -   char const *title, char const *heading, char const *text,
      │ │ │ │ -   char const *buttons, int flags)
      │ │ │ │ + char const *buttons, int flags) │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Show a native GUI message box. This can be used for example to │ │ │ │ display an error message if creation of an initial display fails. The │ │ │ │ display may be NULL, otherwise the given display is treated as the │ │ │ │ parent if possible.

      │ │ │ │ @@ -535,16 +516,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_nodisplay.c#L54">ex_nodisplay.c │ │ │ │
    • common.c
    • │ │ │ │
    • ex_menu.c
    • │ │ │ │
    │ │ │ │

    al_open_native_text_log

    │ │ │ │ -
    ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags)
    │ │ │ │ -ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags)
    │ │ │ │ +
    ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Opens a window to which you can append log messages with al_append_native_text_log. │ │ │ │ This can be useful for debugging if you don’t want to depend on a │ │ │ │ console being available.

    │ │ │ │ @@ -574,16 +554,15 @@ │ │ │ │ │ │ │ │

    al_close_native_text_log

    │ │ │ │ -
    void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog)
    │ │ │ │ -void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog)
    │ │ │ │ +
    void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Closes a message log window opened with al_open_native_text_log │ │ │ │ earlier.

    │ │ │ │

    Does nothing if passed NULL.

    │ │ │ │ @@ -594,17 +573,15 @@ │ │ │ │
  • common.c
  • │ │ │ │
  • ex_native_filechooser.c
  • │ │ │ │ │ │ │ │

    al_append_native_text_log

    │ │ │ │
    void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog,
    │ │ │ │ -   char const *format, ...)
    │ │ │ │ -void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog,
    │ │ │ │ -   char const *format, ...)
    │ │ │ │ + char const *format, ...) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Appends a line of text to the message log window and scrolls to the │ │ │ │ bottom (if the line would not be visible otherwise). This works like │ │ │ │ printf. A line is continued until you add a newline character.

    │ │ │ │

    If the window is NULL then this function will fall back to calling │ │ │ │ @@ -616,17 +593,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/common.c#L84">common.c │ │ │ │

  • ex_native_filechooser.c
  • │ │ │ │ │ │ │ │

    al_get_native_text_log_event_source

    │ │ │ │
    ALLEGRO_EVENT_SOURCE *al_get_native_text_log_event_source(
    │ │ │ │ -   ALLEGRO_TEXTLOG *textlog)
    │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_native_text_log_event_source(
    │ │ │ │ -   ALLEGRO_TEXTLOG *textlog)
    │ │ │ │ + ALLEGRO_TEXTLOG *textlog) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get an event source for a text log window. The possible events │ │ │ │ are:

    │ │ │ │
    │ │ │ │
    ALLEGRO_EVENT_NATIVE_DIALOG_CLOSE
    │ │ │ │ @@ -646,16 +621,15 @@ │ │ │ │
  • ex_saw.c
  • │ │ │ │
  • ex_resample_test.c
  • │ │ │ │ │ │ │ │

    al_get_allegro_native_dialog_version

    │ │ │ │ -
    uint32_t al_get_allegro_native_dialog_version(void)
    │ │ │ │ -uint32_t al_get_allegro_native_dialog_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_native_dialog_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    Menus

    │ │ │ │

    Menus are implemented on Windows, X and OS X. Menus on X are │ │ │ │ @@ -705,29 +679,27 @@ │ │ │ │ exit_program(); │ │ │ │ } │ │ │ │ } │ │ │ │

    Because there is no “DISPLAY_DESTROYED” event, you must call │ │ │ │ al_set_display_menu(display, NULL) before destroying any display with a │ │ │ │ menu attached, to avoid leaking resources.

    │ │ │ │

    ALLEGRO_MENU

    │ │ │ │ -
    typedef struct ALLEGRO_MENU ALLEGRO_MENU;
    │ │ │ │ -typedef struct ALLEGRO_MENU ALLEGRO_MENU;
    │ │ │ │ +
    typedef struct ALLEGRO_MENU ALLEGRO_MENU;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque data type that represents a menu that contains menu items. │ │ │ │ Each of the menu items may optionally include a sub-menu.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_MENU_INFO

    │ │ │ │ -
    typedef struct ALLEGRO_MENU_INFO {
    │ │ │ │ -typedef struct ALLEGRO_MENU_INFO {
    │ │ │ │ +
    typedef struct ALLEGRO_MENU_INFO {
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A structure that defines how to create a complete menu system. For │ │ │ │ standard menu items, the following format is used:

    │ │ │ │
       { caption, id, flags, icon }
    │ │ │ │

    For special items, these macros are helpful:

    │ │ │ │ @@ -762,28 +734,26 @@ │ │ │ │ href="native_dialog.html#al_build_menu">al_build_menu

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_create_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_create_menu(void)
    │ │ │ │ -ALLEGRO_MENU *al_create_menu(void)
    │ │ │ │ +
    ALLEGRO_MENU *al_create_menu(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a menu container that can hold menu items.

    │ │ │ │

    Returns NULL on failure.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_create_popup_menu, │ │ │ │ al_build_menu

    │ │ │ │

    al_create_popup_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_create_popup_menu(void)
    │ │ │ │ -ALLEGRO_MENU *al_create_popup_menu(void)
    │ │ │ │ +
    ALLEGRO_MENU *al_create_popup_menu(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Creates a menu container for popup menus. Only the root (outermost) │ │ │ │ menu should be created with this function. Sub menus of popups should be │ │ │ │ created with al_create_menu.

    │ │ │ │ @@ -794,16 +764,15 @@ │ │ │ │ href="native_dialog.html#al_build_menu">al_build_menu

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_build_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info)
    │ │ │ │ -ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info)
    │ │ │ │ +
    ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Builds a menu based on the specifications of a sequence of │ │ │ │ ALLEGRO_MENU_INFO elements.

    │ │ │ │

    Returns a pointer to the root ALLEGRO_MENU, or │ │ │ │ NULL on failure. To gain access to the other menus and │ │ │ │ @@ -817,17 +786,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_append_menu_item

    │ │ │ │
    int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id,
    │ │ │ │ -   int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu)
    │ │ │ │ -int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id,
    │ │ │ │ -   int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu)
    │ │ │ │ + int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Appends a menu item to the end of the menu. See al_insert_menu_item │ │ │ │ for more information.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ @@ -838,17 +805,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_insert_menu_item

    │ │ │ │
    int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title,
    │ │ │ │ -   uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu)
    │ │ │ │ -int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title,
    │ │ │ │ -   uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu)
    │ │ │ │ + uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Inserts a menu item at the spot specified. See the introductory text │ │ │ │ for a detailed explanation of how the pos parameter is │ │ │ │ interpreted.

    │ │ │ │

    The parent menu can be a popup menu or a regular menu. │ │ │ │ @@ -879,16 +844,15 @@ │ │ │ │

    Returns true on success.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_append_menu_item, │ │ │ │ al_remove_menu_item

    │ │ │ │

    al_remove_menu_item

    │ │ │ │ -
    bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ -bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ +
    bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Removes the specified item from the menu and destroys it. If the item │ │ │ │ contains a sub-menu, it too is destroyed. Any references to it are │ │ │ │ invalidated. If you want to preserve that sub-menu, you should first │ │ │ │ make a copy with al_destroy_menu

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_clone_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu)
    │ │ │ │ -ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu)
    │ │ │ │ +
    ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Makes a copy of a menu so that it can be reused on another display. │ │ │ │ The menu being cloned can be anything: a regular menu, a popup menu, or │ │ │ │ a sub-menu.

    │ │ │ │

    Returns the cloned menu.

    │ │ │ │ @@ -921,16 +884,15 @@ │ │ │ │ href="native_dialog.html#al_clone_menu_for_popup">al_clone_menu_for_popup

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_clone_menu_for_popup

    │ │ │ │ -
    ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu)
    │ │ │ │ -ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu)
    │ │ │ │ +
    ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Exactly like al_clone_menu, except that │ │ │ │ the copy is for a popup menu.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ @@ -938,16 +900,15 @@ │ │ │ │ href="native_dialog.html#al_clone_menu">al_clone_menu

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_destroy_menu

    │ │ │ │ -
    void al_destroy_menu(ALLEGRO_MENU *menu)
    │ │ │ │ -void al_destroy_menu(ALLEGRO_MENU *menu)
    │ │ │ │ +
    void al_destroy_menu(ALLEGRO_MENU *menu)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Destroys an entire menu, including its sub-menus. Any references to │ │ │ │ it or a sub-menu are no longer valid. It is safe to call this on a menu │ │ │ │ that is currently being displayed.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ @@ -955,28 +916,26 @@ │ │ │ │ href="native_dialog.html#al_remove_menu_item">al_remove_menu_item

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_menu_item_caption

    │ │ │ │ -
    const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ -const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ +
    const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the caption associated with the menu item. It is valid as │ │ │ │ long as the caption is not modified.

    │ │ │ │

    Returns NULL if the item was not found.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_set_menu_item_caption

    │ │ │ │

    al_set_menu_item_caption

    │ │ │ │ -
    void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption)
    │ │ │ │ -void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption)
    │ │ │ │ +
    void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Updates the menu item caption with the new caption. This │ │ │ │ will invalidate any previous calls to al_get_menu_item_caption.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ @@ -984,16 +943,15 @@ │ │ │ │ href="native_dialog.html#al_get_menu_item_caption">al_get_menu_item_caption

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_menu_item_flags

    │ │ │ │ -
    int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ -int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ +
    int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the currently set flags. See al_insert_menu_item │ │ │ │ for a description of the available flags.

    │ │ │ │

    Returns -1 if the item was not found.

    │ │ │ │ @@ -1004,16 +962,15 @@ │ │ │ │ href="native_dialog.html#al_toggle_menu_item_flags">al_toggle_menu_item_flags

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_menu_item_flags

    │ │ │ │ -
    void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
    │ │ │ │ -void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
    │ │ │ │ +
    void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Updates the menu item’s flags. See al_insert_menu_item │ │ │ │ for a description of the available flags.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ @@ -1023,16 +980,15 @@ │ │ │ │ href="native_dialog.html#al_toggle_menu_item_flags">al_toggle_menu_item_flags

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_toggle_menu_item_flags

    │ │ │ │ -
    int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
    │ │ │ │ -int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
    │ │ │ │ +
    int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Toggles the specified menu item’s flags. See al_insert_menu_item │ │ │ │ for a description of the available flags.

    │ │ │ │

    Returns a bitfield of only the specified flags that are set after the │ │ │ │ @@ -1045,31 +1001,29 @@ │ │ │ │ al_get/set_menu_item_flags.

    │ │ │ │
    │ │ │ │

    See also: al_get_menu_item_flags, │ │ │ │ al_set_menu_item_flags

    │ │ │ │

    al_get_menu_item_icon

    │ │ │ │ -
    ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ -ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos)
    │ │ │ │ +
    ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the icon associated with the menu. It is safe to draw to the │ │ │ │ returned bitmap, but you must call al_set_menu_item_icon │ │ │ │ in order for the changes to be applied.

    │ │ │ │

    Returns NULL if the item was not found or if it has no │ │ │ │ icon.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_set_menu_item_icon

    │ │ │ │

    al_set_menu_item_icon

    │ │ │ │ -
    void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon)
    │ │ │ │ -void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon)
    │ │ │ │ +
    void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Sets the icon for the specified menu item. The menu assumes ownership │ │ │ │ of the ALLEGRO_BITMAP and may invalidate the pointer, so │ │ │ │ you must clone it if you wish to continue using it.

    │ │ │ │

    If a video bitmap is passed, it will automatically be converted to a │ │ │ │ @@ -1080,16 +1034,15 @@ │ │ │ │ al_clone_bitmap

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_find_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id)
    │ │ │ │ -ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id)
    │ │ │ │ +
    ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Searches in the haystack menu for any submenu with the │ │ │ │ given id. (Note that this only represents a literal ID, and │ │ │ │ cannot be used as an index.)

    │ │ │ │

    Returns the menu, if found. Otherwise returns NULL.

    │ │ │ │ @@ -1099,17 +1052,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_find_menu_item

    │ │ │ │
    bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU **menu,
    │ │ │ │ -   int *index)
    │ │ │ │ -bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU **menu,
    │ │ │ │ -   int *index)
    │ │ │ │ + int *index) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Searches in the haystack menu for an item with the given │ │ │ │ id. (Note that this only represents a literal ID, and │ │ │ │ cannot be used as an index.)

    │ │ │ │

    If menu and index are not │ │ │ │ @@ -1118,16 +1069,15 @@ │ │ │ │ was not found, then their values are undefined.)

    │ │ │ │

    Returns true if the menu item was found.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_find_menu

    │ │ │ │

    al_get_default_menu_event_source

    │ │ │ │ -
    ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void)
    │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void)
    │ │ │ │ +
    ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the default event source used for menu clicks. If a menu was │ │ │ │ not given its own event source via al_enable_menu_event_source, │ │ │ │ then it will use this default source.

    │ │ │ │ @@ -1140,16 +1090,15 @@ │ │ │ │ href="native_dialog.html#al_disable_menu_event_source">al_disable_menu_event_source

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_enable_menu_event_source

    │ │ │ │ -
    ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu)
    │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu)
    │ │ │ │ +
    ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Enables a unique event source for this menu. It and all of its │ │ │ │ sub-menus will use this event source. (It is safe to call this multiple │ │ │ │ times on the same menu.)

    │ │ │ │

    Returns the event source.

    │ │ │ │ @@ -1157,40 +1106,37 @@ │ │ │ │

    See also: al_register_event_source, │ │ │ │ al_get_default_menu_event_source, │ │ │ │ al_disable_menu_event_source

    │ │ │ │

    al_disable_menu_event_source

    │ │ │ │ -
    void al_disable_menu_event_source(ALLEGRO_MENU *menu)
    │ │ │ │ -void al_disable_menu_event_source(ALLEGRO_MENU *menu)
    │ │ │ │ +
    void al_disable_menu_event_source(ALLEGRO_MENU *menu)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Disables a unique event source for the menu, causing it to use the │ │ │ │ default event source.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_get_default_menu_event_source, │ │ │ │ al_enable_menu_event_source

    │ │ │ │

    al_get_display_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display)
    │ │ │ │ -ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display)
    │ │ │ │ +
    ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the menu associated with the display, or │ │ │ │ NULL if it does not have a menu.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_set_display_menu

    │ │ │ │

    al_set_display_menu

    │ │ │ │ -
    bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu)
    │ │ │ │ -bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu)
    │ │ │ │ +
    bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Associates the menu with the display and │ │ │ │ shows it. If there was a previous menu associated with the display, it │ │ │ │ will be destroyed. If you don’t want that to happen, you should first │ │ │ │ remove the menu with al_remove_display_menu

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_popup_menu

    │ │ │ │ -
    bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display)
    │ │ │ │ -bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display)
    │ │ │ │ +
    bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Displays a context menu next to the mouse cursor. The menu must have │ │ │ │ been created with al_create_popup_menu. │ │ │ │ It generates events just like a regular display menu does. It is │ │ │ │ @@ -1241,16 +1186,15 @@ │ │ │ │ href="native_dialog.html#al_create_popup_menu">al_create_popup_menu

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_remove_display_menu

    │ │ │ │ -
    ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display)
    │ │ │ │ -ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display)
    │ │ │ │ +
    ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Detaches the menu associated with the display and returns it. The │ │ │ │ menu can then be used on a different display.

    │ │ │ │

    If you simply want to destroy the active menu, you can call al_set_display_menu │ │ │ │ @@ -1261,12 +1205,12 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:16 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -92,30 +92,27 @@ │ │ │ │ │ o al_popup_menu │ │ │ │ │ o al_remove_display_menu │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_dialog. │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_FILECHOOSER ****** │ │ │ │ │ typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER; │ │ │ │ │ -typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER; │ │ │ │ │ Source_Code │ │ │ │ │ Opaque handle to a native file dialog. │ │ │ │ │ Examples: │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** ALLEGRO_TEXTLOG ****** │ │ │ │ │ typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG; │ │ │ │ │ -typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG; │ │ │ │ │ Source_Code │ │ │ │ │ Opaque handle to a text log window. │ │ │ │ │ Examples: │ │ │ │ │ * common.c │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_init_native_dialog_addon ****** │ │ │ │ │ bool al_init_native_dialog_addon(void) │ │ │ │ │ -bool al_init_native_dialog_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Initialise the native dialog addon. │ │ │ │ │ Returns true on success, false on error. │ │ │ │ │ Since: 5.0.9, 5.1.0 │ │ │ │ │ Note: Prior to Allegro 5.1.0 native dialog functions could be called │ │ │ │ │ without explicit initialisation, but that is now deprecated. Future │ │ │ │ │ functionality may require explicit initialisation. An exception is │ │ │ │ │ @@ -124,37 +121,30 @@ │ │ │ │ │ See also: al_shutdown_native_dialog_addon │ │ │ │ │ Examples: │ │ │ │ │ * common.c │ │ │ │ │ * ex_window_maximized.c │ │ │ │ │ * ex_menu.c │ │ │ │ │ ****** al_is_native_dialog_addon_initialized ****** │ │ │ │ │ bool al_is_native_dialog_addon_initialized(void) │ │ │ │ │ -bool al_is_native_dialog_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the native dialog addon is initialized, otherwise returns │ │ │ │ │ false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ ****** al_shutdown_native_dialog_addon ****** │ │ │ │ │ void al_shutdown_native_dialog_addon(void) │ │ │ │ │ -void al_shutdown_native_dialog_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Shut down the native dialog addon. │ │ │ │ │ Since: 5.0.9, 5.1.5 │ │ │ │ │ See also: al_init_native_dialog_addon │ │ │ │ │ ****** al_create_native_file_dialog ****** │ │ │ │ │ ALLEGRO_FILECHOOSER *al_create_native_file_dialog( │ │ │ │ │ char const *initial_path, │ │ │ │ │ char const *title, │ │ │ │ │ char const *patterns, │ │ │ │ │ int mode) │ │ │ │ │ -ALLEGRO_FILECHOOSER *al_create_native_file_dialog( │ │ │ │ │ - char const *initial_path, │ │ │ │ │ - char const *title, │ │ │ │ │ - char const *patterns, │ │ │ │ │ - int mode) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a new native file dialog. You should only have one such dialog opened │ │ │ │ │ at a time. │ │ │ │ │ Parameters: │ │ │ │ │ * initial_path: The initial search path and filename. Can be NULL. To start │ │ │ │ │ with a blank file name the string should end with a directory separator │ │ │ │ │ (this should be the common case). │ │ │ │ │ @@ -189,55 +179,46 @@ │ │ │ │ │ are done, call al_destroy_native_file_dialog on it. │ │ │ │ │ If a dialog window could not be created then this function returns NULL. │ │ │ │ │ Examples: │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_show_native_file_dialog ****** │ │ │ │ │ bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display, │ │ │ │ │ ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ -bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display, │ │ │ │ │ - ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ Source_Code │ │ │ │ │ Show the dialog window. The display may be NULL, otherwise the given display is │ │ │ │ │ treated as the parent if possible. │ │ │ │ │ This function blocks the calling thread until it returns, so you may want to │ │ │ │ │ spawn a thread with al_create_thread and call it from inside that thread. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ Examples: │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_get_native_file_dialog_count ****** │ │ │ │ │ int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ -int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the number of files selected, or 0 if the dialog was cancelled. │ │ │ │ │ Examples: │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_get_native_file_dialog_path ****** │ │ │ │ │ const char *al_get_native_file_dialog_path( │ │ │ │ │ const ALLEGRO_FILECHOOSER *dialog, size_t i) │ │ │ │ │ -const char *al_get_native_file_dialog_path( │ │ │ │ │ - const ALLEGRO_FILECHOOSER *dialog, size_t i) │ │ │ │ │ Source_Code │ │ │ │ │ Returns one of the selected paths with index i. The index should range from 0 │ │ │ │ │ to the return value of al_get_native_file_dialog_count -1. │ │ │ │ │ Examples: │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_destroy_native_file_dialog ****** │ │ │ │ │ void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ -void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ Source_Code │ │ │ │ │ Frees up all resources used by the file dialog. │ │ │ │ │ Examples: │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_show_native_message_box ****** │ │ │ │ │ int al_show_native_message_box(ALLEGRO_DISPLAY *display, │ │ │ │ │ char const *title, char const *heading, char const *text, │ │ │ │ │ char const *buttons, int flags) │ │ │ │ │ -int al_show_native_message_box(ALLEGRO_DISPLAY *display, │ │ │ │ │ - char const *title, char const *heading, char const *text, │ │ │ │ │ - char const *buttons, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Show a native GUI message box. This can be used for example to display an error │ │ │ │ │ message if creation of an initial display fails. The display may be NULL, │ │ │ │ │ otherwise the given display is treated as the parent if possible. │ │ │ │ │ The message box will have a single “OK” button and use the style │ │ │ │ │ informative dialog boxes usually have on the native system. If the buttons │ │ │ │ │ parameter is not NULL, you can instead specify the button text in a string, │ │ │ │ │ @@ -282,15 +263,14 @@ │ │ │ │ │ ); │ │ │ │ │ Examples: │ │ │ │ │ * ex_nodisplay.c │ │ │ │ │ * common.c │ │ │ │ │ * ex_menu.c │ │ │ │ │ ****** al_open_native_text_log ****** │ │ │ │ │ ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags) │ │ │ │ │ -ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Opens a window to which you can append log messages with │ │ │ │ │ al_append_native_text_log. This can be useful for debugging if you don’t want │ │ │ │ │ to depend on a console being available. │ │ │ │ │ Use al_close_native_text_log to close the window again. │ │ │ │ │ The flags available are: │ │ │ │ │ ALLEGRO_TEXTLOG_NO_CLOSE │ │ │ │ │ @@ -303,56 +283,50 @@ │ │ │ │ │ are not implemented on the platform. │ │ │ │ │ See also: al_append_native_text_log, al_close_native_text_log │ │ │ │ │ Examples: │ │ │ │ │ * common.c │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_close_native_text_log ****** │ │ │ │ │ void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ -void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ Source_Code │ │ │ │ │ Closes a message log window opened with al_open_native_text_log earlier. │ │ │ │ │ Does nothing if passed NULL. │ │ │ │ │ See also: al_open_native_text_log │ │ │ │ │ Examples: │ │ │ │ │ * common.c │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_append_native_text_log ****** │ │ │ │ │ void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog, │ │ │ │ │ char const *format, ...) │ │ │ │ │ -void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog, │ │ │ │ │ - char const *format, ...) │ │ │ │ │ Source_Code │ │ │ │ │ Appends a line of text to the message log window and scrolls to the bottom (if │ │ │ │ │ the line would not be visible otherwise). This works like printf. A line is │ │ │ │ │ continued until you add a newline character. │ │ │ │ │ If the window is NULL then this function will fall back to calling printf. This │ │ │ │ │ makes it convenient to support logging to a window or a terminal. │ │ │ │ │ Examples: │ │ │ │ │ * common.c │ │ │ │ │ * ex_native_filechooser.c │ │ │ │ │ ****** al_get_native_text_log_event_source ****** │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_native_text_log_event_source( │ │ │ │ │ ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_native_text_log_event_source( │ │ │ │ │ - ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ Source_Code │ │ │ │ │ Get an event source for a text log window. The possible events are: │ │ │ │ │ ALLEGRO_EVENT_NATIVE_DIALOG_CLOSE │ │ │ │ │ The window was requested to be closed, either by pressing the close │ │ │ │ │ button or pressing Escape on the keyboard. The user.data1 field will hold │ │ │ │ │ a pointer to the ALLEGRO_TEXTLOG which generated the event. The │ │ │ │ │ user.data2 field will be 1 if the event was generated as a result of a │ │ │ │ │ key press; otherwise it will be zero. │ │ │ │ │ Examples: │ │ │ │ │ * common.c │ │ │ │ │ * ex_saw.c │ │ │ │ │ * ex_resample_test.c │ │ │ │ │ ****** al_get_allegro_native_dialog_version ****** │ │ │ │ │ uint32_t al_get_allegro_native_dialog_version(void) │ │ │ │ │ -uint32_t al_get_allegro_native_dialog_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ ****** Menus ****** │ │ │ │ │ Menus are implemented on Windows, X and OS X. Menus on X are implemented with │ │ │ │ │ GTK, and have a special requirement: you must set the ALLEGRO_GTK_TOPLEVEL │ │ │ │ │ display flag prior to creating the display which will have menus attached. │ │ │ │ │ @@ -396,23 +370,21 @@ │ │ │ │ │ } │ │ │ │ │ } │ │ │ │ │ Because there is no “DISPLAY_DESTROYED” event, you must call │ │ │ │ │ al_set_display_menu(display, NULL) before destroying any display with a menu │ │ │ │ │ attached, to avoid leaking resources. │ │ │ │ │ ***** ALLEGRO_MENU ***** │ │ │ │ │ typedef struct ALLEGRO_MENU ALLEGRO_MENU; │ │ │ │ │ -typedef struct ALLEGRO_MENU ALLEGRO_MENU; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque data type that represents a menu that contains menu items. Each of │ │ │ │ │ the menu items may optionally include a sub-menu. │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** ALLEGRO_MENU_INFO ***** │ │ │ │ │ typedef struct ALLEGRO_MENU_INFO { │ │ │ │ │ -typedef struct ALLEGRO_MENU_INFO { │ │ │ │ │ Source_Code │ │ │ │ │ A structure that defines how to create a complete menu system. For standard │ │ │ │ │ menu items, the following format is used: │ │ │ │ │ { caption, id, flags, icon } │ │ │ │ │ For special items, these macros are helpful: │ │ │ │ │ ALLEGRO_START_OF_MENU(caption, id) │ │ │ │ │ ALLEGRO_MENU_SEPARATOR │ │ │ │ │ @@ -440,62 +412,55 @@ │ │ │ │ │ If you prefer, you can build the menu without the structure by using │ │ │ │ │ al_create_menu and al_insert_menu_item. │ │ │ │ │ See also: al_build_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_create_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_create_menu(void) │ │ │ │ │ -ALLEGRO_MENU *al_create_menu(void) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a menu container that can hold menu items. │ │ │ │ │ Returns NULL on failure. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_create_popup_menu, al_build_menu │ │ │ │ │ ***** al_create_popup_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_create_popup_menu(void) │ │ │ │ │ -ALLEGRO_MENU *al_create_popup_menu(void) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a menu container for popup menus. Only the root (outermost) menu should │ │ │ │ │ be created with this function. Sub menus of popups should be created with │ │ │ │ │ al_create_menu. │ │ │ │ │ Returns NULL on failure. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_create_menu, al_build_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_build_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info) │ │ │ │ │ -ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info) │ │ │ │ │ Source_Code │ │ │ │ │ Builds a menu based on the specifications of a sequence of ALLEGRO_MENU_INFO │ │ │ │ │ elements. │ │ │ │ │ Returns a pointer to the root ALLEGRO_MENU, or NULL on failure. To gain access │ │ │ │ │ to the other menus and items, you will need to search for them using │ │ │ │ │ al_find_menu_item. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: ALLEGRO_MENU_INFO, al_create_menu, al_create_popup_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_append_menu_item ***** │ │ │ │ │ int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id, │ │ │ │ │ int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ -int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id, │ │ │ │ │ - int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ Source_Code │ │ │ │ │ Appends a menu item to the end of the menu. See al_insert_menu_item for more │ │ │ │ │ information. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_insert_menu_item, al_remove_menu_item │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_insert_menu_item ***** │ │ │ │ │ int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title, │ │ │ │ │ uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ -int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title, │ │ │ │ │ - uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ Source_Code │ │ │ │ │ Inserts a menu item at the spot specified. See the introductory text for a │ │ │ │ │ detailed explanation of how the pos parameter is interpreted. │ │ │ │ │ The parent menu can be a popup menu or a regular menu. To underline one │ │ │ │ │ character in the title, prefix it with an ampersand. │ │ │ │ │ The flags can be any combination of: │ │ │ │ │ ALLEGRO_MENU_ITEM_DISABLED │ │ │ │ │ @@ -511,201 +476,181 @@ │ │ │ │ │ menu must have previously been created with al_create_menu, and not be │ │ │ │ │ associated with any other menu. │ │ │ │ │ Returns true on success. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_append_menu_item, al_remove_menu_item │ │ │ │ │ ***** al_remove_menu_item ***** │ │ │ │ │ bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ Source_Code │ │ │ │ │ Removes the specified item from the menu and destroys it. If the item contains │ │ │ │ │ a sub-menu, it too is destroyed. Any references to it are invalidated. If you │ │ │ │ │ want to preserve that sub-menu, you should first make a copy with │ │ │ │ │ al_clone_menu. │ │ │ │ │ This is safe to call on a menu that is currently being displayed. │ │ │ │ │ Returns true if an item was removed. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_append_menu_item, al_insert_menu_item, al_destroy_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_clone_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu) │ │ │ │ │ -ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu) │ │ │ │ │ Source_Code │ │ │ │ │ Makes a copy of a menu so that it can be reused on another display. The menu │ │ │ │ │ being cloned can be anything: a regular menu, a popup menu, or a sub-menu. │ │ │ │ │ Returns the cloned menu. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_clone_menu_for_popup │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_clone_menu_for_popup ***** │ │ │ │ │ ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu) │ │ │ │ │ -ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu) │ │ │ │ │ Source_Code │ │ │ │ │ Exactly like al_clone_menu, except that the copy is for a popup menu. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_clone_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_destroy_menu ***** │ │ │ │ │ void al_destroy_menu(ALLEGRO_MENU *menu) │ │ │ │ │ -void al_destroy_menu(ALLEGRO_MENU *menu) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys an entire menu, including its sub-menus. Any references to it or a │ │ │ │ │ sub-menu are no longer valid. It is safe to call this on a menu that is │ │ │ │ │ currently being displayed. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_remove_menu_item │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_get_menu_item_caption ***** │ │ │ │ │ const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the caption associated with the menu item. It is valid as long as the │ │ │ │ │ caption is not modified. │ │ │ │ │ Returns NULL if the item was not found. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_set_menu_item_caption │ │ │ │ │ ***** al_set_menu_item_caption ***** │ │ │ │ │ void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption) │ │ │ │ │ -void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption) │ │ │ │ │ Source_Code │ │ │ │ │ Updates the menu item caption with the new caption. This will invalidate any │ │ │ │ │ previous calls to al_get_menu_item_caption. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_get_menu_item_caption │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_get_menu_item_flags ***** │ │ │ │ │ int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the currently set flags. See al_insert_menu_item for a description of │ │ │ │ │ the available flags. │ │ │ │ │ Returns -1 if the item was not found. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_set_menu_item_flags, al_toggle_menu_item_flags │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_set_menu_item_flags ***** │ │ │ │ │ void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ -void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Updates the menu item’s flags. See al_insert_menu_item for a description of │ │ │ │ │ the available flags. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_get_menu_item_flags, al_toggle_menu_item_flags │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_toggle_menu_item_flags ***** │ │ │ │ │ int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ -int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Toggles the specified menu item’s flags. See al_insert_menu_item for a │ │ │ │ │ description of the available flags. │ │ │ │ │ Returns a bitfield of only the specified flags that are set after the toggle. A │ │ │ │ │ flag that was not toggled will not be returned, even if it is set. Returns - │ │ │ │ │ 1 if the id is invalid. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Unstable_API: Redundant with al_get/set_menu_item_flags. │ │ │ │ │ See also: al_get_menu_item_flags, al_set_menu_item_flags │ │ │ │ │ ***** al_get_menu_item_icon ***** │ │ │ │ │ ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the icon associated with the menu. It is safe to draw to the returned │ │ │ │ │ bitmap, but you must call al_set_menu_item_icon in order for the changes to be │ │ │ │ │ applied. │ │ │ │ │ Returns NULL if the item was not found or if it has no icon. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_set_menu_item_icon │ │ │ │ │ ***** al_set_menu_item_icon ***** │ │ │ │ │ void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon) │ │ │ │ │ -void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon) │ │ │ │ │ Source_Code │ │ │ │ │ Sets the icon for the specified menu item. The menu assumes ownership of the │ │ │ │ │ ALLEGRO_BITMAP and may invalidate the pointer, so you must clone it if you wish │ │ │ │ │ to continue using it. │ │ │ │ │ If a video bitmap is passed, it will automatically be converted to a memory │ │ │ │ │ bitmap, so it is preferable to pass a memory bitmap. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_get_menu_item_icon, al_clone_bitmap │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_find_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id) │ │ │ │ │ -ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id) │ │ │ │ │ Source_Code │ │ │ │ │ Searches in the haystack menu for any submenu with the given id. (Note that │ │ │ │ │ this only represents a literal ID, and cannot be used as an index.) │ │ │ │ │ Returns the menu, if found. Otherwise returns NULL. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_find_menu_item │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_find_menu_item ***** │ │ │ │ │ bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU │ │ │ │ │ **menu, │ │ │ │ │ int *index) │ │ │ │ │ -bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU │ │ │ │ │ -**menu, │ │ │ │ │ - int *index) │ │ │ │ │ Source_Code │ │ │ │ │ Searches in the haystack menu for an item with the given id. (Note that this │ │ │ │ │ only represents a literal ID, and cannot be used as an index.) │ │ │ │ │ If menu and index are not NULL, they will be set as the parent menu containing │ │ │ │ │ the item and the zero-based (positive) index of the item. (If the menu item was │ │ │ │ │ not found, then their values are undefined.) │ │ │ │ │ Returns true if the menu item was found. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_find_menu │ │ │ │ │ ***** al_get_default_menu_event_source ***** │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the default event source used for menu clicks. If a menu was not given │ │ │ │ │ its own event source via al_enable_menu_event_source, then it will use this │ │ │ │ │ default source. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_register_event_source, al_enable_menu_event_source, │ │ │ │ │ al_disable_menu_event_source │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_enable_menu_event_source ***** │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ Source_Code │ │ │ │ │ Enables a unique event source for this menu. It and all of its sub-menus will │ │ │ │ │ use this event source. (It is safe to call this multiple times on the same │ │ │ │ │ menu.) │ │ │ │ │ Returns the event source. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_register_event_source, al_get_default_menu_event_source, │ │ │ │ │ al_disable_menu_event_source │ │ │ │ │ ***** al_disable_menu_event_source ***** │ │ │ │ │ void al_disable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ -void al_disable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ Source_Code │ │ │ │ │ Disables a unique event source for the menu, causing it to use the default │ │ │ │ │ event source. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_get_default_menu_event_source, al_enable_menu_event_source │ │ │ │ │ ***** al_get_display_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ -ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the menu associated with the display, or NULL if it does not have a │ │ │ │ │ menu. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_set_display_menu │ │ │ │ │ ***** al_set_display_menu ***** │ │ │ │ │ bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu) │ │ │ │ │ -bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu) │ │ │ │ │ Source_Code │ │ │ │ │ Associates the menu with the display and shows it. If there was a previous menu │ │ │ │ │ associated with the display, it will be destroyed. If you don’t want that to │ │ │ │ │ happen, you should first remove the menu with al_remove_display_menu. │ │ │ │ │ If the menu is already attached to a display, it will not be attached to the │ │ │ │ │ new display. If menu is NULL, the current menu will still be destroyed. │ │ │ │ │ Note: Attaching a menu may cause the window as available to your │ │ │ │ │ @@ -715,15 +660,14 @@ │ │ │ │ │ Returns true if successful. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_create_menu, al_remove_display_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_popup_menu ***** │ │ │ │ │ bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display) │ │ │ │ │ -bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display) │ │ │ │ │ Source_Code │ │ │ │ │ Displays a context menu next to the mouse cursor. The menu must have been │ │ │ │ │ created with al_create_popup_menu. It generates events just like a regular │ │ │ │ │ display menu does. It is possible that the menu will be canceled without any │ │ │ │ │ selection being made. │ │ │ │ │ The display parameter indicates which window the menu is associated with (when │ │ │ │ │ you process the menu click event), but does not actually affect where the menu │ │ │ │ │ @@ -735,18 +679,17 @@ │ │ │ │ │ corresponds to the final mouse button that was pressed. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_create_popup_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ ***** al_remove_display_menu ***** │ │ │ │ │ ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ -ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ Source_Code │ │ │ │ │ Detaches the menu associated with the display and returns it. The menu can then │ │ │ │ │ be used on a different display. │ │ │ │ │ If you simply want to destroy the active menu, you can call al_set_display_menu │ │ │ │ │ with a NULL menu. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_set_display_menu │ │ │ │ │ Examples: │ │ │ │ │ * ex_menu.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:16 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/opengl.html │ │ │ │ @@ -417,12 +417,12 @@ │ │ │ │ GL_ARB_texture_non_power_of_two=0 │ │ │ │ GL_EXT_framebuffer_object=0 │ │ │ │

    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).

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:15 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -214,8 +214,8 @@ │ │ │ │ │ You can disable the detection of any OpenGL extension by Allegro with a section │ │ │ │ │ like this in allegro5.cfg: │ │ │ │ │ [opengl_disabled_extensions] │ │ │ │ │ GL_ARB_texture_non_power_of_two=0 │ │ │ │ │ GL_EXT_framebuffer_object=0 │ │ │ │ │ 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). │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:58 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:15 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/path.html │ │ │ │ @@ -625,12 +625,12 @@ │ │ │ │
  • ex_path.c
  • │ │ │ │
  • ex_path_test.c
  • │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:13 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -323,8 +323,8 @@ │ │ │ │ │ Note that this does not 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. │ │ │ │ │ Examples: │ │ │ │ │ * ex_path.c │ │ │ │ │ * ex_path_test.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:13 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/physfs.html │ │ │ │ @@ -182,16 +182,15 @@ │ │ │ │ href="physfs.html#al_set_physfs_file_interface">al_set_physfs_file_interface, │ │ │ │ then al_fopen or another function that │ │ │ │ calls al_fopen.

    │ │ │ │

    These functions are declared in the following header file. Link with │ │ │ │ allegro_physfs.

    │ │ │ │
     #include <allegro5/allegro_physfs.h>
    │ │ │ │

    al_set_physfs_file_interface

    │ │ │ │ -
    void al_set_physfs_file_interface(void)
    │ │ │ │ -void al_set_physfs_file_interface(void)
    │ │ │ │ +
    void al_set_physfs_file_interface(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This function sets both the ALLEGRO_FILE_INTERFACE and │ │ │ │ ALLEGRO_FS_INTERFACE for │ │ │ │ the calling thread.

    │ │ │ │ @@ -223,21 +222,20 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_allegro_physfs_version

    │ │ │ │ -
    uint32_t al_get_allegro_physfs_version(void)
    │ │ │ │ -uint32_t al_get_allegro_physfs_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_physfs_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:16 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -58,15 +58,14 @@ │ │ │ │ │ ALLEGRO_FILE using PhysicsFS, first call al_set_physfs_file_interface, then │ │ │ │ │ al_fopen or another function that calls al_fopen. │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_physfs. │ │ │ │ │ #include │ │ │ │ │ ****** al_set_physfs_file_interface ****** │ │ │ │ │ void al_set_physfs_file_interface(void) │ │ │ │ │ -void al_set_physfs_file_interface(void) │ │ │ │ │ Source_Code │ │ │ │ │ This function sets both the ALLEGRO_FILE_INTERFACE and ALLEGRO_FS_INTERFACE for │ │ │ │ │ the calling thread. │ │ │ │ │ Subsequent calls to al_fopen on the calling thread will be handled by │ │ │ │ │ PHYSFS_open(). Operations on the files returned by al_fopen will then be │ │ │ │ │ performed through PhysicsFS. Calls to the Allegro filesystem functions, such as │ │ │ │ │ al_read_directory or al_create_fs_entry, on the calling thread will be diverted │ │ │ │ │ @@ -79,12 +78,11 @@ │ │ │ │ │ Note: PhysFS does not support the text-mode reading and writing, │ │ │ │ │ which means that Windows-style newlines will not be preserved. │ │ │ │ │ See also: al_set_new_file_interface. │ │ │ │ │ Examples: │ │ │ │ │ * ex_physfs.c │ │ │ │ │ ****** al_get_allegro_physfs_version ****** │ │ │ │ │ uint32_t al_get_allegro_physfs_version(void) │ │ │ │ │ -uint32_t al_get_allegro_physfs_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:16 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/platform.html │ │ │ │ @@ -412,12 +412,12 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:14 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -203,8 +203,8 @@ │ │ │ │ │ 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. │ │ │ │ │ Since: 5.2.3 │ │ │ │ │ Unstable_API: New API. │ │ │ │ │ Examples: │ │ │ │ │ * ex_icon2.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:14 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/primitives.html │ │ │ │ @@ -268,24 +268,22 @@ │ │ │ │ │ │ │ │

    These functions are declared in the following header file. Link with │ │ │ │ allegro_primitives.

    │ │ │ │
     #include <allegro5/allegro_primitives.h>
    │ │ │ │

    General

    │ │ │ │

    al_get_allegro_primitives_version

    │ │ │ │ -
    uint32_t al_get_allegro_primitives_version(void)
    │ │ │ │ -uint32_t al_get_allegro_primitives_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_primitives_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    al_init_primitives_addon

    │ │ │ │ -
    bool al_init_primitives_addon(void)
    │ │ │ │ -bool al_init_primitives_addon(void)
    │ │ │ │ +
    bool al_init_primitives_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Initializes the primitives addon.

    │ │ │ │

    Returns: True on success, false on failure.

    │ │ │ │

    See also: al_shutdown_primitives_addon

    │ │ │ │ @@ -296,29 +294,27 @@ │ │ │ │
  • ex_blend_bench.c
  • │ │ │ │
  • ex_enet_client.c
  • │ │ │ │ │ │ │ │

    al_is_primitives_addon_initialized

    │ │ │ │ -
    bool al_is_primitives_addon_initialized(void)
    │ │ │ │ -bool al_is_primitives_addon_initialized(void)
    │ │ │ │ +
    bool al_is_primitives_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the primitives addon is initialized, otherwise │ │ │ │ returns false.

    │ │ │ │

    Since: 5.2.6

    │ │ │ │

    See also: al_init_primitives_addon, │ │ │ │ al_shutdown_primitives_addon

    │ │ │ │

    al_shutdown_primitives_addon

    │ │ │ │ -
    void al_shutdown_primitives_addon(void)
    │ │ │ │ -void al_shutdown_primitives_addon(void)
    │ │ │ │ +
    void al_shutdown_primitives_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Shut down the primitives addon. This is done automatically at program │ │ │ │ exit, but can be called any time the user wishes as well.

    │ │ │ │

    See also: al_init_primitives_addon

    │ │ │ │ @@ -413,17 +409,15 @@ │ │ │ │ completely covered by a shape or completely not covered, then the shape │ │ │ │ edges will be sharp. The offsets used in the second diagram were chosen │ │ │ │ so that this is the case: if you use those offsets, your shapes (if they │ │ │ │ are oriented the same way as they are on the diagram) should look the │ │ │ │ same whether multisampling is turned on or off.

    │ │ │ │

    al_draw_line

    │ │ │ │
    void al_draw_line(float x1, float y1, float x2, float y2,
    │ │ │ │ -   ALLEGRO_COLOR color, float thickness)
    │ │ │ │ -void al_draw_line(float x1, float y1, float x2, float y2,
    │ │ │ │ -   ALLEGRO_COLOR color, float thickness)
    │ │ │ │ + ALLEGRO_COLOR color, float thickness) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Draws a line segment between two points.

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │
    • x1, y1, x2, y2 - Start and end points of the line
    • │ │ │ │ @@ -440,17 +434,15 @@ │ │ │ │
    • ex_resize.c
    • │ │ │ │
    • ex_mouse_warp.c
    • │ │ │ │
    │ │ │ │

    al_draw_triangle

    │ │ │ │
    void al_draw_triangle(float x1, float y1, float x2, float y2,
    │ │ │ │ -   float x3, float y3, ALLEGRO_COLOR color, float thickness)
    │ │ │ │ -void al_draw_triangle(float x1, float y1, float x2, float y2,
    │ │ │ │ -   float x3, float y3, ALLEGRO_COLOR color, float thickness)
    │ │ │ │ + float x3, float y3, ALLEGRO_COLOR color, float thickness) │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Draws an outlined triangle.

    │ │ │ │

    Parameters:

    │ │ │ │
      │ │ │ │
    • x1, y1, x2, y2, x3, y3 - Three points of the triangle
    • │ │ │ │ @@ -465,17 +457,15 @@ │ │ │ │

      Examples:

      │ │ │ │ │ │ │ │

      al_draw_filled_triangle

      │ │ │ │
      void al_draw_filled_triangle(float x1, float y1, float x2, float y2,
      │ │ │ │ -   float x3, float y3, ALLEGRO_COLOR color)
      │ │ │ │ -void al_draw_filled_triangle(float x1, float y1, float x2, float y2,
      │ │ │ │ -   float x3, float y3, ALLEGRO_COLOR color)
      │ │ │ │ + float x3, float y3, ALLEGRO_COLOR color) │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Draws a filled triangle.

      │ │ │ │

      Parameters:

      │ │ │ │
        │ │ │ │
      • x1, y1, x2, y2, x3, y3 - Three points of the triangle
      • │ │ │ │ @@ -486,17 +476,15 @@ │ │ │ │

        Examples:

        │ │ │ │ │ │ │ │

        al_draw_rectangle

        │ │ │ │
        void al_draw_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   ALLEGRO_COLOR color, float thickness)
        │ │ │ │ -void al_draw_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   ALLEGRO_COLOR color, float thickness)
        │ │ │ │ + ALLEGRO_COLOR color, float thickness) │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Draws an outlined rectangle.

        │ │ │ │

        Parameters:

        │ │ │ │
          │ │ │ │
        • x1, y1, x2, y2 - Upper left and lower right points of the │ │ │ │ @@ -516,17 +504,15 @@ │ │ │ │
        • ex_font_justify.cpp
        • │ │ │ │
        • ex_subbitmap.c
        • │ │ │ │
        │ │ │ │

        al_draw_filled_rectangle

        │ │ │ │
        void al_draw_filled_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   ALLEGRO_COLOR color)
        │ │ │ │ -void al_draw_filled_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   ALLEGRO_COLOR color)
        │ │ │ │ + ALLEGRO_COLOR color) │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Draws a filled rectangle.

        │ │ │ │

        Parameters:

        │ │ │ │
          │ │ │ │
        • x1, y1, x2, y2 - Upper left and lower right points of the │ │ │ │ @@ -543,17 +529,15 @@ │ │ │ │
        • ex_timer.c
        • │ │ │ │
        • ex_window_maximized.c
        • │ │ │ │
        │ │ │ │

        al_draw_rounded_rectangle

        │ │ │ │
        void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   float rx, float ry, ALLEGRO_COLOR color, float thickness)
        │ │ │ │ -void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   float rx, float ry, ALLEGRO_COLOR color, float thickness)
        │ │ │ │ + float rx, float ry, ALLEGRO_COLOR color, float thickness) │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Draws an outlined rounded rectangle.

        │ │ │ │

        Parameters:

        │ │ │ │
          │ │ │ │
        • x1, y1, x2, y2 - Upper left and lower right points of the │ │ │ │ @@ -574,17 +558,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L323">ex_prim.c
        • │ │ │ │
        • ex_audio_chain.cpp
        • │ │ │ │
        │ │ │ │

        al_draw_filled_rounded_rectangle

        │ │ │ │
        void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   float rx, float ry, ALLEGRO_COLOR color)
        │ │ │ │ -void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2,
        │ │ │ │ -   float rx, float ry, ALLEGRO_COLOR color)
        │ │ │ │ + float rx, float ry, ALLEGRO_COLOR color) │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Draws an filled rounded rectangle.

        │ │ │ │

        Parameters:

        │ │ │ │
          │ │ │ │
        • x1, y1, x2, y2 - Upper left and lower right points of the │ │ │ │ @@ -604,18 +586,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L57">ex_video.c
        • │ │ │ │
        • ex_prim.c
        • │ │ │ │
        │ │ │ │

        al_calculate_arc

        │ │ │ │
        void al_calculate_arc(float* dest, int stride, float cx, float cy,
        │ │ │ │     float rx, float ry, float start_theta, float delta_theta, float thickness,
        │ │ │ │ -   int num_points)
        │ │ │ │ -void al_calculate_arc(float* dest, int stride, float cx, float cy,
        │ │ │ │ -   float rx, float ry, float start_theta, float delta_theta, float thickness,
        │ │ │ │ -   int num_points)
        │ │ │ │ + int num_points) │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        When thickness <= 0 this function computes positions │ │ │ │ of num_points regularly spaced points on an elliptical arc. │ │ │ │ When thickness > 0 this function computes two sets of │ │ │ │ points, obtained as follows: the first set is obtained by taking the │ │ │ │ @@ -679,17 +658,15 @@ │ │ │ │

        Examples:

        │ │ │ │ │ │ │ │

        al_draw_pieslice

        │ │ │ │
        void al_draw_pieslice(float cx, float cy, float r, float start_theta,
        │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color, float thickness)
        │ │ │ │ -void al_draw_pieslice(float cx, float cy, float r, float start_theta,
        │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color, float thickness)
        │ │ │ │ + float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Draws a pieslice (outlined circular sector).

        │ │ │ │

        Parameters:

        │ │ │ │
          │ │ │ │
        • cx, cy - Center of the pieslice
        • │ │ │ │ @@ -708,17 +685,15 @@ │ │ │ │

          Examples:

          │ │ │ │ │ │ │ │

          al_draw_filled_pieslice

          │ │ │ │
          void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta,
          │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color)
          │ │ │ │ -void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta,
          │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color)
          │ │ │ │ + float delta_theta, ALLEGRO_COLOR color) │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Draws a filled pieslice (filled circular sector).

          │ │ │ │

          Parameters:

          │ │ │ │
            │ │ │ │
          • cx, cy - Center of the pieslice
          • │ │ │ │ @@ -735,17 +710,15 @@ │ │ │ │

            Examples:

            │ │ │ │ │ │ │ │

            al_draw_ellipse

            │ │ │ │
            void al_draw_ellipse(float cx, float cy, float rx, float ry,
            │ │ │ │ -   ALLEGRO_COLOR color, float thickness)
            │ │ │ │ -void al_draw_ellipse(float cx, float cy, float rx, float ry,
            │ │ │ │ -   ALLEGRO_COLOR color, float thickness)
            │ │ │ │ + ALLEGRO_COLOR color, float thickness) │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Draws an outlined ellipse.

            │ │ │ │

            Parameters:

            │ │ │ │
              │ │ │ │
            • cx, cy - Center of the ellipse
            • │ │ │ │ @@ -762,17 +735,15 @@ │ │ │ │
            • ex_draw.c
            • │ │ │ │
            • ex_prim.c
            • │ │ │ │
            │ │ │ │

            al_draw_filled_ellipse

            │ │ │ │
            void al_draw_filled_ellipse(float cx, float cy, float rx, float ry,
            │ │ │ │ -   ALLEGRO_COLOR color)
            │ │ │ │ -void al_draw_filled_ellipse(float cx, float cy, float rx, float ry,
            │ │ │ │ -   ALLEGRO_COLOR color)
            │ │ │ │ + ALLEGRO_COLOR color) │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Draws a filled ellipse.

            │ │ │ │

            Parameters:

            │ │ │ │
              │ │ │ │
            • cx, cy - Center of the ellipse
            • │ │ │ │ @@ -787,17 +758,15 @@ │ │ │ │
            • ex_draw.c
            • │ │ │ │
            • ex_prim.c
            • │ │ │ │
            │ │ │ │

            al_draw_circle

            │ │ │ │
            void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color,
            │ │ │ │ -   float thickness)
            │ │ │ │ -void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color,
            │ │ │ │ -   float thickness)
            │ │ │ │ + float thickness) │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Draws an outlined circle.

            │ │ │ │

            Parameters:

            │ │ │ │
              │ │ │ │
            • cx, cy - Center of the circle
            • │ │ │ │ @@ -813,16 +782,15 @@ │ │ │ │ │ │ │ │

              al_draw_filled_circle

              │ │ │ │ -
              void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color)
              │ │ │ │ -void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color)
              │ │ │ │ +
              void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color)
              │ │ │ │

              Source │ │ │ │ Code

              │ │ │ │

              Draws a filled circle.

              │ │ │ │

              Parameters:

              │ │ │ │ │ │ │ │

              al_draw_arc

              │ │ │ │
              void al_draw_arc(float cx, float cy, float r, float start_theta,
              │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color, float thickness)
              │ │ │ │ -void al_draw_arc(float cx, float cy, float r, float start_theta,
              │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color, float thickness)
              │ │ │ │ + float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │

              Source │ │ │ │ Code

              │ │ │ │

              Draws an arc.

              │ │ │ │

              Parameters:

              │ │ │ │
                │ │ │ │
              • cx, cy - Center of the arc
              • │ │ │ │ @@ -868,17 +834,15 @@ │ │ │ │

                Examples:

                │ │ │ │ │ │ │ │

                al_draw_elliptical_arc

                │ │ │ │
                void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float start_theta,
                │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color, float thickness)
                │ │ │ │ -void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float start_theta,
                │ │ │ │ -   float delta_theta, ALLEGRO_COLOR color, float thickness)
                │ │ │ │ + float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Draws an elliptical arc.

                │ │ │ │

                Parameters:

                │ │ │ │
                  │ │ │ │
                • cx, cy - Center of the arc
                • │ │ │ │ @@ -898,17 +862,15 @@ │ │ │ │

                  Examples:

                  │ │ │ │ │ │ │ │

                  al_calculate_spline

                  │ │ │ │
                  void al_calculate_spline(float* dest, int stride, float points[8],
                  │ │ │ │ -   float thickness, int num_segments)
                  │ │ │ │ -void al_calculate_spline(float* dest, int stride, float points[8],
                  │ │ │ │ -   float thickness, int num_segments)
                  │ │ │ │ + float thickness, int num_segments) │ │ │ │

                  Source │ │ │ │ Code

                  │ │ │ │

                  Calculates a Bézier spline given 4 control points. If │ │ │ │ thickness <= 0, then num_segments of points │ │ │ │ are required in the destination, otherwise twice as many are needed. The │ │ │ │ destination buffer should consist of regularly spaced (by distance of │ │ │ │ @@ -925,16 +887,15 @@ │ │ │ │

                • num_segments - The number of points to calculate
                • │ │ │ │
                │ │ │ │

                See also: al_draw_spline, al_calculate_arc, al_calculate_ribbon

                │ │ │ │

                al_draw_spline

                │ │ │ │ -
                void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness)
                │ │ │ │ -void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness)
                │ │ │ │ +
                void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness)
                │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Draws a Bézier spline given 4 control points.

                │ │ │ │

                Parameters:

                │ │ │ │
                  │ │ │ │
                • points - An array of 4 pairs of coordinates of the 4 control │ │ │ │ @@ -948,17 +909,15 @@ │ │ │ │

                  Examples:

                  │ │ │ │ │ │ │ │

                  al_calculate_ribbon

                  │ │ │ │
                  void al_calculate_ribbon(float* dest, int dest_stride, const float *points,
                  │ │ │ │ -   int points_stride, float thickness, int num_segments)
                  │ │ │ │ -void al_calculate_ribbon(float* dest, int dest_stride, const float *points,
                  │ │ │ │ -   int points_stride, float thickness, int num_segments)
                  │ │ │ │ + int points_stride, float thickness, int num_segments) │ │ │ │

                  Source │ │ │ │ Code

                  │ │ │ │

                  Calculates a ribbon given an array of points. The ribbon will go │ │ │ │ through all of the passed points. If thickness <= 0, │ │ │ │ then num_segments of points are required in the destination │ │ │ │ buffer, otherwise twice as many are needed. The destination and the │ │ │ │ @@ -977,17 +936,15 @@ │ │ │ │

                │ │ │ │

                See also: al_draw_ribbon, al_calculate_arc, al_calculate_spline

                │ │ │ │

                al_draw_ribbon

                │ │ │ │
                void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color,
                │ │ │ │ -   float thickness, int num_segments)
                │ │ │ │ -void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color,
                │ │ │ │ -   float thickness, int num_segments)
                │ │ │ │ + float thickness, int num_segments) │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Draws a ribbon given an array of points. The ribbon will go through │ │ │ │ all of the passed points. The points buffer should consist of regularly │ │ │ │ spaced doublets of floats, corresponding to x and y coordinates of the │ │ │ │ vertices.

                │ │ │ │ @@ -1026,17 +983,15 @@ │ │ │ │ pass to the al_draw_prim by (0.5, 0.5) if you need precise pixel │ │ │ │ control. E.g. to refer to pixel (5, 10) you’d set the u and v to 5.5 and │ │ │ │ 10.5 respectively.

                │ │ │ │

                See also: Pixel-precise output

                │ │ │ │

                al_draw_prim

                │ │ │ │
                int al_draw_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl,
                │ │ │ │ -   ALLEGRO_BITMAP* texture, int start, int end, int type)
                │ │ │ │ -int al_draw_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl,
                │ │ │ │ -   ALLEGRO_BITMAP* texture, int start, int end, int type)
                │ │ │ │ + ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Draws a subset of the passed vertex array.

                │ │ │ │

                Parameters:

                │ │ │ │
                  │ │ │ │
                • texture - Texture to use, pass NULL to use only color shaded │ │ │ │ @@ -1073,17 +1028,15 @@ │ │ │ │
                • ex_vertex_buffer.c
                • │ │ │ │
                • ex_camera.c
                • │ │ │ │
                │ │ │ │

                al_draw_indexed_prim

                │ │ │ │
                int al_draw_indexed_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl,
                │ │ │ │ -   ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type)
                │ │ │ │ -int al_draw_indexed_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl,
                │ │ │ │ -   ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type)
                │ │ │ │ + ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type) │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Draws a subset of the passed vertex array. This function uses an │ │ │ │ index array to specify which vertices to use.

                │ │ │ │

                Parameters:

                │ │ │ │ │ │ │ │

                al_draw_vertex_buffer

                │ │ │ │
                int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer,
                │ │ │ │ -   ALLEGRO_BITMAP* texture, int start, int end, int type)
                │ │ │ │ -int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer,
                │ │ │ │ -   ALLEGRO_BITMAP* texture, int start, int end, int type)
                │ │ │ │ + ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Draws a subset of the passed vertex buffer. The vertex buffer must │ │ │ │ not be locked. Additionally, to draw onto memory bitmaps or with memory │ │ │ │ bitmap textures the vertex buffer must support reading (i.e.  it must be │ │ │ │ created with the ALLEGRO_PRIM_BUFFER_READWRITE).

                │ │ │ │ @@ -1147,18 +1098,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L58">ex_vertex_buffer.c │ │ │ │
              • ex_prim.c
              • │ │ │ │
              │ │ │ │

              al_draw_indexed_buffer

              │ │ │ │
              int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer,
              │ │ │ │     ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer,
              │ │ │ │ -   int start, int end, int type)
              │ │ │ │ -int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer,
              │ │ │ │ -   ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer,
              │ │ │ │ -   int start, int end, int type)
              │ │ │ │ + int start, int end, int type) │ │ │ │

              Source │ │ │ │ Code

              │ │ │ │

              Draws a subset of the passed vertex buffer. This function uses an │ │ │ │ index buffer to specify which vertices to use. Both buffers must not be │ │ │ │ locked. Additionally, to draw onto memory bitmaps or with memory bitmap │ │ │ │ textures both buffers must support reading (i.e. they must be created │ │ │ │ @@ -1191,21 +1139,15 @@ │ │ │ │

            │ │ │ │

            al_draw_soft_triangle

            │ │ │ │
            void al_draw_soft_triangle(
            │ │ │ │     ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state,
            │ │ │ │     void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*),
            │ │ │ │     void (*first)(uintptr_t, int, int, int, int),
            │ │ │ │     void (*step)(uintptr_t, int),
            │ │ │ │ -   void (*draw)(uintptr_t, int, int, int))
            │ │ │ │ -void al_draw_soft_triangle(
            │ │ │ │ -   ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state,
            │ │ │ │ -   void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*),
            │ │ │ │ -   void (*first)(uintptr_t, int, int, int, int),
            │ │ │ │ -   void (*step)(uintptr_t, int),
            │ │ │ │ -   void (*draw)(uintptr_t, int, int, int))
            │ │ │ │ + void (*draw)(uintptr_t, int, int, int)) │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Draws a triangle using the software rasterizer and user supplied │ │ │ │ pixel functions. For help in understanding what these functions do, see │ │ │ │ the implementation of the various shading routines in │ │ │ │ addons/primitives/tri_soft.c. The triangle is drawn in two segments, │ │ │ │ @@ -1236,19 +1178,15 @@ │ │ │ │

          │ │ │ │

          See also: al_draw_triangle

          │ │ │ │

          al_draw_soft_line

          │ │ │ │
          void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state,
          │ │ │ │     void (*first)(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*),
          │ │ │ │     void (*step)(uintptr_t, int),
          │ │ │ │ -   void (*draw)(uintptr_t, int, int))
          │ │ │ │ -void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state,
          │ │ │ │ -   void (*first)(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*),
          │ │ │ │ -   void (*step)(uintptr_t, int),
          │ │ │ │ -   void (*draw)(uintptr_t, int, int))
          │ │ │ │ + void (*draw)(uintptr_t, int, int)) │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Draws a line using the software rasterizer and user supplied pixel │ │ │ │ functions. For help in understanding what these functions do, see the │ │ │ │ implementation of the various shading routines in │ │ │ │ addons/primitives/line_soft.c. The line is drawn top to bottom.

          │ │ │ │ @@ -1268,16 +1206,15 @@ │ │ │ │
        • draw - Called once per pixel. The function is expected to draw the │ │ │ │ pixel at the coordinates passed to it.
        • │ │ │ │
        │ │ │ │

        See also: al_draw_line

        │ │ │ │

        Custom vertex declaration │ │ │ │ routines

        │ │ │ │

        al_create_vertex_decl

        │ │ │ │ -
        ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride)
        │ │ │ │ -ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride)
        │ │ │ │ +
        ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride)
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Creates a vertex declaration, which describes a custom vertex │ │ │ │ format.

        │ │ │ │

        Parameters:

        │ │ │ │
          │ │ │ │ @@ -1296,16 +1233,15 @@ │ │ │ │ │ │ │ │

          al_destroy_vertex_decl

          │ │ │ │ -
          void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl)
          │ │ │ │ -void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl)
          │ │ │ │ +
          void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Destroys a vertex declaration.

          │ │ │ │

          Parameters:

          │ │ │ │
            │ │ │ │
          • decl - Vertex declaration to destroy
          • │ │ │ │ @@ -1319,17 +1255,15 @@ │ │ │ │ │ │ │ │

            Vertex buffer routines

            │ │ │ │

            al_create_vertex_buffer

            │ │ │ │
            ALLEGRO_VERTEX_BUFFER* al_create_vertex_buffer(ALLEGRO_VERTEX_DECL* decl,
            │ │ │ │ -   const void* initial_data, int num_vertices, int flags)
            │ │ │ │ -ALLEGRO_VERTEX_BUFFER* al_create_vertex_buffer(ALLEGRO_VERTEX_DECL* decl,
            │ │ │ │ -   const void* initial_data, int num_vertices, int flags)
            │ │ │ │ + const void* initial_data, int num_vertices, int flags) │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Creates a vertex buffer. Can return NULL if the buffer could not be │ │ │ │ created (e.g. the system only supports write-only buffers).

            │ │ │ │
            │ │ │ │

            Note:

            │ │ │ │ @@ -1361,16 +1295,15 @@ │ │ │ │ │ │ │ │

            al_destroy_vertex_buffer

            │ │ │ │ -
            void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer)
            │ │ │ │ -void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer)
            │ │ │ │ +
            void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer)
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Destroys a vertex buffer. Does nothing if passed NULL.

            │ │ │ │

            Since: 5.1.3

            │ │ │ │

            See also: ALLEGRO_VERTEX_BUFFER, │ │ │ │ @@ -1381,17 +1314,15 @@ │ │ │ │

          • ex_vertex_buffer.c
          • │ │ │ │
          • ex_prim.c
          • │ │ │ │
          │ │ │ │

          al_lock_vertex_buffer

          │ │ │ │
          void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset,
          │ │ │ │ -   int length, int flags)
          │ │ │ │ -void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset,
          │ │ │ │ -   int length, int flags)
          │ │ │ │ + int length, int flags) │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Locks a vertex buffer so you can access its data. Will return NULL if │ │ │ │ the parameters are invalid, if reading is requested from a write only │ │ │ │ buffer, or if the buffer is already locked.

          │ │ │ │

          Parameters:

          │ │ │ │ @@ -1411,16 +1342,15 @@ │ │ │ │ │ │ │ │

          al_unlock_vertex_buffer

          │ │ │ │ -
          void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer)
          │ │ │ │ -void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer)
          │ │ │ │ +
          void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Unlocks a previously locked vertex buffer.

          │ │ │ │

          Since: 5.1.3

          │ │ │ │

          See also: ALLEGRO_VERTEX_BUFFER, │ │ │ │ @@ -1430,29 +1360,26 @@ │ │ │ │

          │ │ │ │

          al_get_vertex_buffer_size

          │ │ │ │ -
          int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer)
          │ │ │ │ -int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer)
          │ │ │ │ +
          int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Returns the size of the vertex buffer

          │ │ │ │

          Since: 5.1.8

          │ │ │ │

          See also: ALLEGRO_VERTEX_BUFFER

          │ │ │ │

          Index buffer routines

          │ │ │ │

          al_create_index_buffer

          │ │ │ │
          ALLEGRO_INDEX_BUFFER* al_create_index_buffer(int index_size,
          │ │ │ │ -    const void* initial_data, int num_indices, int flags)
          │ │ │ │ -ALLEGRO_INDEX_BUFFER* al_create_index_buffer(int index_size,
          │ │ │ │ -    const void* initial_data, int num_indices, int flags)
          │ │ │ │ + const void* initial_data, int num_indices, int flags) │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Creates a index buffer. Can return NULL if the buffer could not be │ │ │ │ created (e.g. the system only supports write-only buffers).

          │ │ │ │
          │ │ │ │

          Note:

          │ │ │ │ @@ -1480,16 +1407,15 @@ │ │ │ │ href="primitives.html#al_destroy_index_buffer">al_destroy_index_buffer

          │ │ │ │

          Examples:

          │ │ │ │ │ │ │ │

          al_destroy_index_buffer

          │ │ │ │ -
          void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │ -void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │ +
          void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Destroys a index buffer. Does nothing if passed NULL.

          │ │ │ │

          Since: 5.1.8

          │ │ │ │

          See also: ALLEGRO_INDEX_BUFFER, Examples:

          │ │ │ │ │ │ │ │

          al_lock_index_buffer

          │ │ │ │
          void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset,
          │ │ │ │ -    int length, int flags)
          │ │ │ │ -void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset,
          │ │ │ │ -    int length, int flags)
          │ │ │ │ + int length, int flags) │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Locks a index buffer so you can access its data. Will return NULL if │ │ │ │ the parameters are invalid, if reading is requested from a write only │ │ │ │ buffer and if the buffer is already locked.

          │ │ │ │

          Parameters:

          │ │ │ │ @@ -1524,47 +1448,42 @@ │ │ │ │ href="primitives.html#al_unlock_index_buffer">al_unlock_index_buffer

          │ │ │ │

          Examples:

          │ │ │ │ │ │ │ │

          al_unlock_index_buffer

          │ │ │ │ -
          void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │ -void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │ +
          void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Unlocks a previously locked index buffer.

          │ │ │ │

          Since: 5.1.8

          │ │ │ │

          See also: ALLEGRO_INDEX_BUFFER, al_lock_index_buffer

          │ │ │ │

          Examples:

          │ │ │ │ │ │ │ │

          al_get_index_buffer_size

          │ │ │ │ -
          int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │ -int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │ +
          int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer)
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Returns the size of the index buffer

          │ │ │ │

          Since: 5.1.8

          │ │ │ │

          See also: ALLEGRO_INDEX_BUFFER

          │ │ │ │

          Polygon routines

          │ │ │ │

          al_draw_polyline

          │ │ │ │
          void al_draw_polyline(const float* vertices, int vertex_stride,
          │ │ │ │     int vertex_count, int join_style, int cap_style,
          │ │ │ │ -   ALLEGRO_COLOR color, float thickness, float miter_limit)
          │ │ │ │ -void al_draw_polyline(const float* vertices, int vertex_stride,
          │ │ │ │ -   int vertex_count, int join_style, int cap_style,
          │ │ │ │ -   ALLEGRO_COLOR color, float thickness, float miter_limit)
          │ │ │ │ + ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Draw a series of line segments.

          │ │ │ │
            │ │ │ │
          • vertices - Interleaved array of (x, y) vertex coordinates
          • │ │ │ │
          • vertex_stride - the number of bytes between pairs of vertices (the │ │ │ │ @@ -1605,17 +1524,15 @@ │ │ │ │

            Examples:

            │ │ │ │ │ │ │ │

            al_draw_polygon

            │ │ │ │
            void al_draw_polygon(const float *vertices, int vertex_count,
            │ │ │ │ -   int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit)
            │ │ │ │ -void al_draw_polygon(const float *vertices, int vertex_count,
            │ │ │ │ -   int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit)
            │ │ │ │ + int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Draw an unfilled polygon. This is the same as passing │ │ │ │ ALLEGRO_LINE_CAP_CLOSED to al_draw_polyline.

            │ │ │ │
              │ │ │ │ @@ -1637,17 +1554,15 @@ │ │ │ │

              Examples:

              │ │ │ │ │ │ │ │

              al_draw_filled_polygon

              │ │ │ │
              void al_draw_filled_polygon(const float *vertices, int vertex_count,
              │ │ │ │ -   ALLEGRO_COLOR color)
              │ │ │ │ -void al_draw_filled_polygon(const float *vertices, int vertex_count,
              │ │ │ │ -   ALLEGRO_COLOR color)
              │ │ │ │ + ALLEGRO_COLOR color) │ │ │ │

              Source │ │ │ │ Code

              │ │ │ │

              Draw a filled, simple polygon. Simple means it does not have to be │ │ │ │ convex but must not be self-overlapping.

              │ │ │ │
                │ │ │ │
              • vertices - Interleaved array of (x, y) vertex coordinates
              • │ │ │ │ @@ -1664,19 +1579,17 @@ │ │ │ │ │ │ │ │

                al_draw_filled_polygon_with_holes

                │ │ │ │
                void al_draw_filled_polygon_with_holes(const float *vertices,
                │ │ │ │ -   const int *vertex_counts, ALLEGRO_COLOR color)
                │ │ │ │ -void al_draw_filled_polygon_with_holes(const float *vertices,
                │ │ │ │ -   const int *vertex_counts, ALLEGRO_COLOR color)
                │ │ │ │ + const int *vertex_counts, ALLEGRO_COLOR color) │ │ │ │

                Source │ │ │ │ +href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/polygon.c#L71">Source │ │ │ │ Code

                │ │ │ │

                Draws a filled simple polygon with zero or more other simple polygons │ │ │ │ subtracted from it - the holes. The holes cannot touch or intersect with │ │ │ │ the outline of the filled polygon.

                │ │ │ │
                  │ │ │ │
                • vertices - Interleaved array of (x, y) vertex coordinates for each │ │ │ │ of the polygons, including holes.
                • │ │ │ │ @@ -1721,18 +1634,15 @@ │ │ │ │ │ │ │ │

                  al_triangulate_polygon

                  │ │ │ │
                  bool al_triangulate_polygon(
                  │ │ │ │     const float* vertices, size_t vertex_stride, const int* vertex_counts,
                  │ │ │ │ -   void (*emit_triangle)(int, int, int, void*), void* userdata)
                  │ │ │ │ -bool al_triangulate_polygon(
                  │ │ │ │ -   const float* vertices, size_t vertex_stride, const int* vertex_counts,
                  │ │ │ │ -   void (*emit_triangle)(int, int, int, void*), void* userdata)
                  │ │ │ │ + void (*emit_triangle)(int, int, int, void*), void* userdata) │ │ │ │

                  Source │ │ │ │ Code

                  │ │ │ │

                  Divides a simple polygon into triangles, with zero or more other │ │ │ │ simple polygons subtracted from it - the holes. The holes cannot touch │ │ │ │ or intersect with the outline of the main polygon. Simple means the │ │ │ │ polygon does not have to be convex but must not be self-overlapping.

                  │ │ │ │ @@ -1752,16 +1662,15 @@ │ │ │ │
                • userdata - arbitrary data to be passed to emit_triangle.
                • │ │ │ │
                │ │ │ │

                Since: 5.1.0

                │ │ │ │

                See also: al_draw_filled_polygon_with_holes

                │ │ │ │

                Structures and types

                │ │ │ │

                ALLEGRO_VERTEX

                │ │ │ │ -
                typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX;
                │ │ │ │ -typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX;
                │ │ │ │ +
                typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX;
                │ │ │ │

                Source │ │ │ │ Code

                │ │ │ │

                Defines the generic vertex type, with a 3D position, color and │ │ │ │ texture coordinates for a single texture. Note that at this time, the │ │ │ │ software driver for this addon cannot render 3D primitives. If you want │ │ │ │ a 2D only primitive, set z to 0. Note that you must initialize all │ │ │ │ @@ -1783,16 +1692,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader.cpp#L97">ex_shader.cpp │ │ │ │

              • ex_shader_target.c
              • │ │ │ │
              • ex_prim_shader.c
              • │ │ │ │
              │ │ │ │

              ALLEGRO_VERTEX_DECL

              │ │ │ │ -
              typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL;
              │ │ │ │ -typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL;
              │ │ │ │ +
              typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL;
              │ │ │ │

              Source │ │ │ │ Code

              │ │ │ │

              A vertex declaration. This opaque structure is responsible for │ │ │ │ describing the format and layout of a user defined custom vertex. It is │ │ │ │ created and destroyed by specialized functions.

              │ │ │ │

              See also: │ │ │ │

            • ex_prim_shader.c
            • │ │ │ │
            • ex_prim.c
            • │ │ │ │
            │ │ │ │

            ALLEGRO_VERTEX_ELEMENT

            │ │ │ │ -
            typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT;
            │ │ │ │ -typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT;
            │ │ │ │ +
            typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT;
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            A small structure describing a certain element of a vertex. E.g. the │ │ │ │ position of the vertex, or its color. These structures are used by the │ │ │ │ al_create_vertex_decl │ │ │ │ @@ -1855,16 +1762,15 @@ │ │ │ │

            │ │ │ │

            ALLEGRO_PRIM_TYPE

            │ │ │ │ -
            typedef enum ALLEGRO_PRIM_TYPE
            │ │ │ │ -typedef enum ALLEGRO_PRIM_TYPE
            │ │ │ │ +
            typedef enum ALLEGRO_PRIM_TYPE
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Enumerates the types of primitives this addon can draw.

            │ │ │ │
              │ │ │ │
            • ALLEGRO_PRIM_POINT_LIST - A list of points, each vertex defines a │ │ │ │ point

            • │ │ │ │ @@ -1878,16 +1784,15 @@ │ │ │ │ triplets of vertices define disjointed triangles

              │ │ │ │
            • ALLEGRO_PRIM_TRIANGLE_STRIP - A strip of triangles, sequential │ │ │ │ vertices define a strip of triangles

            • │ │ │ │
            • ALLEGRO_PRIM_TRIANGLE_FAN - A fan of triangles, all triangles │ │ │ │ share the first vertex

            • │ │ │ │
            │ │ │ │

            ALLEGRO_PRIM_ATTR

            │ │ │ │ -
            typedef enum ALLEGRO_PRIM_ATTR
            │ │ │ │ -typedef enum ALLEGRO_PRIM_ATTR
            │ │ │ │ +
            typedef enum ALLEGRO_PRIM_ATTR
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Enumerates the types of vertex attributes that a custom vertex may │ │ │ │ have.

            │ │ │ │
              │ │ │ │
            • ALLEGRO_PRIM_POSITION - Position information, can be stored only │ │ │ │ @@ -1936,16 +1841,15 @@ │ │ │ │

              Since: 5.1.6

            • │ │ │ │
            │ │ │ │

            See also: ALLEGRO_VERTEX_DECL, ALLEGRO_PRIM_STORAGE, al_attach_shader_source

            │ │ │ │

            ALLEGRO_PRIM_STORAGE

            │ │ │ │ -
            typedef enum ALLEGRO_PRIM_STORAGE
            │ │ │ │ -typedef enum ALLEGRO_PRIM_STORAGE
            │ │ │ │ +
            typedef enum ALLEGRO_PRIM_STORAGE
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Enumerates the types of storage an attribute of a custom vertex may │ │ │ │ be stored in. Many of these can only be used for ALLEGRO_PRIM_USER_ATTR │ │ │ │ attributes and can only be accessed via shaders. Usually no matter what │ │ │ │ the storage is specified the attribute gets converted to single │ │ │ │ @@ -1998,38 +1902,35 @@ │ │ │ │ href="primitives.html#al_create_vertex_decl">al_create_vertex_decl │ │ │ │ will return NULL if you use it on those platforms.

            │ │ │ │

            Since: 5.1.6

          • │ │ │ │
          │ │ │ │

          See also: ALLEGRO_PRIM_ATTR

          │ │ │ │

          ALLEGRO_VERTEX_CACHE_SIZE

          │ │ │ │ -
          #define ALLEGRO_VERTEX_CACHE_SIZE 256
          │ │ │ │ -#define ALLEGRO_VERTEX_CACHE_SIZE 256
          │ │ │ │ +
          #define ALLEGRO_VERTEX_CACHE_SIZE 256
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Defines the size of the transformation vertex cache for the software │ │ │ │ renderer. If you pass less than this many vertices to the primitive │ │ │ │ rendering functions you will get a speed boost. This also defines the │ │ │ │ size of the cache vertex buffer, used for the high-level primitives. │ │ │ │ This corresponds to the maximum number of line segments that will be │ │ │ │ used to form them.

          │ │ │ │

          ALLEGRO_PRIM_QUALITY

          │ │ │ │ -
          #define ALLEGRO_PRIM_QUALITY 10
          │ │ │ │ -#define ALLEGRO_PRIM_QUALITY 10
          │ │ │ │ +
          #define ALLEGRO_PRIM_QUALITY 10
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Controls the quality of the approximation of curved primitives │ │ │ │ (e.g. circles). Curved primitives are drawn by approximating them with a │ │ │ │ sequence of line segments. By default, this roughly corresponds to error │ │ │ │ of less than half of a pixel.

          │ │ │ │

          ALLEGRO_LINE_JOIN

          │ │ │ │ -
          typedef enum ALLEGRO_LINE_JOIN
          │ │ │ │ -typedef enum ALLEGRO_LINE_JOIN
          │ │ │ │ +
          typedef enum ALLEGRO_LINE_JOIN
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │
            │ │ │ │
          • ALLEGRO_LINE_JOIN_NONE
          • │ │ │ │
          • ALLEGRO_LINE_JOIN_BEVEL
          • │ │ │ │
          • ALLEGRO_LINE_JOIN_ROUND
          • │ │ │ │ @@ -2048,16 +1949,15 @@ │ │ │ │ href="primitives.html#al_draw_polygon">al_draw_polygon

            │ │ │ │

            Examples:

            │ │ │ │ │ │ │ │

            ALLEGRO_LINE_CAP

            │ │ │ │ -
            typedef enum ALLEGRO_LINE_CAP
            │ │ │ │ -typedef enum ALLEGRO_LINE_CAP
            │ │ │ │ +
            typedef enum ALLEGRO_LINE_CAP
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │
              │ │ │ │
            • ALLEGRO_LINE_CAP_NONE
            • │ │ │ │
            • ALLEGRO_LINE_CAP_SQUARE
            • │ │ │ │
            • ALLEGRO_LINE_CAP_ROUND
            • │ │ │ │ @@ -2079,16 +1979,15 @@ │ │ │ │ href="primitives.html#al_draw_polygon">al_draw_polygon

              │ │ │ │

              Examples:

              │ │ │ │ │ │ │ │

              ALLEGRO_VERTEX_BUFFER

              │ │ │ │ -
              typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER;
              │ │ │ │ -typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER;
              │ │ │ │ +
              typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER;
              │ │ │ │

              Source │ │ │ │ Code

              │ │ │ │

              A GPU vertex buffer that you can use to store vertices on the GPU │ │ │ │ instead of uploading them afresh during every drawing operation.

              │ │ │ │

              Since: 5.1.3

              │ │ │ │

              See also: │ │ │ │

            • ex_vertex_buffer.c
            • │ │ │ │
            • ex_prim.c
            • │ │ │ │
            │ │ │ │

            ALLEGRO_INDEX_BUFFER

            │ │ │ │ -
            typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER;
            │ │ │ │ -typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER;
            │ │ │ │ +
            typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER;
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            A GPU index buffer that you can use to store indices of vertices in a │ │ │ │ vertex buffer on the GPU instead of uploading them afresh during every │ │ │ │ drawing operation.

            │ │ │ │

            Since: 5.1.8

            │ │ │ │ @@ -2118,16 +2016,15 @@ │ │ │ │ href="primitives.html#al_destroy_index_buffer">al_destroy_index_buffer

            │ │ │ │

            Examples:

            │ │ │ │ │ │ │ │

            ALLEGRO_PRIM_BUFFER_FLAGS

            │ │ │ │ -
            typedef enum ALLEGRO_PRIM_BUFFER_FLAGS
            │ │ │ │ -typedef enum ALLEGRO_PRIM_BUFFER_FLAGS
            │ │ │ │ +
            typedef enum ALLEGRO_PRIM_BUFFER_FLAGS
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            Flags to specify how to create a vertex or an index buffer.

            │ │ │ │
              │ │ │ │
            • ALLEGRO_PRIM_BUFFER_STREAM - Hints to the driver that the buffer │ │ │ │ is written to often, but used only a few times per frame

            • │ │ │ │ @@ -2145,12 +2042,12 @@ │ │ │ │

              Since: 5.1.3

              │ │ │ │

              See also: al_create_vertex_buffer, │ │ │ │ al_create_index_buffer

              │ │ │ │

              │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:17 UTC │ │ │ │

              │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -118,39 +118,35 @@ │ │ │ │ │ o ALLEGRO_PRIM_BUFFER_FLAGS │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_primitives. │ │ │ │ │ #include │ │ │ │ │ ****** General ****** │ │ │ │ │ ***** al_get_allegro_primitives_version ***** │ │ │ │ │ uint32_t al_get_allegro_primitives_version(void) │ │ │ │ │ -uint32_t al_get_allegro_primitives_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ ***** al_init_primitives_addon ***** │ │ │ │ │ bool al_init_primitives_addon(void) │ │ │ │ │ -bool al_init_primitives_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Initializes the primitives addon. │ │ │ │ │ Returns: True on success, false on failure. │ │ │ │ │ See also: al_shutdown_primitives_addon │ │ │ │ │ Examples: │ │ │ │ │ * ex_touch_input.c │ │ │ │ │ * ex_blend_bench.c │ │ │ │ │ * ex_enet_client.c │ │ │ │ │ ***** al_is_primitives_addon_initialized ***** │ │ │ │ │ bool al_is_primitives_addon_initialized(void) │ │ │ │ │ -bool al_is_primitives_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the primitives addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ See also: al_init_primitives_addon, al_shutdown_primitives_addon │ │ │ │ │ ***** al_shutdown_primitives_addon ***** │ │ │ │ │ void al_shutdown_primitives_addon(void) │ │ │ │ │ -void al_shutdown_primitives_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Shut down the primitives addon. This is done automatically at program exit, but │ │ │ │ │ can be called any time the user wishes as well. │ │ │ │ │ See also: al_init_primitives_addon │ │ │ │ │ ****** High level drawing routines ****** │ │ │ │ │ High level drawing routines encompass the most common usage of this addon: to │ │ │ │ │ draw geometric primitives, both smooth (variations on the circle theme) and │ │ │ │ │ @@ -230,90 +226,78 @@ │ │ │ │ │ sharp. The offsets used in the second diagram were chosen so that this is the │ │ │ │ │ case: if you use those offsets, your shapes (if they are oriented the same way │ │ │ │ │ as they are on the diagram) should look the same whether multisampling is │ │ │ │ │ turned on or off. │ │ │ │ │ ***** al_draw_line ***** │ │ │ │ │ void al_draw_line(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_line(float x1, float y1, float x2, float y2, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a line segment between two points. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2 - Start and end points of the line │ │ │ │ │ * color - Color of the line │ │ │ │ │ * thickness - Thickness of the line, pass <= 0 to draw hairline lines │ │ │ │ │ See also: al_draw_soft_line │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_resize.c │ │ │ │ │ * ex_mouse_warp.c │ │ │ │ │ ***** al_draw_triangle ***** │ │ │ │ │ void al_draw_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float x3, float y3, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float x3, float y3, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an outlined triangle. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2, x3, y3 - Three points of the triangle │ │ │ │ │ * color - Color of the triangle │ │ │ │ │ * thickness - Thickness of the lines, pass <= 0 to draw hairline lines │ │ │ │ │ See also: al_draw_filled_triangle, al_draw_soft_triangle │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_filled_triangle ***** │ │ │ │ │ void al_draw_filled_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float x3, float y3, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float x3, float y3, ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a filled triangle. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2, x3, y3 - Three points of the triangle │ │ │ │ │ * color - Color of the triangle │ │ │ │ │ See also: al_draw_triangle │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_rectangle ***** │ │ │ │ │ void al_draw_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an outlined rectangle. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ * thickness - Thickness of the lines, pass <= 0 to draw hairline lines │ │ │ │ │ See also: al_draw_filled_rectangle, al_draw_rounded_rectangle │ │ │ │ │ Examples: │ │ │ │ │ * ex_mouse.c │ │ │ │ │ * ex_font_justify.cpp │ │ │ │ │ * ex_subbitmap.c │ │ │ │ │ ***** al_draw_filled_rectangle ***** │ │ │ │ │ void al_draw_filled_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a filled rectangle. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ See also: al_draw_rectangle, al_draw_filled_rounded_rectangle │ │ │ │ │ Examples: │ │ │ │ │ * ex_mouse.c │ │ │ │ │ * ex_timer.c │ │ │ │ │ * ex_window_maximized.c │ │ │ │ │ ***** al_draw_rounded_rectangle ***** │ │ │ │ │ void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float rx, float ry, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float rx, float ry, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an outlined rounded rectangle. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ * rx, ry - The radii of the round │ │ │ │ │ * thickness - Thickness of the lines, pass <= 0 to draw hairline lines │ │ │ │ │ @@ -321,16 +305,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_threads.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ * ex_audio_chain.cpp │ │ │ │ │ ***** al_draw_filled_rounded_rectangle ***** │ │ │ │ │ void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float rx, float ry, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float rx, float ry, ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an filled rounded rectangle. │ │ │ │ │ Parameters: │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ * rx, ry - The radii of the round │ │ │ │ │ See also: al_draw_rounded_rectangle, al_draw_filled_rectangle │ │ │ │ │ @@ -338,17 +320,14 @@ │ │ │ │ │ * ex_threads.c │ │ │ │ │ * ex_video.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_calculate_arc ***** │ │ │ │ │ void al_calculate_arc(float* dest, int stride, float cx, float cy, │ │ │ │ │ float rx, float ry, float start_theta, float delta_theta, float thickness, │ │ │ │ │ int num_points) │ │ │ │ │ -void al_calculate_arc(float* dest, int stride, float cx, float cy, │ │ │ │ │ - float rx, float ry, float start_theta, float delta_theta, float thickness, │ │ │ │ │ - int num_points) │ │ │ │ │ Source_Code │ │ │ │ │ When thickness <= 0 this function computes positions of num_points regularly │ │ │ │ │ spaced points on an elliptical arc. When thickness > 0 this function computes │ │ │ │ │ two sets of points, obtained as follows: the first set is obtained by taking │ │ │ │ │ the points computed in the thickness <= 0 case and shifting them by thickness / │ │ │ │ │ 2 outward, in a direction perpendicular to the arc curve. The second set is the │ │ │ │ │ same, but shifted thickness / 2 inward relative to the arc. The two sets of │ │ │ │ │ @@ -401,16 +380,14 @@ │ │ │ │ │ * num_points - The number of points to calculate │ │ │ │ │ See also: al_draw_arc, al_calculate_spline, al_calculate_ribbon │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ ***** al_draw_pieslice ***** │ │ │ │ │ void al_draw_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a pieslice (outlined circular sector). │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the pieslice │ │ │ │ │ * r - Radius of the pieslice │ │ │ │ │ * color - Color of the pieslice │ │ │ │ │ * start_theta - The initial angle from which the pieslice is drawn in │ │ │ │ │ @@ -421,16 +398,14 @@ │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_draw_filled_pieslice │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_filled_pieslice ***** │ │ │ │ │ void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a filled pieslice (filled circular sector). │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the pieslice │ │ │ │ │ * r - Radius of the pieslice │ │ │ │ │ * color - Color of the pieslice │ │ │ │ │ * start_theta - The initial angle from which the pieslice is drawn in │ │ │ │ │ @@ -440,16 +415,14 @@ │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_draw_pieslice │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_ellipse ***** │ │ │ │ │ void al_draw_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an outlined ellipse. │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the ellipse │ │ │ │ │ * rx, ry - Radii of the ellipse │ │ │ │ │ * color - Color of the ellipse │ │ │ │ │ * thickness - Thickness of the ellipse, pass <= 0 to draw a hairline │ │ │ │ │ @@ -457,61 +430,54 @@ │ │ │ │ │ See also: al_draw_filled_ellipse, al_draw_circle │ │ │ │ │ Examples: │ │ │ │ │ * ex_draw.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_filled_ellipse ***** │ │ │ │ │ void al_draw_filled_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ - ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a filled ellipse. │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the ellipse │ │ │ │ │ * rx, ry - Radii of the ellipse │ │ │ │ │ * color - Color of the ellipse │ │ │ │ │ See also: al_draw_ellipse, al_draw_filled_circle │ │ │ │ │ Examples: │ │ │ │ │ * ex_draw.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_circle ***** │ │ │ │ │ void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color, │ │ │ │ │ float thickness) │ │ │ │ │ -void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color, │ │ │ │ │ - float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an outlined circle. │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the circle │ │ │ │ │ * r - Radius of the circle │ │ │ │ │ * color - Color of the circle │ │ │ │ │ * thickness - Thickness of the circle, pass <= 0 to draw a hairline circle │ │ │ │ │ See also: al_draw_filled_circle, al_draw_ellipse │ │ │ │ │ Examples: │ │ │ │ │ * ex_touch_input.c │ │ │ │ │ * ex_transform.c │ │ │ │ │ ***** al_draw_filled_circle ***** │ │ │ │ │ void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a filled circle. │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the circle │ │ │ │ │ * r - Radius of the circle │ │ │ │ │ * color - Color of the circle │ │ │ │ │ See also: al_draw_circle, al_draw_filled_ellipse │ │ │ │ │ Examples: │ │ │ │ │ * ex_enet_client.c │ │ │ │ │ * ex_joystick_hotplugging.c │ │ │ │ │ * ex_blend2.cpp │ │ │ │ │ ***** al_draw_arc ***** │ │ │ │ │ void al_draw_arc(float cx, float cy, float r, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_arc(float cx, float cy, float r, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an arc. │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the arc │ │ │ │ │ * r - Radius of the arc │ │ │ │ │ * color - Color of the arc │ │ │ │ │ * start_theta - The initial angle from which the arc is calculated in │ │ │ │ │ @@ -522,17 +488,14 @@ │ │ │ │ │ See also: al_calculate_arc, al_draw_elliptical_arc │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_elliptical_arc ***** │ │ │ │ │ void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float │ │ │ │ │ start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float │ │ │ │ │ -start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws an elliptical arc. │ │ │ │ │ Parameters: │ │ │ │ │ * cx, cy - Center of the arc │ │ │ │ │ * rx, ry - Radii of the arc │ │ │ │ │ * color - Color of the arc │ │ │ │ │ * start_theta - The initial angle from which the arc is calculated in │ │ │ │ │ @@ -543,16 +506,14 @@ │ │ │ │ │ Since: 5.0.6, 5.1.0 │ │ │ │ │ See also: al_calculate_arc, al_draw_arc │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_calculate_spline ***** │ │ │ │ │ void al_calculate_spline(float* dest, int stride, float points[8], │ │ │ │ │ float thickness, int num_segments) │ │ │ │ │ -void al_calculate_spline(float* dest, int stride, float points[8], │ │ │ │ │ - float thickness, int num_segments) │ │ │ │ │ Source_Code │ │ │ │ │ Calculates a Bézier spline given 4 control points. If thickness <= 0, then │ │ │ │ │ num_segments of points are required in the destination, otherwise twice as many │ │ │ │ │ are needed. The destination buffer should consist of regularly spaced (by │ │ │ │ │ distance of stride bytes) doublets of floats, corresponding to x and y │ │ │ │ │ coordinates of the vertices. │ │ │ │ │ Parameters: │ │ │ │ │ @@ -561,29 +522,26 @@ │ │ │ │ │ coordinates │ │ │ │ │ * points - An array of 4 pairs of coordinates of the 4 control points │ │ │ │ │ * thickness - Thickness of the spline ribbon │ │ │ │ │ * num_segments - The number of points to calculate │ │ │ │ │ See also: al_draw_spline, al_calculate_arc, al_calculate_ribbon │ │ │ │ │ ***** al_draw_spline ***** │ │ │ │ │ void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a Bézier spline given 4 control points. │ │ │ │ │ Parameters: │ │ │ │ │ * points - An array of 4 pairs of coordinates of the 4 control points │ │ │ │ │ * color - Color of the spline │ │ │ │ │ * thickness - Thickness of the spline, pass <= 0 to draw a hairline spline │ │ │ │ │ See also: al_calculate_spline │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_calculate_ribbon ***** │ │ │ │ │ void al_calculate_ribbon(float* dest, int dest_stride, const float *points, │ │ │ │ │ int points_stride, float thickness, int num_segments) │ │ │ │ │ -void al_calculate_ribbon(float* dest, int dest_stride, const float *points, │ │ │ │ │ - int points_stride, float thickness, int num_segments) │ │ │ │ │ Source_Code │ │ │ │ │ Calculates a ribbon given an array of points. The ribbon will go through all of │ │ │ │ │ the passed points. If thickness <= 0, then num_segments of points are required │ │ │ │ │ in the destination buffer, otherwise twice as many are needed. The destination │ │ │ │ │ and the points buffer should consist of regularly spaced doublets of floats, │ │ │ │ │ corresponding to x and y coordinates of the vertices. │ │ │ │ │ Parameters: │ │ │ │ │ @@ -596,17 +554,14 @@ │ │ │ │ │ * thickness - Thickness of the spline ribbon │ │ │ │ │ * num_segments - The number of points to calculate │ │ │ │ │ See also: al_draw_ribbon, al_calculate_arc, al_calculate_spline │ │ │ │ │ ***** al_draw_ribbon ***** │ │ │ │ │ void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR │ │ │ │ │ color, │ │ │ │ │ float thickness, int num_segments) │ │ │ │ │ -void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR │ │ │ │ │ -color, │ │ │ │ │ - float thickness, int num_segments) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a ribbon given an array of points. The ribbon will go through all of the │ │ │ │ │ passed points. The points buffer should consist of regularly spaced doublets of │ │ │ │ │ floats, corresponding to x and y coordinates of the vertices. │ │ │ │ │ Parameters: │ │ │ │ │ * points - An array of coordinate pairs (x and y) for each point │ │ │ │ │ * points_stride - Distance (in bytes) between starts of successive pairs of │ │ │ │ │ @@ -636,16 +591,14 @@ │ │ │ │ │ offset the texture coordinates you pass to the al_draw_prim by (0.5, 0.5) if │ │ │ │ │ you need precise pixel control. E.g. to refer to pixel (5, 10) you’d set the │ │ │ │ │ u and v to 5.5 and 10.5 respectively. │ │ │ │ │ See also: Pixel-precise_output │ │ │ │ │ ***** al_draw_prim ***** │ │ │ │ │ int al_draw_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ -int al_draw_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ - ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a subset of the passed vertex array. │ │ │ │ │ Parameters: │ │ │ │ │ * texture - Texture to use, pass NULL to use only color shaded primitves │ │ │ │ │ * vtxs - Pointer to an array of vertices │ │ │ │ │ * decl - Pointer to a vertex_declaration. If set to NULL, the vertices are │ │ │ │ │ assumed to be of the ALLEGRO_VERTEX type │ │ │ │ │ @@ -666,16 +619,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_camera.c │ │ │ │ │ ***** al_draw_indexed_prim ***** │ │ │ │ │ int al_draw_indexed_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type) │ │ │ │ │ -int al_draw_indexed_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ - ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a subset of the passed vertex array. This function uses an index array to │ │ │ │ │ specify which vertices to use. │ │ │ │ │ Parameters: │ │ │ │ │ * texture - Texture to use, pass NULL to use only color shaded primitves │ │ │ │ │ * vtxs - Pointer to an array of vertices │ │ │ │ │ * decl - Pointer to a vertex declaration. If set to NULL, the vtxs are │ │ │ │ │ @@ -688,16 +639,14 @@ │ │ │ │ │ See also: ALLEGRO_VERTEX, ALLEGRO_PRIM_TYPE, ALLEGRO_VERTEX_DECL, al_draw_prim │ │ │ │ │ Examples: │ │ │ │ │ * ex_projection2.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_vertex_buffer ***** │ │ │ │ │ int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ -int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ - ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a subset of the passed vertex buffer. The vertex buffer must not be │ │ │ │ │ locked. Additionally, to draw onto memory bitmaps or with memory bitmap │ │ │ │ │ textures the vertex buffer must support reading (i.e.  it must be created with │ │ │ │ │ the ALLEGRO_PRIM_BUFFER_READWRITE). │ │ │ │ │ Parameters: │ │ │ │ │ * vertex_buffer - Vertex buffer to draw │ │ │ │ │ @@ -712,17 +661,14 @@ │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_draw_indexed_buffer ***** │ │ │ │ │ int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer, │ │ │ │ │ int start, int end, int type) │ │ │ │ │ -int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ - ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer, │ │ │ │ │ - int start, int end, int type) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a subset of the passed vertex buffer. This function uses an index buffer │ │ │ │ │ to specify which vertices to use. Both buffers must not be locked. │ │ │ │ │ Additionally, to draw onto memory bitmaps or with memory bitmap textures both │ │ │ │ │ buffers must support reading (i.e. they must be created with the │ │ │ │ │ ALLEGRO_PRIM_BUFFER_READWRITE). │ │ │ │ │ Parameters: │ │ │ │ │ @@ -742,20 +688,14 @@ │ │ │ │ │ ***** al_draw_soft_triangle ***** │ │ │ │ │ void al_draw_soft_triangle( │ │ │ │ │ ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state, │ │ │ │ │ void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ void (*first)(uintptr_t, int, int, int, int), │ │ │ │ │ void (*step)(uintptr_t, int), │ │ │ │ │ void (*draw)(uintptr_t, int, int, int)) │ │ │ │ │ -void al_draw_soft_triangle( │ │ │ │ │ - ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state, │ │ │ │ │ - void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ - void (*first)(uintptr_t, int, int, int, int), │ │ │ │ │ - void (*step)(uintptr_t, int), │ │ │ │ │ - void (*draw)(uintptr_t, int, int, int)) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a triangle using the software rasterizer and user supplied pixel │ │ │ │ │ functions. For help in understanding what these functions do, see the │ │ │ │ │ implementation of the various shading routines in addons/primitives/tri_soft.c. │ │ │ │ │ The triangle is drawn in two segments, from top to bottom. The segments are │ │ │ │ │ deliniated by the vertically middle vertex of the triangle. One of the two │ │ │ │ │ segments may be absent if two vertices are horizontally collinear. │ │ │ │ │ @@ -781,18 +721,14 @@ │ │ │ │ │ coordinates are inclusive. │ │ │ │ │ See also: al_draw_triangle │ │ │ │ │ ***** al_draw_soft_line ***** │ │ │ │ │ void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state, │ │ │ │ │ void (*first)(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ void (*step)(uintptr_t, int), │ │ │ │ │ void (*draw)(uintptr_t, int, int)) │ │ │ │ │ -void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state, │ │ │ │ │ - void (*first)(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ - void (*step)(uintptr_t, int), │ │ │ │ │ - void (*draw)(uintptr_t, int, int)) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a line using the software rasterizer and user supplied pixel functions. │ │ │ │ │ For help in understanding what these functions do, see the implementation of │ │ │ │ │ the various shading routines in addons/primitives/line_soft.c. The line is │ │ │ │ │ drawn top to bottom. │ │ │ │ │ Parameters: │ │ │ │ │ * v1, v2 - The two vertices of the line │ │ │ │ │ @@ -809,42 +745,37 @@ │ │ │ │ │ * draw - Called once per pixel. The function is expected to draw the pixel │ │ │ │ │ at the coordinates passed to it. │ │ │ │ │ See also: al_draw_line │ │ │ │ │ ****** Custom vertex declaration routines ****** │ │ │ │ │ ***** al_create_vertex_decl ***** │ │ │ │ │ ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* │ │ │ │ │ elements, int stride) │ │ │ │ │ -ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* │ │ │ │ │ -elements, int stride) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a vertex declaration, which describes a custom vertex format. │ │ │ │ │ Parameters: │ │ │ │ │ * elements - An array of ALLEGRO_VERTEX_ELEMENT structures. │ │ │ │ │ * stride - Size of the custom vertex structure │ │ │ │ │ Returns: Newly created vertex declaration. │ │ │ │ │ See also: ALLEGRO_VERTEX_ELEMENT, ALLEGRO_VERTEX_DECL, al_destroy_vertex_decl │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_destroy_vertex_decl ***** │ │ │ │ │ void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl) │ │ │ │ │ -void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys a vertex declaration. │ │ │ │ │ Parameters: │ │ │ │ │ * decl - Vertex declaration to destroy │ │ │ │ │ See also: ALLEGRO_VERTEX_ELEMENT, ALLEGRO_VERTEX_DECL, al_create_vertex_decl │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ ****** Vertex buffer routines ****** │ │ │ │ │ ***** al_create_vertex_buffer ***** │ │ │ │ │ ALLEGRO_VERTEX_BUFFER* al_create_vertex_buffer(ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ const void* initial_data, int num_vertices, int flags) │ │ │ │ │ -ALLEGRO_VERTEX_BUFFER* al_create_vertex_buffer(ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ - const void* initial_data, int num_vertices, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a vertex buffer. Can return NULL if the buffer could not be created │ │ │ │ │ (e.g. the system only supports write-only buffers). │ │ │ │ │ Note: │ │ │ │ │ This is an advanced feature, often unsupported on lower-end video │ │ │ │ │ cards. Be extra mindful of this function failing and make │ │ │ │ │ arrangements for fallback drawing functionality or a nice error │ │ │ │ │ @@ -861,27 +792,24 @@ │ │ │ │ │ Since: 5.1.3 │ │ │ │ │ See also: ALLEGRO_VERTEX_BUFFER, al_destroy_vertex_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_destroy_vertex_buffer ***** │ │ │ │ │ void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ -void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys a vertex buffer. Does nothing if passed NULL. │ │ │ │ │ Since: 5.1.3 │ │ │ │ │ See also: ALLEGRO_VERTEX_BUFFER, al_create_vertex_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_lock_vertex_buffer ***** │ │ │ │ │ void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset, │ │ │ │ │ int length, int flags) │ │ │ │ │ -void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset, │ │ │ │ │ - int length, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Locks a vertex buffer so you can access its data. Will return NULL if the │ │ │ │ │ parameters are invalid, if reading is requested from a write only buffer, or if │ │ │ │ │ the buffer is already locked. │ │ │ │ │ Parameters: │ │ │ │ │ * buffer - Vertex buffer to lock │ │ │ │ │ * offset - Vertex index of the start of the locked range │ │ │ │ │ @@ -891,35 +819,31 @@ │ │ │ │ │ Since: 5.1.3 │ │ │ │ │ See also: ALLEGRO_VERTEX_BUFFER, al_unlock_vertex_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_unlock_vertex_buffer ***** │ │ │ │ │ void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ -void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ Source_Code │ │ │ │ │ Unlocks a previously locked vertex buffer. │ │ │ │ │ Since: 5.1.3 │ │ │ │ │ See also: ALLEGRO_VERTEX_BUFFER, al_lock_vertex_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_get_vertex_buffer_size ***** │ │ │ │ │ int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ -int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the size of the vertex buffer │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: ALLEGRO_VERTEX_BUFFER │ │ │ │ │ ****** Index buffer routines ****** │ │ │ │ │ ***** al_create_index_buffer ***** │ │ │ │ │ ALLEGRO_INDEX_BUFFER* al_create_index_buffer(int index_size, │ │ │ │ │ const void* initial_data, int num_indices, int flags) │ │ │ │ │ -ALLEGRO_INDEX_BUFFER* al_create_index_buffer(int index_size, │ │ │ │ │ - const void* initial_data, int num_indices, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Creates a index buffer. Can return NULL if the buffer could not be created │ │ │ │ │ (e.g. the system only supports write-only buffers). │ │ │ │ │ Note: │ │ │ │ │ This is an advanced feature, often unsupported on lower-end video │ │ │ │ │ cards. Be extra mindful of this function failing and make │ │ │ │ │ arrangements for fallback drawing functionality or a nice error │ │ │ │ │ @@ -935,26 +859,23 @@ │ │ │ │ │ ALLEGRO_PRIM_BUFFER_STATIC. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: ALLEGRO_INDEX_BUFFER, al_destroy_index_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_destroy_index_buffer ***** │ │ │ │ │ void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ -void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ Source_Code │ │ │ │ │ Destroys a index buffer. Does nothing if passed NULL. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: ALLEGRO_INDEX_BUFFER, al_create_index_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_lock_index_buffer ***** │ │ │ │ │ void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset, │ │ │ │ │ int length, int flags) │ │ │ │ │ -void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset, │ │ │ │ │ - int length, int flags) │ │ │ │ │ Source_Code │ │ │ │ │ Locks a index buffer so you can access its data. Will return NULL if the │ │ │ │ │ parameters are invalid, if reading is requested from a write only buffer and if │ │ │ │ │ the buffer is already locked. │ │ │ │ │ Parameters: │ │ │ │ │ * buffer - Index buffer to lock │ │ │ │ │ * offset - Element index of the start of the locked range │ │ │ │ │ @@ -963,36 +884,31 @@ │ │ │ │ │ ALLEGRO_LOCK_READWRITE │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: ALLEGRO_INDEX_BUFFER, al_unlock_index_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_unlock_index_buffer ***** │ │ │ │ │ void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ -void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ Source_Code │ │ │ │ │ Unlocks a previously locked index buffer. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: ALLEGRO_INDEX_BUFFER, al_lock_index_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** al_get_index_buffer_size ***** │ │ │ │ │ int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ -int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the size of the index buffer │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: ALLEGRO_INDEX_BUFFER │ │ │ │ │ ****** Polygon routines ****** │ │ │ │ │ ***** al_draw_polyline ***** │ │ │ │ │ void al_draw_polyline(const float* vertices, int vertex_stride, │ │ │ │ │ int vertex_count, int join_style, int cap_style, │ │ │ │ │ ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ -void al_draw_polyline(const float* vertices, int vertex_stride, │ │ │ │ │ - int vertex_count, int join_style, int cap_style, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ Source_Code │ │ │ │ │ Draw a series of line segments. │ │ │ │ │ * vertices - Interleaved array of (x, y) vertex coordinates │ │ │ │ │ * vertex_stride - the number of bytes between pairs of vertices (the │ │ │ │ │ stride) │ │ │ │ │ * vertex_count - Number of vertices in the array │ │ │ │ │ * join_style - Member of ALLEGRO_LINE_JOIN specifying how to render the │ │ │ │ │ @@ -1019,16 +935,14 @@ │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_draw_polygon, ALLEGRO_LINE_JOIN, ALLEGRO_LINE_CAP │ │ │ │ │ Examples: │ │ │ │ │ * ex_polygon.c │ │ │ │ │ ***** al_draw_polygon ***** │ │ │ │ │ void al_draw_polygon(const float *vertices, int vertex_count, │ │ │ │ │ int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ -void al_draw_polygon(const float *vertices, int vertex_count, │ │ │ │ │ - int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ Source_Code │ │ │ │ │ Draw an unfilled polygon. This is the same as passing ALLEGRO_LINE_CAP_CLOSED │ │ │ │ │ to al_draw_polyline. │ │ │ │ │ * vertex - Interleaved array of (x, y) vertex coordinates │ │ │ │ │ * vertex_count - Number of vertices in the array │ │ │ │ │ * join_style - Member of ALLEGRO_LINE_JOIN specifying how to render the │ │ │ │ │ joins between line segments │ │ │ │ │ @@ -1038,16 +952,14 @@ │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_draw_filled_polygon, al_draw_polyline, ALLEGRO_LINE_JOIN │ │ │ │ │ Examples: │ │ │ │ │ * ex_polygon.c │ │ │ │ │ ***** al_draw_filled_polygon ***** │ │ │ │ │ void al_draw_filled_polygon(const float *vertices, int vertex_count, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_polygon(const float *vertices, int vertex_count, │ │ │ │ │ - ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draw a filled, simple polygon. Simple means it does not have to be convex but │ │ │ │ │ must not be self-overlapping. │ │ │ │ │ * vertices - Interleaved array of (x, y) vertex coordinates │ │ │ │ │ * vertex_count - Number of vertices in the array │ │ │ │ │ * color - Color of the filled polygon │ │ │ │ │ When the y-axis is facing downwards (the usual), the coordinates must be │ │ │ │ │ @@ -1055,16 +967,14 @@ │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_draw_polygon, al_draw_filled_polygon_with_holes │ │ │ │ │ Examples: │ │ │ │ │ * ex_polygon.c │ │ │ │ │ ***** al_draw_filled_polygon_with_holes ***** │ │ │ │ │ void al_draw_filled_polygon_with_holes(const float *vertices, │ │ │ │ │ const int *vertex_counts, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_polygon_with_holes(const float *vertices, │ │ │ │ │ - const int *vertex_counts, ALLEGRO_COLOR color) │ │ │ │ │ Source_Code │ │ │ │ │ Draws a filled simple polygon with zero or more other simple polygons │ │ │ │ │ subtracted from it - the holes. The holes cannot touch or intersect with the │ │ │ │ │ outline of the filled polygon. │ │ │ │ │ * vertices - Interleaved array of (x, y) vertex coordinates for each of the │ │ │ │ │ polygons, including holes. │ │ │ │ │ * vertex_counts - Number of vertices for each polygon. The number of │ │ │ │ │ @@ -1100,17 +1010,14 @@ │ │ │ │ │ al_triangulate_polygon │ │ │ │ │ Examples: │ │ │ │ │ * ex_polygon.c │ │ │ │ │ ***** al_triangulate_polygon ***** │ │ │ │ │ bool al_triangulate_polygon( │ │ │ │ │ const float* vertices, size_t vertex_stride, const int* vertex_counts, │ │ │ │ │ void (*emit_triangle)(int, int, int, void*), void* userdata) │ │ │ │ │ -bool al_triangulate_polygon( │ │ │ │ │ - const float* vertices, size_t vertex_stride, const int* vertex_counts, │ │ │ │ │ - void (*emit_triangle)(int, int, int, void*), void* userdata) │ │ │ │ │ Source_Code │ │ │ │ │ Divides a simple polygon into triangles, with zero or more other simple │ │ │ │ │ polygons subtracted from it - the holes. The holes cannot touch or intersect │ │ │ │ │ with the outline of the main polygon. Simple means the polygon does not have to │ │ │ │ │ be convex but must not be self-overlapping. │ │ │ │ │ Parameters: │ │ │ │ │ * vertices - Interleaved array of (x, y) vertex coordinates for each of the │ │ │ │ │ @@ -1126,15 +1033,14 @@ │ │ │ │ │ vertices and userdata. │ │ │ │ │ * userdata - arbitrary data to be passed to emit_triangle. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_draw_filled_polygon_with_holes │ │ │ │ │ ****** Structures and types ****** │ │ │ │ │ ***** ALLEGRO_VERTEX ***** │ │ │ │ │ typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX; │ │ │ │ │ Source_Code │ │ │ │ │ Defines the generic vertex type, with a 3D position, color and texture │ │ │ │ │ coordinates for a single texture. Note that at this time, the software driver │ │ │ │ │ for this addon cannot render 3D primitives. If you want a 2D only primitive, │ │ │ │ │ set z to 0. Note that you must initialize all members of this struct when │ │ │ │ │ you’re using it. One exception to this rule are the u and v variables which │ │ │ │ │ can be left uninitialized when you are not using textures. │ │ │ │ │ @@ -1145,26 +1051,24 @@ │ │ │ │ │ See also: ALLEGRO_PRIM_ATTR │ │ │ │ │ Examples: │ │ │ │ │ * ex_shader.cpp │ │ │ │ │ * ex_shader_target.c │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ ***** ALLEGRO_VERTEX_DECL ***** │ │ │ │ │ typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL; │ │ │ │ │ Source_Code │ │ │ │ │ A vertex declaration. This opaque structure is responsible for describing the │ │ │ │ │ format and layout of a user defined custom vertex. It is created and destroyed │ │ │ │ │ by specialized functions. │ │ │ │ │ See also: al_create_vertex_decl, al_destroy_vertex_decl, ALLEGRO_VERTEX_ELEMENT │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** ALLEGRO_VERTEX_ELEMENT ***** │ │ │ │ │ typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT; │ │ │ │ │ Source_Code │ │ │ │ │ A small structure describing a certain element of a vertex. E.g. the position │ │ │ │ │ of the vertex, or its color. These structures are used by the │ │ │ │ │ al_create_vertex_decl function to create the vertex declaration. For that they │ │ │ │ │ generally occur in an array. The last element of such an array should have the │ │ │ │ │ attribute field equal to 0, to signify that it is the end of the array. Here is │ │ │ │ │ an example code that would create a declaration describing the ALLEGRO_VERTEX │ │ │ │ │ @@ -1192,15 +1096,14 @@ │ │ │ │ │ See also: al_create_vertex_decl, ALLEGRO_VERTEX_DECL, ALLEGRO_PRIM_ATTR, │ │ │ │ │ ALLEGRO_PRIM_STORAGE │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** ALLEGRO_PRIM_TYPE ***** │ │ │ │ │ typedef enum ALLEGRO_PRIM_TYPE │ │ │ │ │ -typedef enum ALLEGRO_PRIM_TYPE │ │ │ │ │ Source_Code │ │ │ │ │ Enumerates the types of primitives this addon can draw. │ │ │ │ │ * ALLEGRO_PRIM_POINT_LIST - A list of points, each vertex defines a point │ │ │ │ │ * ALLEGRO_PRIM_LINE_LIST - A list of lines, sequential pairs of vertices │ │ │ │ │ define disjointed lines │ │ │ │ │ * ALLEGRO_PRIM_LINE_STRIP - A strip of lines, sequential vertices define a │ │ │ │ │ strip of lines │ │ │ │ │ @@ -1210,15 +1113,14 @@ │ │ │ │ │ vertices define disjointed triangles │ │ │ │ │ * ALLEGRO_PRIM_TRIANGLE_STRIP - A strip of triangles, sequential vertices │ │ │ │ │ define a strip of triangles │ │ │ │ │ * ALLEGRO_PRIM_TRIANGLE_FAN - A fan of triangles, all triangles share the │ │ │ │ │ first vertex │ │ │ │ │ ***** ALLEGRO_PRIM_ATTR ***** │ │ │ │ │ typedef enum ALLEGRO_PRIM_ATTR │ │ │ │ │ -typedef enum ALLEGRO_PRIM_ATTR │ │ │ │ │ Source_Code │ │ │ │ │ Enumerates the types of vertex attributes that a custom vertex may have. │ │ │ │ │ * ALLEGRO_PRIM_POSITION - Position information, can be stored only in │ │ │ │ │ ALLEGRO_PRIM_SHORT_2, ALLEGRO_PRIM_FLOAT_2 and ALLEGRO_PRIM_FLOAT_3. │ │ │ │ │ * ALLEGRO_PRIM_COLOR_ATTR - Color information, stored in an ALLEGRO_COLOR. │ │ │ │ │ The storage field of ALLEGRO_VERTEX_ELEMENT is ignored │ │ │ │ │ * ALLEGRO_PRIM_TEX_COORD - Texture coordinate information, can be stored │ │ │ │ │ @@ -1256,15 +1158,14 @@ │ │ │ │ │ parameter with the following semantics: TEXCOORD{# + 2} where # is the │ │ │ │ │ index of the attribute. E.g. the first attribute can be accessed via │ │ │ │ │ TEXCOORD2, second via TEXCOORD3 and so on. │ │ │ │ │ Since: 5.1.6 │ │ │ │ │ See also: ALLEGRO_VERTEX_DECL, ALLEGRO_PRIM_STORAGE, al_attach_shader_source │ │ │ │ │ ***** ALLEGRO_PRIM_STORAGE ***** │ │ │ │ │ typedef enum ALLEGRO_PRIM_STORAGE │ │ │ │ │ -typedef enum ALLEGRO_PRIM_STORAGE │ │ │ │ │ Source_Code │ │ │ │ │ Enumerates the types of storage an attribute of a custom vertex may be stored │ │ │ │ │ in. Many of these can only be used for ALLEGRO_PRIM_USER_ATTR attributes and │ │ │ │ │ can only be accessed via shaders. Usually no matter what the storage is │ │ │ │ │ specified the attribute gets converted to single precision floating point when │ │ │ │ │ the shader is run. Despite that, it may be advantageous to use more dense │ │ │ │ │ storage formats (e.g. ALLEGRO_PRIM_NORMALIZED_UBYTE_4 instead of │ │ │ │ │ @@ -1308,32 +1209,29 @@ │ │ │ │ │ * ALLEGRO_PRIM_HALF_FLOAT_4 - A quad of half-precision floats. Note that │ │ │ │ │ this storage format is not supported on all platforms. │ │ │ │ │ al_create_vertex_decl will return NULL if you use it on those platforms. │ │ │ │ │ Since: 5.1.6 │ │ │ │ │ See also: ALLEGRO_PRIM_ATTR │ │ │ │ │ ***** ALLEGRO_VERTEX_CACHE_SIZE ***** │ │ │ │ │ #define ALLEGRO_VERTEX_CACHE_SIZE 256 │ │ │ │ │ -#define ALLEGRO_VERTEX_CACHE_SIZE 256 │ │ │ │ │ Source_Code │ │ │ │ │ Defines the size of the transformation vertex cache for the software renderer. │ │ │ │ │ If you pass less than this many vertices to the primitive rendering functions │ │ │ │ │ you will get a speed boost. This also defines the size of the cache vertex │ │ │ │ │ buffer, used for the high-level primitives. This corresponds to the maximum │ │ │ │ │ number of line segments that will be used to form them. │ │ │ │ │ ***** ALLEGRO_PRIM_QUALITY ***** │ │ │ │ │ #define ALLEGRO_PRIM_QUALITY 10 │ │ │ │ │ -#define ALLEGRO_PRIM_QUALITY 10 │ │ │ │ │ Source_Code │ │ │ │ │ Controls the quality of the approximation of curved primitives (e.g. circles). │ │ │ │ │ Curved primitives are drawn by approximating them with a sequence of line │ │ │ │ │ segments. By default, this roughly corresponds to error of less than half of a │ │ │ │ │ pixel. │ │ │ │ │ ***** ALLEGRO_LINE_JOIN ***** │ │ │ │ │ typedef enum ALLEGRO_LINE_JOIN │ │ │ │ │ -typedef enum ALLEGRO_LINE_JOIN │ │ │ │ │ Source_Code │ │ │ │ │ * ALLEGRO_LINE_JOIN_NONE │ │ │ │ │ * ALLEGRO_LINE_JOIN_BEVEL │ │ │ │ │ * ALLEGRO_LINE_JOIN_ROUND │ │ │ │ │ * ALLEGRO_LINE_JOIN_MITER │ │ │ │ │ [ALLEGRO_LINE_JOIN styles] ALLEGRO_LINE_JOIN styles │ │ │ │ │ See the picture for the difference. │ │ │ │ │ @@ -1341,15 +1239,14 @@ │ │ │ │ │ parameter to the polygon functions. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_draw_polygon │ │ │ │ │ Examples: │ │ │ │ │ * ex_polygon.c │ │ │ │ │ ***** ALLEGRO_LINE_CAP ***** │ │ │ │ │ typedef enum ALLEGRO_LINE_CAP │ │ │ │ │ -typedef enum ALLEGRO_LINE_CAP │ │ │ │ │ Source_Code │ │ │ │ │ * ALLEGRO_LINE_CAP_NONE │ │ │ │ │ * ALLEGRO_LINE_CAP_SQUARE │ │ │ │ │ * ALLEGRO_LINE_CAP_ROUND │ │ │ │ │ * ALLEGRO_LINE_CAP_TRIANGLE │ │ │ │ │ * ALLEGRO_LINE_CAP_CLOSED │ │ │ │ │ [ALLEGRO_LINE_CAP styles] ALLEGRO_LINE_CAP styles │ │ │ │ │ @@ -1359,37 +1256,34 @@ │ │ │ │ │ looks.) │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_draw_polygon │ │ │ │ │ Examples: │ │ │ │ │ * ex_polygon.c │ │ │ │ │ ***** ALLEGRO_VERTEX_BUFFER ***** │ │ │ │ │ typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER; │ │ │ │ │ Source_Code │ │ │ │ │ A GPU vertex buffer that you can use to store vertices on the GPU instead of │ │ │ │ │ uploading them afresh during every drawing operation. │ │ │ │ │ Since: 5.1.3 │ │ │ │ │ See also: al_create_vertex_buffer, al_destroy_vertex_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_vertex_buffer.c │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** ALLEGRO_INDEX_BUFFER ***** │ │ │ │ │ typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER; │ │ │ │ │ -typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER; │ │ │ │ │ Source_Code │ │ │ │ │ A GPU index buffer that you can use to store indices of vertices in a vertex │ │ │ │ │ buffer on the GPU instead of uploading them afresh during every drawing │ │ │ │ │ operation. │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: al_create_index_buffer, al_destroy_index_buffer │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ***** ALLEGRO_PRIM_BUFFER_FLAGS ***** │ │ │ │ │ typedef enum ALLEGRO_PRIM_BUFFER_FLAGS │ │ │ │ │ -typedef enum ALLEGRO_PRIM_BUFFER_FLAGS │ │ │ │ │ Source_Code │ │ │ │ │ Flags to specify how to create a vertex or an index buffer. │ │ │ │ │ * ALLEGRO_PRIM_BUFFER_STREAM - Hints to the driver that the buffer is │ │ │ │ │ written to often, but used only a few times per frame │ │ │ │ │ * ALLEGRO_PRIM_BUFFER_STATIC - Hints to the driver that the buffer is │ │ │ │ │ written to once and is used often │ │ │ │ │ * ALLEGRO_PRIM_BUFFER_DYNAMIC - Hints to the driver that the buffer is │ │ │ │ │ @@ -1397,8 +1291,8 @@ │ │ │ │ │ * 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 al_create_vertex_buffer or │ │ │ │ │ al_create_index_buffer the call will fail. │ │ │ │ │ Since: 5.1.3 │ │ │ │ │ See also: al_create_vertex_buffer, al_create_index_buffer │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:17 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ │ @@ -188,16 +188,15 @@ │ │ │ │
            • al_get_default_shader_source
            • │ │ │ │
            │ │ │ │ │ │ │ │

            These functions are declared in the main Allegro header file:

            │ │ │ │
             #include <allegro5/allegro.h>
            │ │ │ │

            ALLEGRO_SHADER

            │ │ │ │ -
            typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;
            │ │ │ │ -typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;
            │ │ │ │ +
            typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;
            │ │ │ │

            Source │ │ │ │ Code

            │ │ │ │

            An ALLEGRO_SHADER is a │ │ │ │ program that runs on the GPU. It combines both a vertex and a pixel │ │ │ │ shader. (In OpenGL terms, an ALLEGRO_SHADER is actually a │ │ │ │ @@ -214,16 +213,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader.cpp#L39">ex_shader.cpp │ │ │ │

          • ex_shader_target.c
          • │ │ │ │
          • ex_prim_shader.c
          • │ │ │ │
          │ │ │ │

          ALLEGRO_SHADER_TYPE

          │ │ │ │ -
          typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE;
          │ │ │ │ -typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE;
          │ │ │ │ +
          typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE;
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          Used with al_attach_shader_source │ │ │ │ and al_attach_shader_source_file │ │ │ │ @@ -249,16 +247,15 @@ │ │ │ │ one final pixel in the target bitmap is not necessarily composed of only │ │ │ │ a single output but of multiple fragments (for example when │ │ │ │ multi-sampling is being used).

          │ │ │ │ │ │ │ │ │ │ │ │

          Since: 5.1.0

          │ │ │ │

          ALLEGRO_SHADER_PLATFORM

          │ │ │ │ -
          typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM;
          │ │ │ │ -typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM;
          │ │ │ │ +
          typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM;
          │ │ │ │

          Source │ │ │ │ Code

          │ │ │ │

          The underlying platform which the ALLEGRO_SHADER is built on top of, │ │ │ │ which dictates the language used to program the shader.

          │ │ │ │ │ │ │ │

          │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:17 UTC │ │ │ │

          │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -66,30 +66,28 @@ │ │ │ │ │ * al_set_shader_int_vector │ │ │ │ │ * al_set_shader_float_vector │ │ │ │ │ * al_get_default_shader_source │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_SHADER ****** │ │ │ │ │ typedef struct ALLEGRO_SHADER ALLEGRO_SHADER; │ │ │ │ │ -typedef struct ALLEGRO_SHADER ALLEGRO_SHADER; │ │ │ │ │ Source_Code │ │ │ │ │ An ALLEGRO_SHADER is a program that runs on the GPU. It combines both a vertex │ │ │ │ │ and a pixel shader. (In OpenGL terms, an ALLEGRO_SHADER is actually a program │ │ │ │ │ which has one or more shaders attached. This can be confusing.) │ │ │ │ │ The source code for the underlying vertex or pixel shader can be provided │ │ │ │ │ either as GLSL or HLSL, depending on the value of ALLEGRO_SHADER_PLATFORM used │ │ │ │ │ when creating it. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_shader.cpp │ │ │ │ │ * ex_shader_target.c │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ ****** ALLEGRO_SHADER_TYPE ****** │ │ │ │ │ typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE; │ │ │ │ │ -typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE; │ │ │ │ │ Source_Code │ │ │ │ │ Used with al_attach_shader_source and al_attach_shader_source_file to specify │ │ │ │ │ how to interpret the attached source. │ │ │ │ │ ALLEGRO_VERTEX_SHADER │ │ │ │ │ A vertex shader is executed for each vertex it is used with. The program │ │ │ │ │ will output exactly one vertex at a time. │ │ │ │ │ When Allegro’s graphics are being used then in addition to all vertices │ │ │ │ │ @@ -105,15 +103,14 @@ │ │ │ │ │ A more accurate term for pixel shader would be fragment shader since one │ │ │ │ │ final pixel in the target bitmap is not necessarily composed of only a │ │ │ │ │ single output but of multiple fragments (for example when multi-sampling │ │ │ │ │ is being used). │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** ALLEGRO_SHADER_PLATFORM ****** │ │ │ │ │ typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM; │ │ │ │ │ -typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM; │ │ │ │ │ Source_Code │ │ │ │ │ The underlying platform which the ALLEGRO_SHADER is built on top of, which │ │ │ │ │ dictates the language used to program the shader. │ │ │ │ │ * ALLEGRO_SHADER_AUTO - Pick a platform automatically given the current │ │ │ │ │ display flags. │ │ │ │ │ * ALLEGRO_SHADER_GLSL - OpenGL Shading Language │ │ │ │ │ * ALLEGRO_SHADER_HLSL - High Level Shader Language (for Direct3D) │ │ │ │ │ @@ -430,8 +427,8 @@ │ │ │ │ │ the selected platform. │ │ │ │ │ Since: 5.1.6 │ │ │ │ │ See also: al_attach_shader_source │ │ │ │ │ Examples: │ │ │ │ │ * ex_shader_multitex.c │ │ │ │ │ * ex_palette.c │ │ │ │ │ * ex_prim_wrap.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:17 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/state.html │ │ │ │ @@ -171,16 +171,15 @@ │ │ │ │
        • al_get_errno
        • │ │ │ │
        • al_set_errno
        • │ │ │ │
        │ │ │ │ │ │ │ │

        These functions are declared in the main Allegro header file:

        │ │ │ │
         #include <allegro5/allegro.h>
        │ │ │ │

        ALLEGRO_STATE

        │ │ │ │ -
        typedef struct ALLEGRO_STATE ALLEGRO_STATE;
        │ │ │ │ -typedef struct ALLEGRO_STATE ALLEGRO_STATE;
        │ │ │ │ +
        typedef struct ALLEGRO_STATE ALLEGRO_STATE;
        │ │ │ │

        Source │ │ │ │ Code

        │ │ │ │

        Opaque type which is passed to al_store_state/al_restore_state.

        │ │ │ │

        The various state kept internally by Allegro can be displayed like │ │ │ │ @@ -216,16 +215,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L65">ex_blend_bench.c │ │ │ │

      • ex_blend2.cpp
      • │ │ │ │
      • nihgui.cpp
      • │ │ │ │
      │ │ │ │

      ALLEGRO_STATE_FLAGS

      │ │ │ │ -
      typedef enum ALLEGRO_STATE_FLAGS
      │ │ │ │ -typedef enum ALLEGRO_STATE_FLAGS
      │ │ │ │ +
      typedef enum ALLEGRO_STATE_FLAGS
      │ │ │ │

      Source │ │ │ │ Code

      │ │ │ │

      Flags which can be passed to al_store_state/al_restore_state as bit │ │ │ │ combinations. See al_store_state │ │ │ │ @@ -309,12 +307,12 @@ │ │ │ │

    • ex_curl.c
    • │ │ │ │
    • ex_utf8.c
    • │ │ │ │
    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:13 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -53,15 +53,14 @@ │ │ │ │ │ * al_store_state │ │ │ │ │ * al_get_errno │ │ │ │ │ * al_set_errno │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_STATE ****** │ │ │ │ │ typedef struct ALLEGRO_STATE ALLEGRO_STATE; │ │ │ │ │ -typedef struct ALLEGRO_STATE ALLEGRO_STATE; │ │ │ │ │ Source_Code │ │ │ │ │ Opaque type which is passed to al_store_state/al_restore_state. │ │ │ │ │ The various state kept internally by Allegro can be displayed like this: │ │ │ │ │ global │ │ │ │ │ active system driver │ │ │ │ │ current config │ │ │ │ │ per thread │ │ │ │ │ @@ -87,15 +86,14 @@ │ │ │ │ │ thread communication.) │ │ │ │ │ Examples: │ │ │ │ │ * ex_blend_bench.c │ │ │ │ │ * ex_blend2.cpp │ │ │ │ │ * nihgui.cpp │ │ │ │ │ ****** ALLEGRO_STATE_FLAGS ****** │ │ │ │ │ typedef enum ALLEGRO_STATE_FLAGS │ │ │ │ │ -typedef enum ALLEGRO_STATE_FLAGS │ │ │ │ │ Source_Code │ │ │ │ │ Flags which can be passed to al_store_state/al_restore_state as bit │ │ │ │ │ combinations. See al_store_state for the list of flags. │ │ │ │ │ ****** al_restore_state ****** │ │ │ │ │ void al_restore_state(ALLEGRO_STATE const *state) │ │ │ │ │ Source_Code │ │ │ │ │ Restores part of the state of the current thread from the given ALLEGRO_STATE │ │ │ │ │ @@ -140,8 +138,8 @@ │ │ │ │ │ void al_set_errno(int errnum) │ │ │ │ │ SETTER(allegro_errno, errnum) │ │ │ │ │ Source_Code │ │ │ │ │ Set the error number for the calling thread. │ │ │ │ │ Examples: │ │ │ │ │ * ex_curl.c │ │ │ │ │ * ex_utf8.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:56 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:13 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/system.html │ │ │ │ @@ -208,16 +208,15 @@ │ │ │ │ be the version of Allegro you compiled with, and B = xb.yb.zb.* be the │ │ │ │ version of Allegro found in the system shared library.

    │ │ │ │

    If you defined ALLEGRO_UNSTABLE before including Allegro │ │ │ │ headers, then version A is compatible with B only if xa.ya.za = │ │ │ │ xb.yb.zb. Otherwise, A is compatible with B only if xa.ya = xb.yb.

    │ │ │ │

    See also: al_init

    │ │ │ │

    al_init

    │ │ │ │ -
    #define al_init()    (al_install_system(ALLEGRO_VERSION_INT, atexit))
    │ │ │ │ -#define al_init()    (al_install_system(ALLEGRO_VERSION_INT, atexit))
    │ │ │ │ +
    #define al_init()    (al_install_system(ALLEGRO_VERSION_INT, atexit))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_install_system, │ │ │ │ but automatically passes in the version and uses the atexit function │ │ │ │ visible in the current binary.

    │ │ │ │
    │ │ │ │ @@ -792,16 +791,15 @@ │ │ │ │

    Since: 5.1.12

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • ex_cpu.c
    • │ │ │ │
    │ │ │ │

    ALLEGRO_SYSTEM_ID

    │ │ │ │ -
    enum ALLEGRO_SYSTEM_ID {
    │ │ │ │ -enum ALLEGRO_SYSTEM_ID {
    │ │ │ │ +
    enum ALLEGRO_SYSTEM_ID {
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    The system Allegro is running on.

    │ │ │ │
      │ │ │ │
    • ALLEGRO_SYSTEM_ID_UNKNOWN - Unknown system.
    • │ │ │ │
    • ALLEGRO_SYSTEM_ID_XGLX - Xglx
    • │ │ │ │ @@ -814,12 +812,12 @@ │ │ │ │
    • ALLEGRO_SYSTEM_ID_SDL - SDL
    • │ │ │ │
    │ │ │ │

    Since: 5.2.5

    │ │ │ │

    See also: al_get_system_id

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:13 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -85,15 +85,14 @@ │ │ │ │ │ Allegro found in the system shared library. │ │ │ │ │ If you defined ALLEGRO_UNSTABLE before including Allegro headers, then version │ │ │ │ │ A is compatible with B only if xa.ya.za = xb.yb.zb. Otherwise, A is compatible │ │ │ │ │ with B only if xa.ya = xb.yb. │ │ │ │ │ See also: al_init │ │ │ │ │ ****** al_init ****** │ │ │ │ │ #define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit)) │ │ │ │ │ -#define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit)) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_install_system, but automatically passes in the version and uses the │ │ │ │ │ atexit function visible in the current binary. │ │ │ │ │ Note: It is typically wrong to call al_init anywhere except the final │ │ │ │ │ game binary. In particular, do not call it inside a shared library │ │ │ │ │ unless you know what you’re doing. In those cases, it is better to │ │ │ │ │ call al_install_system either with a NULL atexit_ptr, or with a │ │ │ │ │ @@ -555,22 +554,21 @@ │ │ │ │ │ returns a certain “desirable” number. │ │ │ │ │ This function may be called prior to al_install_system or al_init. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ Examples: │ │ │ │ │ * ex_cpu.c │ │ │ │ │ ****** ALLEGRO_SYSTEM_ID ****** │ │ │ │ │ enum ALLEGRO_SYSTEM_ID { │ │ │ │ │ -enum ALLEGRO_SYSTEM_ID { │ │ │ │ │ Source_Code │ │ │ │ │ The system Allegro is running on. │ │ │ │ │ * ALLEGRO_SYSTEM_ID_UNKNOWN - Unknown system. │ │ │ │ │ * ALLEGRO_SYSTEM_ID_XGLX - Xglx │ │ │ │ │ * ALLEGRO_SYSTEM_ID_WINDOWS - Windows │ │ │ │ │ * ALLEGRO_SYSTEM_ID_MACOSX - macOS │ │ │ │ │ * ALLEGRO_SYSTEM_ID_ANDROID - Android │ │ │ │ │ * ALLEGRO_SYSTEM_ID_IPHONE - iOS │ │ │ │ │ * ALLEGRO_SYSTEM_ID_GP2XWIZ - GP2XWIZ │ │ │ │ │ * ALLEGRO_SYSTEM_ID_RASPBERRYPI - Raspberry Pi │ │ │ │ │ * ALLEGRO_SYSTEM_ID_SDL - SDL │ │ │ │ │ Since: 5.2.5 │ │ │ │ │ See also: al_get_system_id │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:13 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/threads.html │ │ │ │ @@ -198,46 +198,43 @@ │ │ │ │ would be difficult at best, hence the behaviour of the following │ │ │ │ functions will differ subtly on different platforms (more so than │ │ │ │ usual). Your best bet is to be aware of this and code to the │ │ │ │ intersection of the semantics and avoid edge cases.

    │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_THREAD

    │ │ │ │ -
    typedef struct ALLEGRO_THREAD ALLEGRO_THREAD;
    │ │ │ │ -typedef struct ALLEGRO_THREAD ALLEGRO_THREAD;
    │ │ │ │ +
    typedef struct ALLEGRO_THREAD ALLEGRO_THREAD;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque structure representing a thread.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_MUTEX

    │ │ │ │ -
    typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX;
    │ │ │ │ -typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX;
    │ │ │ │ +
    typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque structure representing a mutex.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_COND

    │ │ │ │ -
    typedef struct ALLEGRO_COND ALLEGRO_COND;
    │ │ │ │ -typedef struct ALLEGRO_COND ALLEGRO_COND;
    │ │ │ │ +
    typedef struct ALLEGRO_COND ALLEGRO_COND;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque structure representing a condition variable.

    │ │ │ │

    Examples:

    │ │ │ │
      │ │ │ │
    • al_broadcast_cond but al_signal_cond may be more │ │ │ │ efficient when it’s applicable.

      │ │ │ │

      See also: al_broadcast_cond.

      │ │ │ │

      │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:13 UTC │ │ │ │

      │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -76,32 +76,29 @@ │ │ │ │ │ subtly on different platforms (more so than usual). Your best bet is to be │ │ │ │ │ aware of this and code to the intersection of the semantics and avoid edge │ │ │ │ │ cases. │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_THREAD ****** │ │ │ │ │ typedef struct ALLEGRO_THREAD ALLEGRO_THREAD; │ │ │ │ │ -typedef struct ALLEGRO_THREAD ALLEGRO_THREAD; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque structure representing a thread. │ │ │ │ │ Examples: │ │ │ │ │ * ex_threads.c │ │ │ │ │ * ex_threads2.c │ │ │ │ │ * ex_loading_thread.c │ │ │ │ │ ****** ALLEGRO_MUTEX ****** │ │ │ │ │ typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX; │ │ │ │ │ -typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque structure representing a mutex. │ │ │ │ │ Examples: │ │ │ │ │ * ex_threads2.c │ │ │ │ │ * ex_loading_thread.c │ │ │ │ │ ****** ALLEGRO_COND ****** │ │ │ │ │ typedef struct ALLEGRO_COND ALLEGRO_COND; │ │ │ │ │ -typedef struct ALLEGRO_COND ALLEGRO_COND; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque structure representing a condition variable. │ │ │ │ │ Examples: │ │ │ │ │ * ex_threads2.c │ │ │ │ │ ****** al_create_thread ****** │ │ │ │ │ ALLEGRO_THREAD *al_create_thread( │ │ │ │ │ void *(*proc)(ALLEGRO_THREAD *thread, void *arg), void *arg) │ │ │ │ │ @@ -301,8 +298,8 @@ │ │ │ │ │ ****** al_signal_cond ****** │ │ │ │ │ void al_signal_cond(ALLEGRO_COND *cond) │ │ │ │ │ Source_Code │ │ │ │ │ Unblock at least one thread waiting on a condition variable. │ │ │ │ │ Generally you should use al_broadcast_cond but al_signal_cond may be more │ │ │ │ │ efficient when it’s applicable. │ │ │ │ │ See also: al_broadcast_cond. │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:13 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/time.html │ │ │ │ @@ -239,12 +239,12 @@ │ │ │ │
    • ex_timer_pause.c
    • │ │ │ │
    • ex_mouse_focus.c
    • │ │ │ │
    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:13 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -89,8 +89,8 @@ │ │ │ │ │ al_rest(0.000001) │ │ │ │ │ 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. │ │ │ │ │ Examples: │ │ │ │ │ * ex_keyboard_focus.c │ │ │ │ │ * ex_timer_pause.c │ │ │ │ │ * ex_mouse_focus.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:13 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/timer.html │ │ │ │ @@ -183,58 +183,53 @@ │ │ │ │
  • al_get_timer_event_source
  • │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_TIMER

    │ │ │ │ -
    typedef struct ALLEGRO_TIMER ALLEGRO_TIMER;
    │ │ │ │ -typedef struct ALLEGRO_TIMER ALLEGRO_TIMER;
    │ │ │ │ +
    typedef struct ALLEGRO_TIMER ALLEGRO_TIMER;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This is an abstract data type representing a timer object.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_USECS_TO_SECS

    │ │ │ │ -
    #define ALLEGRO_USECS_TO_SECS(x)      ((x) / 1000000.0)
    │ │ │ │ -#define ALLEGRO_USECS_TO_SECS(x)      ((x) / 1000000.0)
    │ │ │ │ +
    #define ALLEGRO_USECS_TO_SECS(x)      ((x) / 1000000.0)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert microseconds to seconds.

    │ │ │ │

    ALLEGRO_MSECS_TO_SECS

    │ │ │ │ -
    #define ALLEGRO_MSECS_TO_SECS(x)      ((x) / 1000.0)
    │ │ │ │ -#define ALLEGRO_MSECS_TO_SECS(x)      ((x) / 1000.0)
    │ │ │ │ +
    #define ALLEGRO_MSECS_TO_SECS(x)      ((x) / 1000.0)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert milliseconds to seconds.

    │ │ │ │

    ALLEGRO_BPS_TO_SECS

    │ │ │ │ -
    #define ALLEGRO_BPS_TO_SECS(x)        (1.0 / (x))
    │ │ │ │ -#define ALLEGRO_BPS_TO_SECS(x)        (1.0 / (x))
    │ │ │ │ +
    #define ALLEGRO_BPS_TO_SECS(x)        (1.0 / (x))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert beats per second to seconds.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    ALLEGRO_BPM_TO_SECS

    │ │ │ │ -
    #define ALLEGRO_BPM_TO_SECS(x)        (60.0 / (x))
    │ │ │ │ -#define ALLEGRO_BPM_TO_SECS(x)        (60.0 / (x))
    │ │ │ │ +
    #define ALLEGRO_BPM_TO_SECS(x)        (60.0 / (x))
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Convert beats per minute to seconds.

    │ │ │ │

    al_create_timer

    │ │ │ │
    ALLEGRO_TIMER *al_create_timer(double speed_secs)
    │ │ │ │

    ex_timer_pause.c │ │ │ │

  • ex_user_events.c
  • │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:14 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -64,41 +64,36 @@ │ │ │ │ │ * al_get_timer_speed │ │ │ │ │ * al_set_timer_speed │ │ │ │ │ * al_get_timer_event_source │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_TIMER ****** │ │ │ │ │ typedef struct ALLEGRO_TIMER ALLEGRO_TIMER; │ │ │ │ │ -typedef struct ALLEGRO_TIMER ALLEGRO_TIMER; │ │ │ │ │ Source_Code │ │ │ │ │ This is an abstract data type representing a timer object. │ │ │ │ │ Examples: │ │ │ │ │ * ex_enet_server.c │ │ │ │ │ * ex_timer_pause.c │ │ │ │ │ * ex_user_events.c │ │ │ │ │ ****** ALLEGRO_USECS_TO_SECS ****** │ │ │ │ │ #define ALLEGRO_USECS_TO_SECS(x) ((x) / 1000000.0) │ │ │ │ │ -#define ALLEGRO_USECS_TO_SECS(x) ((x) / 1000000.0) │ │ │ │ │ Source_Code │ │ │ │ │ Convert microseconds to seconds. │ │ │ │ │ ****** ALLEGRO_MSECS_TO_SECS ****** │ │ │ │ │ #define ALLEGRO_MSECS_TO_SECS(x) ((x) / 1000.0) │ │ │ │ │ -#define ALLEGRO_MSECS_TO_SECS(x) ((x) / 1000.0) │ │ │ │ │ Source_Code │ │ │ │ │ Convert milliseconds to seconds. │ │ │ │ │ ****** ALLEGRO_BPS_TO_SECS ****** │ │ │ │ │ #define ALLEGRO_BPS_TO_SECS(x) (1.0 / (x)) │ │ │ │ │ -#define ALLEGRO_BPS_TO_SECS(x) (1.0 / (x)) │ │ │ │ │ Source_Code │ │ │ │ │ Convert beats per second to seconds. │ │ │ │ │ Examples: │ │ │ │ │ * ex_prim.c │ │ │ │ │ ****** ALLEGRO_BPM_TO_SECS ****** │ │ │ │ │ #define ALLEGRO_BPM_TO_SECS(x) (60.0 / (x)) │ │ │ │ │ -#define ALLEGRO_BPM_TO_SECS(x) (60.0 / (x)) │ │ │ │ │ Source_Code │ │ │ │ │ Convert beats per minute to seconds. │ │ │ │ │ ****** al_create_timer ****** │ │ │ │ │ ALLEGRO_TIMER *al_create_timer(double speed_secs) │ │ │ │ │ Source_Code │ │ │ │ │ Allocates and initializes a timer. If successful, a pointer to a new timer │ │ │ │ │ object is returned, otherwise NULL is returned. speed_secs is in seconds per │ │ │ │ │ @@ -204,8 +199,8 @@ │ │ │ │ │ Source_Code │ │ │ │ │ Retrieve the associated event source. Timers will generate events of type │ │ │ │ │ ALLEGRO_EVENT_TIMER. │ │ │ │ │ Examples: │ │ │ │ │ * ex_enet_server.c │ │ │ │ │ * ex_timer_pause.c │ │ │ │ │ * ex_user_events.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:14 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/touch.html │ │ │ │ @@ -188,34 +188,31 @@ │ │ │ │
  • al_get_touch_input_mouse_emulation_event_source
  • │ │ │ │ │ │ │ │ │ │ │ │

    These functions are declared in the main Allegro header file:

    │ │ │ │
     #include <allegro5/allegro.h>
    │ │ │ │

    ALLEGRO_TOUCH_INPUT

    │ │ │ │ -
    typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT;
    │ │ │ │ -typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT;
    │ │ │ │ +
    typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An abstract data type representing a physical touch screen or touch │ │ │ │ pad.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT

    │ │ │ │ -
    #define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT        16
    │ │ │ │ -#define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT        16
    │ │ │ │ +
    #define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT        16
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    The maximum amount of simultaneous touches that can be detected.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    ALLEGRO_TOUCH_STATE

    │ │ │ │ -
    typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE;
    │ │ │ │ -typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE;
    │ │ │ │ +
    typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This is a structure that is used to hold a “snapshot” of a touch at a │ │ │ │ particular instant.

    │ │ │ │

    Public fields (read only):

    │ │ │ │
      │ │ │ │ @@ -229,30 +226,28 @@ │ │ │ │ one). │ │ │ │
    • display - The ALLEGRO_DISPLAY that was │ │ │ │ touched.
    • │ │ │ │
    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    ALLEGRO_TOUCH_INPUT_STATE

    │ │ │ │ -
    typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE;
    │ │ │ │ -typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE;
    │ │ │ │ +
    typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This is a structure that holds a snapshot of all simultaneous touches │ │ │ │ at a particular instant.

    │ │ │ │

    Public fields (read only):

    │ │ │ │ │ │ │ │

    Since: 5.1.0

    │ │ │ │

    ALLEGRO_MOUSE_EMULATION_MODE

    │ │ │ │ -
    typedef enum ALLEGRO_MOUSE_EMULATION_MODE
    │ │ │ │ -typedef enum ALLEGRO_MOUSE_EMULATION_MODE
    │ │ │ │ +
    typedef enum ALLEGRO_MOUSE_EMULATION_MODE
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Type of mouse emulation to apply.

    │ │ │ │
    │ │ │ │
    ALLEGRO_MOUSE_EMULATION_NONE
    │ │ │ │
    │ │ │ │ @@ -426,12 +421,12 @@ │ │ │ │
  • ex_haiku.c
  • │ │ │ │
  • ex_prim_shader.c
  • │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:14 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -60,51 +60,46 @@ │ │ │ │ │ * al_get_mouse_emulation_mode │ │ │ │ │ * al_get_touch_input_event_source │ │ │ │ │ * al_get_touch_input_mouse_emulation_event_source │ │ │ │ │ These functions are declared in the main Allegro header file: │ │ │ │ │ #include │ │ │ │ │ ****** ALLEGRO_TOUCH_INPUT ****** │ │ │ │ │ typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT; │ │ │ │ │ -typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT; │ │ │ │ │ Source_Code │ │ │ │ │ An abstract data type representing a physical touch screen or touch pad. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT ****** │ │ │ │ │ #define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT 16 │ │ │ │ │ -#define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT 16 │ │ │ │ │ Source_Code │ │ │ │ │ The maximum amount of simultaneous touches that can be detected. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** ALLEGRO_TOUCH_STATE ****** │ │ │ │ │ typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE; │ │ │ │ │ -typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE; │ │ │ │ │ Source_Code │ │ │ │ │ This is a structure that is used to hold a “snapshot” of a touch at a │ │ │ │ │ particular instant. │ │ │ │ │ Public fields (read only): │ │ │ │ │ * id - identifier of the touch. If the touch is valid, this is positive. │ │ │ │ │ * x - touch x position │ │ │ │ │ * y - touch y position │ │ │ │ │ * dx - touch relative x position │ │ │ │ │ * dy - touch relative y position │ │ │ │ │ * primary - TRUE if this touch is the primary one (usually the first one). │ │ │ │ │ * display - The ALLEGRO_DISPLAY that was touched. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** ALLEGRO_TOUCH_INPUT_STATE ****** │ │ │ │ │ typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE; │ │ │ │ │ -typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE; │ │ │ │ │ Source_Code │ │ │ │ │ This is a structure that holds a snapshot of all simultaneous touches at a │ │ │ │ │ particular instant. │ │ │ │ │ Public fields (read only): │ │ │ │ │ * touches - an array of ALLEGRO_TOUCH_STATE │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** ALLEGRO_MOUSE_EMULATION_MODE ****** │ │ │ │ │ typedef enum ALLEGRO_MOUSE_EMULATION_MODE │ │ │ │ │ -typedef enum ALLEGRO_MOUSE_EMULATION_MODE │ │ │ │ │ Source_Code │ │ │ │ │ Type of mouse emulation to apply. │ │ │ │ │ ALLEGRO_MOUSE_EMULATION_NONE │ │ │ │ │ Disables mouse emulation. │ │ │ │ │ ALLEGRO_MOUSE_EMULATION_TRANSPARENT │ │ │ │ │ Enables transparent mouse emulation. │ │ │ │ │ ALLEGRO_MOUSE_EMULATION_INCLUSIVE │ │ │ │ │ @@ -189,8 +184,8 @@ │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Unstable_API: Seems of limited value, as touch input tends to have │ │ │ │ │ different semantics compared to mouse input. │ │ │ │ │ Examples: │ │ │ │ │ * ex_lockbitmap.c │ │ │ │ │ * ex_haiku.c │ │ │ │ │ * ex_prim_shader.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:14 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ │ @@ -278,16 +278,15 @@ │ │ │ │ al_use_transform(&T); │ │ │ │

    it does exactly the same as:

    │ │ │ │
    al_identity_transform(&T);
    │ │ │ │  al_scale_transform(&T, 2, 2);
    │ │ │ │  al_translate_transform(&T, 100, 0);
    │ │ │ │  al_use_transform(&T);
    │ │ │ │

    ALLEGRO_TRANSFORM

    │ │ │ │ -
    typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM;
    │ │ │ │ -typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM;
    │ │ │ │ +
    typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Defines the generic transformation type, a 4x4 matrix. 2D transforms │ │ │ │ use only a small subsection of this matrix, namely the top left 2x2 │ │ │ │ matrix, and the right most 2x1 matrix, for a total of 6 values.

    │ │ │ │

    Fields:

    │ │ │ │ @@ -1060,12 +1059,12 @@ │ │ │ │
  • theta - Rotation angle in radians
  • │ │ │ │ │ │ │ │

    Since: 5.1.7

    │ │ │ │

    See also: al_horizontal_shear_transform

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:14 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -134,15 +134,14 @@ │ │ │ │ │ it does exactly the same as: │ │ │ │ │ al_identity_transform(&T); │ │ │ │ │ al_scale_transform(&T, 2, 2); │ │ │ │ │ al_translate_transform(&T, 100, 0); │ │ │ │ │ al_use_transform(&T); │ │ │ │ │ ****** ALLEGRO_TRANSFORM ****** │ │ │ │ │ typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM; │ │ │ │ │ -typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM; │ │ │ │ │ Source_Code │ │ │ │ │ Defines the generic transformation type, a 4x4 matrix. 2D transforms use only a │ │ │ │ │ small subsection of this matrix, namely the top left 2x2 matrix, and the right │ │ │ │ │ most 2x1 matrix, for a total of 6 values. │ │ │ │ │ Fields: │ │ │ │ │ * m - A 4x4 float matrix │ │ │ │ │ Examples: │ │ │ │ │ @@ -638,8 +637,8 @@ │ │ │ │ │ Source_Code │ │ │ │ │ Apply a vertical shear to the transform │ │ │ │ │ Parameters: │ │ │ │ │ * trans - Transformation to alter │ │ │ │ │ * theta - Rotation angle in radians │ │ │ │ │ Since: 5.1.7 │ │ │ │ │ See also: al_horizontal_shear_transform │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:14 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ │ @@ -358,16 +358,15 @@ │ │ │ │

    For actual text processing, where you want to specify positions with │ │ │ │ code point indices, you should use al_ustr_offset to find the code unit │ │ │ │ offset position. However, most of the time you would probably just work │ │ │ │ with byte offsets.

    │ │ │ │

    UTF-8 string types

    │ │ │ │

    ALLEGRO_USTR

    │ │ │ │ -
    typedef struct _al_tagbstring ALLEGRO_USTR;
    │ │ │ │ -typedef struct _al_tagbstring ALLEGRO_USTR;
    │ │ │ │ +
    typedef struct _al_tagbstring ALLEGRO_USTR;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    An opaque type representing a string. ALLEGRO_USTRs normally contain │ │ │ │ UTF-8 encoded strings, but they may be used to hold any byte sequences, │ │ │ │ including NULs.

    │ │ │ │

    Examples:

    │ │ │ │ @@ -376,16 +375,15 @@ │ │ │ │ href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_multiline.cpp#L248">ex_font_multiline.cpp │ │ │ │
  • nihgui.cpp
  • │ │ │ │
  • ex_blend.c
  • │ │ │ │ │ │ │ │

    ALLEGRO_USTR_INFO

    │ │ │ │ -
    typedef struct _al_tagbstring ALLEGRO_USTR_INFO;
    │ │ │ │ -typedef struct _al_tagbstring ALLEGRO_USTR_INFO;
    │ │ │ │ +
    typedef struct _al_tagbstring ALLEGRO_USTR_INFO;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    A type that holds additional information for an ALLEGRO_USTR that references an │ │ │ │ external memory buffer.

    │ │ │ │

    See also: al_ref_cstr, │ │ │ │

    Returns the number of bytes written, which is the same as that │ │ │ │ returned by al_utf16_width.

    │ │ │ │

    See also: al_utf8_encode, al_ustr_encode_utf16

    │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:14 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -195,26 +195,24 @@ │ │ │ │ │ actually store arbitrary data in the ALLEGRO_USTRs.) │ │ │ │ │ For actual text processing, where you want to specify positions with code point │ │ │ │ │ indices, you should use al_ustr_offset to find the code unit offset position. │ │ │ │ │ However, most of the time you would probably just work with byte offsets. │ │ │ │ │ ****** UTF-8 string types ****** │ │ │ │ │ ***** ALLEGRO_USTR ***** │ │ │ │ │ typedef struct _al_tagbstring ALLEGRO_USTR; │ │ │ │ │ -typedef struct _al_tagbstring ALLEGRO_USTR; │ │ │ │ │ Source_Code │ │ │ │ │ An opaque type representing a string. ALLEGRO_USTRs normally contain UTF- │ │ │ │ │ 8 encoded strings, but they may be used to hold any byte sequences, including │ │ │ │ │ NULs. │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ * nihgui.cpp │ │ │ │ │ * ex_blend.c │ │ │ │ │ ***** ALLEGRO_USTR_INFO ***** │ │ │ │ │ typedef struct _al_tagbstring ALLEGRO_USTR_INFO; │ │ │ │ │ -typedef struct _al_tagbstring ALLEGRO_USTR_INFO; │ │ │ │ │ Source_Code │ │ │ │ │ A type that holds additional information for an ALLEGRO_USTR that references an │ │ │ │ │ external memory buffer. │ │ │ │ │ See also: al_ref_cstr, al_ref_buffer and al_ref_ustr. │ │ │ │ │ Examples: │ │ │ │ │ * ex_font_multiline.cpp │ │ │ │ │ * nihgui.cpp │ │ │ │ │ @@ -917,8 +915,8 @@ │ │ │ │ │ Source_Code │ │ │ │ │ Encode the specified code point to UTF-16 into the buffer s. 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. │ │ │ │ │ Returns the number of bytes written, which is the same as that returned by │ │ │ │ │ al_utf16_width. │ │ │ │ │ See also: al_utf8_encode, al_ustr_encode_utf16 │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:57 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:14 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ │ @@ -205,16 +205,15 @@ │ │ │ │ allegro_video.

    │ │ │ │
     #include <allegro5/allegro_video.h>
    │ │ │ │

    Currently we have an Ogg backend (Theora + Vorbis). See http://xiph.org/ for │ │ │ │ installation instructions, licensing information and supported video │ │ │ │ formats.

    │ │ │ │

    ALLEGRO_VIDEO_EVENT_TYPE

    │ │ │ │ -
    enum ALLEGRO_VIDEO_EVENT_TYPE
    │ │ │ │ -enum ALLEGRO_VIDEO_EVENT_TYPE
    │ │ │ │ +
    enum ALLEGRO_VIDEO_EVENT_TYPE
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Events sent by al_get_video_event_source.

    │ │ │ │

    ALLEGRO_EVENT_VIDEO_FRAME_SHOW

    │ │ │ │ @@ -239,16 +238,15 @@ │ │ │ │
    user.data1 (ALLEGRO_VIDEO *)
    │ │ │ │
    │ │ │ │ The video which generated the event. │ │ │ │
    │ │ │ │
    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    ALLEGRO_VIDEO_POSITION_TYPE

    │ │ │ │ -
    typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE;
    │ │ │ │ -typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE;
    │ │ │ │ +
    typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE;
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Used with al_get_video_position to │ │ │ │ specify which position to retrieve. If these get out of sync, audio and │ │ │ │ video may be out of sync in the display of the video.

    │ │ │ │ @@ -262,86 +260,79 @@ │ │ │ │
  • ALLEGRO_VIDEO_POSITION_AUDIO_DECODE - The amount of audio that │ │ │ │ has been decoded. This may be the same as ALLEGRO_VIDEO_POSITION_ACTUAL │ │ │ │ if audio decode is driving the position, which is common to keep audio │ │ │ │ and video in sync.

  • │ │ │ │ │ │ │ │

    Since: 5.1.11

    │ │ │ │

    al_init_video_addon

    │ │ │ │ -
    bool al_init_video_addon(void)
    │ │ │ │ -bool al_init_video_addon(void)
    │ │ │ │ +
    bool al_init_video_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Initializes the video addon.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_is_video_addon_initialized

    │ │ │ │ -
    bool al_is_video_addon_initialized(void)
    │ │ │ │ -bool al_is_video_addon_initialized(void)
    │ │ │ │ +
    bool al_is_video_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the video addon is initialized, otherwise returns │ │ │ │ false.

    │ │ │ │

    Since: 5.2.6

    │ │ │ │

    al_shutdown_video_addon

    │ │ │ │ -
    void al_shutdown_video_addon(void)
    │ │ │ │ -void al_shutdown_video_addon(void)
    │ │ │ │ +
    void al_shutdown_video_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Shut down the video addon. This is done automatically at program │ │ │ │ exit, but can be called any time the user wishes as well.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    al_get_allegro_video_version

    │ │ │ │ -
    uint32_t al_get_allegro_video_version(void)
    │ │ │ │ -uint32_t al_get_allegro_video_version(void)
    │ │ │ │ +
    uint32_t al_get_allegro_video_version(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    al_open_video

    │ │ │ │ -
    ALLEGRO_VIDEO *al_open_video(char const *filename)
    │ │ │ │ -ALLEGRO_VIDEO *al_open_video(char const *filename)
    │ │ │ │ +
    ALLEGRO_VIDEO *al_open_video(char const *filename)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Reads a video file. This does not start streaming yet but reads the │ │ │ │ meta info so you can query e.g. the size or audio rate.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_identify_video

    │ │ │ │ -
    char const *al_identify_video(char const *filename)
    │ │ │ │ -char const *al_identify_video(char const *filename)
    │ │ │ │ +
    char const *al_identify_video(char const *filename)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This works exactly as al_identify_video_f but you │ │ │ │ specify the filename of the file for which to detect the type and not a │ │ │ │ file handle. The extension, if any, of the passed filename is not taken │ │ │ │ into account - only the file contents.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_init_video_addon, al_identify_video_f

    │ │ │ │

    al_identify_video_f

    │ │ │ │ -
    char const *al_identify_video_f(ALLEGRO_FILE *fp)
    │ │ │ │ -char const *al_identify_video_f(ALLEGRO_FILE *fp)
    │ │ │ │ +
    char const *al_identify_video_f(ALLEGRO_FILE *fp)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Tries to guess the video file type of the open ALLEGRO_FILE by │ │ │ │ reading the first few bytes. By default Allegro cannot recognize any │ │ │ │ file types, but calling al_init_video_addon will add │ │ │ │ @@ -350,120 +341,111 @@ │ │ │ │ type, including the leading dot. For example “.ogv”. Returns NULL if the │ │ │ │ video type cannot be determined.

    │ │ │ │

    Since: 5.2.8

    │ │ │ │

    See also: al_init_video_addon, al_identify_video

    │ │ │ │

    al_close_video

    │ │ │ │ -
    void al_close_video(ALLEGRO_VIDEO *video)
    │ │ │ │ -void al_close_video(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    void al_close_video(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Closes the video and frees all allocated resources. The video pointer │ │ │ │ is invalid after the function returns.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_start_video

    │ │ │ │ -
    void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer)
    │ │ │ │ -void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer)
    │ │ │ │ +
    void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Starts streaming the video from the beginning.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_start_video_with_voice

    │ │ │ │ -
    void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice)
    │ │ │ │ -void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice)
    │ │ │ │ +
    void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_start_video but audio │ │ │ │ is routed to the provided voice.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    al_get_video_event_source

    │ │ │ │ -
    ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video)
    │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get an event source for the video. The possible events are described │ │ │ │ under ALLEGRO_VIDEO_EVENT_TYPE.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_set_video_playing

    │ │ │ │ -
    void al_set_video_playing(ALLEGRO_VIDEO *video, bool play)
    │ │ │ │ -void al_set_video_playing(ALLEGRO_VIDEO *video, bool play)
    │ │ │ │ +
    void al_set_video_playing(ALLEGRO_VIDEO *video, bool play)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Paused or resumes playback.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_is_video_playing

    │ │ │ │ -
    bool al_is_video_playing(ALLEGRO_VIDEO *video)
    │ │ │ │ -bool al_is_video_playing(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    bool al_is_video_playing(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the video is currently playing.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_video_audio_rate

    │ │ │ │ -
    double al_get_video_audio_rate(ALLEGRO_VIDEO *video)
    │ │ │ │ -double al_get_video_audio_rate(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    double al_get_video_audio_rate(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the audio rate of the video, in Hz.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_video_fps

    │ │ │ │ -
    double al_get_video_fps(ALLEGRO_VIDEO *video)
    │ │ │ │ -double al_get_video_fps(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    double al_get_video_fps(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the speed of the video in frames per second. Often this will │ │ │ │ not be an integer value.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_video_scaled_width

    │ │ │ │ -
    float al_get_video_scaled_width(ALLEGRO_VIDEO *video)
    │ │ │ │ -float al_get_video_scaled_width(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    float al_get_video_scaled_width(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the width with which the video frame should be drawn. Videos │ │ │ │ often do not use square pixels, so this will may return a value larger │ │ │ │ than the width of the frame bitmap.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │ @@ -471,16 +453,15 @@ │ │ │ │ href="video.html#al_get_video_frame">al_get_video_frame

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_video_scaled_height

    │ │ │ │ -
    float al_get_video_scaled_height(ALLEGRO_VIDEO *video)
    │ │ │ │ -float al_get_video_scaled_height(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    float al_get_video_scaled_height(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the height with which the video frame should be drawn. Videos │ │ │ │ often do not use square pixels, so this will may return a value larger │ │ │ │ than the height of the frame bitmap.

    │ │ │ │

    See also: Since: 5.1.12

    │ │ │ │

    Examples:

    │ │ │ │
    │ │ │ │

    al_get_video_frame

    │ │ │ │ -
    ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video)
    │ │ │ │ -ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video)
    │ │ │ │ +
    ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the current video frame. The bitmap is owned by the video so │ │ │ │ do not attempt to free it. The bitmap will stay valid until the next │ │ │ │ call to al_get_video_frame.

    │ │ │ │

    Videos often do not use square pixels so the recommended way to draw │ │ │ │ @@ -516,43 +496,41 @@ │ │ │ │ href="video.html#al_get_video_scaled_height">al_get_video_scaled_height

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_video_position

    │ │ │ │ -
    double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which)
    │ │ │ │ -double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which)
    │ │ │ │ +
    double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the current position of the video stream in seconds since the │ │ │ │ beginning. The parameter is one of the ALLEGRO_VIDEO_POSITION_TYPE │ │ │ │ constants.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_seek_video

    │ │ │ │ -
    bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)
    │ │ │ │ -bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)
    │ │ │ │ +
    bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Seek to a different position in the video. Currently only seeking to │ │ │ │ the beginning of the video is supported.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    │ │ │ │ Allegro version 5.2.8 │ │ │ │ - - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ + - Last updated: 2024-01-07 09:01:17 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -74,15 +74,14 @@ │ │ │ │ │ These functions are declared in the following header file. Link with │ │ │ │ │ allegro_video. │ │ │ │ │ #include │ │ │ │ │ Currently we have an Ogg backend (Theora + Vorbis). See http://xiph.org/ for │ │ │ │ │ installation instructions, licensing information and supported video formats. │ │ │ │ │ ****** ALLEGRO_VIDEO_EVENT_TYPE ****** │ │ │ │ │ enum ALLEGRO_VIDEO_EVENT_TYPE │ │ │ │ │ -enum ALLEGRO_VIDEO_EVENT_TYPE │ │ │ │ │ Source_Code │ │ │ │ │ Events sent by al_get_video_event_source. │ │ │ │ │ ***** ALLEGRO_EVENT_VIDEO_FRAME_SHOW ***** │ │ │ │ │ This event is sent when it is time to show a new frame. Once you receive this │ │ │ │ │ event, you can draw the current frame (as returned by al_get_video_frame). │ │ │ │ │ al_get_video_frame will continue returning the same frame until the next │ │ │ │ │ ALLEGRO_EVENT_VIDEO_FRAME_SHOW is sent. │ │ │ │ │ @@ -94,15 +93,14 @@ │ │ │ │ │ be possible to seek to an earlier part of the video and set the video to play │ │ │ │ │ to resume playback. │ │ │ │ │ user.data1 (ALLEGRO_VIDEO *) │ │ │ │ │ The video which generated the event. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** ALLEGRO_VIDEO_POSITION_TYPE ****** │ │ │ │ │ typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE; │ │ │ │ │ -typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE; │ │ │ │ │ Source_Code │ │ │ │ │ Used with al_get_video_position to specify which position to retrieve. If these │ │ │ │ │ get out of sync, audio and video may be out of sync in the display of the │ │ │ │ │ video. │ │ │ │ │ * ALLEGRO_VIDEO_POSITION_ACTUAL - The amount of time the video has been │ │ │ │ │ playing. If the video has audio then this value can be ahead of │ │ │ │ │ ALLEGRO_VIDEO_POSITION_VIDEO_DECODE when video decoding lags. │ │ │ │ │ @@ -112,160 +110,142 @@ │ │ │ │ │ * ALLEGRO_VIDEO_POSITION_AUDIO_DECODE - The amount of audio that has been │ │ │ │ │ decoded. This may be the same as ALLEGRO_VIDEO_POSITION_ACTUAL if audio │ │ │ │ │ decode is driving the position, which is common to keep audio and video │ │ │ │ │ in sync. │ │ │ │ │ Since: 5.1.11 │ │ │ │ │ ****** al_init_video_addon ****** │ │ │ │ │ bool al_init_video_addon(void) │ │ │ │ │ -bool al_init_video_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Initializes the video addon. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_is_video_addon_initialized ****** │ │ │ │ │ bool al_is_video_addon_initialized(void) │ │ │ │ │ -bool al_is_video_addon_initialized(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the video addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ ****** al_shutdown_video_addon ****** │ │ │ │ │ void al_shutdown_video_addon(void) │ │ │ │ │ -void al_shutdown_video_addon(void) │ │ │ │ │ Source_Code │ │ │ │ │ Shut down the video addon. This is done automatically at program exit, but can │ │ │ │ │ be called any time the user wishes as well. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ ****** al_get_allegro_video_version ****** │ │ │ │ │ uint32_t al_get_allegro_video_version(void) │ │ │ │ │ -uint32_t al_get_allegro_video_version(void) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ ****** al_open_video ****** │ │ │ │ │ ALLEGRO_VIDEO *al_open_video(char const *filename) │ │ │ │ │ -ALLEGRO_VIDEO *al_open_video(char const *filename) │ │ │ │ │ Source_Code │ │ │ │ │ Reads a video file. This does not start streaming yet but reads the meta info │ │ │ │ │ so you can query e.g. the size or audio rate. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_identify_video ****** │ │ │ │ │ char const *al_identify_video(char const *filename) │ │ │ │ │ -char const *al_identify_video(char const *filename) │ │ │ │ │ Source_Code │ │ │ │ │ This works exactly as al_identify_video_f but you specify the filename of the │ │ │ │ │ file for which to detect the type and not a file handle. The extension, if any, │ │ │ │ │ of the passed filename is not taken into account - only the file contents. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_init_video_addon, al_identify_video_f │ │ │ │ │ ****** al_identify_video_f ****** │ │ │ │ │ char const *al_identify_video_f(ALLEGRO_FILE *fp) │ │ │ │ │ -char const *al_identify_video_f(ALLEGRO_FILE *fp) │ │ │ │ │ Source_Code │ │ │ │ │ Tries to guess the video file type of the open ALLEGRO_FILE by reading the │ │ │ │ │ first few bytes. By default Allegro cannot recognize any file types, but │ │ │ │ │ calling al_init_video_addon will add detection of the types it can read. │ │ │ │ │ Returns a pointer to a static string with a file extension for the type, │ │ │ │ │ including the leading dot. For example “.ogv”. Returns NULL if the video │ │ │ │ │ type cannot be determined. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ See also: al_init_video_addon, al_identify_video │ │ │ │ │ ****** al_close_video ****** │ │ │ │ │ void al_close_video(ALLEGRO_VIDEO *video) │ │ │ │ │ -void al_close_video(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Closes the video and frees all allocated resources. The video pointer is │ │ │ │ │ invalid after the function returns. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_start_video ****** │ │ │ │ │ void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer) │ │ │ │ │ -void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer) │ │ │ │ │ Source_Code │ │ │ │ │ Starts streaming the video from the beginning. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_start_video_with_voice ****** │ │ │ │ │ void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice) │ │ │ │ │ Source_Code │ │ │ │ │ Like al_start_video but audio is routed to the provided voice. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ****** al_get_video_event_source ****** │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Get an event source for the video. The possible events are described under │ │ │ │ │ ALLEGRO_VIDEO_EVENT_TYPE. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_set_video_playing ****** │ │ │ │ │ void al_set_video_playing(ALLEGRO_VIDEO *video, bool play) │ │ │ │ │ -void al_set_video_playing(ALLEGRO_VIDEO *video, bool play) │ │ │ │ │ Source_Code │ │ │ │ │ Paused or resumes playback. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_is_video_playing ****** │ │ │ │ │ bool al_is_video_playing(ALLEGRO_VIDEO *video) │ │ │ │ │ -bool al_is_video_playing(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Returns true if the video is currently playing. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_get_video_audio_rate ****** │ │ │ │ │ double al_get_video_audio_rate(ALLEGRO_VIDEO *video) │ │ │ │ │ -double al_get_video_audio_rate(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the audio rate of the video, in Hz. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_get_video_fps ****** │ │ │ │ │ double al_get_video_fps(ALLEGRO_VIDEO *video) │ │ │ │ │ -double al_get_video_fps(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the speed of the video in frames per second. Often this will not be an │ │ │ │ │ integer value. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_get_video_scaled_width ****** │ │ │ │ │ float al_get_video_scaled_width(ALLEGRO_VIDEO *video) │ │ │ │ │ -float al_get_video_scaled_width(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the width with which the video frame should be drawn. Videos often do │ │ │ │ │ not use square pixels, so this will may return a value larger than the width of │ │ │ │ │ the frame bitmap. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: al_get_video_frame │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_get_video_scaled_height ****** │ │ │ │ │ float al_get_video_scaled_height(ALLEGRO_VIDEO *video) │ │ │ │ │ -float al_get_video_scaled_height(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the height with which the video frame should be drawn. Videos often do │ │ │ │ │ not use square pixels, so this will may return a value larger than the height │ │ │ │ │ of the frame bitmap. │ │ │ │ │ See also: al_get_video_frame │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_get_video_frame ****** │ │ │ │ │ ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video) │ │ │ │ │ -ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the current video frame. The bitmap is owned by the video so do not │ │ │ │ │ attempt to free it. The bitmap will stay valid until the next call to │ │ │ │ │ al_get_video_frame. │ │ │ │ │ Videos often do not use square pixels so the recommended way to draw a video │ │ │ │ │ frame would be using code like this: │ │ │ │ │ float scale = 1.0; /* Adjust this to fit your target bitmap dimensions. */ │ │ │ │ │ @@ -278,25 +258,22 @@ │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: al_get_video_scaled_width, al_get_video_scaled_height │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_get_video_position ****** │ │ │ │ │ double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE │ │ │ │ │ which) │ │ │ │ │ -double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE │ │ │ │ │ -which) │ │ │ │ │ Source_Code │ │ │ │ │ Returns the current position of the video stream in seconds since the │ │ │ │ │ beginning. The parameter is one of the ALLEGRO_VIDEO_POSITION_TYPE constants. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ ****** al_seek_video ****** │ │ │ │ │ bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds) │ │ │ │ │ -bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds) │ │ │ │ │ Source_Code │ │ │ │ │ Seek to a different position in the video. Currently only seeking to the │ │ │ │ │ beginning of the video is supported. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ Examples: │ │ │ │ │ * ex_video.c │ │ │ │ │ -Allegro version 5.2.8 - Last updated: 2025-02-08 15:21:59 UTC │ │ │ │ │ +Allegro version 5.2.8 - Last updated: 2024-01-07 09:01:17 UTC │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_DEPTH.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_AUDIO_DEPTH │ │ │ │ │ -enum ALLEGRO_AUDIO_DEPTH │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sample depth and type as well as signedness. │ │ │ │ │ Mixers only use 32-bit signed float (-1..+1), or 16-bit signed integers. │ │ │ │ │ Signedness is determined by an \[lq]unsigned\[rq] bit-flag applied to │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_DEVICE.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_DEVICE ALLEGRO_AUDIO_DEVICE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque datatype that represents an audio device. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_EVENT_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_AUDIO_EVENT_TYPE │ │ │ │ │ -enum ALLEGRO_AUDIO_EVENT_TYPE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Events sent by al_get_audio_stream_event_source(3alleg5) or │ │ │ │ │ al_get_audio_recorder_event_source(3alleg5). │ │ │ │ │ .SS ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_PAN_NONE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_AUDIO_PAN_NONE (-1000.0f) │ │ │ │ │ -#define ALLEGRO_AUDIO_PAN_NONE (-1000.0f) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A special value for the pan property of sample instances and audio │ │ │ │ │ streams. │ │ │ │ │ Use this value to disable panning on sample instances and audio streams, │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_RECORDER.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_RECORDER ALLEGRO_AUDIO_RECORDER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque datatype that represents a recording device. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Structure that holds the audio recorder event data. │ │ │ │ │ Every event type will contain: │ │ │ │ │ .IP \[bu] 2 │ │ │ ├── ./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz │ │ │ │ ├── ALLEGRO_AUDIO_STREAM.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM; │ │ │ │ │ -typedef struct ALLEGRO_AUDIO_STREAM ALLEGRO_AUDIO_STREAM; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_AUDIO_STREAM object is used to stream generated audio to the │ │ │ │ │ sound device, in real-time. │ │ │ │ │ This is done by reading from a buffer, which is split into a number of │ │ │ ├── ./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz │ │ │ │ ├── ALLEGRO_BITMAP.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP; │ │ │ │ │ -typedef struct ALLEGRO_BITMAP ALLEGRO_BITMAP; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Abstract type representing a bitmap (2D image). │ │ │ ├── ./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz │ │ │ │ ├── ALLEGRO_BITMAP_WRAP.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_BITMAP_WRAP { │ │ │ │ │ -typedef enum ALLEGRO_BITMAP_WRAP { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Controls the how the pixel color is determined from a texture querying │ │ │ │ │ the texture coordinates are outside the usual bounds. │ │ │ │ │ .IP \[bu] 2 │ │ │ ├── ./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz │ │ │ │ ├── ALLEGRO_BPM_TO_SECS.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_BPM_TO_SECS(x) (60.0 / (x)) │ │ │ │ │ -#define ALLEGRO_BPM_TO_SECS(x) (60.0 / (x)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert beats per minute to seconds. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz │ │ │ │ ├── ALLEGRO_BPS_TO_SECS.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_BPS_TO_SECS(x) (1.0 / (x)) │ │ │ │ │ -#define ALLEGRO_BPS_TO_SECS(x) (1.0 / (x)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert beats per second to seconds. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz │ │ │ │ ├── ALLEGRO_CHANNEL_CONF.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_CHANNEL_CONF │ │ │ │ │ -enum ALLEGRO_CHANNEL_CONF │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Speaker configuration (mono, stereo, 2.1, etc). │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_CHANNEL_CONF_1 │ │ │ ├── ./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz │ │ │ │ ├── ALLEGRO_COLOR.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_COLOR ALLEGRO_COLOR; │ │ │ │ │ -typedef struct ALLEGRO_COLOR ALLEGRO_COLOR; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_COLOR structure describes a color in a device independent │ │ │ │ │ way. │ │ │ │ │ Use al_map_rgb(3alleg5) et al.\ and al_unmap_rgb(3alleg5) et al.\ to │ │ │ ├── ./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz │ │ │ │ ├── ALLEGRO_COND.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_COND ALLEGRO_COND; │ │ │ │ │ -typedef struct ALLEGRO_COND ALLEGRO_COND; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque structure representing a condition variable. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz │ │ │ │ ├── ALLEGRO_CONFIG.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG; │ │ │ │ │ -typedef struct ALLEGRO_CONFIG ALLEGRO_CONFIG; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An abstract configuration structure. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz │ │ │ │ ├── ALLEGRO_CONFIG_ENTRY.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY; │ │ │ │ │ -typedef struct ALLEGRO_CONFIG_ENTRY ALLEGRO_CONFIG_ENTRY; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque structure used for iterating across entries in a configuration │ │ │ │ │ section. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz │ │ │ │ ├── ALLEGRO_CONFIG_SECTION.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION; │ │ │ │ │ -typedef struct ALLEGRO_CONFIG_SECTION ALLEGRO_CONFIG_SECTION; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque structure used for iterating across sections in a │ │ │ │ │ configuration structure. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz │ │ │ │ ├── ALLEGRO_DISPLAY.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY; │ │ │ │ │ -typedef struct ALLEGRO_DISPLAY ALLEGRO_DISPLAY; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque type representing an open display or window. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz │ │ │ │ ├── ALLEGRO_DISPLAY_MODE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_DISPLAY_MODE │ │ │ │ │ -typedef struct ALLEGRO_DISPLAY_MODE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Used for fullscreen mode queries. │ │ │ │ │ Contains information about a supported fullscreen modes. │ │ │ │ │ .IP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz │ │ │ │ ├── ALLEGRO_EVENT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef union ALLEGRO_EVENT ALLEGRO_EVENT; │ │ │ │ │ -typedef union ALLEGRO_EVENT ALLEGRO_EVENT; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_EVENT is a union of all builtin event structures, i.e.\ it is │ │ │ │ │ an object large enough to hold the data of any event type. │ │ │ │ │ All events have the following fields in common: │ │ │ ├── ./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz │ │ │ │ ├── ALLEGRO_EVENT_QUEUE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE; │ │ │ │ │ -typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An event queue holds events that have been generated by event sources │ │ │ │ │ that are registered with the queue. │ │ │ │ │ Events are stored in the order they are generated. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz │ │ │ │ ├── ALLEGRO_EVENT_SOURCE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE; │ │ │ │ │ -typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An event source is any object which can generate events. │ │ │ │ │ For example, an ALLEGRO_DISPLAY can generate events, and you can get the │ │ │ │ │ ALLEGRO_EVENT_SOURCE pointer from an ALLEGRO_DISPLAY with │ │ │ ├── ./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_EVENT_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef unsigned int ALLEGRO_EVENT_TYPE; │ │ │ │ │ -typedef unsigned int ALLEGRO_EVENT_TYPE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An integer used to distinguish between different types of events. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz │ │ │ │ ├── ALLEGRO_EVENT_TYPE_IS_USER.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_EVENT_TYPE_IS_USER(t) ((t) >= 512) │ │ │ │ │ -#define ALLEGRO_EVENT_TYPE_IS_USER(t) ((t) >= 512) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A macro which evaluates to true if the event type is not a builtin event │ │ │ │ │ type, i.e.\ one of those described in ALLEGRO_EVENT_TYPE(3alleg5). │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz │ │ │ │ ├── ALLEGRO_FILE.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_FILE ALLEGRO_FILE; │ │ │ │ │ -typedef struct ALLEGRO_FILE ALLEGRO_FILE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque object representing an open file. │ │ │ │ │ This could be a real file on disk or a virtual file. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz │ │ │ │ ├── ALLEGRO_FILECHOOSER.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER; │ │ │ │ │ -typedef struct ALLEGRO_FILECHOOSER ALLEGRO_FILECHOOSER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Opaque handle to a native file dialog. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz │ │ │ │ ├── ALLEGRO_FILE_INTERFACE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_FILE_INTERFACE │ │ │ │ │ -typedef struct ALLEGRO_FILE_INTERFACE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A structure containing function pointers to handle a type of │ │ │ │ │ \[lq]file\[rq], real or virtual. │ │ │ │ │ See the full discussion in al_set_new_file_interface(3alleg5). │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz │ │ │ │ ├── ALLEGRO_FILE_MODE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_FILE_MODE │ │ │ │ │ -typedef enum ALLEGRO_FILE_MODE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Filesystem modes/types │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_FILEMODE_READ - Readable │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz │ │ │ │ ├── ALLEGRO_FONT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_FONT ALLEGRO_FONT; │ │ │ │ │ -typedef struct ALLEGRO_FONT ALLEGRO_FONT; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A handle identifying any kind of font. │ │ │ │ │ Usually you will create it with al_load_font(3alleg5) which supports │ │ │ │ │ loading all kinds of TrueType fonts supported by the FreeType library. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz │ │ │ │ ├── ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT { │ │ │ │ │ -typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return values for the callbacks of al_for_each_fs_entry(3alleg5) and for │ │ │ │ │ that function itself. │ │ │ │ │ .IP \[bu] 2 │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz │ │ │ │ ├── ALLEGRO_FS_ENTRY.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY; │ │ │ │ │ -typedef struct ALLEGRO_FS_ENTRY ALLEGRO_FS_ENTRY; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Opaque filesystem entry object. │ │ │ │ │ Represents a file or a directory (check with │ │ │ │ │ al_get_fs_entry_mode(3alleg5)). │ │ │ ├── ./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz │ │ │ │ ├── ALLEGRO_FS_INTERFACE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE; │ │ │ │ │ -typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ The available functions you can provide for a filesystem. │ │ │ │ │ They are: │ │ │ │ │ .IP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_GET_EVENT_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_GET_EVENT_TYPE(a, b, c, d) AL_ID(a, b, c, d) │ │ │ │ │ -#define ALLEGRO_GET_EVENT_TYPE(a, b, c, d) AL_ID(a, b, c, d) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Make an event type identifier, which is a 32-bit integer. │ │ │ │ │ Usually, but not necessarily, this will be made from four 8-bit │ │ │ │ │ character codes, for example: │ │ │ ├── ./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz │ │ │ │ ├── ALLEGRO_GLYPH.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH; │ │ │ │ │ -typedef struct ALLEGRO_GLYPH ALLEGRO_GLYPH; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A structure containing the properties of a character in a font. │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ ├── ./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz │ │ │ │ ├── ALLEGRO_HAPTIC.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC; │ │ │ │ │ -typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is an abstract data type representing a haptic device that supports │ │ │ │ │ force feedback or vibration. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz │ │ │ │ ├── ALLEGRO_HAPTIC_CONSTANTS.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_HAPTIC_CONSTANTS │ │ │ │ │ -enum ALLEGRO_HAPTIC_CONSTANTS │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This enum contains flags that are used to define haptic effects and │ │ │ │ │ capabilities. │ │ │ │ │ If the flag is set in the return value of │ │ │ ├── ./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz │ │ │ │ ├── ALLEGRO_HAPTIC_EFFECT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ struct ALLEGRO_HAPTIC_EFFECT │ │ │ │ │ -struct ALLEGRO_HAPTIC_EFFECT │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This struct models a particular haptic or vibration effect. │ │ │ │ │ It needs to be filled in correctly and uploaded to a haptic device │ │ │ │ │ before the device can play it back. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz │ │ │ │ ├── ALLEGRO_HAPTIC_EFFECT_ID.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID; │ │ │ │ │ -typedef struct ALLEGRO_HAPTIC_EFFECT_ID ALLEGRO_HAPTIC_EFFECT_ID; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This struct is used as a handle to control playback of a haptic effect │ │ │ │ │ and should be considered opaque. │ │ │ │ │ Its implementation is visible merely to allow allocation by the users of │ │ │ ├── ./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz │ │ │ │ ├── ALLEGRO_INDEX_BUFFER.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER; │ │ │ │ │ -typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A GPU index buffer that you can use to store indices of vertices in a │ │ │ │ │ vertex buffer on the GPU instead of uploading them afresh during every │ │ │ │ │ drawing operation. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz │ │ │ │ ├── ALLEGRO_JOYFLAGS.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_JOYFLAGS │ │ │ │ │ -enum ALLEGRO_JOYFLAGS │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_JOYFLAG_DIGITAL - the stick provides digital input │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_JOYFLAG_ANALOGUE - the stick provides analogue input │ │ │ ├── ./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz │ │ │ │ ├── ALLEGRO_JOYSTICK.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK; │ │ │ │ │ -typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is an abstract data type representing a physical joystick. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_JOYSTICK_STATE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE; │ │ │ │ │ -typedef struct ALLEGRO_JOYSTICK_STATE ALLEGRO_JOYSTICK_STATE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is a structure that is used to hold a \[lq]snapshot\[rq] of a │ │ │ │ │ joystick\[cq]s axes and buttons at a particular instant. │ │ │ │ │ All fields public and read-only. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_KEYBOARD_STATE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE; │ │ │ │ │ -typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is a structure that is used to hold a \[lq]snapshot\[rq] of a │ │ │ │ │ keyboard\[cq]s state at a particular instant. │ │ │ │ │ It contains the following publically readable fields: │ │ │ ├── ./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz │ │ │ │ ├── ALLEGRO_LINE_CAP.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_LINE_CAP │ │ │ │ │ -typedef enum ALLEGRO_LINE_CAP │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_LINE_CAP_NONE │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_LINE_CAP_SQUARE │ │ │ ├── ./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz │ │ │ │ ├── ALLEGRO_LINE_JOIN.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_LINE_JOIN │ │ │ │ │ -typedef enum ALLEGRO_LINE_JOIN │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_LINE_JOIN_NONE │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_LINE_JOIN_BEVEL │ │ │ ├── ./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz │ │ │ │ ├── ALLEGRO_LOCKED_REGION.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION; │ │ │ │ │ -typedef struct ALLEGRO_LOCKED_REGION ALLEGRO_LOCKED_REGION; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Users who wish to manually edit or read from a bitmap are required to │ │ │ │ │ lock it first. │ │ │ │ │ The ALLEGRO_LOCKED_REGION structure represents the locked region of the │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz │ │ │ │ ├── ALLEGRO_MEMORY_INTERFACE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE; │ │ │ │ │ -typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This structure has the following fields. │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz │ │ │ │ ├── ALLEGRO_MENU.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MENU ALLEGRO_MENU; │ │ │ │ │ -typedef struct ALLEGRO_MENU ALLEGRO_MENU; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque data type that represents a menu that contains menu items. │ │ │ │ │ Each of the menu items may optionally include a sub-menu. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz │ │ │ │ ├── ALLEGRO_MENU_INFO.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MENU_INFO { │ │ │ │ │ -typedef struct ALLEGRO_MENU_INFO { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A structure that defines how to create a complete menu system. │ │ │ │ │ For standard menu items, the following format is used: │ │ │ │ │ .IP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz │ │ │ │ ├── ALLEGRO_MIXER.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MIXER ALLEGRO_MIXER; │ │ │ │ │ -typedef struct ALLEGRO_MIXER ALLEGRO_MIXER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A mixer mixes together attached streams into a single buffer. │ │ │ │ │ In the process, it converts channel configurations, sample frequencies │ │ │ │ │ and audio depths of the attached sample instances and audio streams │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz │ │ │ │ ├── ALLEGRO_MIXER_QUALITY.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_MIXER_QUALITY │ │ │ │ │ -enum ALLEGRO_MIXER_QUALITY │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_MIXER_QUALITY_POINT - point sampling │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_MIXER_QUALITY_LINEAR - linear interpolation │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz │ │ │ │ ├── ALLEGRO_MONITOR_INFO.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MONITOR_INFO │ │ │ │ │ -typedef struct ALLEGRO_MONITOR_INFO │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Describes a monitor\[cq]s size and position relative to other monitors. │ │ │ │ │ x1, y1 will be 0, 0 on the primary display. │ │ │ │ │ Other monitors can have negative values if they are to the left or above │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz │ │ │ │ ├── ALLEGRO_MOUSE_EMULATION_MODE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_MOUSE_EMULATION_MODE │ │ │ │ │ -typedef enum ALLEGRO_MOUSE_EMULATION_MODE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Type of mouse emulation to apply. │ │ │ │ │ .TP │ │ │ │ │ ALLEGRO_MOUSE_EMULATION_NONE │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_MOUSE_STATE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE; │ │ │ │ │ -typedef struct ALLEGRO_MOUSE_STATE ALLEGRO_MOUSE_STATE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Public fields (read only): │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ x - mouse x position │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz │ │ │ │ ├── ALLEGRO_MSECS_TO_SECS.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_MSECS_TO_SECS(x) ((x) / 1000.0) │ │ │ │ │ -#define ALLEGRO_MSECS_TO_SECS(x) ((x) / 1000.0) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert milliseconds to seconds. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz │ │ │ │ ├── ALLEGRO_MUTEX.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX; │ │ │ │ │ -typedef struct ALLEGRO_MUTEX ALLEGRO_MUTEX; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque structure representing a mutex. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz │ │ │ │ ├── ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255 │ │ │ │ │ -#define ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE 255 │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is the maximum size of the title that can be set with │ │ │ │ │ al_set_new_window_title(3alleg5). │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz │ │ │ │ ├── ALLEGRO_PI.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_PI 3.14159265358979323846 │ │ │ │ │ -#define ALLEGRO_PI 3.14159265358979323846 │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ C99 compilers have no predefined value like M_PI for the constant \[*p], │ │ │ │ │ but you can use this one instead. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz │ │ │ │ ├── ALLEGRO_PIXEL_FORMAT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_PIXEL_FORMAT │ │ │ │ │ -typedef enum ALLEGRO_PIXEL_FORMAT │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Pixel formats. │ │ │ │ │ Each pixel format specifies the exact size and bit layout of a pixel in │ │ │ │ │ memory. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz │ │ │ │ ├── ALLEGRO_PLAYMODE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_PLAYMODE │ │ │ │ │ -enum ALLEGRO_PLAYMODE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sample and stream playback mode. │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_PLAYMODE_ONCE - the sample/stream is played from start to finish │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz │ │ │ │ ├── ALLEGRO_PRIM_ATTR.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_PRIM_ATTR │ │ │ │ │ -typedef enum ALLEGRO_PRIM_ATTR │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Enumerates the types of vertex attributes that a custom vertex may have. │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_PRIM_POSITION - Position information, can be stored only in │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz │ │ │ │ ├── ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_PRIM_BUFFER_FLAGS │ │ │ │ │ -typedef enum ALLEGRO_PRIM_BUFFER_FLAGS │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Flags to specify how to create a vertex or an index buffer. │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_PRIM_BUFFER_STREAM - Hints to the driver that the buffer is │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz │ │ │ │ ├── ALLEGRO_PRIM_QUALITY.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_PRIM_QUALITY 10 │ │ │ │ │ -#define ALLEGRO_PRIM_QUALITY 10 │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Controls the quality of the approximation of curved primitives │ │ │ │ │ (e.g.\ circles). │ │ │ │ │ Curved primitives are drawn by approximating them with a sequence of │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz │ │ │ │ ├── ALLEGRO_PRIM_STORAGE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_PRIM_STORAGE │ │ │ │ │ -typedef enum ALLEGRO_PRIM_STORAGE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Enumerates the types of storage an attribute of a custom vertex may be │ │ │ │ │ stored in. │ │ │ │ │ Many of these can only be used for ALLEGRO_PRIM_USER_ATTR attributes and │ │ │ ├── ./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_PRIM_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_PRIM_TYPE │ │ │ │ │ -typedef enum ALLEGRO_PRIM_TYPE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Enumerates the types of primitives this addon can draw. │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_PRIM_POINT_LIST - A list of points, each vertex defines a point │ │ │ ├── ./usr/share/man/man3/ALLEGRO_RENDER_FUNCTION.3alleg5.gz │ │ │ │ ├── ALLEGRO_RENDER_FUNCTION.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_RENDER_FUNCTION { │ │ │ │ │ -typedef enum ALLEGRO_RENDER_FUNCTION { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Possible functions are: │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_RENDER_NEVER │ │ │ ├── ./usr/share/man/man3/ALLEGRO_RENDER_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_RENDER_STATE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_RENDER_STATE { │ │ │ │ │ -typedef enum ALLEGRO_RENDER_STATE { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Possible render states which can be set with │ │ │ │ │ al_set_render_state(3alleg5): │ │ │ │ │ .TP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SAMPLE.3alleg5.gz │ │ │ │ ├── ALLEGRO_SAMPLE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE; │ │ │ │ │ -typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_SAMPLE object stores the data necessary for playing │ │ │ │ │ pre-defined digital audio. │ │ │ │ │ It holds a user-specified PCM data buffer and information about its │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SAMPLE_ID.3alleg5.gz │ │ │ │ ├── ALLEGRO_SAMPLE_ID.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID; │ │ │ │ │ -typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_SAMPLE_ID represents a sample being played via │ │ │ │ │ al_play_sample(3alleg5). │ │ │ │ │ It can be used to later sALLEGRO_BITMAP_WRAPtop the sample with │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SAMPLE_INSTANCE.3alleg5.gz │ │ │ │ ├── ALLEGRO_SAMPLE_INSTANCE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE; │ │ │ │ │ -typedef struct ALLEGRO_SAMPLE_INSTANCE ALLEGRO_SAMPLE_INSTANCE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_SAMPLE_INSTANCE object represents a playable instance of a │ │ │ │ │ predefined sound effect. │ │ │ │ │ It holds information about how the effect should be played: These │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SEEK.3alleg5.gz │ │ │ │ ├── ALLEGRO_SEEK.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_SEEK │ │ │ │ │ -typedef enum ALLEGRO_SEEK │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_SEEK_SET - seek relative to beginning of file │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_SEEK_CUR - seek relative to current file position │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SHADER.3alleg5.gz │ │ │ │ ├── ALLEGRO_SHADER.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_SHADER ALLEGRO_SHADER; │ │ │ │ │ -typedef struct ALLEGRO_SHADER ALLEGRO_SHADER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An ALLEGRO_SHADER(3alleg5) is a program that runs on the GPU. │ │ │ │ │ It combines both a vertex and a pixel shader. │ │ │ │ │ (In OpenGL terms, an ALLEGRO_SHADER(3alleg5) is actually a │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SHADER_PLATFORM.3alleg5.gz │ │ │ │ ├── ALLEGRO_SHADER_PLATFORM.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM; │ │ │ │ │ -typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ The underlying platform which the ALLEGRO_SHADER(3alleg5) is built on │ │ │ │ │ top of, which dictates the language used to program the shader. │ │ │ │ │ .IP \[bu] 2 │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SHADER_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_SHADER_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE; │ │ │ │ │ -typedef enum ALLEGRO_SHADER_TYPE ALLEGRO_SHADER_TYPE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Used with al_attach_shader_source(3alleg5) and │ │ │ │ │ al_attach_shader_source_file(3alleg5) to specify how to interpret the │ │ │ │ │ attached source. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_STATE.3alleg5 │ │ │ │ │ @@ -21,15 +21,14 @@ │ │ │ │ │ ALLEGRO_STATE - Allegro 5 API │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_STATE ALLEGRO_STATE; │ │ │ │ │ -typedef struct ALLEGRO_STATE ALLEGRO_STATE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Opaque type which is passed to │ │ │ │ │ al_store_state(3alleg5)/al_restore_state(3alleg5). │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_STATE_FLAGS.3alleg5.gz │ │ │ │ ├── ALLEGRO_STATE_FLAGS.3alleg5 │ │ │ │ │ @@ -21,15 +21,14 @@ │ │ │ │ │ ALLEGRO_STATE_FLAGS - Allegro 5 API │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_STATE_FLAGS │ │ │ │ │ -typedef enum ALLEGRO_STATE_FLAGS │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Flags which can be passed to │ │ │ │ │ al_store_state(3alleg5)/al_restore_state(3alleg5) as bit combinations. │ │ │ │ │ See al_store_state(3alleg5) for the list of flags. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_SYSTEM_ID.3alleg5.gz │ │ │ │ ├── ALLEGRO_SYSTEM_ID.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_SYSTEM_ID { │ │ │ │ │ -enum ALLEGRO_SYSTEM_ID { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ The system Allegro is running on. │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ ALLEGRO_SYSTEM_ID_UNKNOWN - Unknown system. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TEXTLOG.3alleg5.gz │ │ │ │ ├── ALLEGRO_TEXTLOG.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG; │ │ │ │ │ -typedef struct ALLEGRO_TEXTLOG ALLEGRO_TEXTLOG; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Opaque handle to a text log window. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_THREAD.3alleg5.gz │ │ │ │ ├── ALLEGRO_THREAD.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_THREAD ALLEGRO_THREAD; │ │ │ │ │ -typedef struct ALLEGRO_THREAD ALLEGRO_THREAD; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque structure representing a thread. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TIMER.3alleg5.gz │ │ │ │ ├── ALLEGRO_TIMER.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_TIMER ALLEGRO_TIMER; │ │ │ │ │ -typedef struct ALLEGRO_TIMER ALLEGRO_TIMER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is an abstract data type representing a timer object. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT.3alleg5.gz │ │ │ │ ├── ALLEGRO_TOUCH_INPUT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT; │ │ │ │ │ -typedef struct ALLEGRO_TOUCH_INPUT ALLEGRO_TOUCH_INPUT; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An abstract data type representing a physical touch screen or touch pad. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5.gz │ │ │ │ ├── ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT 16 │ │ │ │ │ -#define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT 16 │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ The maximum amount of simultaneous touches that can be detected. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_TOUCH_INPUT_STATE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE; │ │ │ │ │ -typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is a structure that holds a snapshot of all simultaneous touches at │ │ │ │ │ a particular instant. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TOUCH_STATE.3alleg5.gz │ │ │ │ ├── ALLEGRO_TOUCH_STATE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE; │ │ │ │ │ -typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This is a structure that is used to hold a \[lq]snapshot\[rq] of a touch │ │ │ │ │ at a particular instant. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_TRANSFORM.3alleg5.gz │ │ │ │ ├── ALLEGRO_TRANSFORM.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM; │ │ │ │ │ -typedef struct ALLEGRO_TRANSFORM ALLEGRO_TRANSFORM; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Defines the generic transformation type, a 4x4 matrix. │ │ │ │ │ 2D transforms use only a small subsection of this matrix, namely the top │ │ │ │ │ left 2x2 matrix, and the right most 2x1 matrix, for a total of 6 values. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_USECS_TO_SECS.3alleg5.gz │ │ │ │ ├── ALLEGRO_USECS_TO_SECS.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_USECS_TO_SECS(x) ((x) / 1000000.0) │ │ │ │ │ -#define ALLEGRO_USECS_TO_SECS(x) ((x) / 1000000.0) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert microseconds to seconds. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_USER_EVENT.3alleg5.gz │ │ │ │ ├── ALLEGRO_USER_EVENT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT; │ │ │ │ │ -typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An event structure that can be emitted by user event sources. │ │ │ │ │ These are the public fields: │ │ │ │ │ .IP \[bu] 2 │ │ │ ├── ./usr/share/man/man3/ALLEGRO_USTR.3alleg5.gz │ │ │ │ ├── ALLEGRO_USTR.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct _al_tagbstring ALLEGRO_USTR; │ │ │ │ │ -typedef struct _al_tagbstring ALLEGRO_USTR; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ An opaque type representing a string. │ │ │ │ │ ALLEGRO_USTRs normally contain UTF-8 encoded strings, but they may be │ │ │ │ │ used to hold any byte sequences, including NULs. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_USTR_INFO.3alleg5.gz │ │ │ │ ├── ALLEGRO_USTR_INFO.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct _al_tagbstring ALLEGRO_USTR_INFO; │ │ │ │ │ -typedef struct _al_tagbstring ALLEGRO_USTR_INFO; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A type that holds additional information for an ALLEGRO_USTR(3alleg5) │ │ │ │ │ that references an external memory buffer. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VERTEX.3alleg5.gz │ │ │ │ ├── ALLEGRO_VERTEX.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Defines the generic vertex type, with a 3D position, color and texture │ │ │ │ │ coordinates for a single texture. │ │ │ │ │ Note that at this time, the software driver for this addon cannot render │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VERTEX_BUFFER.3alleg5.gz │ │ │ │ ├── ALLEGRO_VERTEX_BUFFER.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX_BUFFER ALLEGRO_VERTEX_BUFFER; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A GPU vertex buffer that you can use to store vertices on the GPU │ │ │ │ │ instead of uploading them afresh during every drawing operation. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VERTEX_CACHE_SIZE.3alleg5.gz │ │ │ │ ├── ALLEGRO_VERTEX_CACHE_SIZE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define ALLEGRO_VERTEX_CACHE_SIZE 256 │ │ │ │ │ -#define ALLEGRO_VERTEX_CACHE_SIZE 256 │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Defines the size of the transformation vertex cache for the software │ │ │ │ │ renderer. │ │ │ │ │ If you pass less than this many vertices to the primitive rendering │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VERTEX_DECL.3alleg5.gz │ │ │ │ ├── ALLEGRO_VERTEX_DECL.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX_DECL ALLEGRO_VERTEX_DECL; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A vertex declaration. │ │ │ │ │ This opaque structure is responsible for describing the format and │ │ │ │ │ layout of a user defined custom vertex. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VERTEX_ELEMENT.3alleg5.gz │ │ │ │ ├── ALLEGRO_VERTEX_ELEMENT.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT; │ │ │ │ │ -typedef struct ALLEGRO_VERTEX_ELEMENT ALLEGRO_VERTEX_ELEMENT; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A small structure describing a certain element of a vertex. │ │ │ │ │ E.g. │ │ │ │ │ the position of the vertex, or its color. │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VIDEO_EVENT_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_VIDEO_EVENT_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ enum ALLEGRO_VIDEO_EVENT_TYPE │ │ │ │ │ -enum ALLEGRO_VIDEO_EVENT_TYPE │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Events sent by al_get_video_event_source(3alleg5). │ │ │ │ │ .SS ALLEGRO_EVENT_VIDEO_FRAME_SHOW │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VIDEO_POSITION_TYPE.3alleg5.gz │ │ │ │ ├── ALLEGRO_VIDEO_POSITION_TYPE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE; │ │ │ │ │ -typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Used with al_get_video_position(3alleg5) to specify which position to │ │ │ │ │ retrieve. │ │ │ │ │ If these get out of sync, audio and video may be out of sync in the │ │ │ ├── ./usr/share/man/man3/ALLEGRO_VOICE.3alleg5.gz │ │ │ │ ├── ALLEGRO_VOICE.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef struct ALLEGRO_VOICE ALLEGRO_VOICE; │ │ │ │ │ -typedef struct ALLEGRO_VOICE ALLEGRO_VOICE; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A voice represents an audio device on the system, which may be a real │ │ │ │ │ device, or an abstract device provided by the operating system. │ │ │ │ │ To play back audio, you would attach a mixer, sample instance or audio │ │ │ ├── ./usr/share/man/man3/ALLEGRO_WRITE_MASK_FLAGS.3alleg5.gz │ │ │ │ ├── ALLEGRO_WRITE_MASK_FLAGS.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef enum ALLEGRO_WRITE_MASK_FLAGS { │ │ │ │ │ -typedef enum ALLEGRO_WRITE_MASK_FLAGS { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Each enabled bit means the corresponding value is written, a disabled │ │ │ │ │ bit means it is not. │ │ │ │ │ .IP \[bu] 2 │ │ │ ├── ./usr/share/man/man3/al_append_menu_item.3alleg5.gz │ │ │ │ ├── al_append_menu_item.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id, │ │ │ │ │ int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ -int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id, │ │ │ │ │ - int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Appends a menu item to the end of the menu. │ │ │ │ │ See al_insert_menu_item(3alleg5) for more information. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_append_native_text_log.3alleg5.gz │ │ │ │ ├── al_append_native_text_log.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog, │ │ │ │ │ char const *format, ...) │ │ │ │ │ -void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog, │ │ │ │ │ - char const *format, ...) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Appends a line of text to the message log window and scrolls to the │ │ │ │ │ bottom (if the line would not be visible otherwise). │ │ │ │ │ This works like printf. │ │ │ ├── ./usr/share/man/man3/al_attach_audio_stream_to_mixer.3alleg5.gz │ │ │ │ ├── al_attach_audio_stream_to_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Attach an audio stream to a mixer. │ │ │ │ │ The stream must not already be attached to anything. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_attach_audio_stream_to_voice.3alleg5.gz │ │ │ │ ├── al_attach_audio_stream_to_voice.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ - ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Attaches an audio stream to a voice. │ │ │ │ │ The same rules as al_attach_sample_instance_to_voice(3alleg5) apply. │ │ │ │ │ This may fail if the driver can\[cq]t create a voice with the buffer │ │ │ ├── ./usr/share/man/man3/al_attach_mixer_to_mixer.3alleg5.gz │ │ │ │ ├── al_attach_mixer_to_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Attaches the mixer passed as the first argument onto the mixer passed as │ │ │ │ │ the second argument. │ │ │ │ │ The first mixer (that is going to be attached) must not already be │ │ │ ├── ./usr/share/man/man3/al_attach_mixer_to_voice.3alleg5.gz │ │ │ │ ├── al_attach_mixer_to_voice.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_attach_mixer_to_voice(ALLEGRO_MIXER *mixer, ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Attaches a mixer to a voice. │ │ │ │ │ It must have the same frequency and channel configuration, but the depth │ │ │ │ │ may be different. │ │ │ ├── ./usr/share/man/man3/al_attach_sample_instance_to_mixer.3alleg5.gz │ │ │ │ ├── al_attach_sample_instance_to_mixer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Attach a sample instance to a mixer. │ │ │ │ │ The instance must not already be attached to anything. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_attach_sample_instance_to_voice.3alleg5.gz │ │ │ │ ├── al_attach_sample_instance_to_voice.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Attaches a sample instance to a voice, and allows it to play. │ │ │ │ │ The instance\[cq]s gain and loop mode will be ignored, and it must have │ │ │ │ │ the same frequency, channel configuration and depth (including │ │ │ ├── ./usr/share/man/man3/al_build_menu.3alleg5.gz │ │ │ │ ├── al_build_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info) │ │ │ │ │ -ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Builds a menu based on the specifications of a sequence of │ │ │ │ │ \f[V]ALLEGRO_MENU_INFO\f[R] elements. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_calculate_arc.3alleg5.gz │ │ │ │ ├── al_calculate_arc.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_calculate_arc(float* dest, int stride, float cx, float cy, │ │ │ │ │ float rx, float ry, float start_theta, float delta_theta, float thickness, │ │ │ │ │ int num_points) │ │ │ │ │ -void al_calculate_arc(float* dest, int stride, float cx, float cy, │ │ │ │ │ - float rx, float ry, float start_theta, float delta_theta, float thickness, │ │ │ │ │ - int num_points) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ When \f[V]thickness <= 0\f[R] this function computes positions of │ │ │ │ │ \f[V]num_points\f[R] regularly spaced points on an elliptical arc. │ │ │ │ │ When \f[V]thickness > 0\f[R] this function computes two sets of points, │ │ │ ├── ./usr/share/man/man3/al_calculate_ribbon.3alleg5.gz │ │ │ │ ├── al_calculate_ribbon.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_calculate_ribbon(float* dest, int dest_stride, const float *points, │ │ │ │ │ int points_stride, float thickness, int num_segments) │ │ │ │ │ -void al_calculate_ribbon(float* dest, int dest_stride, const float *points, │ │ │ │ │ - int points_stride, float thickness, int num_segments) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Calculates a ribbon given an array of points. │ │ │ │ │ The ribbon will go through all of the passed points. │ │ │ │ │ If \f[V]thickness <= 0\f[R], then \f[V]num_segments\f[R] of points are │ │ │ ├── ./usr/share/man/man3/al_calculate_spline.3alleg5.gz │ │ │ │ ├── al_calculate_spline.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_calculate_spline(float* dest, int stride, float points[8], │ │ │ │ │ float thickness, int num_segments) │ │ │ │ │ -void al_calculate_spline(float* dest, int stride, float points[8], │ │ │ │ │ - float thickness, int num_segments) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Calculates a B\['e]zier spline given 4 control points. │ │ │ │ │ If \f[V]thickness <= 0\f[R], then \f[V]num_segments\f[R] of points are │ │ │ │ │ required in the destination, otherwise twice as many are needed. │ │ │ ├── ./usr/share/man/man3/al_calloc.3alleg5.gz │ │ │ │ ├── al_calloc.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define al_calloc(c, n) \[rs] │ │ │ │ │ (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_calloc(c, n) \[rs] │ │ │ │ │ - (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like calloc() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_clone_menu.3alleg5.gz │ │ │ │ ├── al_clone_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu) │ │ │ │ │ -ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Makes a copy of a menu so that it can be reused on another display. │ │ │ │ │ The menu being cloned can be anything: a regular menu, a popup menu, or │ │ │ │ │ a sub-menu. │ │ │ ├── ./usr/share/man/man3/al_clone_menu_for_popup.3alleg5.gz │ │ │ │ ├── al_clone_menu_for_popup.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu) │ │ │ │ │ -ALLEGRO_MENU *al_clone_menu_for_popup(ALLEGRO_MENU *menu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Exactly like al_clone_menu(3alleg5), except that the copy is for a popup │ │ │ │ │ menu. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_close_native_text_log.3alleg5.gz │ │ │ │ ├── al_close_native_text_log.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ -void al_close_native_text_log(ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Closes a message log window opened with al_open_native_text_log(3alleg5) │ │ │ │ │ earlier. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_close_video.3alleg5.gz │ │ │ │ ├── al_close_video.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_close_video(ALLEGRO_VIDEO *video) │ │ │ │ │ -void al_close_video(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Closes the video and frees all allocated resources. │ │ │ │ │ The video pointer is invalid after the function returns. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_color_cmyk.3alleg5.gz │ │ │ │ ├── al_color_cmyk.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k) │ │ │ │ │ -ALLEGRO_COLOR al_color_cmyk(float c, float m, float y, float k) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from CMYK values (cyan, │ │ │ │ │ magenta, yellow, black). │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_color_cmyk_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_cmyk_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow, │ │ │ │ │ float key, float *red, float *green, float *blue) │ │ │ │ │ -void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow, │ │ │ │ │ - float key, float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert CMYK values to RGB values. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_distance_ciede2000.3alleg5.gz │ │ │ │ ├── al_color_distance_ciede2000.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ double al_color_distance_ciede2000(ALLEGRO_COLOR color1, │ │ │ │ │ ALLEGRO_COLOR color2) { │ │ │ │ │ -double al_color_distance_ciede2000(ALLEGRO_COLOR color1, │ │ │ │ │ - ALLEGRO_COLOR color2) { │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function computes the CIEDE2000 color difference between two RGB │ │ │ │ │ colors. │ │ │ │ │ This is a visually uniform color difference, unlike for example the RGB │ │ │ ├── ./usr/share/man/man3/al_color_hsl.3alleg5.gz │ │ │ │ ├── al_color_hsl.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_hsl(float h, float s, float l) │ │ │ │ │ -ALLEGRO_COLOR al_color_hsl(float h, float s, float l) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from HSL (hue, saturation, │ │ │ │ │ lightness) values. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_hsl_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_hsl_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_hsl_to_rgb(float hue, float saturation, float lightness, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_hsl_to_rgb(float hue, float saturation, float lightness, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert values in HSL color model to RGB color model. │ │ │ │ │ .PP │ │ │ │ │ Parameters: │ │ │ ├── ./usr/share/man/man3/al_color_hsv.3alleg5.gz │ │ │ │ ├── al_color_hsv.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_hsv(float h, float s, float v) │ │ │ │ │ -ALLEGRO_COLOR al_color_hsv(float h, float s, float v) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from HSV (hue, saturation, │ │ │ │ │ value) values. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_hsv_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_hsv_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_hsv_to_rgb(float hue, float saturation, float value, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_hsv_to_rgb(float hue, float saturation, float value, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert values in HSV color model to RGB color model. │ │ │ │ │ .PP │ │ │ │ │ Parameters: │ │ │ ├── ./usr/share/man/man3/al_color_html.3alleg5.gz │ │ │ │ ├── al_color_html.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_html(char const *string) │ │ │ │ │ -ALLEGRO_COLOR al_color_html(char const *string) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Interprets an HTML-style hex number (e.g.\ #00faff) as a color. │ │ │ │ │ The accepted format is the same as al_color_html_to_rgb(3alleg5). │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_html_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_html_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_color_html_to_rgb(char const *string, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -bool al_color_html_to_rgb(char const *string, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Interprets an HTML-style hex number (e.g.\ #00faff) as a color. │ │ │ │ │ The only accepted formats are \[lq]#RRGGBB\[rq] and \[lq]RRGGBB\[rq] │ │ │ │ │ where R, G, B are hexadecimal digits [0-9A-Fa-f]. │ │ │ ├── ./usr/share/man/man3/al_color_lab.3alleg5.gz │ │ │ │ ├── al_color_lab.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_lab(float l, float a, float b) │ │ │ │ │ -ALLEGRO_COLOR al_color_lab(float l, float a, float b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from CIE L*a*b* values. │ │ │ │ │ The L* component corresponds to luminance from 0..1. │ │ │ │ │ The a* and b* components are in the range -1..+1. │ │ │ ├── ./usr/share/man/man3/al_color_lab_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_lab_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_lab_to_rgb(float l, float a, float b, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_lab_to_rgb(float l, float a, float b, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert CIE L*a*b* color values to RGB color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_lch.3alleg5.gz │ │ │ │ ├── al_color_lch.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_lch(float l, float c, float h) │ │ │ │ │ -ALLEGRO_COLOR al_color_lch(float l, float c, float h) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from CIE LCH values. │ │ │ │ │ LCH colors are very similar to HSL, with the same meaning of L and H and │ │ │ │ │ C corresponding to S. │ │ │ ├── ./usr/share/man/man3/al_color_lch_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_lch_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_lch_to_rgb(float l, float c, float h, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_lch_to_rgb(float l, float c, float h, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert CIE LCH color values to RGB color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_linear.3alleg5.gz │ │ │ │ ├── al_color_linear.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_linear(float r, float g, float b) │ │ │ │ │ -ALLEGRO_COLOR al_color_linear(float r, float g, float b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from linear sRGB values. │ │ │ │ │ Allegro RGB values are assumed to be sRGB. │ │ │ │ │ The sRGB standard is in wide use by various display devices. │ │ │ ├── ./usr/share/man/man3/al_color_linear_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_linear_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_linear_to_rgb(float r, float g, float b, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_linear_to_rgb(float r, float g, float b, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert linear sRGB color values to gamma corrected (i.e.\ normal) RGB │ │ │ │ │ values. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_color_name.3alleg5.gz │ │ │ │ ├── al_color_name.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_name(char const *name) │ │ │ │ │ -ALLEGRO_COLOR al_color_name(char const *name) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) with the given name. │ │ │ │ │ If the color is not found then black is returned. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_name_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_name_to_rgb.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b) │ │ │ │ │ -bool al_color_name_to_rgb(char const *name, float *r, float *g, float *b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Parameters: │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ name - The (lowercase) name of the color. │ │ │ ├── ./usr/share/man/man3/al_color_oklab.3alleg5.gz │ │ │ │ ├── al_color_oklab.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_oklab(float l, float a, float b) │ │ │ │ │ -ALLEGRO_COLOR al_color_oklab(float l, float a, float b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from Oklab values. │ │ │ │ │ The L component corresponds to luminance from 0..1. │ │ │ │ │ The a and b components are in the range -1..+1. │ │ │ ├── ./usr/share/man/man3/al_color_oklab_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_oklab_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_oklab_to_rgb(float ol, float oa, float ob, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_oklab_to_rgb(float ol, float oa, float ob, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert Oklab color values to RGB. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_cmyk.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_cmyk.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_cmyk(float red, float green, float blue, │ │ │ │ │ float *cyan, float *magenta, float *yellow, float *key) │ │ │ │ │ -void al_color_rgb_to_cmyk(float red, float green, float blue, │ │ │ │ │ - float *cyan, float *magenta, float *yellow, float *key) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Each RGB color can be represented in CMYK with a K component of 0 with │ │ │ │ │ the following formula: │ │ │ │ │ .IP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_hsl.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_hsl.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_hsl(float red, float green, float blue, │ │ │ │ │ float *hue, float *saturation, float *lightness) │ │ │ │ │ -void al_color_rgb_to_hsl(float red, float green, float blue, │ │ │ │ │ - float *hue, float *saturation, float *lightness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Given an RGB triplet with components in the range 0..1, return the hue │ │ │ │ │ in degrees from 0..360 and saturation and lightness in the range 0..1. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_hsv.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_hsv.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_hsv(float red, float green, float blue, │ │ │ │ │ float *hue, float *saturation, float *value) │ │ │ │ │ -void al_color_rgb_to_hsv(float red, float green, float blue, │ │ │ │ │ - float *hue, float *saturation, float *value) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Given an RGB triplet with components in the range 0..1, return the hue │ │ │ │ │ in degrees from 0..360 and saturation and value in the range 0..1. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_html.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_html.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_html(float red, float green, float blue, │ │ │ │ │ char *string) │ │ │ │ │ -void al_color_rgb_to_html(float red, float green, float blue, │ │ │ │ │ - char *string) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Create an HTML-style string representation of an ALLEGRO_COLOR(3alleg5), │ │ │ │ │ e.g.\ #00faff. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_lab.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_lab.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_lab(float red, float green, float blue, │ │ │ │ │ float *l, float *a, float *b) │ │ │ │ │ -void al_color_rgb_to_lab(float red, float green, float blue, │ │ │ │ │ - float *l, float *a, float *b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert RGB values to L*a*b* color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_lch.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_lch.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_lch(float red, float green, float blue, │ │ │ │ │ float *l, float *c, float *h) │ │ │ │ │ -void al_color_rgb_to_lch(float red, float green, float blue, │ │ │ │ │ - float *l, float *c, float *h) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert RGB values to CIE LCH color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_linear.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_linear.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_linear(float red, float green, float blue, │ │ │ │ │ float *r, float *g, float *b) │ │ │ │ │ -void al_color_rgb_to_linear(float red, float green, float blue, │ │ │ │ │ - float *r, float *g, float *b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert gamma corrected sRGB values (i.e.\ normal RGB) to linear sRGB │ │ │ │ │ space. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_name.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_name.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ char const *al_color_rgb_to_name(float r, float g, float b) │ │ │ │ │ -char const *al_color_rgb_to_name(float r, float g, float b) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Given an RGB triplet with components in the range 0..1, find a color │ │ │ │ │ name describing it approximately. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_oklab.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_oklab.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_oklab(float red, float green, float blue, │ │ │ │ │ float *ol, float *oa, float *ob) │ │ │ │ │ -void al_color_rgb_to_oklab(float red, float green, float blue, │ │ │ │ │ - float *ol, float *oa, float *ob) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert RGB values to the Oklab color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_xyy.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_xyy.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_xyy(float red, float green, float blue, │ │ │ │ │ float *x, float *y, float *y2) │ │ │ │ │ -void al_color_rgb_to_xyy(float red, float green, float blue, │ │ │ │ │ - float *x, float *y, float *y2) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert RGB values to xyY color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_xyz.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_xyz.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_xyz(float red, float green, float blue, │ │ │ │ │ float *x, float *y, float *z) │ │ │ │ │ -void al_color_rgb_to_xyz(float red, float green, float blue, │ │ │ │ │ - float *x, float *y, float *z) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert RGB values to XYZ color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_rgb_to_yuv.3alleg5.gz │ │ │ │ ├── al_color_rgb_to_yuv.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_rgb_to_yuv(float red, float green, float blue, │ │ │ │ │ float *y, float *u, float *v) │ │ │ │ │ -void al_color_rgb_to_yuv(float red, float green, float blue, │ │ │ │ │ - float *y, float *u, float *v) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert RGB values to YUV color space. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_xyy.3alleg5.gz │ │ │ │ ├── al_color_xyy.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_xyy(float x, float y, float y2) │ │ │ │ │ -ALLEGRO_COLOR al_color_xyy(float x, float y, float y2) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from xyY values. │ │ │ │ │ The Y component in the xyY color space is the same as the Y in XYZ. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_xyy_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_xyy_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_xyy_to_rgb(float x, float y, float y2, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_xyy_to_rgb(float x, float y, float y2, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert xyY color values to RGB color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_xyz.3alleg5.gz │ │ │ │ ├── al_color_xyz.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_xyz(float x, float y, float z) │ │ │ │ │ -ALLEGRO_COLOR al_color_xyz(float x, float y, float z) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from XYZ values. │ │ │ │ │ The CIE 1931 XYZ color space consists of three components in the range │ │ │ │ │ 0..1. │ │ │ ├── ./usr/share/man/man3/al_color_xyz_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_xyz_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_xyz_to_rgb(float x, float y, float z, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_xyz_to_rgb(float x, float y, float z, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert XYZ color values to RGB color space. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_yuv.3alleg5.gz │ │ │ │ ├── al_color_yuv.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_COLOR al_color_yuv(float y, float u, float v) │ │ │ │ │ -ALLEGRO_COLOR al_color_yuv(float y, float u, float v) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return an ALLEGRO_COLOR(3alleg5) structure from YUV values. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_color_yuv_to_rgb.3alleg5.gz │ │ │ │ ├── al_color_yuv_to_rgb.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_color_yuv_to_rgb(float y, float u, float v, │ │ │ │ │ float *red, float *green, float *blue) │ │ │ │ │ -void al_color_yuv_to_rgb(float y, float u, float v, │ │ │ │ │ - float *red, float *green, float *blue) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Convert YUV color values to RGB color space. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_create_audio_recorder.3alleg5.gz │ │ │ │ ├── al_create_audio_recorder.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_RECORDER *al_create_audio_recorder(size_t fragment_count, │ │ │ │ │ unsigned int samples, unsigned int frequency, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_AUDIO_RECORDER *al_create_audio_recorder(size_t fragment_count, │ │ │ │ │ - unsigned int samples, unsigned int frequency, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates an audio recorder using the system\[cq]s default recording │ │ │ │ │ device. │ │ │ │ │ (So if the returned device does not work, try updating the system\[cq]s │ │ │ ├── ./usr/share/man/man3/al_create_audio_stream.3alleg5.gz │ │ │ │ ├── al_create_audio_stream.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count, │ │ │ │ │ unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count, │ │ │ │ │ - unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ - ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates an ALLEGRO_AUDIO_STREAM(3alleg5). │ │ │ │ │ The stream will be set to play by default. │ │ │ │ │ It will feed audio data from a buffer, which is split into a number of │ │ │ ├── ./usr/share/man/man3/al_create_builtin_font.3alleg5.gz │ │ │ │ ├── al_create_builtin_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_create_builtin_font(void) │ │ │ │ │ -ALLEGRO_FONT *al_create_builtin_font(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a monochrome bitmap font (8x8 pixels per character). │ │ │ │ │ .PP │ │ │ │ │ This font is primarily intended to be used for displaying information in │ │ │ ├── ./usr/share/man/man3/al_create_index_buffer.3alleg5.gz │ │ │ │ ├── al_create_index_buffer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_INDEX_BUFFER* al_create_index_buffer(int index_size, │ │ │ │ │ const void* initial_data, int num_indices, int flags) │ │ │ │ │ -ALLEGRO_INDEX_BUFFER* al_create_index_buffer(int index_size, │ │ │ │ │ - const void* initial_data, int num_indices, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a index buffer. │ │ │ │ │ Can return NULL if the buffer could not be created (e.g.\ the system │ │ │ │ │ only supports write-only buffers). │ │ │ ├── ./usr/share/man/man3/al_create_menu.3alleg5.gz │ │ │ │ ├── al_create_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_create_menu(void) │ │ │ │ │ -ALLEGRO_MENU *al_create_menu(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a menu container that can hold menu items. │ │ │ │ │ .PP │ │ │ │ │ Returns \f[V]NULL\f[R] on failure. │ │ │ ├── ./usr/share/man/man3/al_create_mixer.3alleg5.gz │ │ │ │ ├── al_create_mixer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MIXER *al_create_mixer(unsigned int freq, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_MIXER *al_create_mixer(unsigned int freq, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a mixer to attach sample instances, audio streams, or other │ │ │ │ │ mixers to. │ │ │ │ │ It will mix into a buffer at the requested frequency (in Hz) and channel │ │ │ ├── ./usr/share/man/man3/al_create_native_file_dialog.3alleg5.gz │ │ │ │ ├── al_create_native_file_dialog.3alleg5 │ │ │ │ │ @@ -26,19 +26,14 @@ │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FILECHOOSER *al_create_native_file_dialog( │ │ │ │ │ char const *initial_path, │ │ │ │ │ char const *title, │ │ │ │ │ char const *patterns, │ │ │ │ │ int mode) │ │ │ │ │ -ALLEGRO_FILECHOOSER *al_create_native_file_dialog( │ │ │ │ │ - char const *initial_path, │ │ │ │ │ - char const *title, │ │ │ │ │ - char const *patterns, │ │ │ │ │ - int mode) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a new native file dialog. │ │ │ │ │ You should only have one such dialog opened at a time. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_create_popup_menu.3alleg5.gz │ │ │ │ ├── al_create_popup_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_create_popup_menu(void) │ │ │ │ │ -ALLEGRO_MENU *al_create_popup_menu(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a menu container for popup menus. │ │ │ │ │ Only the root (outermost) menu should be created with this function. │ │ │ │ │ Sub menus of popups should be created with al_create_menu(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_create_sample.3alleg5.gz │ │ │ │ ├── al_create_sample.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_SAMPLE *al_create_sample(void *buf, unsigned int samples, │ │ │ │ │ unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf) │ │ │ │ │ -ALLEGRO_SAMPLE *al_create_sample(void *buf, unsigned int samples, │ │ │ │ │ - unsigned int freq, ALLEGRO_AUDIO_DEPTH depth, │ │ │ │ │ - ALLEGRO_CHANNEL_CONF chan_conf, bool free_buf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Create a sample data structure from the supplied buffer. │ │ │ │ │ If \f[V]free_buf\f[R] is true then the buffer will be freed with │ │ │ │ │ al_free(3alleg5) when the sample data structure is destroyed. │ │ │ ├── ./usr/share/man/man3/al_create_sample_instance.3alleg5.gz │ │ │ │ ├── al_create_sample_instance.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data) │ │ │ │ │ -ALLEGRO_SAMPLE_INSTANCE *al_create_sample_instance(ALLEGRO_SAMPLE *sample_data) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a sample instance, using the supplied sample data. │ │ │ │ │ The instance must be attached to a mixer (or voice) in order to actually │ │ │ │ │ produce output. │ │ │ ├── ./usr/share/man/man3/al_create_vertex_buffer.3alleg5.gz │ │ │ │ ├── al_create_vertex_buffer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_VERTEX_BUFFER* al_create_vertex_buffer(ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ const void* initial_data, int num_vertices, int flags) │ │ │ │ │ -ALLEGRO_VERTEX_BUFFER* al_create_vertex_buffer(ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ - const void* initial_data, int num_vertices, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a vertex buffer. │ │ │ │ │ Can return NULL if the buffer could not be created (e.g.\ the system │ │ │ │ │ only supports write-only buffers). │ │ │ ├── ./usr/share/man/man3/al_create_vertex_decl.3alleg5.gz │ │ │ │ ├── al_create_vertex_decl.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride) │ │ │ │ │ -ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a vertex declaration, which describes a custom vertex format. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_create_voice.3alleg5.gz │ │ │ │ ├── al_create_voice.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_VOICE *al_create_voice(unsigned int freq, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -ALLEGRO_VOICE *al_create_voice(unsigned int freq, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a voice structure and allocates a voice from the digital sound │ │ │ │ │ driver. │ │ │ │ │ The passed frequency (in Hz), sample format and channel configuration │ │ │ ├── ./usr/share/man/man3/al_destroy_audio_recorder.3alleg5.gz │ │ │ │ ├── al_destroy_audio_recorder.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys the audio recorder and frees all resources associated with it. │ │ │ │ │ It is safe to destroy a recorder that is recording. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_destroy_audio_stream.3alleg5.gz │ │ │ │ ├── al_destroy_audio_stream.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroy an audio stream which was created with │ │ │ │ │ al_create_audio_stream(3alleg5) or al_load_audio_stream(3alleg5). │ │ │ │ │ .RS │ │ │ ├── ./usr/share/man/man3/al_destroy_font.3alleg5.gz │ │ │ │ ├── al_destroy_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_font(ALLEGRO_FONT *f) │ │ │ │ │ -void al_destroy_font(ALLEGRO_FONT *f) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Frees the memory being used by a font structure. │ │ │ │ │ Does nothing if passed NULL. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_destroy_index_buffer.3alleg5.gz │ │ │ │ ├── al_destroy_index_buffer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ -void al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys a index buffer. │ │ │ │ │ Does nothing if passed NULL. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_destroy_menu.3alleg5.gz │ │ │ │ ├── al_destroy_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_menu(ALLEGRO_MENU *menu) │ │ │ │ │ -void al_destroy_menu(ALLEGRO_MENU *menu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys an entire menu, including its sub-menus. │ │ │ │ │ Any references to it or a sub-menu are no longer valid. │ │ │ │ │ It is safe to call this on a menu that is currently being displayed. │ │ │ ├── ./usr/share/man/man3/al_destroy_mixer.3alleg5.gz │ │ │ │ ├── al_destroy_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ -void al_destroy_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys the mixer. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_destroy_native_file_dialog.3alleg5.gz │ │ │ │ ├── al_destroy_native_file_dialog.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ -void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Frees up all resources used by the file dialog. │ │ │ ├── ./usr/share/man/man3/al_destroy_sample.3alleg5.gz │ │ │ │ ├── al_destroy_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_sample(ALLEGRO_SAMPLE *spl) │ │ │ │ │ -void al_destroy_sample(ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Free the sample data structure. │ │ │ │ │ If it was created with the \f[V]free_buf\f[R] parameter set to true, │ │ │ │ │ then the buffer will be freed with al_free(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_destroy_sample_instance.3alleg5.gz │ │ │ │ ├── al_destroy_sample_instance.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Detaches the sample instance from anything it may be attached to and │ │ │ │ │ frees it (the sample data, i.e.\ its ALLEGRO_SAMPLE, is \f[I]not\f[R] │ │ │ │ │ freed!). │ │ │ ├── ./usr/share/man/man3/al_destroy_vertex_buffer.3alleg5.gz │ │ │ │ ├── al_destroy_vertex_buffer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ -void al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys a vertex buffer. │ │ │ │ │ Does nothing if passed NULL. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_destroy_vertex_decl.3alleg5.gz │ │ │ │ ├── al_destroy_vertex_decl.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl) │ │ │ │ │ -void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys a vertex declaration. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_destroy_voice.3alleg5.gz │ │ │ │ ├── al_destroy_voice.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_destroy_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_destroy_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Destroys the voice and deallocates it from the digital driver. │ │ │ │ │ Does nothing if the voice is NULL. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_detach_audio_stream.3alleg5.gz │ │ │ │ ├── al_detach_audio_stream.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_detach_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Detach the stream from whatever it\[cq]s attached to, if anything. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_detach_mixer.3alleg5.gz │ │ │ │ ├── al_detach_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_detach_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_detach_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Detach the mixer from whatever it is attached to, if anything. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_detach_sample_instance.3alleg5.gz │ │ │ │ ├── al_detach_sample_instance.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Detach the sample instance from whatever it\[cq]s attached to, if │ │ │ │ │ anything. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_detach_voice.3alleg5.gz │ │ │ │ ├── al_detach_voice.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_detach_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_detach_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Detaches the mixer, sample instance or audio stream from the voice. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_disable_menu_event_source.3alleg5.gz │ │ │ │ ├── al_disable_menu_event_source.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_disable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ -void al_disable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Disables a unique event source for the menu, causing it to use the │ │ │ │ │ default event source. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_do_multiline_text.3alleg5.gz │ │ │ │ ├── al_do_multiline_text.3alleg5 │ │ │ │ │ @@ -25,18 +25,14 @@ │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_do_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ float max_width, const char *text, │ │ │ │ │ bool (*cb)(int line_num, const char *line, int size, void *extra), │ │ │ │ │ void *extra) │ │ │ │ │ -void al_do_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ - float max_width, const char *text, │ │ │ │ │ - bool (*cb)(int line_num, const char *line, int size, void *extra), │ │ │ │ │ - void *extra) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function processes the \f[V]text\f[R] and splits it into lines as │ │ │ │ │ al_draw_multiline_text(3alleg5) would, and then calls the callback │ │ │ │ │ \f[V]cb\f[R] once for every line. │ │ │ ├── ./usr/share/man/man3/al_do_multiline_ustr.3alleg5.gz │ │ │ │ ├── al_do_multiline_ustr.3alleg5 │ │ │ │ │ @@ -25,18 +25,14 @@ │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width, │ │ │ │ │ const ALLEGRO_USTR *ustr, │ │ │ │ │ bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra), │ │ │ │ │ void *extra) │ │ │ │ │ -void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width, │ │ │ │ │ - const ALLEGRO_USTR *ustr, │ │ │ │ │ - bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra), │ │ │ │ │ - void *extra) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_do_multiline_text(3alleg5), but using ALLEGRO_USTR instead of a │ │ │ │ │ NUL-terminated char array for text. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_drain_audio_stream.3alleg5.gz │ │ │ │ ├── al_drain_audio_stream.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ You should call this to finalise an audio stream that you will no longer │ │ │ │ │ be feeding, to wait for all pending buffers to finish playing. │ │ │ │ │ The stream\[cq]s playing state will change to false. │ │ │ ├── ./usr/share/man/man3/al_draw_arc.3alleg5.gz │ │ │ │ ├── al_draw_arc.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_arc(float cx, float cy, float r, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_arc(float cx, float cy, float r, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an arc. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_circle.3alleg5.gz │ │ │ │ ├── al_draw_circle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color, │ │ │ │ │ float thickness) │ │ │ │ │ -void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color, │ │ │ │ │ - float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an outlined circle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_ellipse.3alleg5.gz │ │ │ │ ├── al_draw_ellipse.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an outlined ellipse. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_elliptical_arc.3alleg5.gz │ │ │ │ ├── al_draw_elliptical_arc.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an elliptical arc. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_filled_circle.3alleg5.gz │ │ │ │ ├── al_draw_filled_circle.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a filled circle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_filled_ellipse.3alleg5.gz │ │ │ │ ├── al_draw_filled_ellipse.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_ellipse(float cx, float cy, float rx, float ry, │ │ │ │ │ - ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a filled ellipse. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_filled_pieslice.3alleg5.gz │ │ │ │ ├── al_draw_filled_pieslice.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a filled pieslice (filled circular sector). │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_filled_polygon.3alleg5.gz │ │ │ │ ├── al_draw_filled_polygon.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_polygon(const float *vertices, int vertex_count, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_polygon(const float *vertices, int vertex_count, │ │ │ │ │ - ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draw a filled, simple polygon. │ │ │ │ │ Simple means it does not have to be convex but must not be │ │ │ │ │ self-overlapping. │ │ │ ├── ./usr/share/man/man3/al_draw_filled_polygon_with_holes.3alleg5.gz │ │ │ │ ├── al_draw_filled_polygon_with_holes.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_polygon_with_holes(const float *vertices, │ │ │ │ │ const int *vertex_counts, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_polygon_with_holes(const float *vertices, │ │ │ │ │ - const int *vertex_counts, ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a filled simple polygon with zero or more other simple polygons │ │ │ │ │ subtracted from it - the holes. │ │ │ │ │ The holes cannot touch or intersect with the outline of the filled │ │ │ ├── ./usr/share/man/man3/al_draw_filled_rectangle.3alleg5.gz │ │ │ │ ├── al_draw_filled_rectangle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a filled rectangle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_filled_rounded_rectangle.3alleg5.gz │ │ │ │ ├── al_draw_filled_rounded_rectangle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float rx, float ry, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float rx, float ry, ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an filled rounded rectangle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_filled_triangle.3alleg5.gz │ │ │ │ ├── al_draw_filled_triangle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_filled_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float x3, float y3, ALLEGRO_COLOR color) │ │ │ │ │ -void al_draw_filled_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float x3, float y3, ALLEGRO_COLOR color) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a filled triangle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_glyph.3alleg5.gz │ │ │ │ ├── al_draw_glyph.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_glyph(const ALLEGRO_FONT *f, ALLEGRO_COLOR color, float x, float y, │ │ │ │ │ int codepoint) │ │ │ │ │ -void al_draw_glyph(const ALLEGRO_FONT *f, ALLEGRO_COLOR color, float x, float y, │ │ │ │ │ - int codepoint) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws the glyph that corresponds with \f[V]codepoint\f[R] in the given │ │ │ │ │ \f[V]color\f[R] using the given \f[V]font\f[R]. │ │ │ │ │ If \f[V]font\f[R] does not have such a glyph, nothing will be drawn. │ │ │ ├── ./usr/share/man/man3/al_draw_indexed_buffer.3alleg5.gz │ │ │ │ ├── al_draw_indexed_buffer.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer, │ │ │ │ │ int start, int end, int type) │ │ │ │ │ -int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ - ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer, │ │ │ │ │ - int start, int end, int type) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a subset of the passed vertex buffer. │ │ │ │ │ This function uses an index buffer to specify which vertices to use. │ │ │ │ │ Both buffers must not be locked. │ │ │ ├── ./usr/share/man/man3/al_draw_indexed_prim.3alleg5.gz │ │ │ │ ├── al_draw_indexed_prim.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_draw_indexed_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type) │ │ │ │ │ -int al_draw_indexed_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ - ALLEGRO_BITMAP* texture, const int* indices, int num_vtx, int type) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a subset of the passed vertex array. │ │ │ │ │ This function uses an index array to specify which vertices to use. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_draw_justified_text.3alleg5.gz │ │ │ │ ├── al_draw_justified_text.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_justified_text(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ float y, float diff, int flags, const char *text) │ │ │ │ │ -void al_draw_justified_text(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ - float y, float diff, int flags, const char *text) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_draw_text(3alleg5), but justifies the string to the region │ │ │ │ │ x1-x2. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_draw_justified_textf.3alleg5.gz │ │ │ │ ├── al_draw_justified_textf.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_justified_textf(const ALLEGRO_FONT *f, │ │ │ │ │ ALLEGRO_COLOR color, float x1, float x2, float y, │ │ │ │ │ float diff, int flags, const char *format, ...) │ │ │ │ │ -void al_draw_justified_textf(const ALLEGRO_FONT *f, │ │ │ │ │ - ALLEGRO_COLOR color, float x1, float x2, float y, │ │ │ │ │ - float diff, int flags, const char *format, ...) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Formatted text output, using a printf() style format string. │ │ │ │ │ All parameters have the same meaning as with │ │ │ │ │ al_draw_justified_text(3alleg5) otherwise. │ │ │ ├── ./usr/share/man/man3/al_draw_justified_ustr.3alleg5.gz │ │ │ │ ├── al_draw_justified_ustr.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_justified_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ float y, float diff, int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ -void al_draw_justified_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x1, float x2, │ │ │ │ │ - float y, float diff, int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_draw_justified_text(3alleg5), except the text is passed as an │ │ │ │ │ ALLEGRO_USTR instead of a NUL-terminated char array. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_draw_line.3alleg5.gz │ │ │ │ ├── al_draw_line.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_line(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_line(float x1, float y1, float x2, float y2, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a line segment between two points. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_multiline_text.3alleg5.gz │ │ │ │ ├── al_draw_multiline_text.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ int flags, const char *text) │ │ │ │ │ -void al_draw_multiline_text(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ - int flags, const char *text) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_draw_text(3alleg5), but this function supports drawing multiple │ │ │ │ │ lines of text. │ │ │ │ │ It will break \f[V]text\f[R] in lines based on its contents and the │ │ │ ├── ./usr/share/man/man3/al_draw_multiline_textf.3alleg5.gz │ │ │ │ ├── al_draw_multiline_textf.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_multiline_textf(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ int flags, const char *format, ...) │ │ │ │ │ -void al_draw_multiline_textf(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ - int flags, const char *format, ...) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Formatted text output, using a printf() style format string. │ │ │ │ │ All parameters have the same meaning as with │ │ │ │ │ al_draw_multiline_text(3alleg5) otherwise. │ │ │ ├── ./usr/share/man/man3/al_draw_multiline_ustr.3alleg5.gz │ │ │ │ ├── al_draw_multiline_ustr.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_multiline_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ -void al_draw_multiline_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, float max_width, float line_height, │ │ │ │ │ - int flags, const ALLEGRO_USTR *ustr) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_draw_multiline_text(3alleg5), except the text is passed as an │ │ │ │ │ ALLEGRO_USTR instead of a NUL-terminated char array. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_draw_pieslice.3alleg5.gz │ │ │ │ ├── al_draw_pieslice.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_pieslice(float cx, float cy, float r, float start_theta, │ │ │ │ │ - float delta_theta, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a pieslice (outlined circular sector). │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_polygon.3alleg5.gz │ │ │ │ ├── al_draw_polygon.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_polygon(const float *vertices, int vertex_count, │ │ │ │ │ int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ -void al_draw_polygon(const float *vertices, int vertex_count, │ │ │ │ │ - int join_style, ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draw an unfilled polygon. │ │ │ │ │ This is the same as passing \f[V]ALLEGRO_LINE_CAP_CLOSED\f[R] to │ │ │ │ │ al_draw_polyline(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_draw_polyline.3alleg5.gz │ │ │ │ ├── al_draw_polyline.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_polyline(const float* vertices, int vertex_stride, │ │ │ │ │ int vertex_count, int join_style, int cap_style, │ │ │ │ │ ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ -void al_draw_polyline(const float* vertices, int vertex_stride, │ │ │ │ │ - int vertex_count, int join_style, int cap_style, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness, float miter_limit) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draw a series of line segments. │ │ │ │ │ .IP \[bu] 2 │ │ │ │ │ vertices - Interleaved array of (x, y) vertex coordinates │ │ │ ├── ./usr/share/man/man3/al_draw_prim.3alleg5.gz │ │ │ │ ├── al_draw_prim.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_draw_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ -int al_draw_prim(const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, │ │ │ │ │ - ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a subset of the passed vertex array. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_rectangle.3alleg5.gz │ │ │ │ ├── al_draw_rectangle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an outlined rectangle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_ribbon.3alleg5.gz │ │ │ │ ├── al_draw_ribbon.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color, │ │ │ │ │ float thickness, int num_segments) │ │ │ │ │ -void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color, │ │ │ │ │ - float thickness, int num_segments) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a ribbon given an array of points. │ │ │ │ │ The ribbon will go through all of the passed points. │ │ │ │ │ The points buffer should consist of regularly spaced doublets of floats, │ │ │ ├── ./usr/share/man/man3/al_draw_rounded_rectangle.3alleg5.gz │ │ │ │ ├── al_draw_rounded_rectangle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float rx, float ry, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float rx, float ry, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an outlined rounded rectangle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_soft_line.3alleg5.gz │ │ │ │ ├── al_draw_soft_line.3alleg5 │ │ │ │ │ @@ -25,18 +25,14 @@ │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state, │ │ │ │ │ void (*first)(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ void (*step)(uintptr_t, int), │ │ │ │ │ void (*draw)(uintptr_t, int, int)) │ │ │ │ │ -void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state, │ │ │ │ │ - void (*first)(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ - void (*step)(uintptr_t, int), │ │ │ │ │ - void (*draw)(uintptr_t, int, int)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a line using the software rasterizer and user supplied pixel │ │ │ │ │ functions. │ │ │ │ │ For help in understanding what these functions do, see the │ │ │ ├── ./usr/share/man/man3/al_draw_soft_triangle.3alleg5.gz │ │ │ │ ├── al_draw_soft_triangle.3alleg5 │ │ │ │ │ @@ -27,20 +27,14 @@ │ │ │ │ │ │ │ │ │ │ void al_draw_soft_triangle( │ │ │ │ │ ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state, │ │ │ │ │ void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ void (*first)(uintptr_t, int, int, int, int), │ │ │ │ │ void (*step)(uintptr_t, int), │ │ │ │ │ void (*draw)(uintptr_t, int, int, int)) │ │ │ │ │ -void al_draw_soft_triangle( │ │ │ │ │ - ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state, │ │ │ │ │ - void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ - void (*first)(uintptr_t, int, int, int, int), │ │ │ │ │ - void (*step)(uintptr_t, int), │ │ │ │ │ - void (*draw)(uintptr_t, int, int, int)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a triangle using the software rasterizer and user supplied pixel │ │ │ │ │ functions. │ │ │ │ │ For help in understanding what these functions do, see the │ │ │ ├── ./usr/share/man/man3/al_draw_spline.3alleg5.gz │ │ │ │ ├── al_draw_spline.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_spline(float points[8], ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a B\['e]zier spline given 4 control points. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_text.3alleg5.gz │ │ │ │ ├── al_draw_text.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_text(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ char const *text) │ │ │ │ │ -void al_draw_text(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ - char const *text) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Writes the NUL-terminated string \f[V]text\f[R] onto the target bitmap │ │ │ │ │ at position \f[V]x\f[R], \f[V]y\f[R], using the specified │ │ │ │ │ \f[V]font\f[R]. │ │ │ ├── ./usr/share/man/man3/al_draw_textf.3alleg5.gz │ │ │ │ ├── al_draw_textf.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, │ │ │ │ │ float x, float y, int flags, │ │ │ │ │ const char *format, ...) │ │ │ │ │ -void al_draw_textf(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, │ │ │ │ │ - float x, float y, int flags, │ │ │ │ │ - const char *format, ...) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Formatted text output, using a printf() style format string. │ │ │ │ │ All parameters have the same meaning as with al_draw_text(3alleg5) │ │ │ │ │ otherwise. │ │ │ ├── ./usr/share/man/man3/al_draw_triangle.3alleg5.gz │ │ │ │ ├── al_draw_triangle.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float x3, float y3, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ -void al_draw_triangle(float x1, float y1, float x2, float y2, │ │ │ │ │ - float x3, float y3, ALLEGRO_COLOR color, float thickness) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws an outlined triangle. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Parameters:\f[R] │ │ │ ├── ./usr/share/man/man3/al_draw_ustr.3alleg5.gz │ │ │ │ ├── al_draw_ustr.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_draw_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ const ALLEGRO_USTR *ustr) │ │ │ │ │ -void al_draw_ustr(const ALLEGRO_FONT *font, │ │ │ │ │ - ALLEGRO_COLOR color, float x, float y, int flags, │ │ │ │ │ - const ALLEGRO_USTR *ustr) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_draw_text(3alleg5), except the text is passed as an ALLEGRO_USTR │ │ │ │ │ instead of a NUL-terminated char array. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_draw_vertex_buffer.3alleg5.gz │ │ │ │ ├── al_draw_vertex_buffer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ -int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, │ │ │ │ │ - ALLEGRO_BITMAP* texture, int start, int end, int type) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Draws a subset of the passed vertex buffer. │ │ │ │ │ The vertex buffer must not be locked. │ │ │ │ │ Additionally, to draw onto memory bitmaps or with memory bitmap textures │ │ │ ├── ./usr/share/man/man3/al_enable_menu_event_source.3alleg5.gz │ │ │ │ ├── al_enable_menu_event_source.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Enables a unique event source for this menu. │ │ │ │ │ It and all of its sub-menus will use this event source. │ │ │ │ │ (It is safe to call this multiple times on the same menu.) │ │ │ ├── ./usr/share/man/man3/al_fill_silence.3alleg5.gz │ │ │ │ ├── al_fill_silence.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_fill_silence(void *buf, unsigned int samples, │ │ │ │ │ ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ -void al_fill_silence(void *buf, unsigned int samples, │ │ │ │ │ - ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Fill a buffer with silence, for the given format and channel │ │ │ │ │ configuration. │ │ │ │ │ The buffer must have enough space for the given number of samples, and │ │ │ ├── ./usr/share/man/man3/al_find_menu.3alleg5.gz │ │ │ │ ├── al_find_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id) │ │ │ │ │ -ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Searches in the \f[V]haystack\f[R] menu for any submenu with the given │ │ │ │ │ \f[V]id\f[R]. │ │ │ │ │ (Note that this only represents a literal ID, and cannot be used as an │ │ │ ├── ./usr/share/man/man3/al_find_menu_item.3alleg5.gz │ │ │ │ ├── al_find_menu_item.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU **menu, │ │ │ │ │ int *index) │ │ │ │ │ -bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU **menu, │ │ │ │ │ - int *index) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Searches in the \f[V]haystack\f[R] menu for an item with the given │ │ │ │ │ \f[V]id\f[R]. │ │ │ │ │ (Note that this only represents a literal ID, and cannot be used as an │ │ │ ├── ./usr/share/man/man3/al_fixed.3alleg5.gz │ │ │ │ ├── al_fixed.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ typedef int32_t al_fixed; │ │ │ │ │ -typedef int32_t al_fixed; │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ A fixed point number. │ │ │ │ │ .PP │ │ │ │ │ Allegro provides some routines for working with fixed point numbers, and │ │ │ ├── ./usr/share/man/man3/al_free.3alleg5.gz │ │ │ │ ├── al_free.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define al_free(p) \[rs] │ │ │ │ │ (al_free_with_context((p), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_free(p) \[rs] │ │ │ │ │ - (al_free_with_context((p), __LINE__, __FILE__, __func__)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like free() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_allegro_acodec_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_acodec_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_acodec_version(void) │ │ │ │ │ -uint32_t al_get_allegro_acodec_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_audio_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_audio_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_audio_version(void) │ │ │ │ │ -uint32_t al_get_allegro_audio_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_color_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_color_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_color_version(void) │ │ │ │ │ -uint32_t al_get_allegro_color_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_font_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_font_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_font_version(void) │ │ │ │ │ -uint32_t al_get_allegro_font_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_image_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_image_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_image_version(void) │ │ │ │ │ -uint32_t al_get_allegro_image_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_memfile_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_memfile_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_memfile_version(void) │ │ │ │ │ -uint32_t al_get_allegro_memfile_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_native_dialog_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_native_dialog_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_native_dialog_version(void) │ │ │ │ │ -uint32_t al_get_allegro_native_dialog_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_physfs_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_physfs_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_physfs_version(void) │ │ │ │ │ -uint32_t al_get_allegro_physfs_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_primitives_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_primitives_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_primitives_version(void) │ │ │ │ │ -uint32_t al_get_allegro_primitives_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_ttf_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_ttf_version.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_ttf_version(void) │ │ │ │ │ -uint32_t al_get_allegro_ttf_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_allegro_video_version.3alleg5.gz │ │ │ │ ├── al_get_allegro_video_version.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint32_t al_get_allegro_video_version(void) │ │ │ │ │ -uint32_t al_get_allegro_video_version(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the (compiled) version of the addon, in the same format as │ │ │ │ │ al_get_allegro_version(3alleg5). │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_get_audio_depth_size.3alleg5.gz │ │ │ │ ├── al_get_audio_depth_size.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth) │ │ │ │ │ -size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the size of a sample, in bytes, for the given format. │ │ │ │ │ The format is one of the values listed under │ │ │ │ │ ALLEGRO_AUDIO_DEPTH(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_audio_device_name.3alleg5.gz │ │ │ │ ├── al_get_audio_device_name.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device) │ │ │ │ │ -const char* al_get_audio_device_name(const ALLEGRO_AUDIO_DEVICE * device) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the user friendly display name of the device. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_output_device.3alleg5.gz │ │ │ │ ├── al_get_audio_output_device.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index) │ │ │ │ │ -const ALLEGRO_AUDIO_DEVICE* al_get_audio_output_device(int index) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the output audio device of the specified index. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_recorder_event.3alleg5.gz │ │ │ │ ├── al_get_audio_recorder_event.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event) │ │ │ │ │ -ALLEGRO_AUDIO_RECORDER_EVENT *al_get_audio_recorder_event(ALLEGRO_EVENT *event) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the event as an ALLEGRO_AUDIO_RECORDER_EVENT(3alleg5). │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_recorder_event_source.3alleg5.gz │ │ │ │ ├── al_get_audio_recorder_event_source.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the event source for the recorder that generates the various │ │ │ │ │ recording events. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_attached.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_attached.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_get_audio_stream_attached(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return whether the stream is attached to something. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_channels.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_channels.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_audio_stream_channels( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_audio_stream_channels( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the stream channel configuration. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_depth.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_depth.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the stream audio depth. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_event_source.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_event_source.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source( │ │ │ │ │ ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source( │ │ │ │ │ - ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Retrieve the associated event source. │ │ │ │ │ .PP │ │ │ │ │ See al_get_audio_stream_fragment(3alleg5) for a description of the │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_fragment.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_fragment.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -void *al_get_audio_stream_fragment(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ When using Allegro\[cq]s audio streaming, you will use this function to │ │ │ │ │ continuously provide new sample data to a stream. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_fragments.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_fragments.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the number of fragments this stream uses. │ │ │ │ │ This is the same value as passed to al_create_audio_stream(3alleg5) when │ │ │ │ │ a new stream is created. │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_frequency.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_frequency.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the stream frequency (in Hz). │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_gain.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_gain.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -float al_get_audio_stream_gain(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the playback gain of the stream. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_length.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_length.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the stream length in samples. │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_length_secs.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_length_secs.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the length of the stream in seconds, if known. │ │ │ │ │ Otherwise returns zero. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_pan.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_pan.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -float al_get_audio_stream_pan(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the pan value of the stream. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_played_samples.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_played_samples.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -uint64_t al_get_audio_stream_played_samples(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the number of samples consumed by the parent since the audio stream │ │ │ │ │ was started. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_playing.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return true if the stream is playing. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_playmode.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_playmode.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_PLAYMODE al_get_audio_stream_playmode( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -ALLEGRO_PLAYMODE al_get_audio_stream_playmode( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the playback mode of the stream. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_position_secs.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_position_secs.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the position of the stream in seconds. │ │ │ │ │ Currently this can only be called on streams created with │ │ │ │ │ al_load_audio_stream(3alleg5), al_play_audio_stream(3alleg5), │ │ │ ├── ./usr/share/man/man3/al_get_audio_stream_speed.3alleg5.gz │ │ │ │ ├── al_get_audio_stream_speed.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the relative playback speed of the stream. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_available_audio_stream_fragments.3alleg5.gz │ │ │ │ ├── al_get_available_audio_stream_fragments.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_available_audio_stream_fragments( │ │ │ │ │ const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -unsigned int al_get_available_audio_stream_fragments( │ │ │ │ │ - const ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the number of available fragments in the stream, that is, │ │ │ │ │ fragments which are not currently filled with data for playback. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_get_channel_count.3alleg5.gz │ │ │ │ ├── al_get_channel_count.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf) │ │ │ │ │ -size_t al_get_channel_count(ALLEGRO_CHANNEL_CONF conf) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the number of channels for the given channel configuration, which │ │ │ │ │ is one of the values listed under ALLEGRO_CHANNEL_CONF(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_default_menu_event_source.3alleg5.gz │ │ │ │ ├── al_get_default_menu_event_source.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the default event source used for menu clicks. │ │ │ │ │ If a menu was not given its own event source via │ │ │ │ │ al_enable_menu_event_source(3alleg5), then it will use this default │ │ │ ├── ./usr/share/man/man3/al_get_default_mixer.3alleg5.gz │ │ │ │ ├── al_get_default_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MIXER *al_get_default_mixer(void) │ │ │ │ │ -ALLEGRO_MIXER *al_get_default_mixer(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the default mixer, or NULL if one has not been set. │ │ │ │ │ Although different configurations of mixers and voices can be used, in │ │ │ │ │ most cases a single mixer attached to a voice is what you want. │ │ │ ├── ./usr/share/man/man3/al_get_default_voice.3alleg5.gz │ │ │ │ ├── al_get_default_voice.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_VOICE *al_get_default_voice(void) │ │ │ │ │ -ALLEGRO_VOICE *al_get_default_voice(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the default voice or NULL if there is none. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_display_menu.3alleg5.gz │ │ │ │ ├── al_get_display_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ -ALLEGRO_MENU *al_get_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the menu associated with the \f[V]display\f[R], or │ │ │ │ │ \f[V]NULL\f[R] if it does not have a menu. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_get_fallback_font.3alleg5.gz │ │ │ │ ├── al_get_fallback_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font) │ │ │ │ │ -ALLEGRO_FONT *al_get_fallback_font(ALLEGRO_FONT *font) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Retrieves the fallback font for this font or NULL. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_font_ascent.3alleg5.gz │ │ │ │ ├── al_get_font_ascent.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_font_ascent(const ALLEGRO_FONT *f) │ │ │ │ │ -int al_get_font_ascent(const ALLEGRO_FONT *f) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the ascent of the specified font. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_font_descent.3alleg5.gz │ │ │ │ ├── al_get_font_descent.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_font_descent(const ALLEGRO_FONT *f) │ │ │ │ │ -int al_get_font_descent(const ALLEGRO_FONT *f) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the descent of the specified font. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_font_line_height.3alleg5.gz │ │ │ │ ├── al_get_font_line_height.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_font_line_height(const ALLEGRO_FONT *f) │ │ │ │ │ -int al_get_font_line_height(const ALLEGRO_FONT *f) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the usual height of a line of text in the specified font. │ │ │ │ │ For bitmap fonts this is simply the height of all glyph bitmaps. │ │ │ │ │ For truetype fonts it is whatever the font file specifies. │ │ │ ├── ./usr/share/man/man3/al_get_font_ranges.3alleg5.gz │ │ │ │ ├── al_get_font_ranges.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges) │ │ │ │ │ -int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Gets information about all glyphs contained in a font, as a list of │ │ │ │ │ ranges. │ │ │ │ │ Ranges have the same format as with al_grab_font_from_bitmap(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_glyph.3alleg5.gz │ │ │ │ ├── al_get_glyph.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph) │ │ │ │ │ -bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Gets all the information about a glyph, including the bitmap, needed to │ │ │ │ │ draw it yourself. │ │ │ │ │ prev_codepoint is the codepoint in the string before the one you want to │ │ │ ├── ./usr/share/man/man3/al_get_glyph_advance.3alleg5.gz │ │ │ │ ├── al_get_glyph_advance.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2) │ │ │ │ │ -int al_get_glyph_advance(const ALLEGRO_FONT *f, int codepoint1, int codepoint2) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function returns by how much the x position should be advanced for │ │ │ │ │ left to right text drawing when the glyph that corresponds to codepoint1 │ │ │ │ │ has been drawn, and the glyph that corresponds to codepoint2 will be the │ │ │ ├── ./usr/share/man/man3/al_get_glyph_dimensions.3alleg5.gz │ │ │ │ ├── al_get_glyph_dimensions.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_glyph_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ int codepoint, int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ -bool al_get_glyph_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ - int codepoint, int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sometimes, the al_get_glyph_width(3alleg5) or │ │ │ │ │ al_get_glyph_advance(3alleg5) functions are not enough for exact glyph │ │ │ │ │ placement, so this function returns some additional information, │ │ │ ├── ./usr/share/man/man3/al_get_glyph_width.3alleg5.gz │ │ │ │ ├── al_get_glyph_width.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint) │ │ │ │ │ -int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function returns the width in pixels of the glyph that corresponds │ │ │ │ │ with \f[V]codepoint\f[R] in the font \f[V]font\f[R]. │ │ │ │ │ Returns zero if the font does not have such a glyph. │ │ │ ├── ./usr/share/man/man3/al_get_index_buffer_size.3alleg5.gz │ │ │ │ ├── al_get_index_buffer_size.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ -int al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the size of the index buffer │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_menu_item_caption.3alleg5.gz │ │ │ │ ├── al_get_menu_item_caption.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the caption associated with the menu item. │ │ │ │ │ It is valid as long as the caption is not modified. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_menu_item_flags.3alleg5.gz │ │ │ │ ├── al_get_menu_item_flags.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the currently set flags. │ │ │ │ │ See al_insert_menu_item(3alleg5) for a description of the available │ │ │ │ │ flags. │ │ │ ├── ./usr/share/man/man3/al_get_menu_item_icon.3alleg5.gz │ │ │ │ ├── al_get_menu_item_icon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -ALLEGRO_BITMAP *al_get_menu_item_icon(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the icon associated with the menu. │ │ │ │ │ It is safe to draw to the returned bitmap, but you must call │ │ │ │ │ al_set_menu_item_icon(3alleg5) in order for the changes to be applied. │ │ │ ├── ./usr/share/man/man3/al_get_mixer_attached.3alleg5.gz │ │ │ │ ├── al_get_mixer_attached.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_get_mixer_attached(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return true if the mixer is attached to something. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_mixer_channels.3alleg5.gz │ │ │ │ ├── al_get_mixer_channels.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_mixer_channels(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the mixer channel configuration. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_mixer_depth.3alleg5.gz │ │ │ │ ├── al_get_mixer_depth.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_mixer_depth(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the mixer audio depth. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_mixer_frequency.3alleg5.gz │ │ │ │ ├── al_get_mixer_frequency.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the mixer frequency (in Hz). │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_mixer_gain.3alleg5.gz │ │ │ │ ├── al_get_mixer_gain.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_mixer_gain(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -float al_get_mixer_gain(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the mixer gain (amplification factor). │ │ │ │ │ The default is 1.0. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_get_mixer_playing.3alleg5.gz │ │ │ │ ├── al_get_mixer_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_get_mixer_playing(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return true if the mixer is playing. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_mixer_quality.3alleg5.gz │ │ │ │ ├── al_get_mixer_quality.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer) │ │ │ │ │ -ALLEGRO_MIXER_QUALITY al_get_mixer_quality(const ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the mixer quality. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_native_file_dialog_count.3alleg5.gz │ │ │ │ ├── al_get_native_file_dialog_count.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ -int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the number of files selected, or 0 if the dialog was cancelled. │ │ │ ├── ./usr/share/man/man3/al_get_native_file_dialog_path.3alleg5.gz │ │ │ │ ├── al_get_native_file_dialog_path.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ const char *al_get_native_file_dialog_path( │ │ │ │ │ const ALLEGRO_FILECHOOSER *dialog, size_t i) │ │ │ │ │ -const char *al_get_native_file_dialog_path( │ │ │ │ │ - const ALLEGRO_FILECHOOSER *dialog, size_t i) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns one of the selected paths with index \f[V]i\f[R]. │ │ │ │ │ The index should range from \f[V]0\f[R] to the return value of │ │ │ │ │ al_get_native_file_dialog_count(3alleg5) \f[V]-1\f[R]. │ │ │ ├── ./usr/share/man/man3/al_get_native_text_log_event_source.3alleg5.gz │ │ │ │ ├── al_get_native_text_log_event_source.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_native_text_log_event_source( │ │ │ │ │ ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_native_text_log_event_source( │ │ │ │ │ - ALLEGRO_TEXTLOG *textlog) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get an event source for a text log window. │ │ │ │ │ The possible events are: │ │ │ │ │ .TP │ │ │ ├── ./usr/share/man/man3/al_get_num_audio_output_devices.3alleg5.gz │ │ │ │ ├── al_get_num_audio_output_devices.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_num_audio_output_devices() │ │ │ │ │ -int al_get_num_audio_output_devices() │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the number of available audio output devices on the system. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample.3alleg5.gz │ │ │ │ ├── al_get_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -ALLEGRO_SAMPLE *al_get_sample(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the sample data that the sample instance plays. │ │ │ │ │ .PP │ │ │ │ │ Note this returns a pointer to an internal structure, \f[I]not\f[R] the │ │ │ ├── ./usr/share/man/man3/al_get_sample_channels.3alleg5.gz │ │ │ │ ├── al_get_sample_channels.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_sample_channels(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the channel configuration of the sample. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_data.3alleg5.gz │ │ │ │ ├── al_get_sample_data.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void *al_get_sample_data(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -void *al_get_sample_data(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return a pointer to the raw sample data. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_depth.3alleg5.gz │ │ │ │ ├── al_get_sample_depth.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the audio depth of the sample. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_frequency.3alleg5.gz │ │ │ │ ├── al_get_sample_frequency.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the frequency (in Hz) of the sample. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_attached.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_attached.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return whether the sample instance is attached to something. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_channels.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_channels.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_sample_instance_channels( │ │ │ │ │ const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_sample_instance_channels( │ │ │ │ │ - const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the channel configuration of the sample instance\[cq]s sample │ │ │ │ │ data. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_depth.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_depth.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_sample_instance_depth(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the audio depth of the sample instance\[cq]s sample data. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_frequency.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_frequency.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the frequency (in Hz) of the sample instance\[cq]s sample data. │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_gain.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_gain.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the playback gain of the sample instance. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_length.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_length.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -unsigned int al_get_sample_instance_length(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the length of the sample instance in sample values. │ │ │ │ │ This property may differ from the length of the instance\[cq]s sample │ │ │ │ │ data. │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_pan.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_pan.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the pan value of the sample instance. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_playing.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return true if the sample instance is in the playing state. │ │ │ │ │ This may be true even if the instance is not attached to anything. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_playmode.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_playmode.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -ALLEGRO_PLAYMODE al_get_sample_instance_playmode(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the playback mode of the sample instance. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_position.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_position.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -unsigned int al_get_sample_instance_position(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get the playback position of a sample instance. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_speed.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_speed.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_speed(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the relative playback speed of the sample instance. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_sample_instance_time.3alleg5.gz │ │ │ │ ├── al_get_sample_instance_time.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the length of the sample instance in seconds, assuming a playback │ │ │ │ │ speed of 1.0. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_get_sample_length.3alleg5.gz │ │ │ │ ├── al_get_sample_length.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ -unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the length of the sample in sample values. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_text_dimensions.3alleg5.gz │ │ │ │ ├── al_get_text_dimensions.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_get_text_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ char const *text, │ │ │ │ │ int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ -void al_get_text_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ - char const *text, │ │ │ │ │ - int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sometimes, the al_get_text_width(3alleg5) and │ │ │ │ │ al_get_font_line_height(3alleg5) functions are not enough for exact text │ │ │ │ │ placement, so this function returns some additional information. │ │ │ ├── ./usr/share/man/man3/al_get_text_width.3alleg5.gz │ │ │ │ ├── al_get_text_width.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_text_width(const ALLEGRO_FONT *f, const char *str) │ │ │ │ │ -int al_get_text_width(const ALLEGRO_FONT *f, const char *str) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Calculates the length of a string in a particular font, in pixels. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_ustr_dimensions.3alleg5.gz │ │ │ │ ├── al_get_ustr_dimensions.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_get_ustr_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ ALLEGRO_USTR const *ustr, │ │ │ │ │ int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ -void al_get_ustr_dimensions(const ALLEGRO_FONT *f, │ │ │ │ │ - ALLEGRO_USTR const *ustr, │ │ │ │ │ - int *bbx, int *bby, int *bbw, int *bbh) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_get_text_dimensions(3alleg5), except the text is passed as an │ │ │ │ │ ALLEGRO_USTR instead of a NUL-terminated char array. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_get_ustr_width.3alleg5.gz │ │ │ │ ├── al_get_ustr_width.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr) │ │ │ │ │ -int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_get_text_width(3alleg5) but expects an ALLEGRO_USTR. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_vertex_buffer_size.3alleg5.gz │ │ │ │ ├── al_get_vertex_buffer_size.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ -int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the size of the vertex buffer │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_video_audio_rate.3alleg5.gz │ │ │ │ ├── al_get_video_audio_rate.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ double al_get_video_audio_rate(ALLEGRO_VIDEO *video) │ │ │ │ │ -double al_get_video_audio_rate(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the audio rate of the video, in Hz. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_video_event_source.3alleg5.gz │ │ │ │ ├── al_get_video_event_source.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video) │ │ │ │ │ -ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Get an event source for the video. │ │ │ │ │ The possible events are described under │ │ │ │ │ ALLEGRO_VIDEO_EVENT_TYPE(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_get_video_fps.3alleg5.gz │ │ │ │ ├── al_get_video_fps.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ double al_get_video_fps(ALLEGRO_VIDEO *video) │ │ │ │ │ -double al_get_video_fps(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the speed of the video in frames per second. │ │ │ │ │ Often this will not be an integer value. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_get_video_frame.3alleg5.gz │ │ │ │ ├── al_get_video_frame.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video) │ │ │ │ │ -ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the current video frame. │ │ │ │ │ The bitmap is owned by the video so do not attempt to free it. │ │ │ │ │ The bitmap will stay valid until the next call to al_get_video_frame. │ │ │ ├── ./usr/share/man/man3/al_get_video_position.3alleg5.gz │ │ │ │ ├── al_get_video_position.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which) │ │ │ │ │ -double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the current position of the video stream in seconds since the │ │ │ │ │ beginning. │ │ │ │ │ The parameter is one of the ALLEGRO_VIDEO_POSITION_TYPE(3alleg5) │ │ │ ├── ./usr/share/man/man3/al_get_video_scaled_height.3alleg5.gz │ │ │ │ ├── al_get_video_scaled_height.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_video_scaled_height(ALLEGRO_VIDEO *video) │ │ │ │ │ -float al_get_video_scaled_height(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the height with which the video frame should be drawn. │ │ │ │ │ Videos often do not use square pixels, so this will may return a value │ │ │ │ │ larger than the height of the frame bitmap. │ │ │ ├── ./usr/share/man/man3/al_get_video_scaled_width.3alleg5.gz │ │ │ │ ├── al_get_video_scaled_width.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ float al_get_video_scaled_width(ALLEGRO_VIDEO *video) │ │ │ │ │ -float al_get_video_scaled_width(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns the width with which the video frame should be drawn. │ │ │ │ │ Videos often do not use square pixels, so this will may return a value │ │ │ │ │ larger than the width of the frame bitmap. │ │ │ ├── ./usr/share/man/man3/al_get_voice_channels.3alleg5.gz │ │ │ │ ├── al_get_voice_channels.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice) │ │ │ │ │ -ALLEGRO_CHANNEL_CONF al_get_voice_channels(const ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the channel configuration of the voice. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_voice_depth.3alleg5.gz │ │ │ │ ├── al_get_voice_depth.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice) │ │ │ │ │ -ALLEGRO_AUDIO_DEPTH al_get_voice_depth(const ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the audio depth of the voice. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_voice_frequency.3alleg5.gz │ │ │ │ ├── al_get_voice_frequency.3alleg5 │ │ │ │ │ @@ -22,13 +22,12 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice) │ │ │ │ │ -unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return the frequency of the voice (in Hz), e.g.\ 44100. │ │ │ ├── ./usr/share/man/man3/al_get_voice_playing.3alleg5.gz │ │ │ │ ├── al_get_voice_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_get_voice_playing(const ALLEGRO_VOICE *voice) │ │ │ │ │ -bool al_get_voice_playing(const ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Return true if the voice is currently playing. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_get_voice_position.3alleg5.gz │ │ │ │ ├── al_get_voice_position.3alleg5 │ │ │ │ │ @@ -21,15 +21,14 @@ │ │ │ │ │ al_get_voice_position - Allegro 5 API │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ -unsigned int al_get_vALLEGRO_TIMEOUT │ │ │ │ │ unsigned int al_get_voice_position(const ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ When the voice has a non-streaming object attached to it, e.g.\ a │ │ │ │ │ sample, returns the voice\[cq]s current sample position. │ │ │ ├── ./usr/share/man/man3/al_grab_font_from_bitmap.3alleg5.gz │ │ │ │ ├── al_grab_font_from_bitmap.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_grab_font_from_bitmap(ALLEGRO_BITMAP *bmp, │ │ │ │ │ int ranges_n, const int ranges[]) │ │ │ │ │ -ALLEGRO_FONT *al_grab_font_from_bitmap(ALLEGRO_BITMAP *bmp, │ │ │ │ │ - int ranges_n, const int ranges[]) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Creates a new font from an Allegro bitmap. │ │ │ │ │ You can delete the bitmap after the function returns as the font will │ │ │ │ │ contain a copy for itself. │ │ │ ├── ./usr/share/man/man3/al_identify_sample.3alleg5.gz │ │ │ │ ├── al_identify_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ char const *al_identify_sample(char const *filename) │ │ │ │ │ -char const *al_identify_sample(char const *filename) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This works exactly as al_identify_sample_f(3alleg5) but you specify the │ │ │ │ │ filename of the file for which to detect the type and not a file handle. │ │ │ │ │ The extension, if any, of the passed filename is not taken into account │ │ │ ├── ./usr/share/man/man3/al_identify_sample_f.3alleg5.gz │ │ │ │ ├── al_identify_sample_f.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ char const *al_identify_sample_f(ALLEGRO_FILE *fp) │ │ │ │ │ -char const *al_identify_sample_f(ALLEGRO_FILE *fp) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Tries to guess the audio file type of the open ALLEGRO_FILE by reading │ │ │ │ │ the first few bytes. │ │ │ │ │ By default Allegro cannot recognize any file types, but calling │ │ │ ├── ./usr/share/man/man3/al_identify_video.3alleg5.gz │ │ │ │ ├── al_identify_video.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ char const *al_identify_video(char const *filename) │ │ │ │ │ -char const *al_identify_video(char const *filename) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This works exactly as al_identify_video_f(3alleg5) but you specify the │ │ │ │ │ filename of the file for which to detect the type and not a file handle. │ │ │ │ │ The extension, if any, of the passed filename is not taken into account │ │ │ ├── ./usr/share/man/man3/al_identify_video_f.3alleg5.gz │ │ │ │ ├── al_identify_video_f.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ char const *al_identify_video_f(ALLEGRO_FILE *fp) │ │ │ │ │ -char const *al_identify_video_f(ALLEGRO_FILE *fp) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Tries to guess the video file type of the open ALLEGRO_FILE by reading │ │ │ │ │ the first few bytes. │ │ │ │ │ By default Allegro cannot recognize any file types, but calling │ │ │ ├── ./usr/share/man/man3/al_init.3alleg5.gz │ │ │ │ ├── al_init.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit)) │ │ │ │ │ -#define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_install_system(3alleg5), but automatically passes in the version │ │ │ │ │ and uses the atexit function visible in the current binary. │ │ │ │ │ .RS │ │ │ ├── ./usr/share/man/man3/al_init_acodec_addon.3alleg5.gz │ │ │ │ ├── al_init_acodec_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_acodec_addon(void) │ │ │ │ │ -bool al_init_acodec_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function registers all the known audio file type handlers for │ │ │ │ │ al_load_sample(3alleg5), al_save_sample(3alleg5), │ │ │ │ │ al_load_audio_stream(3alleg5), etc. │ │ │ ├── ./usr/share/man/man3/al_init_font_addon.3alleg5.gz │ │ │ │ ├── al_init_font_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_font_addon(void) │ │ │ │ │ -bool al_init_font_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Initialise the font addon. │ │ │ │ │ .PP │ │ │ │ │ Note that if you intend to load bitmap fonts, you will need to │ │ │ ├── ./usr/share/man/man3/al_init_image_addon.3alleg5.gz │ │ │ │ ├── al_init_image_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_image_addon(void) │ │ │ │ │ -bool al_init_image_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Initializes the image addon. │ │ │ │ │ This registers bitmap format handlers for al_load_bitmap(3alleg5), │ │ │ │ │ al_load_bitmap_f(3alleg5), al_save_bitmap(3alleg5), │ │ │ ├── ./usr/share/man/man3/al_init_native_dialog_addon.3alleg5.gz │ │ │ │ ├── al_init_native_dialog_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_native_dialog_addon(void) │ │ │ │ │ -bool al_init_native_dialog_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Initialise the native dialog addon. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on error. │ │ │ ├── ./usr/share/man/man3/al_init_primitives_addon.3alleg5.gz │ │ │ │ ├── al_init_primitives_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_primitives_addon(void) │ │ │ │ │ -bool al_init_primitives_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Initializes the primitives addon. │ │ │ │ │ .PP │ │ │ │ │ \f[I]Returns:\f[R] True on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_init_ttf_addon.3alleg5.gz │ │ │ │ ├── al_init_ttf_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_ttf_addon(void) │ │ │ │ │ -bool al_init_ttf_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Call this after al_init_font_addon(3alleg5) to make │ │ │ │ │ al_load_font(3alleg5) recognize \[lq].ttf\[rq] and other formats │ │ │ │ │ supported by al_load_ttf_font(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_init_video_addon.3alleg5.gz │ │ │ │ ├── al_init_video_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_init_video_addon(void) │ │ │ │ │ -bool al_init_video_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Initializes the video addon. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_insert_menu_item.3alleg5.gz │ │ │ │ ├── al_insert_menu_item.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title, │ │ │ │ │ uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ -int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title, │ │ │ │ │ - uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Inserts a menu item at the spot specified. │ │ │ │ │ See the introductory text for a detailed explanation of how the │ │ │ │ │ \f[V]pos\f[R] parameter is interpreted. │ │ │ ├── ./usr/share/man/man3/al_install_audio.3alleg5.gz │ │ │ │ ├── al_install_audio.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_install_audio(void) │ │ │ │ │ -bool al_install_audio(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Install the audio subsystem. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_is_acodec_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_acodec_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_acodec_addon_initialized(void) │ │ │ │ │ -bool al_is_acodec_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the acodec addon is initialized, otherwise returns │ │ │ │ │ false. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_is_audio_installed.3alleg5.gz │ │ │ │ ├── al_is_audio_installed.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_audio_installed(void) │ │ │ │ │ -bool al_is_audio_installed(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if al_install_audio(3alleg5) was called previously and │ │ │ │ │ returned successfully. │ │ │ ├── ./usr/share/man/man3/al_is_audio_recorder_recording.3alleg5.gz │ │ │ │ ├── al_is_audio_recorder_recording.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -bool al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the audio recorder is currently capturing data and │ │ │ │ │ generating events. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_is_font_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_font_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_font_addon_initialized(void) │ │ │ │ │ -bool al_is_font_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the font addon is initialized, otherwise returns false. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_is_image_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_image_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_image_addon_initialized(void) │ │ │ │ │ -bool al_is_image_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the image addon is initialized, otherwise returns false. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_is_native_dialog_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_native_dialog_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_native_dialog_addon_initialized(void) │ │ │ │ │ -bool al_is_native_dialog_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the native dialog addon is initialized, otherwise │ │ │ │ │ returns false. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_is_primitives_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_primitives_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_primitives_addon_initialized(void) │ │ │ │ │ -bool al_is_primitives_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the primitives addon is initialized, otherwise returns │ │ │ │ │ false. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_is_ttf_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_ttf_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_ttf_addon_initialized(void) │ │ │ │ │ -bool al_is_ttf_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the TTF addon is initialized, otherwise returns false. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_is_video_addon_initialized.3alleg5.gz │ │ │ │ ├── al_is_video_addon_initialized.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_video_addon_initialized(void) │ │ │ │ │ -bool al_is_video_addon_initialized(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the video addon is initialized, otherwise returns false. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_is_video_playing.3alleg5.gz │ │ │ │ ├── al_is_video_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_is_video_playing(ALLEGRO_VIDEO *video) │ │ │ │ │ -bool al_is_video_playing(ALLEGRO_VIDEO *video) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns true if the video is currently playing. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_load_audio_stream.3alleg5.gz │ │ │ │ ├── al_load_audio_stream.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename, │ │ │ │ │ size_t buffer_count, unsigned int samples) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename, │ │ │ │ │ - size_t buffer_count, unsigned int samples) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads an audio file from disk as it is needed. │ │ │ │ │ .PP │ │ │ │ │ Unlike regular streams, the one returned by this function need not be │ │ │ ├── ./usr/share/man/man3/al_load_audio_stream_f.3alleg5.gz │ │ │ │ ├── al_load_audio_stream_f.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_load_audio_stream_f(ALLEGRO_FILE* fp, const char *ident, │ │ │ │ │ size_t buffer_count, unsigned int samples) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_load_audio_stream_f(ALLEGRO_FILE* fp, const char *ident, │ │ │ │ │ - size_t buffer_count, unsigned int samples) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads an audio file from ALLEGRO_FILE(3alleg5) stream as it is needed. │ │ │ │ │ .PP │ │ │ │ │ Unlike regular streams, the one returned by this function need not be │ │ │ ├── ./usr/share/man/man3/al_load_bitmap_font.3alleg5.gz │ │ │ │ ├── al_load_bitmap_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_bitmap_font(const char *fname) │ │ │ │ │ -ALLEGRO_FONT *al_load_bitmap_font(const char *fname) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Load a bitmap font from a file. │ │ │ │ │ This is done by first calling al_load_bitmap_flags(3alleg5) and then │ │ │ │ │ al_grab_font_from_bitmap(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_load_bitmap_font_flags.3alleg5.gz │ │ │ │ ├── al_load_bitmap_font_flags.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_bitmap_font_flags(const char *fname, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_load_bitmap_font(3alleg5) but additionally takes a flags │ │ │ │ │ parameter which is a bitfield containing a combination of the following: │ │ │ │ │ .TP │ │ │ ├── ./usr/share/man/man3/al_load_font.3alleg5.gz │ │ │ │ ├── al_load_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads a font from disk. │ │ │ │ │ This will use al_load_bitmap_font_flags(3alleg5) if you pass the name of │ │ │ │ │ a known bitmap format, or else al_load_ttf_font(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_load_sample.3alleg5.gz │ │ │ │ ├── al_load_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_SAMPLE *al_load_sample(const char *filename) │ │ │ │ │ -ALLEGRO_SAMPLE *al_load_sample(const char *filename) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads a few different audio file formats based on their extension. │ │ │ │ │ .PP │ │ │ │ │ Note that this stores the entire file in memory at once, which may be │ │ │ ├── ./usr/share/man/man3/al_load_sample_f.3alleg5.gz │ │ │ │ ├── al_load_sample_f.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident) │ │ │ │ │ -ALLEGRO_SAMPLE *al_load_sample_f(ALLEGRO_FILE* fp, const char *ident) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads an audio file from an ALLEGRO_FILE(3alleg5) stream into an │ │ │ │ │ ALLEGRO_SAMPLE(3alleg5). │ │ │ │ │ The file type is determined by the passed `ident' parameter, which is a │ │ │ ├── ./usr/share/man/man3/al_load_ttf_font.3alleg5.gz │ │ │ │ ├── al_load_ttf_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads a TrueType font from a file using the FreeType library. │ │ │ │ │ Quoting from the FreeType FAQ this means support for many different font │ │ │ │ │ formats: │ │ │ ├── ./usr/share/man/man3/al_load_ttf_font_f.3alleg5.gz │ │ │ │ ├── al_load_ttf_font_f.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file, │ │ │ │ │ char const *filename, int size, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file, │ │ │ │ │ - char const *filename, int size, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_load_ttf_font(3alleg5), but the font is read from the file │ │ │ │ │ handle. │ │ │ │ │ The filename is only used to find possible additional files next to a │ │ │ ├── ./usr/share/man/man3/al_load_ttf_font_stretch.3alleg5.gz │ │ │ │ ├── al_load_ttf_font_stretch.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h, │ │ │ │ │ int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_stretch(char const *filename, int w, int h, │ │ │ │ │ - int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_load_ttf_font(3alleg5), except it takes separate width and │ │ │ │ │ height parameters instead of a single size parameter. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_load_ttf_font_stretch_f.3alleg5.gz │ │ │ │ ├── al_load_ttf_font_stretch_f.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_stretch_f(ALLEGRO_FILE *file, │ │ │ │ │ char const *filename, int w, int h, int flags) │ │ │ │ │ -ALLEGRO_FONT *al_load_ttf_font_stretch_f(ALLEGRO_FILE *file, │ │ │ │ │ - char const *filename, int w, int h, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_load_ttf_font_stretch(3alleg5), but the font is read from the │ │ │ │ │ file handle. │ │ │ │ │ The filename is only used to find possible additional files next to a │ │ │ ├── ./usr/share/man/man3/al_lock_index_buffer.3alleg5.gz │ │ │ │ ├── al_lock_index_buffer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset, │ │ │ │ │ int length, int flags) │ │ │ │ │ -void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset, │ │ │ │ │ - int length, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Locks a index buffer so you can access its data. │ │ │ │ │ Will return NULL if the parameters are invalid, if reading is requested │ │ │ │ │ from a write only buffer and if the buffer is already locked. │ │ │ ├── ./usr/share/man/man3/al_lock_sample_id.3alleg5.gz │ │ │ │ ├── al_lock_sample_id.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ -ALLEGRO_SAMPLE_INSTANCE* al_lock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Locks a ALLEGRO_SAMPLE_ID(3alleg5), returning the underlying │ │ │ │ │ ALLEGRO_SAMPLE_INSTANCE(3alleg5). │ │ │ │ │ This allows you to adjust the various properties of the instance (such │ │ │ ├── ./usr/share/man/man3/al_lock_vertex_buffer.3alleg5.gz │ │ │ │ ├── al_lock_vertex_buffer.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset, │ │ │ │ │ int length, int flags) │ │ │ │ │ -void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset, │ │ │ │ │ - int length, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Locks a vertex buffer so you can access its data. │ │ │ │ │ Will return NULL if the parameters are invalid, if reading is requested │ │ │ │ │ from a write only buffer, or if the buffer is already locked. │ │ │ ├── ./usr/share/man/man3/al_malloc.3alleg5.gz │ │ │ │ ├── al_malloc.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define al_malloc(n) \[rs] │ │ │ │ │ (al_malloc_with_context((n), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_malloc(n) \[rs] │ │ │ │ │ - (al_malloc_with_context((n), __LINE__, __FILE__, __func__)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like malloc() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_open_memfile.3alleg5.gz │ │ │ │ ├── al_open_memfile.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode) │ │ │ │ │ -ALLEGRO_FILE *al_open_memfile(void *mem, int64_t size, const char *mode) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Returns a file handle to the block of memory. │ │ │ │ │ All read and write operations act upon the memory directly, so it must │ │ │ │ │ not be freed while the file remains open. │ │ │ ├── ./usr/share/man/man3/al_open_native_text_log.3alleg5.gz │ │ │ │ ├── al_open_native_text_log.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags) │ │ │ │ │ -ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Opens a window to which you can append log messages with │ │ │ │ │ al_append_native_text_log(3alleg5). │ │ │ │ │ This can be useful for debugging if you don\[cq]t want to depend on a │ │ │ ├── ./usr/share/man/man3/al_open_video.3alleg5.gz │ │ │ │ ├── al_open_video.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_VIDEO *al_open_video(char const *filename) │ │ │ │ │ -ALLEGRO_VIDEO *al_open_video(char const *filename) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Reads a video file. │ │ │ │ │ This does not start streaming yet but reads the meta info so you can │ │ │ │ │ query e.g.\ the size or audio rate. │ │ │ ├── ./usr/share/man/man3/al_play_audio_stream.3alleg5.gz │ │ │ │ ├── al_play_audio_stream.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_play_audio_stream(const char *filename) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads and plays an audio file from disk as it is needed. │ │ │ │ │ This API can only play one audio stream at a time. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_play_audio_stream_f.3alleg5.gz │ │ │ │ ├── al_play_audio_stream_f.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char *ident) │ │ │ │ │ -ALLEGRO_AUDIO_STREAM *al_play_audio_stream_f(ALLEGRO_FILE *fp, const char *ident) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Loads and plays an audio file from ALLEGRO_FILE(3alleg5) stream as it is │ │ │ │ │ needed. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_play_sample.3alleg5.gz │ │ │ │ ├── al_play_sample.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed, │ │ │ │ │ ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id) │ │ │ │ │ -bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed, │ │ │ │ │ - ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Plays a sample on one of the sample instances created by │ │ │ │ │ al_reserve_samples(3alleg5). │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_play_sample_instance.3alleg5.gz │ │ │ │ ├── al_play_sample_instance.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Play the sample instance. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ .SH SEE ALSO │ │ │ ├── ./usr/share/man/man3/al_popup_menu.3alleg5.gz │ │ │ │ ├── al_popup_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display) │ │ │ │ │ -bool al_popup_menu(ALLEGRO_MENU *popup, ALLEGRO_DISPLAY *display) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Displays a context menu next to the mouse cursor. │ │ │ │ │ The menu must have been created with al_create_popup_menu(3alleg5). │ │ │ │ │ It generates events just like a regular display menu does. │ │ │ ├── ./usr/share/man/man3/al_realloc.3alleg5.gz │ │ │ │ ├── al_realloc.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ #define al_realloc(p, n) \[rs] │ │ │ │ │ (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ -#define al_realloc(p, n) \[rs] │ │ │ │ │ - (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like realloc() in the C standard library, but the implementation may be │ │ │ │ │ overridden. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_register_audio_stream_loader.3alleg5.gz │ │ │ │ ├── al_register_audio_stream_loader.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_audio_stream_loader(const char *ext, │ │ │ │ │ ALLEGRO_AUDIO_STREAM *(*stream_loader)(const char *filename, │ │ │ │ │ size_t buffer_count, unsigned int samples)) │ │ │ │ │ -bool al_register_audio_stream_loader(const char *ext, │ │ │ │ │ - ALLEGRO_AUDIO_STREAM *(*stream_loader)(const char *filename, │ │ │ │ │ - size_t buffer_count, unsigned int samples)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register a handler for al_load_audio_stream(3alleg5) and │ │ │ │ │ al_play_audio_stream(3alleg5). │ │ │ │ │ The given function will be used to open streams from files with the │ │ │ ├── ./usr/share/man/man3/al_register_audio_stream_loader_f.3alleg5.gz │ │ │ │ ├── al_register_audio_stream_loader_f.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_audio_stream_loader_f(const char *ext, │ │ │ │ │ ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp, │ │ │ │ │ size_t buffer_count, unsigned int samples)) │ │ │ │ │ -bool al_register_audio_stream_loader_f(const char *ext, │ │ │ │ │ - ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp, │ │ │ │ │ - size_t buffer_count, unsigned int samples)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register a handler for al_load_audio_stream_f(3alleg5) and │ │ │ │ │ al_play_audio_stream_f(3alleg5). │ │ │ │ │ The given function will be used to open streams from files with the │ │ │ ├── ./usr/share/man/man3/al_register_font_loader.3alleg5.gz │ │ │ │ ├── al_register_font_loader.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_font_loader(char const *extension, │ │ │ │ │ ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags)) │ │ │ │ │ -bool al_register_font_loader(char const *extension, │ │ │ │ │ - ALLEGRO_FONT *(*load_font)(char const *filename, int size, int flags)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Informs Allegro of a new font file type, telling it how to load files of │ │ │ │ │ this format. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_register_sample_identifier.3alleg5.gz │ │ │ │ ├── al_register_sample_identifier.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_sample_identifier(const char *ext, │ │ │ │ │ bool (*identifier)(ALLEGRO_FILE* fp)) │ │ │ │ │ -bool al_register_sample_identifier(const char *ext, │ │ │ │ │ - bool (*identifier)(ALLEGRO_FILE* fp)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register an identify handler for al_identify_sample(3alleg5). │ │ │ │ │ The given function will be used to detect files for the given extension. │ │ │ │ │ It will be called with a single argument of type ALLEGRO_FILE(3alleg5) │ │ │ ├── ./usr/share/man/man3/al_register_sample_loader.3alleg5.gz │ │ │ │ ├── al_register_sample_loader.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_sample_loader(const char *ext, │ │ │ │ │ ALLEGRO_SAMPLE *(*loader)(const char *filename)) │ │ │ │ │ -bool al_register_sample_loader(const char *ext, │ │ │ │ │ - ALLEGRO_SAMPLE *(*loader)(const char *filename)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register a handler for al_load_sample(3alleg5). │ │ │ │ │ The given function will be used to handle the loading of sample files │ │ │ │ │ with the given extension. │ │ │ ├── ./usr/share/man/man3/al_register_sample_loader_f.3alleg5.gz │ │ │ │ ├── al_register_sample_loader_f.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_sample_loader_f(const char *ext, │ │ │ │ │ ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp)) │ │ │ │ │ -bool al_register_sample_loader_f(const char *ext, │ │ │ │ │ - ALLEGRO_SAMPLE *(*loader)(ALLEGRO_FILE* fp)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register a handler for al_load_sample_f(3alleg5). │ │ │ │ │ The given function will be used to handle the loading of sample files │ │ │ │ │ with the given extension. │ │ │ ├── ./usr/share/man/man3/al_register_sample_saver.3alleg5.gz │ │ │ │ ├── al_register_sample_saver.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_sample_saver(const char *ext, │ │ │ │ │ bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ -bool al_register_sample_saver(const char *ext, │ │ │ │ │ - bool (*saver)(const char *filename, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register a handler for al_save_sample(3alleg5). │ │ │ │ │ The given function will be used to handle the saving of sample files │ │ │ │ │ with the given extension. │ │ │ ├── ./usr/share/man/man3/al_register_sample_saver_f.3alleg5.gz │ │ │ │ ├── al_register_sample_saver_f.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_register_sample_saver_f(const char *ext, │ │ │ │ │ bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ -bool al_register_sample_saver_f(const char *ext, │ │ │ │ │ - bool (*saver)(ALLEGRO_FILE* fp, ALLEGRO_SAMPLE *spl)) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Register a handler for al_save_sample_f(3alleg5). │ │ │ │ │ The given function will be used to handle the saving of sample files │ │ │ │ │ with the given extension. │ │ │ ├── ./usr/share/man/man3/al_remove_display_menu.3alleg5.gz │ │ │ │ ├── al_remove_display_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ -ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Detaches the menu associated with the display and returns it. │ │ │ │ │ The menu can then be used on a different display. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_remove_menu_item.3alleg5.gz │ │ │ │ ├── al_remove_menu_item.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ -bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Removes the specified item from the menu and destroys it. │ │ │ │ │ If the item contains a sub-menu, it too is destroyed. │ │ │ │ │ Any references to it are invalidated. │ │ │ ├── ./usr/share/man/man3/al_reserve_samples.3alleg5.gz │ │ │ │ ├── al_reserve_samples.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_reserve_samples(int reserve_samples) │ │ │ │ │ -bool al_reserve_samples(int reserve_samples) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Reserves a number of sample instances, attaching them to the default │ │ │ │ │ mixer. │ │ │ │ │ If no default mixer is set when this function is called, then it will │ │ │ ├── ./usr/share/man/man3/al_restore_default_mixer.3alleg5.gz │ │ │ │ ├── al_restore_default_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_restore_default_mixer(void) │ │ │ │ │ -bool al_restore_default_mixer(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Restores Allegro\[cq]s default mixer and attaches it to the default │ │ │ │ │ voice. │ │ │ │ │ If the default mixer hasn\[cq]t been created before, it will be created. │ │ │ ├── ./usr/share/man/man3/al_rewind_audio_stream.3alleg5.gz │ │ │ │ ├── al_rewind_audio_stream.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ -bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the streaming file playing position to the beginning. │ │ │ │ │ Returns true on success. │ │ │ │ │ Currently this can only be called on streams created with │ │ │ ├── ./usr/share/man/man3/al_save_sample.3alleg5.gz │ │ │ │ ├── al_save_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl) │ │ │ │ │ -bool al_save_sample(const char *filename, ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Writes a sample into a file. │ │ │ │ │ Currently, wav is the only supported format, and the extension must be │ │ │ │ │ \[lq].wav\[rq]. │ │ │ ├── ./usr/share/man/man3/al_save_sample_f.3alleg5.gz │ │ │ │ ├── al_save_sample_f.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl) │ │ │ │ │ -bool al_save_sample_f(ALLEGRO_FILE *fp, const char *ident, ALLEGRO_SAMPLE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Writes a sample into a ALLEGRO_FILE(3alleg5) filestream. │ │ │ │ │ Currently, wav is the only supported format, and the extension must be │ │ │ │ │ \[lq].wav\[rq]. │ │ │ ├── ./usr/share/man/man3/al_seek_audio_stream_secs.3alleg5.gz │ │ │ │ ├── al_seek_audio_stream_secs.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time) │ │ │ │ │ -bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the streaming file playing position to time. │ │ │ │ │ Returns true on success. │ │ │ │ │ Currently this can only be called on streams created with │ │ │ ├── ./usr/share/man/man3/al_seek_video.3alleg5.gz │ │ │ │ ├── al_seek_video.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds) │ │ │ │ │ -bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Seek to a different position in the video. │ │ │ │ │ Currently only seeking to the beginning of the video is supported. │ │ │ │ │ .SH SINCE │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_fragment.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_fragment.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val) │ │ │ │ │ -bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function needs to be called for every successful call of │ │ │ │ │ al_get_audio_stream_fragment(3alleg5) to indicate that the buffer │ │ │ │ │ (pointed to by \f[V]val\f[R]) is filled with new data. │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_gain.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_gain.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ -bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the playback gain of the stream. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_loop_secs.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_loop_secs.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ double start, double end) │ │ │ │ │ -bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ - double start, double end) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sets the loop points for the stream in seconds. │ │ │ │ │ Currently this can only be called on streams created with │ │ │ │ │ al_load_audio_stream(3alleg5), al_play_audio_stream(3alleg5), │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_pan.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_pan.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ -bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the pan value on an audio stream. │ │ │ │ │ A value of -1.0 means to play the stream only through the left speaker; │ │ │ │ │ +1.0 means only through the right speaker; 0.0 means the sample is │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_playing.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val) │ │ │ │ │ -bool al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM *stream, bool val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Change whether the stream is playing. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_playmode.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_playmode.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ ALLEGRO_PLAYMODE val) │ │ │ │ │ -bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream, │ │ │ │ │ - ALLEGRO_PLAYMODE val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the playback mode of the stream. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_audio_stream_speed.3alleg5.gz │ │ │ │ ├── al_set_audio_stream_speed.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ -bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the relative playback speed of the stream. │ │ │ │ │ 1.0 means normal speed. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_set_default_mixer.3alleg5.gz │ │ │ │ ├── al_set_default_mixer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_default_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ -bool al_set_default_mixer(ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sets the default mixer. │ │ │ │ │ All samples started with al_play_sample(3alleg5) will be stopped and all │ │ │ │ │ sample instances returned by al_lock_sample_id(3alleg5) will be │ │ │ ├── ./usr/share/man/man3/al_set_default_voice.3alleg5.gz │ │ │ │ ├── al_set_default_voice.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_default_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_set_default_voice(ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ You can call this before calling al_restore_default_mixer to provide the │ │ │ │ │ voice which should be used. │ │ │ │ │ Any previous voice will be destroyed. │ │ │ ├── ./usr/share/man/man3/al_set_display_menu.3alleg5.gz │ │ │ │ ├── al_set_display_menu.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu) │ │ │ │ │ -bool al_set_display_menu(ALLEGRO_DISPLAY *display, ALLEGRO_MENU *menu) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Associates the \f[V]menu\f[R] with the \f[V]display\f[R] and shows it. │ │ │ │ │ If there was a previous menu associated with the display, it will be │ │ │ │ │ destroyed. │ │ │ ├── ./usr/share/man/man3/al_set_fallback_font.3alleg5.gz │ │ │ │ ├── al_set_fallback_font.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback) │ │ │ │ │ -void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sets a font which is used instead if a character is not present. │ │ │ │ │ Can be chained, but make sure there is no loop as that would crash the │ │ │ │ │ application! │ │ │ ├── ./usr/share/man/man3/al_set_menu_item_caption.3alleg5.gz │ │ │ │ ├── al_set_menu_item_caption.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption) │ │ │ │ │ -void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Updates the menu item caption with the new \f[V]caption\f[R]. │ │ │ │ │ This will invalidate any previous calls to │ │ │ │ │ al_get_menu_item_caption(3alleg5). │ │ │ ├── ./usr/share/man/man3/al_set_menu_item_flags.3alleg5.gz │ │ │ │ ├── al_set_menu_item_flags.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ -void al_set_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Updates the menu item\[cq]s flags. │ │ │ │ │ See al_insert_menu_item(3alleg5) for a description of the available │ │ │ │ │ flags. │ │ │ ├── ./usr/share/man/man3/al_set_menu_item_icon.3alleg5.gz │ │ │ │ ├── al_set_menu_item_icon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon) │ │ │ │ │ -void al_set_menu_item_icon(ALLEGRO_MENU *menu, int pos, ALLEGRO_BITMAP *icon) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sets the icon for the specified menu item. │ │ │ │ │ The menu assumes ownership of the \f[V]ALLEGRO_BITMAP\f[R] and may │ │ │ │ │ invalidate the pointer, so you must clone it if you wish to continue │ │ │ ├── ./usr/share/man/man3/al_set_mixer_frequency.3alleg5.gz │ │ │ │ ├── al_set_mixer_frequency.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val) │ │ │ │ │ -bool al_set_mixer_frequency(ALLEGRO_MIXER *mixer, unsigned int val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the mixer frequency (in Hz). │ │ │ │ │ This will only work if the mixer is not attached to anything. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_set_mixer_gain.3alleg5.gz │ │ │ │ ├── al_set_mixer_gain.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain) │ │ │ │ │ -bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the mixer gain (amplification factor). │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_mixer_playing.3alleg5.gz │ │ │ │ ├── al_set_mixer_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val) │ │ │ │ │ -bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Change whether the mixer is playing. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_mixer_postprocess_callback.3alleg5.gz │ │ │ │ ├── al_set_mixer_postprocess_callback.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer, │ │ │ │ │ void (*pp_callback)(void *buf, unsigned int samples, void *data), │ │ │ │ │ void *pp_callback_userdata) │ │ │ │ │ -bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer, │ │ │ │ │ - void (*pp_callback)(void *buf, unsigned int samples, void *data), │ │ │ │ │ - void *pp_callback_userdata) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Sets a post-processing filter function that\[cq]s called after the │ │ │ │ │ attached streams have been mixed. │ │ │ │ │ The buffer\[cq]s format will be whatever the mixer was created with. │ │ │ ├── ./usr/share/man/man3/al_set_mixer_quality.3alleg5.gz │ │ │ │ ├── al_set_mixer_quality.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY new_quality) │ │ │ │ │ -bool al_set_mixer_quality(ALLEGRO_MIXER *mixer, ALLEGRO_MIXER_QUALITY new_quality) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the mixer quality. │ │ │ │ │ This can only succeed if the mixer does not have anything attached to │ │ │ │ │ it. │ │ │ ├── ./usr/share/man/man3/al_set_physfs_file_interface.3alleg5.gz │ │ │ │ ├── al_set_physfs_file_interface.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_physfs_file_interface(void) │ │ │ │ │ -void al_set_physfs_file_interface(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ This function sets \f[I]both\f[R] the ALLEGRO_FILE_INTERFACE(3alleg5) │ │ │ │ │ and ALLEGRO_FS_INTERFACE(3alleg5) for the calling thread. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_set_sample.3alleg5.gz │ │ │ │ ├── al_set_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data) │ │ │ │ │ -bool al_set_sample(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_SAMPLE *data) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Change the sample data that a sample instance plays. │ │ │ │ │ This can be quite an involved process. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_channel_matrix.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_channel_matrix.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const float *matrix) │ │ │ │ │ -bool al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE *spl, const float *matrix) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the matrix used to mix the channels coming from this instance into │ │ │ │ │ the mixer it is attached to. │ │ │ │ │ Normally Allegro derives the values of this matrix from the gain and pan │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_gain.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_gain.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ -bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the playback gain of the sample instance. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_length.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_length.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ unsigned int val) │ │ │ │ │ -bool al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - unsigned int val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the length of the sample instance in sample values. │ │ │ │ │ This can be used to play only parts of the underlying sample. │ │ │ │ │ Be careful not to exceed the actual length of the sample data, though. │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_pan.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_pan.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ -bool al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the pan value on a sample instance. │ │ │ │ │ A value of -1.0 means to play the sample only through the left speaker; │ │ │ │ │ +1.0 means only through the right speaker; 0.0 means the sample is │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_playing.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val) │ │ │ │ │ -bool al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE *spl, bool val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Change whether the sample instance is playing. │ │ │ │ │ .PP │ │ │ │ │ The instance does not need to be attached to anything (since: 5.1.8). │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_playmode.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_playmode.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ ALLEGRO_PLAYMODE val) │ │ │ │ │ -bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - ALLEGRO_PLAYMODE val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the playback mode of the sample instance. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_position.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_position.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ unsigned int val) │ │ │ │ │ -bool al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE *spl, │ │ │ │ │ - unsigned int val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the playback position of a sample instance. │ │ │ │ │ .PP │ │ │ │ │ Returns true on success, false on failure. │ │ │ ├── ./usr/share/man/man3/al_set_sample_instance_speed.3alleg5.gz │ │ │ │ ├── al_set_sample_instance_speed.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ -bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the relative playback speed of the sample instance. │ │ │ │ │ 1.0 means normal speed. │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_set_video_playing.3alleg5.gz │ │ │ │ ├── al_set_video_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_set_video_playing(ALLEGRO_VIDEO *video, bool play) │ │ │ │ │ -void al_set_video_playing(ALLEGRO_VIDEO *video, bool play) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Paused or resumes playback. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_set_voice_playing.3alleg5.gz │ │ │ │ ├── al_set_voice_playing.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val) │ │ │ │ │ -bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Change whether a voice is playing or not. │ │ │ │ │ This can only work if the voice has a non-streaming object attached to │ │ │ │ │ it, e.g.\ a sample instance. │ │ │ ├── ./usr/share/man/man3/al_set_voice_position.3alleg5.gz │ │ │ │ ├── al_set_voice_position.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val) │ │ │ │ │ -bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Set the voice position. │ │ │ │ │ This can only work if the voice has a non-streaming object attached to │ │ │ │ │ it, e.g.\ a sample instance. │ │ │ ├── ./usr/share/man/man3/al_show_native_file_dialog.3alleg5.gz │ │ │ │ ├── al_show_native_file_dialog.3alleg5 │ │ │ │ │ @@ -23,16 +23,14 @@ │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display, │ │ │ │ │ ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ -bool al_show_native_file_dialog(ALLEGRO_DISPLAY *display, │ │ │ │ │ - ALLEGRO_FILECHOOSER *dialog) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Show the dialog window. │ │ │ │ │ The display may be NULL, otherwise the given display is treated as the │ │ │ │ │ parent if possible. │ │ │ ├── ./usr/share/man/man3/al_show_native_message_box.3alleg5.gz │ │ │ │ ├── al_show_native_message_box.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_show_native_message_box(ALLEGRO_DISPLAY *display, │ │ │ │ │ char const *title, char const *heading, char const *text, │ │ │ │ │ char const *buttons, int flags) │ │ │ │ │ -int al_show_native_message_box(ALLEGRO_DISPLAY *display, │ │ │ │ │ - char const *title, char const *heading, char const *text, │ │ │ │ │ - char const *buttons, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Show a native GUI message box. │ │ │ │ │ This can be used for example to display an error message if creation of │ │ │ │ │ an initial display fails. │ │ │ ├── ./usr/share/man/man3/al_shutdown_font_addon.3alleg5.gz │ │ │ │ ├── al_shutdown_font_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_shutdown_font_addon(void) │ │ │ │ │ -void al_shutdown_font_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Shut down the font addon. │ │ │ │ │ This is done automatically at program exit, but can be called any time │ │ │ │ │ the user wishes as well. │ │ │ ├── ./usr/share/man/man3/al_shutdown_image_addon.3alleg5.gz │ │ │ │ ├── al_shutdown_image_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_shutdown_image_addon(void) │ │ │ │ │ -void al_shutdown_image_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Shut down the image addon. │ │ │ │ │ This is done automatically at program exit, but can be called any time │ │ │ │ │ the user wishes as well. │ │ │ ├── ./usr/share/man/man3/al_shutdown_native_dialog_addon.3alleg5.gz │ │ │ │ ├── al_shutdown_native_dialog_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_shutdown_native_dialog_addon(void) │ │ │ │ │ -void al_shutdown_native_dialog_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Shut down the native dialog addon. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_shutdown_primitives_addon.3alleg5.gz │ │ │ │ ├── al_shutdown_primitives_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_shutdown_primitives_addon(void) │ │ │ │ │ -void al_shutdown_primitives_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Shut down the primitives addon. │ │ │ │ │ This is done automatically at program exit, but can be called any time │ │ │ │ │ the user wishes as well. │ │ │ ├── ./usr/share/man/man3/al_shutdown_ttf_addon.3alleg5.gz │ │ │ │ ├── al_shutdown_ttf_addon.3alleg5 │ │ │ │ │ @@ -22,14 +22,13 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_shutdown_ttf_addon(void) │ │ │ │ │ -void al_shutdown_ttf_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Unloads the ttf addon again. │ │ │ │ │ You normally don\[cq]t need to call this. │ │ │ ├── ./usr/share/man/man3/al_shutdown_video_addon.3alleg5.gz │ │ │ │ ├── al_shutdown_video_addon.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_shutdown_video_addon(void) │ │ │ │ │ -void al_shutdown_video_addon(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Shut down the video addon. │ │ │ │ │ This is done automatically at program exit, but can be called any time │ │ │ │ │ the user wishes as well. │ │ │ ├── ./usr/share/man/man3/al_start_audio_recorder.3alleg5.gz │ │ │ │ ├── al_start_audio_recorder.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Begin recording into the fragment buffer. │ │ │ │ │ Once a complete fragment has been captured (as specified in │ │ │ │ │ al_create_audio_recorder(3alleg5)), an │ │ │ ├── ./usr/share/man/man3/al_start_video.3alleg5.gz │ │ │ │ ├── al_start_video.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer) │ │ │ │ │ -void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Starts streaming the video from the beginning. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_start_video_with_voice.3alleg5.gz │ │ │ │ ├── al_start_video_with_voice.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice) │ │ │ │ │ -void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Like al_start_video(3alleg5) but audio is routed to the provided voice. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_stop_audio_recorder.3alleg5.gz │ │ │ │ ├── al_stop_audio_recorder.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ -void al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER *r) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Stop capturing audio data. │ │ │ │ │ Note that the audio recorder is still active and consuming resources, so │ │ │ │ │ if you are finished recording you should destroy it with │ │ │ ├── ./usr/share/man/man3/al_stop_sample.3alleg5.gz │ │ │ │ ├── al_stop_sample.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ -void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Stop the sample started by al_play_sample(3alleg5). │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_stop_sample_instance.3alleg5.gz │ │ │ │ ├── al_stop_sample_instance.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ -bool al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Stop an sample instance playing. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_stop_samples.3alleg5.gz │ │ │ │ ├── al_stop_samples.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_stop_samples(void) │ │ │ │ │ -void al_stop_samples(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Stop all samples started by al_play_sample(3alleg5). │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_toggle_menu_item_flags.3alleg5.gz │ │ │ │ ├── al_toggle_menu_item_flags.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ -int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Toggles the specified menu item\[cq]s flags. │ │ │ │ │ See al_insert_menu_item(3alleg5) for a description of the available │ │ │ │ │ flags. │ │ │ ├── ./usr/share/man/man3/al_triangulate_polygon.3alleg5.gz │ │ │ │ ├── al_triangulate_polygon.3alleg5 │ │ │ │ │ @@ -24,17 +24,14 @@ │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ bool al_triangulate_polygon( │ │ │ │ │ const float* vertices, size_t vertex_stride, const int* vertex_counts, │ │ │ │ │ void (*emit_triangle)(int, int, int, void*), void* userdata) │ │ │ │ │ -bool al_triangulate_polygon( │ │ │ │ │ - const float* vertices, size_t vertex_stride, const int* vertex_counts, │ │ │ │ │ - void (*emit_triangle)(int, int, int, void*), void* userdata) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Divides a simple polygon into triangles, with zero or more other simple │ │ │ │ │ polygons subtracted from it - the holes. │ │ │ │ │ The holes cannot touch or intersect with the outline of the main │ │ │ ├── ./usr/share/man/man3/al_uninstall_audio.3alleg5.gz │ │ │ │ ├── al_uninstall_audio.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_uninstall_audio(void) │ │ │ │ │ -void al_uninstall_audio(void) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Uninstalls the audio subsystem. │ │ │ │ │ .SH SEE ALSO │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_unlock_index_buffer.3alleg5.gz │ │ │ │ ├── al_unlock_index_buffer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ -void al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Unlocks a previously locked index buffer. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP │ │ │ ├── ./usr/share/man/man3/al_unlock_sample_id.3alleg5.gz │ │ │ │ ├── al_unlock_sample_id.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ -void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Unlocks a ALLEGRO_SAMPLE_ID(3alleg5), allowing future calls to │ │ │ │ │ al_play_sample(3alleg5) to reuse it if possible. │ │ │ │ │ Note that after the id is unlocked, the ALLEGRO_SAMPLE_INSTANCE(3alleg5) │ │ │ ├── ./usr/share/man/man3/al_unlock_vertex_buffer.3alleg5.gz │ │ │ │ ├── al_unlock_vertex_buffer.3alleg5 │ │ │ │ │ @@ -22,15 +22,14 @@ │ │ │ │ │ .SH SYNOPSIS │ │ │ │ │ .IP │ │ │ │ │ .nf │ │ │ │ │ \f[C] │ │ │ │ │ #include │ │ │ │ │ │ │ │ │ │ void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ -void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer) │ │ │ │ │ \f[R] │ │ │ │ │ .fi │ │ │ │ │ .SH DESCRIPTION │ │ │ │ │ .PP │ │ │ │ │ Unlocks a previously locked vertex buffer. │ │ │ │ │ .SH SINCE │ │ │ │ │ .PP