1.42 MB
/srv/reproducible-results/rbuild-debian/r-b-build.rtWy3plI/b1/allegro5_5.2.8.0+dfsg-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.rtWy3plI/b2/allegro5_5.2.8.0+dfsg-1_arm64.changes
951 B
Files
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
  
1 ·673d973f5c70f3c581536259ecaa042b·1512864·doc·optional·allegro5-doc_5.2.8.0+dfsg-1_all.deb1 ·487476dd73d5a4e1059cd10fd0760bb3·1504464·doc·optional·allegro5-doc_5.2.8.0+dfsg-1_all.deb
2 ·458e25ff4f76b9a9e6e847bce3cdbb7a·16952·libdevel·optional·liballegro-acodec5-dev_5.2.8.0+dfsg-1_arm64.deb2 ·458e25ff4f76b9a9e6e847bce3cdbb7a·16952·libdevel·optional·liballegro-acodec5-dev_5.2.8.0+dfsg-1_arm64.deb
3 ·9ef047bb42d9aa132129cf7b57d4a5a3·60860·debug·optional·liballegro-acodec5.2-dbgsym_5.2.8.0+dfsg-1_arm64.deb3 ·9ef047bb42d9aa132129cf7b57d4a5a3·60860·debug·optional·liballegro-acodec5.2-dbgsym_5.2.8.0+dfsg-1_arm64.deb
4 ·0aeea781320da8bc217a4c275fd21499·34412·libs·optional·liballegro-acodec5.2_5.2.8.0+dfsg-1_arm64.deb4 ·0aeea781320da8bc217a4c275fd21499·34412·libs·optional·liballegro-acodec5.2_5.2.8.0+dfsg-1_arm64.deb
5 ·6846d032bacb500ea7145ab5a62eac6e·19740·libdevel·optional·liballegro-audio5-dev_5.2.8.0+dfsg-1_arm64.deb5 ·6846d032bacb500ea7145ab5a62eac6e·19740·libdevel·optional·liballegro-audio5-dev_5.2.8.0+dfsg-1_arm64.deb
6 ·ae13189617543976db6d093a4c3ecda9·106472·debug·optional·liballegro-audio5.2-dbgsym_5.2.8.0+dfsg-1_arm64.deb6 ·ae13189617543976db6d093a4c3ecda9·106472·debug·optional·liballegro-audio5.2-dbgsym_5.2.8.0+dfsg-1_arm64.deb
7 ·914257468a46a9b78510a33e802be075·53192·libs·optional·liballegro-audio5.2_5.2.8.0+dfsg-1_arm64.deb7 ·914257468a46a9b78510a33e802be075·53192·libs·optional·liballegro-audio5.2_5.2.8.0+dfsg-1_arm64.deb
8 ·a50c2dfd0125e08b4b6f88a4166c2135·18028·libdevel·optional·liballegro-dialog5-dev_5.2.8.0+dfsg-1_arm64.deb8 ·a50c2dfd0125e08b4b6f88a4166c2135·18028·libdevel·optional·liballegro-dialog5-dev_5.2.8.0+dfsg-1_arm64.deb
1.42 MB
allegro5-doc_5.2.8.0+dfsg-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2022-12-06·16:59:12.000000·debian-binary1 -rw-r--r--···0········0········0········4·2022-12-06·16:59:12.000000·debian-binary
2 -rw-r--r--···0········0········0····31448·2022-12-06·16:59:12.000000·control.tar.xz2 -rw-r--r--···0········0········0····31420·2022-12-06·16:59:12.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1481224·2022-12-06·16:59:12.000000·data.tar.xz3 -rw-r--r--···0········0········0··1472852·2022-12-06·16:59:12.000000·data.tar.xz
578 B
control.tar.xz
550 B
control.tar
480 B
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·allegro5-doc1 Package:·allegro5-doc
2 Source:·allegro52 Source:·allegro5
3 Version:·2:5.2.8.0+dfsg-13 Version:·2:5.2.8.0+dfsg-1
4 Architecture:·all4 Architecture:·all
5 Maintainer:·Debian·Games·Team·<pkg-games-devel@lists.alioth.debian.org>5 Maintainer:·Debian·Games·Team·<pkg-games-devel@lists.alioth.debian.org>
6 Installed-Size:·56786 Installed-Size:·5528
7 Depends:·fonts-dejavu-core7 Depends:·fonts-dejavu-core
8 Section:·doc8 Section:·doc
9 Priority:·optional9 Priority:·optional
10 Multi-Arch:·foreign10 Multi-Arch:·foreign
11 Homepage:·https://liballeg.org/11 Homepage:·https://liballeg.org/
12 Description:·documentation·for·the·Allegro·5·library12 Description:·documentation·for·the·Allegro·5·library
13 ·This·package·contains·the·Allegro·documentation·in·various·formats,13 ·This·package·contains·the·Allegro·documentation·in·various·formats,
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
1.42 MB
data.tar.xz
1.42 MB
data.tar
200 KB
file list
    
Offset 197, 399 lines modifiedOffset 197, 399 lines modified
197 -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.c197 -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
198 -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.c198 -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
199 -rw-r--r--···0·root·········(0)·root·········(0)·····4515·2021-10-23·04:51:52.000000·./usr/share/doc/allegro5-doc/examples/ex_windows.c199 -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
200 -rw-r--r--···0·root·········(0)·root·········(0)·····1674·2013-11-06·11:26:41.000000·./usr/share/doc/allegro5-doc/examples/ex_winfull.c200 -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
201 -rw-r--r--···0·root·········(0)·root·········(0)····19521·2016-02-21·20:36:27.000000·./usr/share/doc/allegro5-doc/examples/nihgui.cpp201 -rw-r--r--···0·root·········(0)·root·········(0)····19521·2016-02-21·20:36:27.000000·./usr/share/doc/allegro5-doc/examples/nihgui.cpp
202 -rw-r--r--···0·root·········(0)·root·········(0)·····6456·2013-07-07·19:37:58.000000·./usr/share/doc/allegro5-doc/examples/nihgui.hpp202 -rw-r--r--···0·root·········(0)·root·········(0)·····6456·2013-07-07·19:37:58.000000·./usr/share/doc/allegro5-doc/examples/nihgui.hpp
203 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/203 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/
204 -rw-r--r--···0·root·········(0)·root·········(0)····12006·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/acodec.html204 -rw-r--r--···0·root·········(0)·root·········(0)····11365·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/acodec.html
205 -rw-r--r--···0·root·········(0)·root·········(0)···270452·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/audio.html205 -rw-r--r--···0·root·········(0)·root·········(0)···222951·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/audio.html
206 -rw-r--r--···0·root·········(0)·root·········(0)····36350·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/autosuggest.js206 -rw-r--r--···0·root·········(0)·root·········(0)····36350·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/autosuggest.js
207 -rw-r--r--···0·root·········(0)·root·········(0)····85229·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/color.html207 -rw-r--r--···0·root·········(0)·root·········(0)····65575·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/color.html
208 -rw-r--r--···0·root·········(0)·root·········(0)····37451·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/config.html208 -rw-r--r--···0·root·········(0)·root·········(0)····36835·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/config.html
209 -rw-r--r--···0·root·········(0)·root·········(0)····17025·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/direct3d.html209 -rw-r--r--···0·root·········(0)·root·········(0)····17025·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/direct3d.html
210 -rw-r--r--···0·root·········(0)·root·········(0)····81613·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/display.html210 -rw-r--r--···0·root·········(0)·root·········(0)····81265·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/display.html
211 -rw-r--r--···0·root·········(0)·root·········(0)····77986·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/events.html211 -rw-r--r--···0·root·········(0)·root·········(0)····76630·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/events.html
212 -rw-r--r--···0·root·········(0)·root·········(0)····61528·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/file.html212 -rw-r--r--···0·root·········(0)·root·········(0)····61020·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/file.html
213 -rw-r--r--···0·root·········(0)·root·········(0)····55962·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/fixed.html213 -rw-r--r--···0·root·········(0)·root·········(0)····55786·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/fixed.html
214 -rw-r--r--···0·root·········(0)·root·········(0)···116488·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/font.html214 -rw-r--r--···0·root·········(0)·root·········(0)····93506·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/font.html
215 -rw-r--r--···0·root·········(0)·root·········(0)····41928·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/fshook.html215 -rw-r--r--···0·root·········(0)·root·········(0)····41161·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/fshook.html
216 -rw-r--r--···0·root·········(0)·root·········(0)····13249·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html216 -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
217 -rw-r--r--···0·root·········(0)·root·········(0)····16408·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/getting_started.html217 -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
218 -rw-r--r--···0·root·········(0)·root·········(0)···220633·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/graphics.html218 -rw-r--r--···0·root·········(0)·root·········(0)···219103·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/graphics.html
219 -rw-r--r--···0·root·········(0)·root·········(0)····69012·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/haptic.html219 -rw-r--r--···0·root·········(0)·root·········(0)····68337·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/haptic.html
220 -rw-r--r--···0·root·········(0)·root·········(0)····12823·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/image.html220 -rw-r--r--···0·root·········(0)·root·········(0)····11976·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/image.html
221 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/images/221 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/images/
222 -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.png222 -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
223 -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.png223 -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
224 -rw-r--r--···0·root·········(0)·root·········(0)····65065·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/images/audio.png224 -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
225 -rw-r--r--···0·root·········(0)·root·········(0)····16058·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/images/primitives1.png225 -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
226 -rw-r--r--···0·root·········(0)·root·········(0)····25805·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/images/primitives2.png226 -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
227 -rw-r--r--···0·root·········(0)·root·········(0)·····6469·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/index.html227 -rw-r--r--···0·root·········(0)·root·········(0)·····6469·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/index.html
228 -rw-r--r--···0·root·········(0)·root·········(0)···109449·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/index_all.html228 -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
229 -rw-r--r--···0·root·········(0)·root·········(0)····34838·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/joystick.html229 -rw-r--r--···0·root·········(0)·root·········(0)····34302·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/joystick.html
230 -rw-r--r--···0·root·········(0)·root·········(0)····22779·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/keyboard.html230 -rw-r--r--···0·root·········(0)·root·········(0)····22567·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/keyboard.html
231 -rw-r--r--···0·root·········(0)·root·········(0)·····8705·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/main.html231 -rw-r--r--···0·root·········(0)·root·········(0)·····8705·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/main.html
232 -rw-r--r--···0·root·········(0)·root·········(0)····10783·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/memfile.html232 -rw-r--r--···0·root·········(0)·root·········(0)····10148·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/memfile.html
233 -rw-r--r--···0·root·········(0)·root·········(0)····23133·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/memory.html233 -rw-r--r--···0·root·········(0)·root·········(0)····21741·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/memory.html
234 -rw-r--r--···0·root·········(0)·root·········(0)····10172·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/misc.html234 -rw-r--r--···0·root·········(0)·root·········(0)····10021·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/misc.html
235 -rw-r--r--···0·root·········(0)·root·········(0)····17484·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/monitor.html235 -rw-r--r--···0·root·········(0)·root·········(0)····17322·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/monitor.html
236 -rw-r--r--···0·root·········(0)·root·········(0)····39776·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/mouse.html236 -rw-r--r--···0·root·········(0)·root·········(0)····39570·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/mouse.html
237 -rw-r--r--···0·root·········(0)·root·········(0)····90710·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/native_dialog.html237 -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
238 -rw-r--r--···0·root·········(0)·root·········(0)····26484·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/opengl.html238 -rw-r--r--···0·root·········(0)·root·········(0)····26484·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/opengl.html
239 -rw-r--r--···0·root·········(0)·root·········(0)·····3973·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/pandoc.css239 -rw-r--r--···0·root·········(0)·root·········(0)·····3973·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/pandoc.css
240 -rw-r--r--···0·root·········(0)·root·········(0)····37115·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/path.html240 -rw-r--r--···0·root·········(0)·root·········(0)····37115·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/path.html
241 -rw-r--r--···0·root·········(0)·root·········(0)····11902·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/physfs.html241 -rw-r--r--···0·root·········(0)·root·········(0)····11469·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/physfs.html
242 -rw-r--r--···0·root·········(0)·root·········(0)····25747·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/platform.html242 -rw-r--r--···0·root·········(0)·root·········(0)····25747·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/platform.html
243 -rw-r--r--···0·root·········(0)·root·········(0)···172587·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/primitives.html243 -rw-r--r--···0·root·········(0)·root·········(0)···143428·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/primitives.html
244 -rw-r--r--···0·root·········(0)·root·········(0)····71562·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/search_index.js244 -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
245 -rw-r--r--···0·root·········(0)·root·········(0)····44884·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/shader.html245 -rw-r--r--···0·root·········(0)·root·········(0)····44272·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/shader.html
246 -rw-r--r--···0·root·········(0)·root·········(0)····15770·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/state.html246 -rw-r--r--···0·root·········(0)·root·········(0)····15417·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/state.html
247 -rw-r--r--···0·root·········(0)·root·········(0)····67306·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/system.html247 -rw-r--r--···0·root·········(0)·root·········(0)····66981·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/system.html
248 -rw-r--r--···0·root·········(0)·root·········(0)····35128·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/threads.html248 -rw-r--r--···0·root·········(0)·root·········(0)····34546·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/threads.html
249 -rw-r--r--···0·root·········(0)·root·········(0)····12236·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/time.html249 -rw-r--r--···0·root·········(0)·root·········(0)····12236·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/time.html
250 -rw-r--r--···0·root·········(0)·root·········(0)····25283·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/timer.html250 -rw-r--r--···0·root·········(0)·root·········(0)····24471·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/timer.html
251 -rw-r--r--···0·root·········(0)·root·········(0)····22404·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/touch.html251 -rw-r--r--···0·root·········(0)·root·········(0)····21450·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/touch.html
252 -rw-r--r--···0·root·········(0)·root·········(0)····81363·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/transformations.html252 -rw-r--r--···0·root·········(0)·root·········(0)····81161·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/transformations.html
253 -rw-r--r--···0·root·········(0)·root·········(0)···101006·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/utf8.html253 -rw-r--r--···0·root·········(0)·root·········(0)···100613·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/utf8.html
254 -rw-r--r--···0·root·········(0)·root·········(0)····36175·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/video.html254 -rw-r--r--···0·root·········(0)·root·········(0)····30831·2022-12-06·16:59:12.000000·./usr/share/doc/allegro5-doc/refman/video.html
255 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/doc-base/255 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/doc-base/
256 -rw-r--r--···0·root·········(0)·root·········(0)······300·2022-12-06·16:50:02.000000·./usr/share/doc-base/allegro5-doc.allegro5256 -rw-r--r--···0·root·········(0)·root·········(0)······300·2022-12-06·16:50:02.000000·./usr/share/doc-base/allegro5-doc.allegro5
257 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/man/257 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/man/
258 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/man/man3/258 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-06·16:59:12.000000·./usr/share/man/man3/
259 -rw-r--r--···0·root·········(0)·root·········(0)······539·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz259 -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
260 -rw-r--r--···0·root·········(0)·root·········(0)······393·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz260 -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
261 -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.gz261 -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
262 -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.gz262 -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
263 -rw-r--r--···0·root·········(0)·root·········(0)······449·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz263 -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
264 -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.gz264 -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
265 -rw-r--r--···0·root·········(0)·root·········(0)·····1084·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz265 -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
266 -rw-r--r--···0·root·········(0)·root·········(0)······383·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz266 -rw-r--r--···0·root·········(0)·root·········(0)······378·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz
267 -rw-r--r--···0·root·········(0)·root·········(0)······591·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz267 -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
268 -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 
269 -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.gz268 -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
 269 -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
270 -rw-r--r--···0·root·········(0)·root·········(0)······421·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz270 -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
271 -rw-r--r--···0·root·········(0)·root·········(0)······451·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz271 -rw-r--r--···0·root·········(0)·root·········(0)······446·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz
272 -rw-r--r--···0·root·········(0)·root·········(0)······380·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz272 -rw-r--r--···0·root·········(0)·root·········(0)······377·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz
273 -rw-r--r--···0·root·········(0)·root·········(0)······372·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz273 -rw-r--r--···0·root·········(0)·root·········(0)······367·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz
274 -rw-r--r--···0·root·········(0)·root·········(0)······443·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz274 -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
275 -rw-r--r--···0·root·········(0)·root·········(0)······440·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz275 -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
276 -rw-r--r--···0·root·········(0)·root·········(0)······388·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz276 -rw-r--r--···0·root·········(0)·root·········(0)······384·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz
277 -rw-r--r--···0·root·········(0)·root·········(0)······590·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz277 -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
278 -rw-r--r--···0·root·········(0)·root·········(0)·····4718·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz278 -rw-r--r--···0·root·········(0)·root·········(0)·····4715·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz
279 -rw-r--r--···0·root·········(0)·root·········(0)······503·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz279 -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
280 -rw-r--r--···0·root·········(0)·root·········(0)······536·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz280 -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
281 -rw-r--r--···0·root·········(0)·root·········(0)······435·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz281 -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
282 -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.gz282 -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
283 -rw-r--r--···0·root·········(0)·root·········(0)······408·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz283 -rw-r--r--···0·root·········(0)·root·········(0)······405·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz
284 -rw-r--r--···0·root·········(0)·root·········(0)······388·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz284 -rw-r--r--···0·root·········(0)·root·········(0)······384·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz
285 -rw-r--r--···0·root·········(0)·root·········(0)······908·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz285 -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
286 -rw-r--r--···0·root·········(0)·root·········(0)······451·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz286 -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
287 -rw-r--r--···0·root·········(0)·root·········(0)······537·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz287 -rw-r--r--···0·root·········(0)·root·········(0)······534·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz
288 -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.gz288 -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
289 -rw-r--r--···0·root·········(0)·root·········(0)······456·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz289 -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
290 -rw-r--r--···0·root·········(0)·root·········(0)······645·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz290 -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
291 -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.gz291 -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
292 -rw-r--r--···0·root·········(0)·root·········(0)······916·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz292 -rw-r--r--···0·root·········(0)·root·········(0)······912·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz
293 -rw-r--r--···0·root·········(0)·root·········(0)······560·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz293 -rw-r--r--···0·root·········(0)·root·········(0)······555·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz
294 -rw-r--r--···0·root·········(0)·root·········(0)······949·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz294 -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
295 -rw-r--r--···0·root·········(0)·root·········(0)·····3265·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz295 -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
296 -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.gz296 -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
297 -rw-r--r--···0·root·········(0)·root·········(0)······503·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz297 -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
298 -rw-r--r--···0·root·········(0)·root·········(0)······472·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz298 -rw-r--r--···0·root·········(0)·root·········(0)······469·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz
299 -rw-r--r--···0·root·········(0)·root·········(0)······419·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz299 -rw-r--r--···0·root·········(0)·root·········(0)······414·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz
300 -rw-r--r--···0·root·········(0)·root·········(0)······548·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz300 -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
301 -rw-r--r--···0·root·········(0)·root·········(0)······586·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz301 -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
302 -rw-r--r--···0·root·········(0)·root·········(0)······561·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz302 -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
303 -rw-r--r--···0·root·········(0)·root·········(0)······535·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz303 -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
304 -rw-r--r--···0·root·········(0)·root·········(0)······929·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz304 -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
305 -rw-r--r--···0·root·········(0)·root·········(0)······511·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz305 -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
306 -rw-r--r--···0·root·········(0)·root·········(0)······425·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz306 -rw-r--r--···0·root·········(0)·root·········(0)······420·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz
307 -rw-r--r--···0·root·········(0)·root·········(0)······840·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz307 -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
308 -rw-r--r--···0·root·········(0)·root·········(0)······635·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz308 -rw-r--r--···0·root·········(0)·root·········(0)······630·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz
309 -rw-r--r--···0·root·········(0)·root·········(0)······434·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz309 -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
310 -rw-r--r--···0·root·········(0)·root·········(0)······592·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz310 -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
311 -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.gz311 -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
312 -rw-r--r--···0·root·········(0)·root·········(0)······591·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz312 -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
313 -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.gz313 -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
314 -rw-r--r--···0·root·········(0)·root·········(0)······374·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz314 -rw-r--r--···0·root·········(0)·root·········(0)······370·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz
315 -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.gz315 -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
316 -rw-r--r--···0·root·········(0)·root·········(0)······431·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz316 -rw-r--r--···0·root·········(0)·root·········(0)······427·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz
317 -rw-r--r--···0·root·········(0)·root·········(0)·····2284·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz317 -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
318 -rw-r--r--···0·root·········(0)·root·········(0)······599·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz318 -rw-r--r--···0·root·········(0)·root·········(0)······597·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz
319 -rw-r--r--···0·root·········(0)·root·········(0)·····1265·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz319 -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
320 -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.gz320 -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
321 -rw-r--r--···0·root·········(0)·root·········(0)······495·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz321 -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
322 -rw-r--r--···0·root·········(0)·root·········(0)·····1032·2022-12-06·16:59:12.000000·./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz322 -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
Max diff block lines reached; 169915/204603 bytes (83.05%) of diff not shown.
5.91 KB
./usr/share/doc/allegro5-doc/refman/acodec.html
    
Offset 171, 16 lines modifiedOffset 171, 15 lines modified
171 href="#al_get_allegro_acodec_version">al_get_allegro_acodec_version</a></li>171 href="#al_get_allegro_acodec_version">al_get_allegro_acodec_version</a></li>
172 </ul>172 </ul>
173 </nav>173 </nav>
174 <p>These·functions·are·declared·in·the·following·header·file.·Link·with174 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
175 allegro_acodec.</p>175 allegro_acodec.</p>
176 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_acodec.h&gt;</span></span></code></pre></div>176 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_acodec.h&gt;</span></span></code></pre></div>
177 <h1·id="al_init_acodec_addon">al_init_acodec_addon</h1>177 <h1·id="al_init_acodec_addon">al_init_acodec_addon</h1>
178 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_acodec_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>178 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_acodec_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
179 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_acodec_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
180 <p><a179 <p><a
181 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L21">Source180 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L21">Source
182 Code</a></p>181 Code</a></p>
183 <p>This·function·registers·all·the·known·audio·file·type·handlers·for·<a182 <p>This·function·registers·all·the·known·audio·file·type·handlers·for·<a
184 href="audio.html#al_load_sample">al_load_sample</a>,·<a183 href="audio.html#al_load_sample">al_load_sample</a>,·<a
185 href="audio.html#al_save_sample">al_save_sample</a>,·<a184 href="audio.html#al_save_sample">al_save_sample</a>,·<a
186 href="audio.html#al_load_audio_stream">al_load_audio_stream</a>,185 href="audio.html#al_load_audio_stream">al_load_audio_stream</a>,
Offset 211, 31 lines modifiedOffset 210, 29 lines modified
211 <li><a210 <li><a
212 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L39">ex_acodec_multi.c</a></li>211 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L39">ex_acodec_multi.c</a></li>
213 <li><a212 <li><a
214 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L30">ex_kcm_direct.c</a></li>213 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L30">ex_kcm_direct.c</a></li>
215 </ul>214 </ul>
216 <h1215 <h1
217 id="al_is_acodec_addon_initialized">al_is_acodec_addon_initialized</h1>216 id="al_is_acodec_addon_initialized">al_is_acodec_addon_initialized</h1>
218 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_acodec_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>217 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_acodec_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
219 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_acodec_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
220 <p><a218 <p><a
221 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L83">Source219 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L83">Source
222 Code</a></p>220 Code</a></p>
223 <p>Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns221 <p>Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns
224 false.</p>222 false.</p>
225 <p>Since:·5.2.6</p>223 <p>Since:·5.2.6</p>
226 <h1224 <h1
227 id="al_get_allegro_acodec_version">al_get_allegro_acodec_version</h1>225 id="al_get_allegro_acodec_version">al_get_allegro_acodec_version</h1>
228 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>226 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
229 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_acodec_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
230 <p><a227 <p><a
231 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L13">Source228 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L13">Source
232 Code</a></p>229 Code</a></p>
233 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a230 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
234 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>231 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
235 <p·class="timestamp">232 <p·class="timestamp">
236 Allegro·version·5.2.8233 Allegro·version·5.2.8
237 ·-·Last·updated:·2025-02-08·15:21:58·UTC234 ·-·Last·updated:·2024-01-07·09:01:15·UTC
238 </p>235 </p>
239 </div>236 </div>
240 </body>237 </body>
241 </html>238 </html>
1.39 KB
html2text {}
    
Offset 51, 15 lines modifiedOffset 51, 14 lines modified
51 ····*·al_is_acodec_addon_initialized51 ····*·al_is_acodec_addon_initialized
52 ····*·al_get_allegro_acodec_version52 ····*·al_get_allegro_acodec_version
53 These·functions·are·declared·in·the·following·header·file.·Link·with53 These·functions·are·declared·in·the·following·header·file.·Link·with
54 allegro_acodec.54 allegro_acodec.
55 ·#include·<allegro5/allegro_acodec.h>55 ·#include·<allegro5/allegro_acodec.h>
56 ******·al_init_acodec_addon·******56 ******·al_init_acodec_addon·******
57 bool·al_init_acodec_addon(void)57 bool·al_init_acodec_addon(void)
58 bool·al_init_acodec_addon(void) 
59 Source_Code58 Source_Code
60 This·function·registers·all·the·known·audio·file·type·handlers·for59 This·function·registers·all·the·known·audio·file·type·handlers·for
61 al_load_sample,·al_save_sample,·al_load_audio_stream,·etc.60 al_load_sample,·al_save_sample,·al_load_audio_stream,·etc.
62 Depending·on·what·libraries·are·available,·the·full·set·of·recognised61 Depending·on·what·libraries·are·available,·the·full·set·of·recognised
63 extensions·is:·.wav,·.flac,·.ogg,·.opus,·.it,·.mod,·.s3m,·.xm,·.voc.62 extensions·is:·.wav,·.flac,·.ogg,·.opus,·.it,·.mod,·.s3m,·.xm,·.voc.
64 Limitations:63 Limitations:
65 ····*·Saving·is·only·supported·for·wav·files.64 ····*·Saving·is·only·supported·for·wav·files.
Offset 75, 18 lines modifiedOffset 74, 16 lines modified
75 Return·true·on·success.74 Return·true·on·success.
76 Examples:75 Examples:
77 ····*·ex_stream_file.c76 ····*·ex_stream_file.c
78 ····*·ex_acodec_multi.c77 ····*·ex_acodec_multi.c
79 ····*·ex_kcm_direct.c78 ····*·ex_kcm_direct.c
80 ******·al_is_acodec_addon_initialized·******79 ******·al_is_acodec_addon_initialized·******
81 bool·al_is_acodec_addon_initialized(void)80 bool·al_is_acodec_addon_initialized(void)
82 bool·al_is_acodec_addon_initialized(void) 
83 Source_Code81 Source_Code
84 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns·false.82 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns·false.
85 Since:·5.2.683 Since:·5.2.6
86 ******·al_get_allegro_acodec_version·******84 ******·al_get_allegro_acodec_version·******
87 uint32_t·al_get_allegro_acodec_version(void)85 uint32_t·al_get_allegro_acodec_version(void)
88 uint32_t·al_get_allegro_acodec_version(void) 
89 Source_Code86 Source_Code
90 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as87 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
91 al_get_allegro_version.88 al_get_allegro_version.
92 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:58·UTC89 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:15·UTC
322 KB
./usr/share/doc/allegro5-doc/refman/audio.html
    
Offset 453, 16 lines modifiedOffset 453, 15 lines modified
453 <p>If·you·want·to·play·large·audio·files·(e.g. background·music)·without453 <p>If·you·want·to·play·large·audio·files·(e.g. background·music)·without
454 loading·the·whole·file·at·once·you·can·use·<a454 loading·the·whole·file·at·once·you·can·use·<a
455 href="audio.html#al_play_audio_stream">al_play_audio_stream</a>·(after455 href="audio.html#al_play_audio_stream">al_play_audio_stream</a>·(after
456 calling·<a·href="audio.html#al_reserve_samples">al_reserve_samples</a>).456 calling·<a·href="audio.html#al_reserve_samples">al_reserve_samples</a>).
457 This·will·load·and·play·an·<code>ALLEGRO_AUDIO_STREAM</code>.·Note·that457 This·will·load·and·play·an·<code>ALLEGRO_AUDIO_STREAM</code>.·Note·that
458 the·basic·API·only·supports·on·such·audio·stream·playing·at·once.</p>458 the·basic·API·only·supports·on·such·audio·stream·playing·at·once.</p>
459 <h2·id="allegro_sample_id">ALLEGRO_SAMPLE_ID</h2>459 <h2·id="allegro_sample_id">ALLEGRO_SAMPLE_ID</h2>
460 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID<span·class="op">;</span></span>460 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID<span·class="op">;</span></span></code></pre></div>
461 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID<span·class="op">;</span></span></code></pre></div> 
462 <p><a461 <p><a
463 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/allegro5/allegro_audio.h#L151">Source462 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/allegro5/allegro_audio.h#L151">Source
464 Code</a></p>463 Code</a></p>
465 <p>An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·<a464 <p>An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·<a
466 href="audio.html#al_play_sample">al_play_sample</a>.·It·can·be·used·to465 href="audio.html#al_play_sample">al_play_sample</a>.·It·can·be·used·to
467 later·sALLEGRO_BITMAP_WRAPtop·the·sample·with·<a466 later·sALLEGRO_BITMAP_WRAPtop·the·sample·with·<a
468 href="audio.html#al_stop_sample">al_stop_sample</a>.·The·underlying467 href="audio.html#al_stop_sample">al_stop_sample</a>.·The·underlying
Offset 470, 16 lines modifiedOffset 469, 15 lines modified
470 href="audio.html#al_lock_sample_id">al_lock_sample_id</a>.</p>469 href="audio.html#al_lock_sample_id">al_lock_sample_id</a>.</p>
471 <p>Examples:</p>470 <p>Examples:</p>
472 <ul>471 <ul>
473 <li><a472 <li><a
474 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_simple.c#L33">ex_audio_simple.c</a></li>473 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_simple.c#L33">ex_audio_simple.c</a></li>
475 </ul>474 </ul>
476 <h2·id="al_install_audio">al_install_audio</h2>475 <h2·id="al_install_audio">al_install_audio</h2>
477 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_install_audio<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>476 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_install_audio<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
478 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_install_audio<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
479 <p><a477 <p><a
480 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L422">Source478 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L422">Source
481 Code</a></p>479 Code</a></p>
482 <p>Install·the·audio·subsystem.</p>480 <p>Install·the·audio·subsystem.</p>
483 <p>Returns·true·on·success,·false·on·failure.</p>481 <p>Returns·true·on·success,·false·on·failure.</p>
484 <blockquote>482 <blockquote>
485 <p>Note:·most·users·will·call·<a483 <p>Note:·most·users·will·call·<a
Offset 498, 16 lines modifiedOffset 496, 15 lines modified
498 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_devices.c#L20">ex_audio_devices.c</a></li>496 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_devices.c#L20">ex_audio_devices.c</a></li>
499 <li><a497 <li><a
500 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L94">ex_saw.c</a></li>498 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L94">ex_saw.c</a></li>
501 <li><a499 <li><a
502 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L53">ex_stream_file.c</a></li>500 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L53">ex_stream_file.c</a></li>
503 </ul>501 </ul>
504 <h2·id="al_uninstall_audio">al_uninstall_audio</h2>502 <h2·id="al_uninstall_audio">al_uninstall_audio</h2>
505 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_uninstall_audio<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>503 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_uninstall_audio<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
506 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_uninstall_audio<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
507 <p><a504 <p><a
508 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L441">Source505 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L441">Source
509 Code</a></p>506 Code</a></p>
510 <p>Uninstalls·the·audio·subsystem.</p>507 <p>Uninstalls·the·audio·subsystem.</p>
511 <p>See·also:·<a508 <p>See·also:·<a
512 href="audio.html#al_install_audio">al_install_audio</a></p>509 href="audio.html#al_install_audio">al_install_audio</a></p>
513 <p>Examples:</p>510 <p>Examples:</p>
Offset 516, 25 lines modifiedOffset 513, 23 lines modified
516 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L116">ex_saw.c</a></li>513 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L116">ex_saw.c</a></li>
517 <li><a514 <li><a
518 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L133">ex_stream_file.c</a></li>515 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L133">ex_stream_file.c</a></li>
519 <li><a516 <li><a
520 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L134">ex_acodec_multi.c</a></li>517 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L134">ex_acodec_multi.c</a></li>
521 </ul>518 </ul>
522 <h2·id="al_is_audio_installed">al_is_audio_installed</h2>519 <h2·id="al_is_audio_installed">al_is_audio_installed</h2>
523 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_audio_installed<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>520 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_audio_installed<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
524 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_audio_installed<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
525 <p><a521 <p><a
526 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L456">Source522 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L456">Source
527 Code</a></p>523 Code</a></p>
528 <p>Returns·true·if·<a524 <p>Returns·true·if·<a
529 href="audio.html#al_install_audio">al_install_audio</a>·was·called525 href="audio.html#al_install_audio">al_install_audio</a>·was·called
530 previously·and·returned·successfully.</p>526 previously·and·returned·successfully.</p>
531 <h2·id="al_reserve_samples">al_reserve_samples</h2>527 <h2·id="al_reserve_samples">al_reserve_samples</h2>
532 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_reserve_samples<span·class="op">(</span><span·class="dt">int</span>·reserve_samples<span·class="op">)</span></span>528 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_reserve_samples<span·class="op">(</span><span·class="dt">int</span>·reserve_samples<span·class="op">)</span></span></code></pre></div>
533 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_reserve_samples<span·class="op">(</span><span·class="dt">int</span>·reserve_samples<span·class="op">)</span></span></code></pre></div> 
534 <p><a529 <p><a
535 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L207">Source530 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L207">Source
536 Code</a></p>531 Code</a></p>
537 <p>Reserves·a·number·of·sample·instances,·attaching·them·to·the·default532 <p>Reserves·a·number·of·sample·instances,·attaching·them·to·the·default
538 mixer.·If·no·default·mixer·is·set·when·this·function·is·called,·then·it533 mixer.·If·no·default·mixer·is·set·when·this·function·is·called,·then·it
539 will·create·one·and·attach·it·to·the·default·voice.·If·no·default·voice534 will·create·one·and·attach·it·to·the·default·voice.·If·no·default·voice
540 has·been·set,·it,·too,·will·be·created.</p>535 has·been·set,·it,·too,·will·be·created.</p>
Offset 562, 17 lines modifiedOffset 557, 15 lines modified
562 <li><a557 <li><a
563 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_props.cpp#L167">ex_audio_props.cpp</a></li>558 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_props.cpp#L167">ex_audio_props.cpp</a></li>
564 <li><a559 <li><a
565 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resample_test.c#L182">ex_resample_test.c</a></li>560 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resample_test.c#L182">ex_resample_test.c</a></li>
566 </ul>561 </ul>
567 <h2·id="al_play_sample">al_play_sample</h2>562 <h2·id="al_play_sample">al_play_sample</h2>
568 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_play_sample<span·class="op">(</span>ALLEGRO_SAMPLE·<span·class="op">*</span>spl<span·class="op">,</span>·<span·class="dt">float</span>·gain<span·class="op">,</span>·<span·class="dt">float</span>·pan<span·class="op">,</span>·<span·class="dt">float</span>·speed<span·class="op">,</span></span>563 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_play_sample<span·class="op">(</span>ALLEGRO_SAMPLE·<span·class="op">*</span>spl<span·class="op">,</span>·<span·class="dt">float</span>·gain<span·class="op">,</span>·<span·class="dt">float</span>·pan<span·class="op">,</span>·<span·class="dt">float</span>·speed<span·class="op">,</span></span>
569 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_PLAYMODE·loop<span·class="op">,</span>·ALLEGRO_SAMPLE_ID·<span·class="op">*</span>ret_id<span·class="op">)</span></span> 
570 <span·id="cb8-3"><a·href="#cb8-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_play_sample<span·class="op">(</span>ALLEGRO_SAMPLE·<span·class="op">*</span>spl<span·class="op">,</span>·<span·class="dt">float</span>·gain<span·class="op">,</span>·<span·class="dt">float</span>·pan<span·class="op">,</span>·<span·class="dt">float</span>·speed<span·class="op">,</span></span> 
571 <span·id="cb8-4"><a·href="#cb8-4"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_PLAYMODE·loop<span·class="op">,</span>·ALLEGRO_SAMPLE_ID·<span·class="op">*</span>ret_id<span·class="op">)</span></span></code></pre></div>564 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_PLAYMODE·loop<span·class="op">,</span>·ALLEGRO_SAMPLE_ID·<span·class="op">*</span>ret_id<span·class="op">)</span></span></code></pre></div>
572 <p><a565 <p><a
573 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L342">Source566 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L342">Source
574 Code</a></p>567 Code</a></p>
575 <p>Plays·a·sample·on·one·of·the·sample·instances·created·by·<a568 <p>Plays·a·sample·on·one·of·the·sample·instances·created·by·<a
576 href="audio.html#al_reserve_samples">al_reserve_samples</a>.·Returns569 href="audio.html#al_reserve_samples">al_reserve_samples</a>.·Returns
577 true·on·success,·false·on·failure.·Playback·may·fail·because·all·the570 true·on·success,·false·on·failure.·Playback·may·fail·because·all·the
578 reserved·sample·instances·are·currently·used.</p>571 reserved·sample·instances·are·currently·used.</p>
Offset 605, 16 lines modifiedOffset 598, 15 lines modified
605 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L107">ex_acodec_multi.c</a></li>598 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L107">ex_acodec_multi.c</a></li>
606 <li><a599 <li><a
607 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L80">ex_kcm_direct.c</a></li>600 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L80">ex_kcm_direct.c</a></li>
608 <li><a601 <li><a
609 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L90">ex_mixer_chain.c</a></li>602 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L90">ex_mixer_chain.c</a></li>
610 </ul>603 </ul>
611 <h2·id="al_stop_sample">al_stop_sample</h2>604 <h2·id="al_stop_sample">al_stop_sample</h2>
612 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_stop_sample<span·class="op">(</span>ALLEGRO_SAMPLE_ID·<span·class="op">*</span>spl_id<span·class="op">)</span></span>605 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_stop_sample<span·class="op">(</span>ALLEGRO_SAMPLE_ID·<span·class="op">*</span>spl_id<span·class="op">)</span></span></code></pre></div>
613 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_stop_sample<span·class="op">(</span>ALLEGRO_SAMPLE_ID·<span·class="op">*</span>spl_id<span·class="op">)</span></span></code></pre></div> 
614 <p><a606 <p><a
615 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L401">Source607 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L401">Source
616 Code</a></p>608 Code</a></p>
617 <p>Stop·the·sample·started·by·<a609 <p>Stop·the·sample·started·by·<a
618 href="audio.html#al_play_sample">al_play_sample</a>.</p>610 href="audio.html#al_play_sample">al_play_sample</a>.</p>
619 <p>See·also:·<a611 <p>See·also:·<a
620 href="audio.html#al_stop_samples">al_stop_samples</a></p>612 href="audio.html#al_stop_samples">al_stop_samples</a></p>
Offset 624, 30 lines modifiedOffset 616, 28 lines modified
624 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L123">ex_acodec_multi.c</a></li>616 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L123">ex_acodec_multi.c</a></li>
625 <li><a617 <li><a
626 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L88">ex_kcm_direct.c</a></li>618 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L88">ex_kcm_direct.c</a></li>
627 <li><a619 <li><a
628 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L108">ex_mixer_chain.c</a></li>620 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L108">ex_mixer_chain.c</a></li>
629 </ul>621 </ul>
630 <h2·id="al_stop_samples">al_stop_samples</h2>622 <h2·id="al_stop_samples">al_stop_samples</h2>
631 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_stop_samples<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>623 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_stop_samples<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
632 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_stop_samples<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
633 <p><a624 <p><a
634 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L451">Source625 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L451">Source
635 Code</a></p>626 Code</a></p>
636 <p>Stop·all·samples·started·by·<a627 <p>Stop·all·samples·started·by·<a
637 href="audio.html#al_play_sample">al_play_sample</a>.</p>628 href="audio.html#al_play_sample">al_play_sample</a>.</p>
638 <p>See·also:·<a·href="audio.html#al_stop_sample">al_stop_sample</a></p>629 <p>See·also:·<a·href="audio.html#al_stop_sample">al_stop_sample</a></p>
Max diff block lines reached; 240180/252905 bytes (94.97%) of diff not shown.
75.1 KB
html2text {}
    
Offset 230, 55 lines modifiedOffset 230, 50 lines modified
230 samples,·you·can·use·the·ALLEGRO_SAMPLE_ID·that·al_play_sample·returns.230 samples,·you·can·use·the·ALLEGRO_SAMPLE_ID·that·al_play_sample·returns.
231 If·you·want·to·play·large·audio·files·(e.g. background·music)·without·loading231 If·you·want·to·play·large·audio·files·(e.g. background·music)·without·loading
232 the·whole·file·at·once·you·can·use·al_play_audio_stream·(after·calling232 the·whole·file·at·once·you·can·use·al_play_audio_stream·(after·calling
233 al_reserve_samples).·This·will·load·and·play·an·ALLEGRO_AUDIO_STREAM.·Note·that233 al_reserve_samples).·This·will·load·and·play·an·ALLEGRO_AUDIO_STREAM.·Note·that
234 the·basic·API·only·supports·on·such·audio·stream·playing·at·once.234 the·basic·API·only·supports·on·such·audio·stream·playing·at·once.
235 *****·ALLEGRO_SAMPLE_ID·*****235 *****·ALLEGRO_SAMPLE_ID·*****
236 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;236 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;
237 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID; 
238 Source_Code237 Source_Code
239 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·al_play_sample.·It238 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·al_play_sample.·It
240 can·be·used·to·later·sALLEGRO_BITMAP_WRAPtop·the·sample·with·al_stop_sample.239 can·be·used·to·later·sALLEGRO_BITMAP_WRAPtop·the·sample·with·al_stop_sample.
241 The·underlying·ALLEGRO_SAMPLE_INSTANCE·can·be·extracted·using240 The·underlying·ALLEGRO_SAMPLE_INSTANCE·can·be·extracted·using
242 al_lock_sample_id.241 al_lock_sample_id.
243 Examples:242 Examples:
244 ····*·ex_audio_simple.c243 ····*·ex_audio_simple.c
245 *****·al_install_audio·*****244 *****·al_install_audio·*****
246 bool·al_install_audio(void)245 bool·al_install_audio(void)
247 bool·al_install_audio(void) 
248 Source_Code246 Source_Code
249 Install·the·audio·subsystem.247 Install·the·audio·subsystem.
250 Returns·true·on·success,·false·on·failure.248 Returns·true·on·success,·false·on·failure.
251 ·····Note:·most·users·will·call·al_reserve_samples·and249 ·····Note:·most·users·will·call·al_reserve_samples·and
252 ·····al_init_acodec_addon·after·this.250 ·····al_init_acodec_addon·after·this.
253 See·also:·al_reserve_samples,·al_uninstall_audio,·al_is_audio_installed,251 See·also:·al_reserve_samples,·al_uninstall_audio,·al_is_audio_installed,
254 al_init_acodec_addon252 al_init_acodec_addon
255 Examples:253 Examples:
256 ····*·ex_audio_devices.c254 ····*·ex_audio_devices.c
257 ····*·ex_saw.c255 ····*·ex_saw.c
258 ····*·ex_stream_file.c256 ····*·ex_stream_file.c
259 *****·al_uninstall_audio·*****257 *****·al_uninstall_audio·*****
260 void·al_uninstall_audio(void)258 void·al_uninstall_audio(void)
261 void·al_uninstall_audio(void) 
262 Source_Code259 Source_Code
263 Uninstalls·the·audio·subsystem.260 Uninstalls·the·audio·subsystem.
264 See·also:·al_install_audio261 See·also:·al_install_audio
265 Examples:262 Examples:
266 ····*·ex_saw.c263 ····*·ex_saw.c
267 ····*·ex_stream_file.c264 ····*·ex_stream_file.c
268 ····*·ex_acodec_multi.c265 ····*·ex_acodec_multi.c
269 *****·al_is_audio_installed·*****266 *****·al_is_audio_installed·*****
270 bool·al_is_audio_installed(void)267 bool·al_is_audio_installed(void)
271 bool·al_is_audio_installed(void) 
272 Source_Code268 Source_Code
273 Returns·true·if·al_install_audio·was·called·previously·and·returned269 Returns·true·if·al_install_audio·was·called·previously·and·returned
274 successfully.270 successfully.
275 *****·al_reserve_samples·*****271 *****·al_reserve_samples·*****
276 bool·al_reserve_samples(int·reserve_samples)272 bool·al_reserve_samples(int·reserve_samples)
277 bool·al_reserve_samples(int·reserve_samples) 
278 Source_Code273 Source_Code
279 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default·mixer.·If274 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default·mixer.·If
280 no·default·mixer·is·set·when·this·function·is·called,·then·it·will·create·one275 no·default·mixer·is·set·when·this·function·is·called,·then·it·will·create·one
281 and·attach·it·to·the·default·voice.·If·no·default·voice·has·been·set,·it,·too,276 and·attach·it·to·the·default·voice.·If·no·default·voice·has·been·set,·it,·too,
282 will·be·created.277 will·be·created.
283 If·you·call·this·function·a·second·time·with·a·smaller·number·of·samples,·then278 If·you·call·this·function·a·second·time·with·a·smaller·number·of·samples,·then
284 the·excess·internal·sample·instances·will·be·destroyed·causing·some·sounds·to279 the·excess·internal·sample·instances·will·be·destroyed·causing·some·sounds·to
Offset 295, 16 lines modifiedOffset 290, 14 lines modified
295 Examples:290 Examples:
296 ····*·ex_saw.c291 ····*·ex_saw.c
297 ····*·ex_audio_props.cpp292 ····*·ex_audio_props.cpp
298 ····*·ex_resample_test.c293 ····*·ex_resample_test.c
299 *****·al_play_sample·*****294 *****·al_play_sample·*****
300 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,295 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,
301 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)296 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)
302 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed, 
303 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id) 
304 Source_Code297 Source_Code
305 Plays·a·sample·on·one·of·the·sample·instances·created·by·al_reserve_samples.298 Plays·a·sample·on·one·of·the·sample·instances·created·by·al_reserve_samples.
306 Returns·true·on·success,·false·on·failure.·Playback·may·fail·because·all·the299 Returns·true·on·success,·false·on·failure.·Playback·may·fail·because·all·the
307 reserved·sample·instances·are·currently·used.300 reserved·sample·instances·are·currently·used.
308 Parameters:301 Parameters:
309 ····*·gain·-·relative·volume·at·which·the·sample·is·played;·1.0·is·normal.302 ····*·gain·-·relative·volume·at·which·the·sample·is·played;·1.0·is·normal.
310 ····*·pan·-·0.0·is·centred,·-1.0·is·left,·1.0·is·right,·or303 ····*·pan·-·0.0·is·centred,·-1.0·is·left,·1.0·is·right,·or
Offset 320, 33 lines modifiedOffset 313, 30 lines modified
320 ALLEGRO_SAMPLE_ID,·al_stop_sample,·al_stop_samples,·al_lock_sample_id.313 ALLEGRO_SAMPLE_ID,·al_stop_sample,·al_stop_samples,·al_lock_sample_id.
321 Examples:314 Examples:
322 ····*·ex_acodec_multi.c315 ····*·ex_acodec_multi.c
323 ····*·ex_kcm_direct.c316 ····*·ex_kcm_direct.c
324 ····*·ex_mixer_chain.c317 ····*·ex_mixer_chain.c
325 *****·al_stop_sample·*****318 *****·al_stop_sample·*****
326 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)319 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)
327 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id) 
328 Source_Code320 Source_Code
329 Stop·the·sample·started·by·al_play_sample.321 Stop·the·sample·started·by·al_play_sample.
330 See·also:·al_stop_samples322 See·also:·al_stop_samples
331 Examples:323 Examples:
332 ····*·ex_acodec_multi.c324 ····*·ex_acodec_multi.c
333 ····*·ex_kcm_direct.c325 ····*·ex_kcm_direct.c
334 ····*·ex_mixer_chain.c326 ····*·ex_mixer_chain.c
335 *****·al_stop_samples·*****327 *****·al_stop_samples·*****
336 void·al_stop_samples(void)328 void·al_stop_samples(void)
337 void·al_stop_samples(void) 
338 Source_Code329 Source_Code
339 Stop·all·samples·started·by·al_play_sample.330 Stop·all·samples·started·by·al_play_sample.
340 See·also:·al_stop_sample331 See·also:·al_stop_sample
341 Examples:332 Examples:
342 ····*·ex_audio_simple.c333 ····*·ex_audio_simple.c
343 *****·al_lock_sample_id·*****334 *****·al_lock_sample_id·*****
344 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)335 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
345 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id) 
346 Source_Code336 Source_Code
347 Locks·a·ALLEGRO_SAMPLE_ID,·returning·the·underlying·ALLEGRO_SAMPLE_INSTANCE.337 Locks·a·ALLEGRO_SAMPLE_ID,·returning·the·underlying·ALLEGRO_SAMPLE_INSTANCE.
348 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such·as338 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such·as
349 volume,·pan,·etc)·while·the·sound·is·playing.339 volume,·pan,·etc)·while·the·sound·is·playing.
350 This·function·will·return·NULL·if·the·sound·corresponding·to·the·id·is·no340 This·function·will·return·NULL·if·the·sound·corresponding·to·the·id·is·no
351 longer·playing.341 longer·playing.
352 While·locked,·ALLEGRO_SAMPLE_ID·will·be·unavailable·to·additional·calls·to342 While·locked,·ALLEGRO_SAMPLE_ID·will·be·unavailable·to·additional·calls·to
Offset 356, 28 lines modifiedOffset 346, 26 lines modified
356 See·also:·al_play_sample,·al_unlock_sample_id346 See·also:·al_play_sample,·al_unlock_sample_id
357 Since:·5.2.3347 Since:·5.2.3
358 ·····Unstable_API:·New·API.348 ·····Unstable_API:·New·API.
359 Examples:349 Examples:
360 ····*·ex_audio_simple.c350 ····*·ex_audio_simple.c
361 *****·al_unlock_sample_id·*****351 *****·al_unlock_sample_id·*****
362 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)352 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
363 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id) 
364 Source_Code353 Source_Code
365 Unlocks·a·ALLEGRO_SAMPLE_ID,·allowing·future·calls·to·al_play_sample·to·reuse354 Unlocks·a·ALLEGRO_SAMPLE_ID,·allowing·future·calls·to·al_play_sample·to·reuse
366 it·if·possible.·Note·that·after·the·id·is·unlocked,·the·ALLEGRO_SAMPLE_INSTANCE355 it·if·possible.·Note·that·after·the·id·is·unlocked,·the·ALLEGRO_SAMPLE_INSTANCE
367 that·was·previously·returned·by·al_lock_sample_id·will·possibly·be·playing·a356 that·was·previously·returned·by·al_lock_sample_id·will·possibly·be·playing·a
368 different·sound,·so·you·should·only·use·it·after·locking·the·id·again.357 different·sound,·so·you·should·only·use·it·after·locking·the·id·again.
369 See·also:·al_play_sample,·al_lock_sample_id358 See·also:·al_play_sample,·al_lock_sample_id
370 Since:·5.2.3359 Since:·5.2.3
371 ·····Unstable_API:·New·API.360 ·····Unstable_API:·New·API.
372 Examples:361 Examples:
373 ····*·ex_audio_simple.c362 ····*·ex_audio_simple.c
374 *****·al_play_audio_stream·*****363 *****·al_play_audio_stream·*****
375 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)364 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)
Max diff block lines reached; 71675/76833 bytes (93.29%) of diff not shown.
95.8 KB
./usr/share/doc/allegro5-doc/refman/color.html
    
Offset 224, 16 lines modifiedOffset 224, 15 lines modified
224 between·the·three·color·channels·into·account·as·well.·In·general,·most224 between·the·three·color·channels·into·account·as·well.·In·general,·most
225 monitors·nowadays·try·to·be·close·to·the·sRGB·specification.·And·so·if225 monitors·nowadays·try·to·be·close·to·the·sRGB·specification.·And·so·if
226 in·an·Allegro·game·you·display·something·with·color</p>226 in·an·Allegro·game·you·display·something·with·color</p>
227 <p>al_map_rgb_f(0.5,·0.5,·0,5)</p>227 <p>al_map_rgb_f(0.5,·0.5,·0,5)</p>
228 <p>then·it·will·appear·at·about·half·brightness·(even·though·the·actual228 <p>then·it·will·appear·at·about·half·brightness·(even·though·the·actual
229 brightness·output·of·the·monitor·will·be·less·than·half).</p>229 brightness·output·of·the·monitor·will·be·less·than·half).</p>
230 <h1·id="al_color_cmyk">al_color_cmyk</h1>230 <h1·id="al_color_cmyk">al_color_cmyk</h1>
231 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_cmyk<span·class="op">(</span><span·class="dt">float</span>·c<span·class="op">,</span>·<span·class="dt">float</span>·m<span·class="op">,</span>·<span·class="dt">float</span>·y<span·class="op">,</span>·<span·class="dt">float</span>·k<span·class="op">)</span></span>231 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_cmyk<span·class="op">(</span><span·class="dt">float</span>·c<span·class="op">,</span>·<span·class="dt">float</span>·m<span·class="op">,</span>·<span·class="dt">float</span>·y<span·class="op">,</span>·<span·class="dt">float</span>·k<span·class="op">)</span></span></code></pre></div>
232 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_cmyk<span·class="op">(</span><span·class="dt">float</span>·c<span·class="op">,</span>·<span·class="dt">float</span>·m<span·class="op">,</span>·<span·class="dt">float</span>·y<span·class="op">,</span>·<span·class="dt">float</span>·k<span·class="op">)</span></span></code></pre></div> 
233 <p><a232 <p><a
234 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L480">Source233 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L480">Source
235 Code</a></p>234 Code</a></p>
236 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>235 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>
237 structure·from·CMYK·values·(cyan,·magenta,·yellow,·black).</p>236 structure·from·CMYK·values·(cyan,·magenta,·yellow,·black).</p>
238 <p>See·also:·<a237 <p>See·also:·<a
239 href="color.html#al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</a>,·<a238 href="color.html#al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</a>,·<a
Offset 241, 31 lines modifiedOffset 240, 28 lines modified
241 <p>Examples:</p>240 <p>Examples:</p>
242 <ul>241 <ul>
243 <li><a242 <li><a
244 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>
245 </ul>244 </ul>
246 <h1·id="al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</h1>245 <h1·id="al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</h1>
247 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_cmyk_to_rgb<span·class="op">(</span><span·class="dt">float</span>·cyan<span·class="op">,</span>·<span·class="dt">float</span>·magenta<span·class="op">,</span>·<span·class="dt">float</span>·yellow<span·class="op">,</span></span>246 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_cmyk_to_rgb<span·class="op">(</span><span·class="dt">float</span>·cyan<span·class="op">,</span>·<span·class="dt">float</span>·magenta<span·class="op">,</span>·<span·class="dt">float</span>·yellow<span·class="op">,</span></span>
248 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>····<span·class="dt">float</span>·key<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span> 
249 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_cmyk_to_rgb<span·class="op">(</span><span·class="dt">float</span>·cyan<span·class="op">,</span>·<span·class="dt">float</span>·magenta<span·class="op">,</span>·<span·class="dt">float</span>·yellow<span·class="op">,</span></span> 
250 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a>····<span·class="dt">float</span>·key<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span></code></pre></div>247 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>····<span·class="dt">float</span>·key<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span></code></pre></div>
251 <p><a248 <p><a
252 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L446">Source249 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L446">Source
253 Code</a></p>250 Code</a></p>
254 <p>Convert·CMYK·values·to·RGB·values.</p>251 <p>Convert·CMYK·values·to·RGB·values.</p>
255 <p>See·also:·<a·href="color.html#al_color_cmyk">al_color_cmyk</a>,·<a252 <p>See·also:·<a·href="color.html#al_color_cmyk">al_color_cmyk</a>,·<a
256 href="color.html#al_color_rgb_to_cmyk">al_color_rgb_to_cmyk</a></p>253 href="color.html#al_color_rgb_to_cmyk">al_color_rgb_to_cmyk</a></p>
257 <p>Examples:</p>254 <p>Examples:</p>
258 <ul>255 <ul>
259 <li><a256 <li><a
260 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>257 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>
261 </ul>258 </ul>
262 <h1·id="al_color_hsl">al_color_hsl</h1>259 <h1·id="al_color_hsl">al_color_hsl</h1>
263 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_hsl<span·class="op">(</span><span·class="dt">float</span>·h<span·class="op">,</span>·<span·class="dt">float</span>·s<span·class="op">,</span>·<span·class="dt">float</span>·l<span·class="op">)</span></span>260 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_hsl<span·class="op">(</span><span·class="dt">float</span>·h<span·class="op">,</span>·<span·class="dt">float</span>·s<span·class="op">,</span>·<span·class="dt">float</span>·l<span·class="op">)</span></span></code></pre></div>
264 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_hsl<span·class="op">(</span><span·class="dt">float</span>·h<span·class="op">,</span>·<span·class="dt">float</span>·s<span·class="op">,</span>·<span·class="dt">float</span>·l<span·class="op">)</span></span></code></pre></div> 
265 <p><a261 <p><a
266 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L436">Source262 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L436">Source
267 Code</a></p>263 Code</a></p>
268 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>264 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>
269 structure·from·HSL·(hue,·saturation,·lightness)·values.</p>265 structure·from·HSL·(hue,·saturation,·lightness)·values.</p>
270 <p>Parameters:</p>266 <p>Parameters:</p>
271 <ul>267 <ul>
Offset 283, 17 lines modifiedOffset 279, 15 lines modified
283 <li><a279 <li><a
284 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_clip.c#L50">ex_clip.c</a></li>280 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_clip.c#L50">ex_clip.c</a></li>
285 <li><a281 <li><a
286 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>282 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>
287 </ul>283 </ul>
288 <h1·id="al_color_hsl_to_rgb">al_color_hsl_to_rgb</h1>284 <h1·id="al_color_hsl_to_rgb">al_color_hsl_to_rgb</h1>
289 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_hsl_to_rgb<span·class="op">(</span><span·class="dt">float</span>·hue<span·class="op">,</span>·<span·class="dt">float</span>·saturation<span·class="op">,</span>·<span·class="dt">float</span>·lightness<span·class="op">,</span></span>285 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_hsl_to_rgb<span·class="op">(</span><span·class="dt">float</span>·hue<span·class="op">,</span>·<span·class="dt">float</span>·saturation<span·class="op">,</span>·<span·class="dt">float</span>·lightness<span·class="op">,</span></span>
290 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span> 
291 <span·id="cb5-3"><a·href="#cb5-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_hsl_to_rgb<span·class="op">(</span><span·class="dt">float</span>·hue<span·class="op">,</span>·<span·class="dt">float</span>·saturation<span·class="op">,</span>·<span·class="dt">float</span>·lightness<span·class="op">,</span></span> 
292 <span·id="cb5-4"><a·href="#cb5-4"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span></code></pre></div>286 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span></code></pre></div>
293 <p><a287 <p><a
294 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L367">Source288 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L367">Source
295 Code</a></p>289 Code</a></p>
296 <p>Convert·values·in·HSL·color·model·to·RGB·color·model.</p>290 <p>Convert·values·in·HSL·color·model·to·RGB·color·model.</p>
297 <p>Parameters:</p>291 <p>Parameters:</p>
298 <ul>292 <ul>
299 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>293 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>
Offset 309, 16 lines modifiedOffset 303, 15 lines modified
309 <ul>303 <ul>
310 <li><a304 <li><a
311 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L101">ex_color.cpp</a></li>305 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L101">ex_color.cpp</a></li>
312 <li><a306 <li><a
313 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>307 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>
314 </ul>308 </ul>
315 <h1·id="al_color_hsv">al_color_hsv</h1>309 <h1·id="al_color_hsv">al_color_hsv</h1>
316 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_hsv<span·class="op">(</span><span·class="dt">float</span>·h<span·class="op">,</span>·<span·class="dt">float</span>·s<span·class="op">,</span>·<span·class="dt">float</span>·v<span·class="op">)</span></span>310 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_hsv<span·class="op">(</span><span·class="dt">float</span>·h<span·class="op">,</span>·<span·class="dt">float</span>·s<span·class="op">,</span>·<span·class="dt">float</span>·v<span·class="op">)</span></span></code></pre></div>
317 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_hsv<span·class="op">(</span><span·class="dt">float</span>·h<span·class="op">,</span>·<span·class="dt">float</span>·s<span·class="op">,</span>·<span·class="dt">float</span>·v<span·class="op">)</span></span></code></pre></div> 
318 <p><a311 <p><a
319 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L339">Source312 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L339">Source
320 Code</a></p>313 Code</a></p>
321 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>314 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>
322 structure·from·HSV·(hue,·saturation,·value)·values.</p>315 structure·from·HSV·(hue,·saturation,·value)·values.</p>
323 <p>Parameters:</p>316 <p>Parameters:</p>
324 <ul>317 <ul>
Offset 336, 17 lines modifiedOffset 329, 15 lines modified
336 <li><a329 <li><a
337 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>330 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>
338 <li><a331 <li><a
339 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L95">ex_multisample.c</a></li>332 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L95">ex_multisample.c</a></li>
340 </ul>333 </ul>
341 <h1·id="al_color_hsv_to_rgb">al_color_hsv_to_rgb</h1>334 <h1·id="al_color_hsv_to_rgb">al_color_hsv_to_rgb</h1>
342 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_hsv_to_rgb<span·class="op">(</span><span·class="dt">float</span>·hue<span·class="op">,</span>·<span·class="dt">float</span>·saturation<span·class="op">,</span>·<span·class="dt">float</span>·value<span·class="op">,</span></span>335 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_hsv_to_rgb<span·class="op">(</span><span·class="dt">float</span>·hue<span·class="op">,</span>·<span·class="dt">float</span>·saturation<span·class="op">,</span>·<span·class="dt">float</span>·value<span·class="op">,</span></span>
343 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span> 
344 <span·id="cb7-3"><a·href="#cb7-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_color_hsv_to_rgb<span·class="op">(</span><span·class="dt">float</span>·hue<span·class="op">,</span>·<span·class="dt">float</span>·saturation<span·class="op">,</span>·<span·class="dt">float</span>·value<span·class="op">,</span></span> 
345 <span·id="cb7-4"><a·href="#cb7-4"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span></code></pre></div>336 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span></code></pre></div>
346 <p><a337 <p><a
347 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L266">Source338 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L266">Source
348 Code</a></p>339 Code</a></p>
349 <p>Convert·values·in·HSV·color·model·to·RGB·color·model.</p>340 <p>Convert·values·in·HSV·color·model·to·RGB·color·model.</p>
350 <p>Parameters:</p>341 <p>Parameters:</p>
351 <ul>342 <ul>
352 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>343 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>
Offset 360, 16 lines modifiedOffset 351, 15 lines modified
360 href="color.html#al_color_hsl_to_rgb">al_color_hsl_to_rgb</a></p>351 href="color.html#al_color_hsl_to_rgb">al_color_hsl_to_rgb</a></p>
361 <p>Examples:</p>352 <p>Examples:</p>
362 <ul>353 <ul>
363 <li><a354 <li><a
364 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>355 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>
365 </ul>356 </ul>
366 <h1·id="al_color_html">al_color_html</h1>357 <h1·id="al_color_html">al_color_html</h1>
367 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_html<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>string<span·class="op">)</span></span>358 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_html<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>string<span·class="op">)</span></span></code></pre></div>
368 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_COLOR·al_color_html<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>string<span·class="op">)</span></span></code></pre></div> 
369 <p><a359 <p><a
370 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L568">Source360 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L568">Source
371 Code</a></p>361 Code</a></p>
372 <p>Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The362 <p>Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The
373 accepted·format·is·the·same·as·<a363 accepted·format·is·the·same·as·<a
374 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>.</p>364 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>.</p>
375 <p>Returns·the·interpreted·color,·or365 <p>Returns·the·interpreted·color,·or
Offset 380, 17 lines modifiedOffset 370, 15 lines modified
380 Allegro·5.0.x.</p>370 Allegro·5.0.x.</p>
381 </blockquote>371 </blockquote>
382 <p>See·also:·<a372 <p>See·also:·<a
383 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>,·<a373 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>,·<a
384 href="color.html#al_color_rgb_to_html">al_color_rgb_to_html</a></p>374 href="color.html#al_color_rgb_to_html">al_color_rgb_to_html</a></p>
385 <h1·id="al_color_html_to_rgb">al_color_html_to_rgb</h1>375 <h1·id="al_color_html_to_rgb">al_color_html_to_rgb</h1>
386 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_color_html_to_rgb<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>string<span·class="op">,</span></span>376 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_color_html_to_rgb<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>string<span·class="op">,</span></span>
387 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·<span·class="op">*</span>red<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>green<span·class="op">,</span>·<span·class="dt">float</span>·<span·class="op">*</span>blue<span·class="op">)</span></span> 
Max diff block lines reached; 62967/79035 bytes (79.67%) of diff not shown.
18.5 KB
html2text {}
    
Offset 103, 120 lines modifiedOffset 103, 106 lines modified
103 try·to·be·close·to·the·sRGB·specification.·And·so·if·in·an·Allegro·game·you103 try·to·be·close·to·the·sRGB·specification.·And·so·if·in·an·Allegro·game·you
104 display·something·with·color104 display·something·with·color
105 al_map_rgb_f(0.5,·0.5,·0,5)105 al_map_rgb_f(0.5,·0.5,·0,5)
106 then·it·will·appear·at·about·half·brightness·(even·though·the·actual·brightness106 then·it·will·appear·at·about·half·brightness·(even·though·the·actual·brightness
107 output·of·the·monitor·will·be·less·than·half).107 output·of·the·monitor·will·be·less·than·half).
108 ******·al_color_cmyk·******108 ******·al_color_cmyk·******
109 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)109 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)
110 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k) 
111 Source_Code110 Source_Code
112 Return·an·ALLEGRO_COLOR·structure·from·CMYK·values·(cyan,·magenta,·yellow,111 Return·an·ALLEGRO_COLOR·structure·from·CMYK·values·(cyan,·magenta,·yellow,
113 black).112 black).
114 See·also:·al_color_cmyk_to_rgb,·al_color_rgb_to_cmyk113 See·also:·al_color_cmyk_to_rgb,·al_color_rgb_to_cmyk
115 Examples:114 Examples:
116 ····*·ex_color.cpp115 ····*·ex_color.cpp
117 ******·al_color_cmyk_to_rgb·******116 ******·al_color_cmyk_to_rgb·******
118 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,117 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,
119 ····float·key,·float·*red,·float·*green,·float·*blue)118 ····float·key,·float·*red,·float·*green,·float·*blue)
120 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow, 
121 ····float·key,·float·*red,·float·*green,·float·*blue) 
122 Source_Code119 Source_Code
123 Convert·CMYK·values·to·RGB·values.120 Convert·CMYK·values·to·RGB·values.
124 See·also:·al_color_cmyk,·al_color_rgb_to_cmyk121 See·also:·al_color_cmyk,·al_color_rgb_to_cmyk
125 Examples:122 Examples:
126 ····*·ex_color.cpp123 ····*·ex_color.cpp
127 ******·al_color_hsl·******124 ******·al_color_hsl·******
128 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)125 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)
129 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l) 
130 Source_Code126 Source_Code
131 Return·an·ALLEGRO_COLOR·structure·from·HSL·(hue,·saturation,·lightness)·values.127 Return·an·ALLEGRO_COLOR·structure·from·HSL·(hue,·saturation,·lightness)·values.
132 Parameters:128 Parameters:
133 ····*·hue·-·Color·hue·angle·in·the·range·0..360129 ····*·hue·-·Color·hue·angle·in·the·range·0..360
134 ····*·saturation·-·Color·saturation·in·the·range·0..1130 ····*·saturation·-·Color·saturation·in·the·range·0..1
135 ····*·lightness·-·Color·lightness·in·the·range·0..1131 ····*·lightness·-·Color·lightness·in·the·range·0..1
136 See·also:·al_color_hsl_to_rgb,·al_color_hsv132 See·also:·al_color_hsl_to_rgb,·al_color_hsv
137 Examples:133 Examples:
138 ····*·ex_color.cpp134 ····*·ex_color.cpp
139 ····*·ex_clip.c135 ····*·ex_clip.c
140 ····*·ex_palette.c136 ····*·ex_palette.c
141 ******·al_color_hsl_to_rgb·******137 ******·al_color_hsl_to_rgb·******
142 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,138 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,
143 ···float·*red,·float·*green,·float·*blue)139 ···float·*red,·float·*green,·float·*blue)
144 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness, 
145 ···float·*red,·float·*green,·float·*blue) 
146 Source_Code140 Source_Code
147 Convert·values·in·HSL·color·model·to·RGB·color·model.141 Convert·values·in·HSL·color·model·to·RGB·color·model.
148 Parameters:142 Parameters:
149 ····*·hue·-·Color·hue·angle·in·the·range·0..360143 ····*·hue·-·Color·hue·angle·in·the·range·0..360
150 ····*·saturation·-·Color·saturation·in·the·range·0..1144 ····*·saturation·-·Color·saturation·in·the·range·0..1
151 ····*·lightness·-·Color·lightness·in·the·range·0..1145 ····*·lightness·-·Color·lightness·in·the·range·0..1
152 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1146 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1
153 See·also:·al_color_rgb_to_hsl,·al_color_hsl,·al_color_hsv_to_rgb147 See·also:·al_color_rgb_to_hsl,·al_color_hsl,·al_color_hsv_to_rgb
154 Examples:148 Examples:
155 ····*·ex_color.cpp149 ····*·ex_color.cpp
156 ····*·ex_palette.c150 ····*·ex_palette.c
157 ******·al_color_hsv·******151 ******·al_color_hsv·******
158 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)152 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)
159 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v) 
160 Source_Code153 Source_Code
161 Return·an·ALLEGRO_COLOR·structure·from·HSV·(hue,·saturation,·value)·values.154 Return·an·ALLEGRO_COLOR·structure·from·HSV·(hue,·saturation,·value)·values.
162 Parameters:155 Parameters:
163 ····*·hue·-·Color·hue·angle·in·the·range·0..360156 ····*·hue·-·Color·hue·angle·in·the·range·0..360
164 ····*·saturation·-·Color·saturation·in·the·range·0..1157 ····*·saturation·-·Color·saturation·in·the·range·0..1
165 ····*·value·-·Color·value·in·the·range·0..1158 ····*·value·-·Color·value·in·the·range·0..1
166 See·also:·al_color_hsv_to_rgb,·al_color_hsl159 See·also:·al_color_hsv_to_rgb,·al_color_hsl
167 Examples:160 Examples:
168 ····*·ex_font_multiline.cpp161 ····*·ex_font_multiline.cpp
169 ····*·ex_color.cpp162 ····*·ex_color.cpp
170 ····*·ex_multisample.c163 ····*·ex_multisample.c
171 ******·al_color_hsv_to_rgb·******164 ******·al_color_hsv_to_rgb·******
172 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,165 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,
173 ···float·*red,·float·*green,·float·*blue)166 ···float·*red,·float·*green,·float·*blue)
174 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value, 
175 ···float·*red,·float·*green,·float·*blue) 
176 Source_Code167 Source_Code
177 Convert·values·in·HSV·color·model·to·RGB·color·model.168 Convert·values·in·HSV·color·model·to·RGB·color·model.
178 Parameters:169 Parameters:
179 ····*·hue·-·Color·hue·angle·in·the·range·0..360170 ····*·hue·-·Color·hue·angle·in·the·range·0..360
180 ····*·saturation·-·Color·saturation·in·the·range·0..1171 ····*·saturation·-·Color·saturation·in·the·range·0..1
181 ····*·value·-·Color·value·in·the·range·0..1172 ····*·value·-·Color·value·in·the·range·0..1
182 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1173 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1
183 See·also:·al_color_rgb_to_hsv,·al_color_hsv,·al_color_hsl_to_rgb174 See·also:·al_color_rgb_to_hsv,·al_color_hsv,·al_color_hsl_to_rgb
184 Examples:175 Examples:
185 ····*·ex_color.cpp176 ····*·ex_color.cpp
186 ******·al_color_html·******177 ******·al_color_html·******
187 ALLEGRO_COLOR·al_color_html(char·const·*string)178 ALLEGRO_COLOR·al_color_html(char·const·*string)
188 ALLEGRO_COLOR·al_color_html(char·const·*string) 
189 Source_Code179 Source_Code
190 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·accepted180 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·accepted
191 format·is·the·same·as·al_color_html_to_rgb.181 format·is·the·same·as·al_color_html_to_rgb.
192 Returns·the·interpreted·color,·or·al_map_rgba(0,·0,·0,·0)·if·the·string·could182 Returns·the·interpreted·color,·or·al_map_rgba(0,·0,·0,·0)·if·the·string·could
193 not·be·parsed.183 not·be·parsed.
194 ·····Note:·the·behaviour·on·invalid·strings·is·different·from·Allegro184 ·····Note:·the·behaviour·on·invalid·strings·is·different·from·Allegro
195 ·····5.0.x.185 ·····5.0.x.
196 See·also:·al_color_html_to_rgb,·al_color_rgb_to_html186 See·also:·al_color_html_to_rgb,·al_color_rgb_to_html
197 ******·al_color_html_to_rgb·******187 ******·al_color_html_to_rgb·******
198 bool·al_color_html_to_rgb(char·const·*string,188 bool·al_color_html_to_rgb(char·const·*string,
199 ···float·*red,·float·*green,·float·*blue)189 ···float·*red,·float·*green,·float·*blue)
200 bool·al_color_html_to_rgb(char·const·*string, 
201 ···float·*red,·float·*green,·float·*blue) 
202 Source_Code190 Source_Code
203 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·only191 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·only
204 accepted·formats·are·â€œ#RRGGBB”·and·â€œRRGGBB”·where·R,·G,·B·are192 accepted·formats·are·â€œ#RRGGBB”·and·â€œRRGGBB”·where·R,·G,·B·are
205 hexadecimal·digits·[0-9A-Fa-f].193 hexadecimal·digits·[0-9A-Fa-f].
206 Returns·true·on·success,·false·on·failure.·On·failure·all·components·are·set·to194 Returns·true·on·success,·false·on·failure.·On·failure·all·components·are·set·to
207 zero.195 zero.
208 ·····Note:·the·behaviour·on·invalid·strings·is·different·from·Allegro196 ·····Note:·the·behaviour·on·invalid·strings·is·different·from·Allegro
209 ·····5.0.x.197 ·····5.0.x.
210 See·also:·al_color_html,·al_color_rgb_to_html198 See·also:·al_color_html,·al_color_rgb_to_html
211 ******·al_color_rgb_to_html·******199 ******·al_color_rgb_to_html·******
212 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,200 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,
213 ····char·*string)201 ····char·*string)
214 void·al_color_rgb_to_html(float·red,·float·green,·float·blue, 
215 ····char·*string) 
216 Source_Code202 Source_Code
217 Create·an·HTML-style·string·representation·of·an·ALLEGRO_COLOR,·e.g. #00faff.203 Create·an·HTML-style·string·representation·of·an·ALLEGRO_COLOR,·e.g. #00faff.
218 Parameters:204 Parameters:
219 ····*·red,·green,·blue·-·The·color·components·in·the·range·0..1.205 ····*·red,·green,·blue·-·The·color·components·in·the·range·0..1.
220 ····*·string·-·A·pointer·to·a·buffer·of·at·least·8·bytes,·into·which·the·result206 ····*·string·-·A·pointer·to·a·buffer·of·at·least·8·bytes,·into·which·the·result
221 ······will·be·written·(including·the·NUL·terminator).207 ······will·be·written·(including·the·NUL·terminator).
222 Example:208 Example:
Offset 224, 26 lines modifiedOffset 210, 24 lines modified
224 al_color_rgb_to_html(1,·0,·0,·html);210 al_color_rgb_to_html(1,·0,·0,·html);
225 Now·html·will·contain·â€œ#ff0000”.211 Now·html·will·contain·â€œ#ff0000”.
226 See·also:·al_color_html,·al_color_html_to_rgb212 See·also:·al_color_html,·al_color_html_to_rgb
227 Examples:213 Examples:
228 ····*·ex_color.cpp214 ····*·ex_color.cpp
229 ******·al_color_name·******215 ******·al_color_name·******
Max diff block lines reached; 13647/18945 bytes (72.03%) of diff not shown.
8.1 KB
./usr/share/doc/allegro5-doc/refman/config.html
    
Offset 228, 32 lines modifiedOffset 228, 30 lines modified
228 an·actual·program):</p>228 an·actual·program):</p>
229 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_CONFIG<span·class="op">*</span>·cfg·<span·class="op">=</span>·al_load_config_file<span·class="op">(</span><span·class="st">&quot;test.cfg&quot;</span><span·class="op">);</span></span>229 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_CONFIG<span·class="op">*</span>·cfg·<span·class="op">=</span>·al_load_config_file<span·class="op">(</span><span·class="st">&quot;test.cfg&quot;</span><span·class="op">);</span></span>
230 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;%s</span><span·class="sc">\n</span><span·class="st">&quot;</span><span·class="op">,</span>·al_get_config_value<span·class="op">(</span>cfg<span·class="op">,</span>·<span·class="st">&quot;&quot;</span><span·class="op">,</span>·<span·class="st">&quot;monster·name&quot;</span><span·class="op">));</span>·<span·class="co">/*·Prints:·Allegro·Developer·*/</span></span>230 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;%s</span><span·class="sc">\n</span><span·class="st">&quot;</span><span·class="op">,</span>·al_get_config_value<span·class="op">(</span>cfg<span·class="op">,</span>·<span·class="st">&quot;&quot;</span><span·class="op">,</span>·<span·class="st">&quot;monster·name&quot;</span><span·class="op">));</span>·<span·class="co">/*·Prints:·Allegro·Developer·*/</span></span>
231 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;%s</span><span·class="sc">\n</span><span·class="st">&quot;</span><span·class="op">,</span>·al_get_config_value<span·class="op">(</span>cfg<span·class="op">,</span>·<span·class="st">&quot;weapon·0&quot;</span><span·class="op">,</span>·<span·class="st">&quot;damage&quot;</span><span·class="op">));</span>·<span·class="co">/*·Prints:·443·*/</span></span>231 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;%s</span><span·class="sc">\n</span><span·class="st">&quot;</span><span·class="op">,</span>·al_get_config_value<span·class="op">(</span>cfg<span·class="op">,</span>·<span·class="st">&quot;weapon·0&quot;</span><span·class="op">,</span>·<span·class="st">&quot;damage&quot;</span><span·class="op">));</span>·<span·class="co">/*·Prints:·443·*/</span></span>
232 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;%s</span><span·class="sc">\n</span><span·class="st">&quot;</span><span·class="op">,</span>·al_get_config_value<span·class="op">(</span>cfg<span·class="op">,</span>·<span·class="st">&quot;weapon·1&quot;</span><span·class="op">,</span>·<span·class="st">&quot;damage&quot;</span><span·class="op">));</span>·<span·class="co">/*·Prints:·503·*/</span></span>232 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;%s</span><span·class="sc">\n</span><span·class="st">&quot;</span><span·class="op">,</span>·al_get_config_value<span·class="op">(</span>cfg<span·class="op">,</span>·<span·class="st">&quot;weapon·1&quot;</span><span·class="op">,</span>·<span·class="st">&quot;damage&quot;</span><span·class="op">));</span>·<span·class="co">/*·Prints:·503·*/</span></span>
233 <span·id="cb3-5"><a·href="#cb3-5"·aria-hidden="true"·tabindex="-1"></a>al_destroy_config<span·class="op">(</span>cfg<span·class="op">);</span></span></code></pre></div>233 <span·id="cb3-5"><a·href="#cb3-5"·aria-hidden="true"·tabindex="-1"></a>al_destroy_config<span·class="op">(</span>cfg<span·class="op">);</span></span></code></pre></div>
234 <h1·id="allegro_config">ALLEGRO_CONFIG</h1>234 <h1·id="allegro_config">ALLEGRO_CONFIG</h1>
235 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG·ALLEGRO_CONFIG<span·class="op">;</span></span>235 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG·ALLEGRO_CONFIG<span·class="op">;</span></span></code></pre></div>
236 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG·ALLEGRO_CONFIG<span·class="op">;</span></span></code></pre></div> 
237 <p><a236 <p><a
238 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L12">Source237 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L12">Source
239 Code</a></p>238 Code</a></p>
240 <p>An·abstract·configuration·structure.</p>239 <p>An·abstract·configuration·structure.</p>
241 <p>Examples:</p>240 <p>Examples:</p>
242 <ul>241 <ul>
243 <li><a242 <li><a
244 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L26">ex_config.c</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L26">ex_config.c</a></li>
245 <li><a244 <li><a
246 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vsync.c#L14">ex_vsync.c</a></li>245 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vsync.c#L14">ex_vsync.c</a></li>
247 <li><a246 <li><a
248 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_seek.c#L239">ex_stream_seek.c</a></li>247 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_seek.c#L239">ex_stream_seek.c</a></li>
249 </ul>248 </ul>
250 <h1·id="allegro_config_section">ALLEGRO_CONFIG_SECTION</h1>249 <h1·id="allegro_config_section">ALLEGRO_CONFIG_SECTION</h1>
251 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION<span·class="op">;</span></span>250 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION<span·class="op">;</span></span></code></pre></div>
252 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION<span·class="op">;</span></span></code></pre></div> 
253 <p><a251 <p><a
254 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L16">Source252 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L16">Source
255 Code</a></p>253 Code</a></p>
256 <p>An·opaque·structure·used·for·iterating·across·sections·in·a254 <p>An·opaque·structure·used·for·iterating·across·sections·in·a
257 configuration·structure.</p>255 configuration·structure.</p>
258 <p>See·also:·<a256 <p>See·also:·<a
259 href="config.html#al_get_first_config_section">al_get_first_config_section</a>,257 href="config.html#al_get_first_config_section">al_get_first_config_section</a>,
Offset 261, 16 lines modifiedOffset 259, 15 lines modified
261 href="config.html#al_get_next_config_section">al_get_next_config_section</a></p>259 href="config.html#al_get_next_config_section">al_get_next_config_section</a></p>
262 <p>Examples:</p>260 <p>Examples:</p>
263 <ul>261 <ul>
264 <li><a262 <li><a
265 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L28">ex_config.c</a></li>263 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L28">ex_config.c</a></li>
266 </ul>264 </ul>
267 <h1·id="allegro_config_entry">ALLEGRO_CONFIG_ENTRY</h1>265 <h1·id="allegro_config_entry">ALLEGRO_CONFIG_ENTRY</h1>
268 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY<span·class="op">;</span></span>266 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY<span·class="op">;</span></span></code></pre></div>
269 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY<span·class="op">;</span></span></code></pre></div> 
270 <p><a267 <p><a
271 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L20">Source268 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L20">Source
272 Code</a></p>269 Code</a></p>
273 <p>An·opaque·structure·used·for·iterating·across·entries·in·a270 <p>An·opaque·structure·used·for·iterating·across·entries·in·a
274 configuration·section.</p>271 configuration·section.</p>
275 <p>See·also:·<a272 <p>See·also:·<a
276 href="config.html#al_get_first_config_entry">al_get_first_config_entry</a>,273 href="config.html#al_get_first_config_entry">al_get_first_config_entry</a>,
Offset 567, 12 lines modifiedOffset 564, 12 lines modified
567 <p>Merge·one·configuration·structure·into·another.·Values·in564 <p>Merge·one·configuration·structure·into·another.·Values·in
568 configuration·‘add’·override·those·in·‘master’.·‘master’·is·modified.565 configuration·‘add’·override·those·in·‘master’.·‘master’·is·modified.
569 Comments·from·‘add’·are·not·retained.</p>566 Comments·from·‘add’·are·not·retained.</p>
570 <p>See·also:·<a567 <p>See·also:·<a
571 href="config.html#al_merge_config">al_merge_config</a></p>568 href="config.html#al_merge_config">al_merge_config</a></p>
572 <p·class="timestamp">569 <p·class="timestamp">
573 Allegro·version·5.2.8570 Allegro·version·5.2.8
574 ·-·Last·updated:·2025-02-08·15:21:54·UTC571 ·-·Last·updated:·2024-01-07·09:01:09·UTC
575 </p>572 </p>
576 </div>573 </div>
577 </body>574 </body>
578 </html>575 </html>
1.67 KB
html2text {}
    
Offset 105, 33 lines modifiedOffset 105, 30 lines modified
105 printf("%s\n",·al_get_config_value(cfg,·"weapon·0",·"damage"));·/*·Prints:·443105 printf("%s\n",·al_get_config_value(cfg,·"weapon·0",·"damage"));·/*·Prints:·443
106 */106 */
107 printf("%s\n",·al_get_config_value(cfg,·"weapon·1",·"damage"));·/*·Prints:·503107 printf("%s\n",·al_get_config_value(cfg,·"weapon·1",·"damage"));·/*·Prints:·503
108 */108 */
109 al_destroy_config(cfg);109 al_destroy_config(cfg);
110 ******·ALLEGRO_CONFIG·******110 ******·ALLEGRO_CONFIG·******
111 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;111 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;
112 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG; 
113 Source_Code112 Source_Code
114 An·abstract·configuration·structure.113 An·abstract·configuration·structure.
115 Examples:114 Examples:
116 ····*·ex_config.c115 ····*·ex_config.c
117 ····*·ex_vsync.c116 ····*·ex_vsync.c
118 ····*·ex_stream_seek.c117 ····*·ex_stream_seek.c
119 ******·ALLEGRO_CONFIG_SECTION·******118 ******·ALLEGRO_CONFIG_SECTION·******
120 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;119 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;
121 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION; 
122 Source_Code120 Source_Code
123 An·opaque·structure·used·for·iterating·across·sections·in·a·configuration121 An·opaque·structure·used·for·iterating·across·sections·in·a·configuration
124 structure.122 structure.
125 See·also:·al_get_first_config_section,·al_get_next_config_section123 See·also:·al_get_first_config_section,·al_get_next_config_section
126 Examples:124 Examples:
127 ····*·ex_config.c125 ····*·ex_config.c
128 ******·ALLEGRO_CONFIG_ENTRY·******126 ******·ALLEGRO_CONFIG_ENTRY·******
129 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;127 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;
130 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY; 
131 Source_Code128 Source_Code
132 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration129 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration
133 section.130 section.
134 See·also:·al_get_first_config_entry,·al_get_next_config_entry131 See·also:·al_get_first_config_entry,·al_get_next_config_entry
135 Examples:132 Examples:
136 ····*·ex_config.c133 ····*·ex_config.c
137 ******·al_create_config·******134 ******·al_create_config·******
Offset 300, 8 lines modifiedOffset 297, 8 lines modified
300 ******·al_merge_config_into·******297 ******·al_merge_config_into·******
301 void·al_merge_config_into(ALLEGRO_CONFIG·*master,·const·ALLEGRO_CONFIG·*add)298 void·al_merge_config_into(ALLEGRO_CONFIG·*master,·const·ALLEGRO_CONFIG·*add)
302 Source_Code299 Source_Code
303 Merge·one·configuration·structure·into·another.·Values·in·configuration300 Merge·one·configuration·structure·into·another.·Values·in·configuration
304 ‘add’·override·those·in·â€˜master’.·â€˜master’·is·modified.·Comments301 ‘add’·override·those·in·â€˜master’.·â€˜master’·is·modified.·Comments
305 from·â€˜add’·are·not·retained.302 from·â€˜add’·are·not·retained.
306 See·also:·al_merge_config303 See·also:·al_merge_config
307 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:54·UTC304 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:09·UTC
1010 B
./usr/share/doc/allegro5-doc/refman/direct3d.html
    
Offset 297, 12 lines modifiedOffset 297, 12 lines modified
297 is·restored.·In·the·callback·you·should·restore·any·d3d·resources·you297 is·restored.·In·the·callback·you·should·restore·any·d3d·resources·you
298 have·created·yourself.·The·callback·receives·the·affected·display·as·a298 have·created·yourself.·The·callback·receives·the·affected·display·as·a
299 parameter.</p>299 parameter.</p>
300 <p>Pass·NULL·to·disable·the·callback.</p>300 <p>Pass·NULL·to·disable·the·callback.</p>
301 <p>Since:·5.1.0</p>301 <p>Since:·5.1.0</p>
302 <p·class="timestamp">302 <p·class="timestamp">
303 Allegro·version·5.2.8303 Allegro·version·5.2.8
304 ·-·Last·updated:·2025-02-08·15:21:57·UTC304 ·-·Last·updated:·2024-01-07·09:01:14·UTC
305 </p>305 </p>
306 </div>306 </div>
307 </body>307 </body>
308 </html>308 </html>
506 B
html2text {}
    
Offset 132, 8 lines modifiedOffset 132, 8 lines modified
132 ···void·(*callback)(ALLEGRO_DISPLAY·*display))132 ···void·(*callback)(ALLEGRO_DISPLAY·*display))
133 Source_Code133 Source_Code
134 The·callback·will·be·called·whenever·a·D3D·device·that·has·been·reset·is134 The·callback·will·be·called·whenever·a·D3D·device·that·has·been·reset·is
135 restored.·In·the·callback·you·should·restore·any·d3d·resources·you·have·created135 restored.·In·the·callback·you·should·restore·any·d3d·resources·you·have·created
136 yourself.·The·callback·receives·the·affected·display·as·a·parameter.136 yourself.·The·callback·receives·the·affected·display·as·a·parameter.
137 Pass·NULL·to·disable·the·callback.137 Pass·NULL·to·disable·the·callback.
138 Since:·5.1.0138 Since:·5.1.0
139 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC139 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:14·UTC
4.67 KB
./usr/share/doc/allegro5-doc/refman/display.html
    
Offset 293, 16 lines modifiedOffset 293, 15 lines modified
293 example.</p>293 example.</p>
294 <p>In·order·to·write·a·well-behaved·application,·it·is·necessary·to294 <p>In·order·to·write·a·well-behaved·application,·it·is·necessary·to
295 remember·that·displays·will·also·inform·you·about·important·<a295 remember·that·displays·will·also·inform·you·about·important·<a
296 href="events.html#allegro_event_display_expose">events</a>·via·their·<a296 href="events.html#allegro_event_display_expose">events</a>·via·their·<a
297 href="display.html#al_get_display_event_source">event·sources</a>.</p>297 href="display.html#al_get_display_event_source">event·sources</a>.</p>
298 <h1·id="display-creation">Display·creation</h1>298 <h1·id="display-creation">Display·creation</h1>
299 <h2·id="allegro_display">ALLEGRO_DISPLAY</h2>299 <h2·id="allegro_display">ALLEGRO_DISPLAY</h2>
300 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY<span·class="op">;</span></span>300 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY<span·class="op">;</span></span></code></pre></div>
301 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY<span·class="op">;</span></span></code></pre></div> 
302 <p><a301 <p><a
303 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L112">Source302 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L112">Source
304 Code</a></p>303 Code</a></p>
305 <p>An·opaque·type·representing·an·open·display·or·window.</p>304 <p>An·opaque·type·representing·an·open·display·or·window.</p>
306 <p>Examples:</p>305 <p>Examples:</p>
307 <ul>306 <ul>
308 <li><a307 <li><a
Offset 1306, 16 lines modifiedOffset 1305, 15 lines modified
1306 <p>Examples:</p>1305 <p>Examples:</p>
1307 <ul>1306 <ul>
1308 <li><a1307 <li><a
1309 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L49">ex_window_title.c</a></li>1308 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L49">ex_window_title.c</a></li>
1310 </ul>1309 </ul>
1311 <h21310 <h2
1312 id="allegro_new_window_title_max_size">ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE</h2>1311 id="allegro_new_window_title_max_size">ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE</h2>
1313 <div·class="sourceCode"·id="cb37"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb37-1"><a·href="#cb37-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255</span></span>1312 <div·class="sourceCode"·id="cb37"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb37-1"><a·href="#cb37-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255</span></span></code></pre></div>
1314 <span·id="cb37-2"><a·href="#cb37-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255</span></span></code></pre></div> 
1315 <p><a1313 <p><a
1316 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L117">Source1314 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L117">Source
1317 Code</a></p>1315 Code</a></p>
1318 <p>This·is·the·maximum·size·of·the·title·that·can·be·set·with·<a1316 <p>This·is·the·maximum·size·of·the·title·that·can·be·set·with·<a
1319 href="display.html#al_set_new_window_title">al_set_new_window_title</a>.</p>1317 href="display.html#al_set_new_window_title">al_set_new_window_title</a>.</p>
1320 <p>See·also:·<a1318 <p>See·also:·<a
1321 href="display.html#al_set_new_window_title">al_set_new_window_title</a></p>1319 href="display.html#al_set_new_window_title">al_set_new_window_title</a></p>
Offset 1502, 12 lines modifiedOffset 1500, 12 lines modified
1502 <p>Examples:</p>1500 <p>Examples:</p>
1503 <ul>1501 <ul>
1504 <li><a1502 <li><a
1505 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_clipboard.c#L68">ex_clipboard.c</a></li>1503 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_clipboard.c#L68">ex_clipboard.c</a></li>
1506 </ul>1504 </ul>
1507 <p·class="timestamp">1505 <p·class="timestamp">
1508 Allegro·version·5.2.81506 Allegro·version·5.2.8
1509 ·-·Last·updated:·2025-02-08·15:21:54·UTC1507 ·-·Last·updated:·2024-01-07·09:01:09·UTC
1510 </p>1508 </p>
1511 </div>1509 </div>
1512 </body>1510 </body>
1513 </html>1511 </html>
1.6 KB
html2text {}
    
Offset 126, 15 lines modifiedOffset 126, 14 lines modified
126 provides·integration·for·both·(see·the·OpenGL·/·Direct3D·sections),·so·you·can126 provides·integration·for·both·(see·the·OpenGL·/·Direct3D·sections),·so·you·can
127 retrieve·the·underlying·textures·of·ALLEGRO_BITMAPs,·for·example.127 retrieve·the·underlying·textures·of·ALLEGRO_BITMAPs,·for·example.
128 In·order·to·write·a·well-behaved·application,·it·is·necessary·to·remember·that128 In·order·to·write·a·well-behaved·application,·it·is·necessary·to·remember·that
129 displays·will·also·inform·you·about·important·events·via·their·event_sources.129 displays·will·also·inform·you·about·important·events·via·their·event_sources.
130 ******·Display·creation·******130 ******·Display·creation·******
131 *****·ALLEGRO_DISPLAY·*****131 *****·ALLEGRO_DISPLAY·*****
132 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;132 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;
133 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY; 
134 Source_Code133 Source_Code
135 An·opaque·type·representing·an·open·display·or·window.134 An·opaque·type·representing·an·open·display·or·window.
136 Examples:135 Examples:
137 ····*·ex_monitorinfo.c136 ····*·ex_monitorinfo.c
138 ····*·ex_d3d.cpp137 ····*·ex_d3d.cpp
139 ····*·ex_keyboard_focus.c138 ····*·ex_keyboard_focus.c
140 *****·al_create_display·*****139 *****·al_create_display·*****
Offset 721, 15 lines modifiedOffset 720, 14 lines modified
721 See·also:·al_set_window_title,·al_get_new_window_title,·al_create_display,720 See·also:·al_set_window_title,·al_get_new_window_title,·al_create_display,
722 ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE721 ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE
723 Since:·5.1.12722 Since:·5.1.12
724 Examples:723 Examples:
725 ····*·ex_window_title.c724 ····*·ex_window_title.c
726 *****·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·*****725 *****·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·*****
727 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255726 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255
728 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255 
729 Source_Code727 Source_Code
730 This·is·the·maximum·size·of·the·title·that·can·be·set·with728 This·is·the·maximum·size·of·the·title·that·can·be·set·with
731 al_set_new_window_title.729 al_set_new_window_title.
732 See·also:·al_set_new_window_title730 See·also:·al_set_new_window_title
733 Since:·5.1.12731 Since:·5.1.12
734 *****·al_get_new_window_title·*****732 *****·al_get_new_window_title·*****
735 const·char·*al_get_new_window_title(void)733 const·char·*al_get_new_window_title(void)
Offset 831, 8 lines modifiedOffset 829, 8 lines modified
831 bool·al_clipboard_has_text(ALLEGRO_DISPLAY·*display)829 bool·al_clipboard_has_text(ALLEGRO_DISPLAY·*display)
832 Source_Code830 Source_Code
833 This·function·returns·true·if·and·only·if·the·clipboard·has·text·available.831 This·function·returns·true·if·and·only·if·the·clipboard·has·text·available.
834 Since:·5.1.12832 Since:·5.1.12
835 See·also:·al_set_clipboard_text,·al_get_clipboard_text833 See·also:·al_set_clipboard_text,·al_get_clipboard_text
836 Examples:834 Examples:
837 ····*·ex_clipboard.c835 ····*·ex_clipboard.c
838 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:54·UTC836 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:09·UTC
15.6 KB
./usr/share/doc/allegro5-doc/refman/events.html
    
Offset 281, 16 lines modifiedOffset 281, 15 lines modified
281 union·according·to·the·event·type.</p>281 union·according·to·the·event·type.</p>
282 <p>In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events282 <p>In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events
283 send·by·the·addons,·see·<a283 send·by·the·addons,·see·<a
284 href="audio.html#allegro_audio_event_type">ALLEGRO_AUDIO_EVENT_TYPE</a>284 href="audio.html#allegro_audio_event_type">ALLEGRO_AUDIO_EVENT_TYPE</a>
285 and·<a285 and·<a
286 href="video.html#allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</a>.</p>286 href="video.html#allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</a>.</p>
287 <h1·id="allegro_event">ALLEGRO_EVENT</h1>287 <h1·id="allegro_event">ALLEGRO_EVENT</h1>
288 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">union</span>·ALLEGRO_EVENT·ALLEGRO_EVENT<span·class="op">;</span></span>288 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">union</span>·ALLEGRO_EVENT·ALLEGRO_EVENT<span·class="op">;</span></span></code></pre></div>
289 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">union</span>·ALLEGRO_EVENT·ALLEGRO_EVENT<span·class="op">;</span></span></code></pre></div> 
290 <p><a289 <p><a
291 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L202">Source290 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L202">Source
292 Code</a></p>291 Code</a></p>
293 <p>An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it292 <p>An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it
294 is·an·object·large·enough·to·hold·the·data·of·any·event·type.·All·events293 is·an·object·large·enough·to·hold·the·data·of·any·event·type.·All·events
295 have·the·following·fields·in·common:</p>294 have·the·following·fields·in·common:</p>
296 <dl>295 <dl>
Offset 926, 16 lines modifiedOffset 925, 15 lines modified
926 <dl>925 <dl>
927 <dt>display.source·(ALLEGRO_DISPLAY·*)</dt>926 <dt>display.source·(ALLEGRO_DISPLAY·*)</dt>
928 <dd>927 <dd>
929 The·display·which·was·disconnected.928 The·display·which·was·disconnected.
930 </dd>929 </dd>
931 </dl>930 </dl>
932 <h1·id="allegro_user_event">ALLEGRO_USER_EVENT</h1>931 <h1·id="allegro_user_event">ALLEGRO_USER_EVENT</h1>
933 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT<span·class="op">;</span></span>932 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT<span·class="op">;</span></span></code></pre></div>
934 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT<span·class="op">;</span></span></code></pre></div> 
935 <p><a933 <p><a
936 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L186">Source934 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L186">Source
937 Code</a></p>935 Code</a></p>
938 <p>An·event·structure·that·can·be·emitted·by·user·event·sources.·These936 <p>An·event·structure·that·can·be·emitted·by·user·event·sources.·These
939 are·the·public·fields:</p>937 are·the·public·fields:</p>
940 <ul>938 <ul>
941 <li>ALLEGRO_EVENT_SOURCE·*source;</li>939 <li>ALLEGRO_EVENT_SOURCE·*source;</li>
Offset 976, 16 lines modifiedOffset 974, 15 lines modified
976 href="events.html#al_init_user_event_source">al_init_user_event_source</a></p>974 href="events.html#al_init_user_event_source">al_init_user_event_source</a></p>
977 <p>Examples:</p>975 <p>Examples:</p>
978 <ul>976 <ul>
979 <li><a977 <li><a
980 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L37">ex_user_events.c</a></li>978 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L37">ex_user_events.c</a></li>
981 </ul>979 </ul>
982 <h1·id="allegro_event_queue">ALLEGRO_EVENT_QUEUE</h1>980 <h1·id="allegro_event_queue">ALLEGRO_EVENT_QUEUE</h1>
983 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE<span·class="op">;</span></span>981 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE<span·class="op">;</span></span></code></pre></div>
984 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE<span·class="op">;</span></span></code></pre></div> 
985 <p><a982 <p><a
986 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L243">Source983 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L243">Source
987 Code</a></p>984 Code</a></p>
988 <p>An·event·queue·holds·events·that·have·been·generated·by·event·sources985 <p>An·event·queue·holds·events·that·have·been·generated·by·event·sources
989 that·are·registered·with·the·queue.·Events·are·stored·in·the·order·they986 that·are·registered·with·the·queue.·Events·are·stored·in·the·order·they
990 are·generated.·Access·is·in·a·strictly·FIFO·(first-in-first-out)987 are·generated.·Access·is·in·a·strictly·FIFO·(first-in-first-out)
991 order.</p>988 order.</p>
Offset 998, 16 lines modifiedOffset 995, 15 lines modified
998 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L18">ex_inject_events.c</a></li>995 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L18">ex_inject_events.c</a></li>
999 <li><a996 <li><a
1000 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L189">ex_enet_server.c</a></li>997 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L189">ex_enet_server.c</a></li>
1001 <li><a998 <li><a
1002 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L24">ex_timer_pause.c</a></li>999 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L24">ex_timer_pause.c</a></li>
1003 </ul>1000 </ul>
1004 <h1·id="allegro_event_source">ALLEGRO_EVENT_SOURCE</h1>1001 <h1·id="allegro_event_source">ALLEGRO_EVENT_SOURCE</h1>
1005 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE<span·class="op">;</span></span>1002 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE<span·class="op">;</span></span></code></pre></div>
1006 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE<span·class="op">;</span></span></code></pre></div> 
1007 <p><a1003 <p><a
1008 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L72">Source1004 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L72">Source
1009 Code</a></p>1005 Code</a></p>
1010 <p>An·event·source·is·any·object·which·can·generate·events.·For·example,1006 <p>An·event·source·is·any·object·which·can·generate·events.·For·example,
1011 an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the1007 an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the
1012 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with·<a1008 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with·<a
1013 href="display.html#al_get_display_event_source">al_get_display_event_source</a>.</p>1009 href="display.html#al_get_display_event_source">al_get_display_event_source</a>.</p>
Offset 1022, 26 lines modifiedOffset 1018, 24 lines modified
1022 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L17">ex_inject_events.c</a></li>1018 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L17">ex_inject_events.c</a></li>
1023 <li><a1019 <li><a
1024 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L47">ex_user_events.c</a></li>1020 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L47">ex_user_events.c</a></li>
1025 <li><a1021 <li><a
1026 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L364">nihgui.cpp</a></li>1022 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L364">nihgui.cpp</a></li>
1027 </ul>1023 </ul>
1028 <h1·id="allegro_event_type">ALLEGRO_EVENT_TYPE</h1>1024 <h1·id="allegro_event_type">ALLEGRO_EVENT_TYPE</h1>
1029 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="dt">unsigned</span>·<span·class="dt">int</span>·ALLEGRO_EVENT_TYPE<span·class="op">;</span></span>1025 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="dt">unsigned</span>·<span·class="dt">int</span>·ALLEGRO_EVENT_TYPE<span·class="op">;</span></span></code></pre></div>
1030 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="dt">unsigned</span>·<span·class="dt">int</span>·ALLEGRO_EVENT_TYPE<span·class="op">;</span></span></code></pre></div> 
1031 <p><a1026 <p><a
1032 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L13">Source1027 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L13">Source
1033 Code</a></p>1028 Code</a></p>
1034 <p>An·integer·used·to·distinguish·between·different·types·of·events.</p>1029 <p>An·integer·used·to·distinguish·between·different·types·of·events.</p>
1035 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a1030 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a
1036 href="events.html#allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</a>,·<a1031 href="events.html#allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</a>,·<a
1037 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>1032 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>
1038 <h1·id="allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</h1>1033 <h1·id="allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</h1>
1039 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)</span></span>1034 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)</span></span></code></pre></div>
1040 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)</span></span></code></pre></div> 
1041 <p><a1035 <p><a
1042 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L67">Source1036 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L67">Source
1043 Code</a></p>1037 Code</a></p>
1044 <p>Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,1038 <p>Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,
1045 but·not·necessarily,·this·will·be·made·from·four·8-bit·character·codes,1039 but·not·necessarily,·this·will·be·made·from·four·8-bit·character·codes,
1046 for·example:</p>1040 for·example:</p>
1047 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a>Examples<span·class="op">:</span></span>1041 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a>Examples<span·class="op">:</span></span>
Offset 1068, 16 lines modifiedOffset 1062, 15 lines modified
1068 <span·id="cb10-9"><a·href="#cb10-9"·aria-hidden="true"·tabindex="-1"></a>···MEOW_EVENT<span·class="op">,</span></span>1062 <span·id="cb10-9"><a·href="#cb10-9"·aria-hidden="true"·tabindex="-1"></a>···MEOW_EVENT<span·class="op">,</span></span>
1069 <span·id="cb10-10"><a·href="#cb10-10"·aria-hidden="true"·tabindex="-1"></a>···SQUAWK_EVENT</span>1063 <span·id="cb10-10"><a·href="#cb10-10"·aria-hidden="true"·tabindex="-1"></a>···SQUAWK_EVENT</span>
1070 <span·id="cb10-11"><a·href="#cb10-11"·aria-hidden="true"·tabindex="-1"></a><span·class="op">};</span></span></code></pre></div>1064 <span·id="cb10-11"><a·href="#cb10-11"·aria-hidden="true"·tabindex="-1"></a><span·class="op">};</span></span></code></pre></div>
1071 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a1065 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a
1072 href="events.html#allegro_user_event">ALLEGRO_USER_EVENT</a>,·<a1066 href="events.html#allegro_user_event">ALLEGRO_USER_EVENT</a>,·<a
1073 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>1067 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>
1074 <h1·id="allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</h1>1068 <h1·id="allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</h1>
1075 <div·class="sourceCode"·id="cb11"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb11-1"><a·href="#cb11-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·&gt;=·512)</span></span>1069 <div·class="sourceCode"·id="cb11"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb11-1"><a·href="#cb11-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·&gt;=·512)</span></span></code></pre></div>
1076 <span·id="cb11-2"><a·href="#cb11-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·&gt;=·512)</span></span></code></pre></div> 
1077 <p><a1070 <p><a
1078 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L62">Source1071 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L62">Source
1079 Code</a></p>1072 Code</a></p>
1080 <p>A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin1073 <p>A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin
1081 event·type,·i.e. one·of·those·described·in·<a1074 event·type,·i.e. one·of·those·described·in·<a
1082 href="events.html#allegro_event_type">ALLEGRO_EVENT_TYPE</a>.</p>1075 href="events.html#allegro_event_type">ALLEGRO_EVENT_TYPE</a>.</p>
1083 <h1·id="al_create_event_queue">al_create_event_queue</h1>1076 <h1·id="al_create_event_queue">al_create_event_queue</h1>
Offset 1511, 12 lines modifiedOffset 1504, 12 lines modified
1511 <p>Assign·the·abstract·user·data·to·the·event·source.·Allegro·does·not1504 <p>Assign·the·abstract·user·data·to·the·event·source.·Allegro·does·not
1512 use·the·data·internally·for·anything;·it·is·simply·meant·as·a·convenient1505 use·the·data·internally·for·anything;·it·is·simply·meant·as·a·convenient
1513 way·to·associate·your·own·data·or·objects·with·events.</p>1506 way·to·associate·your·own·data·or·objects·with·events.</p>
1514 <p>See·also:·<a1507 <p>See·also:·<a
1515 href="events.html#al_get_event_source_data">al_get_event_source_data</a></p>1508 href="events.html#al_get_event_source_data">al_get_event_source_data</a></p>
1516 <p·class="timestamp">1509 <p·class="timestamp">
1517 Allegro·version·5.2.81510 Allegro·version·5.2.8
1518 ·-·Last·updated:·2025-02-08·15:21:54·UTC1511 ·-·Last·updated:·2024-01-07·09:01:09·UTC
1519 </p>1512 </p>
1520 </div>1513 </div>
1521 </body>1514 </body>
1522 </html>1515 </html>
4.67 KB
html2text {}
    
Offset 121, 15 lines modifiedOffset 121, 14 lines modified
121 events·that·can·be·generated·by·user-defined·event·sources.121 events·that·can·be·generated·by·user-defined·event·sources.
122 The·appropriate·reaction·to·an·event·is·determined·by·examining·the·fields·of122 The·appropriate·reaction·to·an·event·is·determined·by·examining·the·fields·of
123 the·ALLEGRO_EVENT·union·according·to·the·event·type.123 the·ALLEGRO_EVENT·union·according·to·the·event·type.
124 In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events·send·by124 In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events·send·by
125 the·addons,·see·ALLEGRO_AUDIO_EVENT_TYPE·and·ALLEGRO_VIDEO_EVENT_TYPE.125 the·addons,·see·ALLEGRO_AUDIO_EVENT_TYPE·and·ALLEGRO_VIDEO_EVENT_TYPE.
126 ******·ALLEGRO_EVENT·******126 ******·ALLEGRO_EVENT·******
127 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;127 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;
128 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT; 
129 Source_Code128 Source_Code
130 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it·is·an129 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it·is·an
131 object·large·enough·to·hold·the·data·of·any·event·type.·All·events·have·the130 object·large·enough·to·hold·the·data·of·any·event·type.·All·events·have·the
132 following·fields·in·common:131 following·fields·in·common:
133 ··type·(ALLEGRO_EVENT_TYPE)132 ··type·(ALLEGRO_EVENT_TYPE)
134 ······Indicates·the·type·of·event.133 ······Indicates·the·type·of·event.
135 ··any.source·(ALLEGRO_EVENT_SOURCE·*)134 ··any.source·(ALLEGRO_EVENT_SOURCE·*)
Offset 469, 15 lines modifiedOffset 468, 14 lines modified
469 This·event·is·sent·when·a·physical·display·is·disconnected·from·the·device468 This·event·is·sent·when·a·physical·display·is·disconnected·from·the·device
470 Allegro·runs·on.·Currently,·on·most·platforms,·Allegro·supports·only·a·single469 Allegro·runs·on.·Currently,·on·most·platforms,·Allegro·supports·only·a·single
471 physical·display.·However,·on·iOS,·a·secondary·physical·display·is·supported.470 physical·display.·However,·on·iOS,·a·secondary·physical·display·is·supported.
472 ··display.source·(ALLEGRO_DISPLAY·*)471 ··display.source·(ALLEGRO_DISPLAY·*)
473 ······The·display·which·was·disconnected.472 ······The·display·which·was·disconnected.
474 ******·ALLEGRO_USER_EVENT·******473 ******·ALLEGRO_USER_EVENT·******
475 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;474 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;
476 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT; 
477 Source_Code475 Source_Code
478 An·event·structure·that·can·be·emitted·by·user·event·sources.·These·are·the476 An·event·structure·that·can·be·emitted·by·user·event·sources.·These·are·the
479 public·fields:477 public·fields:
480 ····*·ALLEGRO_EVENT_SOURCE·*source;478 ····*·ALLEGRO_EVENT_SOURCE·*source;
481 ····*·intptr_t·data1;479 ····*·intptr_t·data1;
482 ····*·intptr_t·data2;480 ····*·intptr_t·data2;
483 ····*·intptr_t·data3;481 ····*·intptr_t·data3;
Offset 505, 46 lines modifiedOffset 503, 42 lines modified
505 documentation·for·ALLEGRO_GET_EVENT_TYPE·for·the·rules·you·should·follow·when503 documentation·for·ALLEGRO_GET_EVENT_TYPE·for·the·rules·you·should·follow·when
506 assigning·identifiers.504 assigning·identifiers.
507 See·also:·al_emit_user_event,·ALLEGRO_GET_EVENT_TYPE,·al_init_user_event_source505 See·also:·al_emit_user_event,·ALLEGRO_GET_EVENT_TYPE,·al_init_user_event_source
508 Examples:506 Examples:
509 ····*·ex_user_events.c507 ····*·ex_user_events.c
510 ******·ALLEGRO_EVENT_QUEUE·******508 ******·ALLEGRO_EVENT_QUEUE·******
511 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;509 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;
512 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE; 
513 Source_Code510 Source_Code
514 An·event·queue·holds·events·that·have·been·generated·by·event·sources·that·are511 An·event·queue·holds·events·that·have·been·generated·by·event·sources·that·are
515 registered·with·the·queue.·Events·are·stored·in·the·order·they·are·generated.512 registered·with·the·queue.·Events·are·stored·in·the·order·they·are·generated.
516 Access·is·in·a·strictly·FIFO·(first-in-first-out)·order.513 Access·is·in·a·strictly·FIFO·(first-in-first-out)·order.
517 See·also:·al_create_event_queue,·al_destroy_event_queue514 See·also:·al_create_event_queue,·al_destroy_event_queue
518 Examples:515 Examples:
519 ····*·ex_inject_events.c516 ····*·ex_inject_events.c
520 ····*·ex_enet_server.c517 ····*·ex_enet_server.c
521 ····*·ex_timer_pause.c518 ····*·ex_timer_pause.c
522 ******·ALLEGRO_EVENT_SOURCE·******519 ******·ALLEGRO_EVENT_SOURCE·******
523 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;520 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;
524 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE; 
525 Source_Code521 Source_Code
526 An·event·source·is·any·object·which·can·generate·events.·For·example,·an522 An·event·source·is·any·object·which·can·generate·events.·For·example,·an
527 ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the·ALLEGRO_EVENT_SOURCE523 ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the·ALLEGRO_EVENT_SOURCE
528 pointer·from·an·ALLEGRO_DISPLAY·with·al_get_display_event_source.524 pointer·from·an·ALLEGRO_DISPLAY·with·al_get_display_event_source.
529 You·may·create·your·own·â€œuser”·event·sources·that·emit·custom·events.525 You·may·create·your·own·â€œuser”·event·sources·that·emit·custom·events.
530 See·also:·ALLEGRO_EVENT,·al_init_user_event_source,·al_emit_user_event526 See·also:·ALLEGRO_EVENT,·al_init_user_event_source,·al_emit_user_event
531 Examples:527 Examples:
532 ····*·ex_inject_events.c528 ····*·ex_inject_events.c
533 ····*·ex_user_events.c529 ····*·ex_user_events.c
534 ····*·nihgui.cpp530 ····*·nihgui.cpp
535 ******·ALLEGRO_EVENT_TYPE·******531 ******·ALLEGRO_EVENT_TYPE·******
536 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;532 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;
537 typedef·unsigned·int·ALLEGRO_EVENT_TYPE; 
538 Source_Code533 Source_Code
539 An·integer·used·to·distinguish·between·different·types·of·events.534 An·integer·used·to·distinguish·between·different·types·of·events.
540 See·also:·ALLEGRO_EVENT,·ALLEGRO_GET_EVENT_TYPE,·ALLEGRO_EVENT_TYPE_IS_USER535 See·also:·ALLEGRO_EVENT,·ALLEGRO_GET_EVENT_TYPE,·ALLEGRO_EVENT_TYPE_IS_USER
541 ******·ALLEGRO_GET_EVENT_TYPE·******536 ******·ALLEGRO_GET_EVENT_TYPE·******
542 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)537 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)
543 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d) 
544 Source_Code538 Source_Code
545 Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,·but·not539 Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,·but·not
546 necessarily,·this·will·be·made·from·four·8-bit·character·codes,·for·example:540 necessarily,·this·will·be·made·from·four·8-bit·character·codes,·for·example:
547 Examples:541 Examples:
  
548 *·[ex_user_events.c](https://github.com/liballeg/allegro5/blob/master/examples/542 *·[ex_user_events.c](https://github.com/liballeg/allegro5/blob/master/examples/
549 ex_user_events.c#L10)543 ex_user_events.c#L10)
Offset 567, 15 lines modifiedOffset 561, 14 lines modified
567 ···BARK_EVENT·=·ALLEGRO_GET_EVENT_TYPE('M','I','N','E'),561 ···BARK_EVENT·=·ALLEGRO_GET_EVENT_TYPE('M','I','N','E'),
568 ···MEOW_EVENT,562 ···MEOW_EVENT,
569 ···SQUAWK_EVENT563 ···SQUAWK_EVENT
570 };564 };
571 See·also:·ALLEGRO_EVENT,·ALLEGRO_USER_EVENT,·ALLEGRO_EVENT_TYPE_IS_USER565 See·also:·ALLEGRO_EVENT,·ALLEGRO_USER_EVENT,·ALLEGRO_EVENT_TYPE_IS_USER
572 ******·ALLEGRO_EVENT_TYPE_IS_USER·******566 ******·ALLEGRO_EVENT_TYPE_IS_USER·******
573 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)567 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)
574 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512) 
575 Source_Code568 Source_Code
576 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event·type,569 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event·type,
577 i.e. one·of·those·described·in·ALLEGRO_EVENT_TYPE.570 i.e. one·of·those·described·in·ALLEGRO_EVENT_TYPE.
578 ******·al_create_event_queue·******571 ******·al_create_event_queue·******
579 ALLEGRO_EVENT_QUEUE·*al_create_event_queue(void)572 ALLEGRO_EVENT_QUEUE·*al_create_event_queue(void)
580 Source_Code573 Source_Code
581 Create·a·new,·empty·event·queue,·returning·a·pointer·to·the·newly·created574 Create·a·new,·empty·event·queue,·returning·a·pointer·to·the·newly·created
Offset 829, 8 lines modifiedOffset 822, 8 lines modified
829 ******·al_set_event_source_data·******822 ******·al_set_event_source_data·******
830 void·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·intptr_t·data)823 void·al_set_event_source_data(ALLEGRO_EVENT_SOURCE·*source,·intptr_t·data)
831 Source_Code824 Source_Code
832 Assign·the·abstract·user·data·to·the·event·source.·Allegro·does·not·use·the825 Assign·the·abstract·user·data·to·the·event·source.·Allegro·does·not·use·the
833 data·internally·for·anything;·it·is·simply·meant·as·a·convenient·way·to826 data·internally·for·anything;·it·is·simply·meant·as·a·convenient·way·to
834 associate·your·own·data·or·objects·with·events.827 associate·your·own·data·or·objects·with·events.
835 See·also:·al_get_event_source_data828 See·also:·al_get_event_source_data
836 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:54·UTC829 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:09·UTC
6.39 KB
./usr/share/doc/allegro5-doc/refman/file.html
    
Offset 215, 16 lines modifiedOffset 215, 15 lines modified
215 <li><a·href="#al_get_file_userdata">al_get_file_userdata</a></li>215 <li><a·href="#al_get_file_userdata">al_get_file_userdata</a></li>
216 </ul></li>216 </ul></li>
217 </ul>217 </ul>
218 </nav>218 </nav>
219 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>219 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
220 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>220 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
221 <h1·id="allegro_file">ALLEGRO_FILE</h1>221 <h1·id="allegro_file">ALLEGRO_FILE</h1>
222 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILE·ALLEGRO_FILE<span·class="op">;</span></span>222 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILE·ALLEGRO_FILE<span·class="op">;</span></span></code></pre></div>
223 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILE·ALLEGRO_FILE<span·class="op">;</span></span></code></pre></div> 
224 <p><a223 <p><a
225 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L15">Source224 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L15">Source
226 Code</a></p>225 Code</a></p>
227 <p>An·opaque·object·representing·an·open·file.·This·could·be·a·real·file226 <p>An·opaque·object·representing·an·open·file.·This·could·be·a·real·file
228 on·disk·or·a·virtual·file.</p>227 on·disk·or·a·virtual·file.</p>
229 <p>Examples:</p>228 <p>Examples:</p>
230 <ul>229 <ul>
Offset 232, 16 lines modifiedOffset 231, 15 lines modified
232 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_file.c#L23">ex_file.c</a></li>231 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_file.c#L23">ex_file.c</a></li>
233 <li><a232 <li><a
234 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L18">ex_dir.c</a></li>233 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L18">ex_dir.c</a></li>
235 <li><a234 <li><a
236 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L19">ex_memfile.c</a></li>235 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L19">ex_memfile.c</a></li>
237 </ul>236 </ul>
238 <h1·id="allegro_file_interface">ALLEGRO_FILE_INTERFACE</h1>237 <h1·id="allegro_file_interface">ALLEGRO_FILE_INTERFACE</h1>
239 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILE_INTERFACE</span>238 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILE_INTERFACE</span></code></pre></div>
240 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILE_INTERFACE</span></code></pre></div> 
241 <p><a239 <p><a
242 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L20">Source240 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L20">Source
243 Code</a></p>241 Code</a></p>
244 <p>A·structure·containing·function·pointers·to·handle·a·type·of·“file”,242 <p>A·structure·containing·function·pointers·to·handle·a·type·of·“file”,
245 real·or·virtual.·See·the·full·discussion·in·<a243 real·or·virtual.·See·the·full·discussion·in·<a
246 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>244 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>
247 <p>The·fields·are:</p>245 <p>The·fields·are:</p>
Offset 272, 16 lines modifiedOffset 270, 15 lines modified
272 char·long·buffer·will·be·used.</p>270 char·long·buffer·will·be·used.</p>
273 <p>Examples:</p>271 <p>Examples:</p>
274 <ul>272 <ul>
275 <li><a273 <li><a
276 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L65">ex_curl.c</a></li>274 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L65">ex_curl.c</a></li>
277 </ul>275 </ul>
278 <h1·id="allegro_seek">ALLEGRO_SEEK</h1>276 <h1·id="allegro_seek">ALLEGRO_SEEK</h1>
279 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SEEK</span>277 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SEEK</span></code></pre></div>
280 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SEEK</span></code></pre></div> 
281 <p><a278 <p><a
282 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L40">Source279 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L40">Source
283 Code</a></p>280 Code</a></p>
284 <ul>281 <ul>
285 <li>ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file</li>282 <li>ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file</li>
286 <li>ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position</li>283 <li>ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position</li>
287 <li>ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file</li>284 <li>ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file</li>
Offset 957, 12 lines modifiedOffset 954, 12 lines modified
957 <p>Examples:</p>954 <p>Examples:</p>
958 <ul>955 <ul>
959 <li><a956 <li><a
960 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L145">ex_curl.c</a></li>957 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L145">ex_curl.c</a></li>
961 </ul>958 </ul>
962 <p·class="timestamp">959 <p·class="timestamp">
963 Allegro·version·5.2.8960 Allegro·version·5.2.8
964 ·-·Last·updated:·2025-02-08·15:21:54·UTC961 ·-·Last·updated:·2024-01-07·09:01:10·UTC
965 </p>962 </p>
966 </div>963 </div>
967 </body>964 </body>
968 </html>965 </html>
1.89 KB
html2text {}
    
Offset 89, 25 lines modifiedOffset 89, 23 lines modified
89 ··········o·al_get_new_file_interface89 ··········o·al_get_new_file_interface
90 ··········o·al_create_file_handle90 ··········o·al_create_file_handle
91 ··········o·al_get_file_userdata91 ··········o·al_get_file_userdata
92 These·functions·are·declared·in·the·main·Allegro·header·file:92 These·functions·are·declared·in·the·main·Allegro·header·file:
93 ·#include·<allegro5/allegro.h>93 ·#include·<allegro5/allegro.h>
94 ******·ALLEGRO_FILE·******94 ******·ALLEGRO_FILE·******
95 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;95 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;
96 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE; 
97 Source_Code96 Source_Code
98 An·opaque·object·representing·an·open·file.·This·could·be·a·real·file·on·disk97 An·opaque·object·representing·an·open·file.·This·could·be·a·real·file·on·disk
99 or·a·virtual·file.98 or·a·virtual·file.
100 Examples:99 Examples:
101 ····*·ex_file.c100 ····*·ex_file.c
102 ····*·ex_dir.c101 ····*·ex_dir.c
103 ····*·ex_memfile.c102 ····*·ex_memfile.c
104 ******·ALLEGRO_FILE_INTERFACE·******103 ******·ALLEGRO_FILE_INTERFACE·******
105 typedef·struct·ALLEGRO_FILE_INTERFACE104 typedef·struct·ALLEGRO_FILE_INTERFACE
106 typedef·struct·ALLEGRO_FILE_INTERFACE 
107 Source_Code105 Source_Code
108 A·structure·containing·function·pointers·to·handle·a·type·of·â€œfile”,·real106 A·structure·containing·function·pointers·to·handle·a·type·of·â€œfile”,·real
109 or·virtual.·See·the·full·discussion·in·al_set_new_file_interface.107 or·virtual.·See·the·full·discussion·in·al_set_new_file_interface.
110 The·fields·are:108 The·fields·are:
111 void*·········(*fi_fopen)(const·char·*path,·const·char·*mode);109 void*·········(*fi_fopen)(const·char·*path,·const·char·*mode);
112 bool··········(*fi_fclose)(ALLEGRO_FILE·*f);110 bool··········(*fi_fclose)(ALLEGRO_FILE·*f);
113 size_t········(*fi_fread)(ALLEGRO_FILE·*f,·void·*ptr,·size_t·size);111 size_t········(*fi_fread)(ALLEGRO_FILE·*f,·void·*ptr,·size_t·size);
Offset 130, 15 lines modifiedOffset 128, 14 lines modified
130 free·the·ALLEGRO_FILE·handle.128 free·the·ALLEGRO_FILE·handle.
131 If·fi_fungetc·is·NULL,·then·Allegro’s·default·implementation·of·a·16·char129 If·fi_fungetc·is·NULL,·then·Allegro’s·default·implementation·of·a·16·char
132 long·buffer·will·be·used.130 long·buffer·will·be·used.
133 Examples:131 Examples:
134 ····*·ex_curl.c132 ····*·ex_curl.c
135 ******·ALLEGRO_SEEK·******133 ******·ALLEGRO_SEEK·******
136 typedef·enum·ALLEGRO_SEEK134 typedef·enum·ALLEGRO_SEEK
137 typedef·enum·ALLEGRO_SEEK 
138 Source_Code135 Source_Code
139 ····*·ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file136 ····*·ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file
140 ····*·ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position137 ····*·ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position
141 ····*·ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file138 ····*·ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file
142 See·also:·al_fseek139 See·also:·al_fseek
143 Examples:140 Examples:
144 ····*·ex_file.c141 ····*·ex_file.c
Offset 553, 8 lines modifiedOffset 550, 8 lines modified
553 *****·al_get_file_userdata·*****550 *****·al_get_file_userdata·*****
554 void·*al_get_file_userdata(ALLEGRO_FILE·*f)551 void·*al_get_file_userdata(ALLEGRO_FILE·*f)
555 Source_Code552 Source_Code
556 Returns·a·pointer·to·the·custom·userdata·that·is·attached·to·the·file·handle.553 Returns·a·pointer·to·the·custom·userdata·that·is·attached·to·the·file·handle.
557 This·is·intended·to·be·used·by·functions·that·extend·ALLEGRO_FILE_INTERFACE.554 This·is·intended·to·be·used·by·functions·that·extend·ALLEGRO_FILE_INTERFACE.
558 Examples:555 Examples:
559 ····*·ex_curl.c556 ····*·ex_curl.c
560 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:54·UTC557 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:10·UTC
3.22 KB
./usr/share/doc/allegro5-doc/refman/fixed.html
    
Offset 190, 16 lines modifiedOffset 190, 15 lines modified
190 <li><a·href="#al_fixhypot">al_fixhypot</a></li>190 <li><a·href="#al_fixhypot">al_fixhypot</a></li>
191 </ul></li>191 </ul></li>
192 </ul>192 </ul>
193 </nav>193 </nav>
194 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>194 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
195 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>195 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
196 <h1·id="al_fixed">al_fixed</h1>196 <h1·id="al_fixed">al_fixed</h1>
197 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="dt">int32_t</span>·al_fixed<span·class="op">;</span></span>197 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="dt">int32_t</span>·al_fixed<span·class="op">;</span></span></code></pre></div>
198 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="dt">int32_t</span>·al_fixed<span·class="op">;</span></span></code></pre></div> 
199 <p><a198 <p><a
200 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fixed.h#L30">Source199 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fixed.h#L30">Source
201 Code</a></p>200 Code</a></p>
202 <p>A·fixed·point·number.</p>201 <p>A·fixed·point·number.</p>
203 <p>Allegro·provides·some·routines·for·working·with·fixed·point·numbers,202 <p>Allegro·provides·some·routines·for·working·with·fixed·point·numbers,
204 and·defines·the·type·<code>al_fixed</code>·to·be·a·signed·32-bit203 and·defines·the·type·<code>al_fixed</code>·to·be·a·signed·32-bit
205 integer.·The·high·word·is·used·for·the·integer·part·and·the·low·word·for204 integer.·The·high·word·is·used·for·the·integer·part·and·the·low·word·for
Offset 656, 12 lines modifiedOffset 655, 12 lines modified
656 href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source655 href="https://github.com/liballeg/allegro5/blob/master/src/math.c#L321">Source
657 Code</a></p>656 Code</a></p>
658 <p>Fixed·point·hypotenuse·(returns·the·square·root·of657 <p>Fixed·point·hypotenuse·(returns·the·square·root·of
659 <code>x*x·+·y*y</code>).·This·should·be·better·than·calculating·the658 <code>x*x·+·y*y</code>).·This·should·be·better·than·calculating·the
660 formula·yourself·manually,·since·the·error·is·much·smaller.</p>659 formula·yourself·manually,·since·the·error·is·much·smaller.</p>
661 <p·class="timestamp">660 <p·class="timestamp">
662 Allegro·version·5.2.8661 Allegro·version·5.2.8
663 ·-·Last·updated:·2025-02-08·15:21:55·UTC662 ·-·Last·updated:·2024-01-07·09:01:10·UTC
664 </p>663 </p>
665 </div>664 </div>
666 </body>665 </body>
667 </html>666 </html>
1.14 KB
html2text {}
    
Offset 70, 15 lines modifiedOffset 70, 14 lines modified
70 ··········o·al_fixatan270 ··········o·al_fixatan2
71 ··········o·al_fixsqrt71 ··········o·al_fixsqrt
72 ··········o·al_fixhypot72 ··········o·al_fixhypot
73 These·functions·are·declared·in·the·main·Allegro·header·file:73 These·functions·are·declared·in·the·main·Allegro·header·file:
74 ·#include·<allegro5/allegro.h>74 ·#include·<allegro5/allegro.h>
75 ******·al_fixed·******75 ******·al_fixed·******
76 typedef·int32_t·al_fixed;76 typedef·int32_t·al_fixed;
77 typedef·int32_t·al_fixed; 
78 Source_Code77 Source_Code
79 A·fixed·point·number.78 A·fixed·point·number.
80 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and79 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and
81 defines·the·type·al_fixed·to·be·a·signed·32-bit·integer.·The·high·word·is·used80 defines·the·type·al_fixed·to·be·a·signed·32-bit·integer.·The·high·word·is·used
82 for·the·integer·part·and·the·low·word·for·the·fraction,·giving·a·range·of·-81 for·the·integer·part·and·the·low·word·for·the·fraction,·giving·a·range·of·-
83 32768·to·32767·and·an·accuracy·of·about·four·or·five·decimal·places.·Fixed82 32768·to·32767·and·an·accuracy·of·about·four·or·five·decimal·places.·Fixed
84 point·numbers·can·be·assigned,·compared,·added,·subtracted,·negated·and·shifted83 point·numbers·can·be·assigned,·compared,·added,·subtracted,·negated·and·shifted
Offset 440, 8 lines modifiedOffset 439, 8 lines modified
440 errno·is·set·to·EDOM·and·the·function·returns·zero.439 errno·is·set·to·EDOM·and·the·function·returns·zero.
441 *****·al_fixhypot·*****440 *****·al_fixhypot·*****
442 al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y)441 al_fixed·al_fixhypot(al_fixed·x,·al_fixed·y)
443 Source_Code442 Source_Code
444 Fixed·point·hypotenuse·(returns·the·square·root·of·x*x·+·y*y).·This·should·be443 Fixed·point·hypotenuse·(returns·the·square·root·of·x*x·+·y*y).·This·should·be
445 better·than·calculating·the·formula·yourself·manually,·since·the·error·is·much444 better·than·calculating·the·formula·yourself·manually,·since·the·error·is·much
446 smaller.445 smaller.
447 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:55·UTC446 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:10·UTC
121 KB
./usr/share/doc/allegro5-doc/refman/font.html
    
Offset 237, 16 lines modifiedOffset 237, 15 lines modified
237 </ul>237 </ul>
238 </nav>238 </nav>
239 <p>These·functions·are·declared·in·the·following·header·file.·Link·with239 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
240 allegro_font.</p>240 allegro_font.</p>
241 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_font.h&gt;</span></span></code></pre></div>241 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_font.h&gt;</span></span></code></pre></div>
242 <h1·id="general-font-routines">General·font·routines</h1>242 <h1·id="general-font-routines">General·font·routines</h1>
243 <h2·id="allegro_font">ALLEGRO_FONT</h2>243 <h2·id="allegro_font">ALLEGRO_FONT</h2>
244 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FONT·ALLEGRO_FONT<span·class="op">;</span></span>244 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FONT·ALLEGRO_FONT<span·class="op">;</span></span></code></pre></div>
245 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FONT·ALLEGRO_FONT<span·class="op">;</span></span></code></pre></div> 
246 <p><a245 <p><a
247 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L48">Source246 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L48">Source
248 Code</a></p>247 Code</a></p>
249 <p>A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it248 <p>A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it
250 with·<a·href="font.html#al_load_font">al_load_font</a>·which·supports249 with·<a·href="font.html#al_load_font">al_load_font</a>·which·supports
251 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.250 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.
252 If·you·instead·pass·the·filename·of·a·bitmap·file,·it·will·be·loaded251 If·you·instead·pass·the·filename·of·a·bitmap·file,·it·will·be·loaded
Offset 259, 16 lines modifiedOffset 258, 15 lines modified
259 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L10">ex_disable_screensaver.c</a></li>258 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L10">ex_disable_screensaver.c</a></li>
260 <li><a259 <li><a
261 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L17">ex_font_justify.cpp</a></li>260 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L17">ex_font_justify.cpp</a></li>
262 <li><a261 <li><a
263 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_events.c#L26">ex_display_events.c</a></li>262 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_events.c#L26">ex_display_events.c</a></li>
264 </ul>263 </ul>
265 <h2·id="allegro_glyph">ALLEGRO_GLYPH</h2>264 <h2·id="allegro_glyph">ALLEGRO_GLYPH</h2>
266 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_GLYPH·ALLEGRO_GLYPH<span·class="op">;</span></span>265 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_GLYPH·ALLEGRO_GLYPH<span·class="op">;</span></span></code></pre></div>
267 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_GLYPH·ALLEGRO_GLYPH<span·class="op">;</span></span></code></pre></div> 
268 <p><a266 <p><a
269 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L53">Source267 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L53">Source
270 Code</a></p>268 Code</a></p>
271 <p>A·structure·containing·the·properties·of·a·character·in·a·font.</p>269 <p>A·structure·containing·the·properties·of·a·character·in·a·font.</p>
272 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_GLYPH·<span·class="op">{</span></span>270 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_GLYPH·<span·class="op">{</span></span>
273 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_BITMAP·<span·class="op">*</span>bitmap<span·class="op">;</span>···<span·class="co">//·the·bitmap·the·character·is·on</span></span>271 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_BITMAP·<span·class="op">*</span>bitmap<span·class="op">;</span>···<span·class="co">//·the·bitmap·the·character·is·on</span></span>
274 <span·id="cb4-3"><a·href="#cb4-3"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·x<span·class="op">;</span>····················<span·class="co">//·the·x·position·of·the·glyph·on·bitmap</span></span>272 <span·id="cb4-3"><a·href="#cb4-3"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·x<span·class="op">;</span>····················<span·class="co">//·the·x·position·of·the·glyph·on·bitmap</span></span>
Offset 299, 16 lines modifiedOffset 297, 15 lines modified
299 <p>See·also:·<a·href="font.html#al_get_glyph">al_get_glyph</a></p>297 <p>See·also:·<a·href="font.html#al_get_glyph">al_get_glyph</a></p>
300 <p>Examples:</p>298 <p>Examples:</p>
301 <ul>299 <ul>
302 <li><a300 <li><a
303 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_ttf.c#L91">ex_ttf.c</a></li>301 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_ttf.c#L91">ex_ttf.c</a></li>
304 </ul>302 </ul>
305 <h2·id="al_init_font_addon">al_init_font_addon</h2>303 <h2·id="al_init_font_addon">al_init_font_addon</h2>
306 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_font_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>304 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_font_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
307 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_font_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
308 <p><a305 <p><a
309 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L367">Source306 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L367">Source
310 Code</a></p>307 Code</a></p>
311 <p>Initialise·the·font·addon.</p>308 <p>Initialise·the·font·addon.</p>
312 <p>Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to309 <p>Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to
313 initialise·allegro_image·separately·(unless·you·are·using·another310 initialise·allegro_image·separately·(unless·you·are·using·another
314 library·to·load·images).</p>311 library·to·load·images).</p>
Offset 328, 38 lines modifiedOffset 325, 35 lines modified
328 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L28">ex_disable_screensaver.c</a></li>325 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L28">ex_disable_screensaver.c</a></li>
329 <li><a326 <li><a
330 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L104">ex_font_justify.cpp</a></li>327 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L104">ex_font_justify.cpp</a></li>
331 <li><a328 <li><a
332 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_events.c#L40">ex_display_events.c</a></li>329 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_events.c#L40">ex_display_events.c</a></li>
333 </ul>330 </ul>
334 <h2·id="al_is_font_addon_initialized">al_is_font_addon_initialized</h2>331 <h2·id="al_is_font_addon_initialized">al_is_font_addon_initialized</h2>
335 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_font_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>332 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_font_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
336 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_font_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
337 <p><a333 <p><a
338 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L393">Source334 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L393">Source
339 Code</a></p>335 Code</a></p>
340 <p>Returns·true·if·the·font·addon·is·initialized,·otherwise·returns336 <p>Returns·true·if·the·font·addon·is·initialized,·otherwise·returns
341 false.</p>337 false.</p>
342 <p>Since:·5.2.6</p>338 <p>Since:·5.2.6</p>
343 <p>See·also:·<a339 <p>See·also:·<a
344 href="font.html#al_init_font_addon">al_init_font_addon</a>,·<a340 href="font.html#al_init_font_addon">al_init_font_addon</a>,·<a
345 href="font.html#al_shutdown_font_addon">al_shutdown_font_addon</a></p>341 href="font.html#al_shutdown_font_addon">al_shutdown_font_addon</a></p>
346 <h2·id="al_shutdown_font_addon">al_shutdown_font_addon</h2>342 <h2·id="al_shutdown_font_addon">al_shutdown_font_addon</h2>
347 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_font_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>343 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_font_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
348 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_font_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
349 <p><a344 <p><a
350 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L402">Source345 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L402">Source
351 Code</a></p>346 Code</a></p>
352 <p>Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,347 <p>Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,
353 but·can·be·called·any·time·the·user·wishes·as·well.</p>348 but·can·be·called·any·time·the·user·wishes·as·well.</p>
354 <p>See·also:·<a349 <p>See·also:·<a
355 href="font.html#al_init_font_addon">al_init_font_addon</a></p>350 href="font.html#al_init_font_addon">al_init_font_addon</a></p>
356 <h2·id="al_load_font">al_load_font</h2>351 <h2·id="al_load_font">al_load_font</h2>
357 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FONT·<span·class="op">*</span>al_load_font<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">,</span>·<span·class="dt">int</span>·size<span·class="op">,</span>·<span·class="dt">int</span>·flags<span·class="op">)</span></span>352 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FONT·<span·class="op">*</span>al_load_font<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">,</span>·<span·class="dt">int</span>·size<span·class="op">,</span>·<span·class="dt">int</span>·flags<span·class="op">)</span></span></code></pre></div>
358 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FONT·<span·class="op">*</span>al_load_font<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">,</span>·<span·class="dt">int</span>·size<span·class="op">,</span>·<span·class="dt">int</span>·flags<span·class="op">)</span></span></code></pre></div> 
359 <p><a353 <p><a
360 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L450">Source354 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L450">Source
361 Code</a></p>355 Code</a></p>
362 <p>Loads·a·font·from·disk.·This·will·use·<a356 <p>Loads·a·font·from·disk.·This·will·use·<a
363 href="font.html#al_load_bitmap_font_flags">al_load_bitmap_font_flags</a>357 href="font.html#al_load_bitmap_font_flags">al_load_bitmap_font_flags</a>
364 if·you·pass·the·name·of·a·known·bitmap·format,·or·else·<a358 if·you·pass·the·name·of·a·known·bitmap·format,·or·else·<a
365 href="font.html#al_load_ttf_font">al_load_ttf_font</a>.</p>359 href="font.html#al_load_ttf_font">al_load_ttf_font</a>.</p>
Offset 378, 16 lines modifiedOffset 372, 15 lines modified
378 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L116">ex_font_justify.cpp</a></li>372 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L116">ex_font_justify.cpp</a></li>
379 <li><a373 <li><a
380 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_membmp.c#L104">ex_membmp.c</a></li>374 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_membmp.c#L104">ex_membmp.c</a></li>
381 <li><a375 <li><a
382 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L60">ex_window_title.c</a></li>376 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L60">ex_window_title.c</a></li>
383 </ul>377 </ul>
384 <h2·id="al_destroy_font">al_destroy_font</h2>378 <h2·id="al_destroy_font">al_destroy_font</h2>
385 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_destroy_font<span·class="op">(</span>ALLEGRO_FONT·<span·class="op">*</span>f<span·class="op">)</span></span>379 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_destroy_font<span·class="op">(</span>ALLEGRO_FONT·<span·class="op">*</span>f<span·class="op">)</span></span></code></pre></div>
386 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_destroy_font<span·class="op">(</span>ALLEGRO_FONT·<span·class="op">*</span>f<span·class="op">)</span></span></code></pre></div> 
387 <p><a380 <p><a
388 href="https://github.com/liballeg/allegro5/blob/master/addons/font/text.c#L357">Source381 href="https://github.com/liballeg/allegro5/blob/master/addons/font/text.c#L357">Source
389 Code</a></p>382 Code</a></p>
390 <p>Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if383 <p>Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if
391 passed·NULL.</p>384 passed·NULL.</p>
392 <p>See·also:·<a·href="font.html#al_load_font">al_load_font</a></p>385 <p>See·also:·<a·href="font.html#al_load_font">al_load_font</a></p>
393 <p>Examples:</p>386 <p>Examples:</p>
Offset 397, 33 lines modifiedOffset 390, 30 lines modified
397 <li><a390 <li><a
398 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L139">ex_font_justify.cpp</a></li>391 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L139">ex_font_justify.cpp</a></li>
399 <li><a392 <li><a
400 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L86">ex_cpu.c</a></li>393 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L86">ex_cpu.c</a></li>
401 </ul>394 </ul>
402 <h2·id="al_register_font_loader">al_register_font_loader</h2>395 <h2·id="al_register_font_loader">al_register_font_loader</h2>
403 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_register_font_loader<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>extension<span·class="op">,</span></span>396 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_register_font_loader<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>extension<span·class="op">,</span></span>
404 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_FONT·<span·class="op">*(*</span>load_font<span·class="op">)(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">,</span>·<span·class="dt">int</span>·size<span·class="op">,</span>·<span·class="dt">int</span>·flags<span·class="op">))</span></span> 
405 <span·id="cb10-3"><a·href="#cb10-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_register_font_loader<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>extension<span·class="op">,</span></span> 
406 <span·id="cb10-4"><a·href="#cb10-4"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_FONT·<span·class="op">*(*</span>load_font<span·class="op">)(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">,</span>·<span·class="dt">int</span>·size<span·class="op">,</span>·<span·class="dt">int</span>·flags<span·class="op">))</span></span></code></pre></div>397 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_FONT·<span·class="op">*(*</span>load_font<span·class="op">)(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">,</span>·<span·class="dt">int</span>·size<span·class="op">,</span>·<span·class="dt">int</span>·flags<span·class="op">))</span></span></code></pre></div>
407 <p><a398 <p><a
408 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L426">Source399 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L426">Source
409 Code</a></p>400 Code</a></p>
410 <p>Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files401 <p>Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files
411 of·this·format.</p>402 of·this·format.</p>
412 <p>The·<code>extension</code>·should·include·the·leading·dot·(‘.’)403 <p>The·<code>extension</code>·should·include·the·leading·dot·(‘.’)
413 character.·It·will·be·matched·case-insensitively.</p>404 character.·It·will·be·matched·case-insensitively.</p>
414 <p>The·<code>load_font</code>·argument·may·be·NULL·to·unregister·an405 <p>The·<code>load_font</code>·argument·may·be·NULL·to·unregister·an
415 entry.</p>406 entry.</p>
416 <p>Returns·true·on·success,·false·on·error.·Returns·false·if407 <p>Returns·true·on·success,·false·on·error.·Returns·false·if
Max diff block lines reached; 82762/96983 bytes (85.34%) of diff not shown.
26.6 KB
html2text {}
    
Offset 101, 28 lines modifiedOffset 101, 26 lines modified
101 ··········o·al_get_glyph101 ··········o·al_get_glyph
102 These·functions·are·declared·in·the·following·header·file.·Link·with102 These·functions·are·declared·in·the·following·header·file.·Link·with
103 allegro_font.103 allegro_font.
104 ·#include·<allegro5/allegro_font.h>104 ·#include·<allegro5/allegro_font.h>
105 ******·General·font·routines·******105 ******·General·font·routines·******
106 *****·ALLEGRO_FONT·*****106 *****·ALLEGRO_FONT·*****
107 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;107 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;
108 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT; 
109 Source_Code108 Source_Code
110 A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it·with109 A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it·with
111 al_load_font·which·supports·loading·all·kinds·of·TrueType·fonts·supported·by110 al_load_font·which·supports·loading·all·kinds·of·TrueType·fonts·supported·by
112 the·FreeType·library.·If·you·instead·pass·the·filename·of·a·bitmap·file,·it111 the·FreeType·library.·If·you·instead·pass·the·filename·of·a·bitmap·file,·it
113 will·be·loaded·with·al_load_bitmap·and·a·font·in·Allegro’s·bitmap·font·format112 will·be·loaded·with·al_load_bitmap·and·a·font·in·Allegro’s·bitmap·font·format
114 will·be·created·from·it·with·al_grab_font_from_bitmap.113 will·be·created·from·it·with·al_grab_font_from_bitmap.
115 Examples:114 Examples:
116 ····*·ex_disable_screensaver.c115 ····*·ex_disable_screensaver.c
117 ····*·ex_font_justify.cpp116 ····*·ex_font_justify.cpp
118 ····*·ex_display_events.c117 ····*·ex_display_events.c
119 *****·ALLEGRO_GLYPH·*****118 *****·ALLEGRO_GLYPH·*****
120 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;119 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;
121 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH; 
122 Source_Code120 Source_Code
123 A·structure·containing·the·properties·of·a·character·in·a·font.121 A·structure·containing·the·properties·of·a·character·in·a·font.
124 typedef·struct·ALLEGRO_GLYPH·{122 typedef·struct·ALLEGRO_GLYPH·{
125 ···ALLEGRO_BITMAP·*bitmap;···//·the·bitmap·the·character·is·on123 ···ALLEGRO_BITMAP·*bitmap;···//·the·bitmap·the·character·is·on
126 ···int·x;····················//·the·x·position·of·the·glyph·on·bitmap124 ···int·x;····················//·the·x·position·of·the·glyph·on·bitmap
127 ···int·y;····················//·the·y·position·of·the·glyph·on·bitmap125 ···int·y;····················//·the·y·position·of·the·glyph·on·bitmap
128 ···int·w;····················//·the·width·of·the·glyph·in·pixels126 ···int·w;····················//·the·width·of·the·glyph·in·pixels
Offset 145, 15 lines modifiedOffset 143, 14 lines modified
145 Since:·5.2.1143 Since:·5.2.1
146 ·····Unstable_API:·This·API·is·new·and·subject·to·refinement.144 ·····Unstable_API:·This·API·is·new·and·subject·to·refinement.
147 See·also:·al_get_glyph145 See·also:·al_get_glyph
148 Examples:146 Examples:
149 ····*·ex_ttf.c147 ····*·ex_ttf.c
150 *****·al_init_font_addon·*****148 *****·al_init_font_addon·*****
151 bool·al_init_font_addon(void)149 bool·al_init_font_addon(void)
152 bool·al_init_font_addon(void) 
153 Source_Code150 Source_Code
154 Initialise·the·font·addon.151 Initialise·the·font·addon.
155 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to·initialise152 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to·initialise
156 allegro_image·separately·(unless·you·are·using·another·library·to·load·images).153 allegro_image·separately·(unless·you·are·using·another·library·to·load·images).
157 Similarly,·if·you·wish·to·load·truetype-fonts,·do·not·forget·to·also·call154 Similarly,·if·you·wish·to·load·truetype-fonts,·do·not·forget·to·also·call
158 al_init_ttf_addon.155 al_init_ttf_addon.
159 Returns·true·on·success,·false·on·failure.·On·the·5.0·branch,·this·function·has156 Returns·true·on·success,·false·on·failure.·On·the·5.0·branch,·this·function·has
Offset 163, 68 lines modifiedOffset 160, 61 lines modified
163 See·also:·al_init_image_addon,·al_init_ttf_addon,·al_shutdown_font_addon160 See·also:·al_init_image_addon,·al_init_ttf_addon,·al_shutdown_font_addon
164 Examples:161 Examples:
165 ····*·ex_disable_screensaver.c162 ····*·ex_disable_screensaver.c
166 ····*·ex_font_justify.cpp163 ····*·ex_font_justify.cpp
167 ····*·ex_display_events.c164 ····*·ex_display_events.c
168 *****·al_is_font_addon_initialized·*****165 *****·al_is_font_addon_initialized·*****
169 bool·al_is_font_addon_initialized(void)166 bool·al_is_font_addon_initialized(void)
170 bool·al_is_font_addon_initialized(void) 
171 Source_Code167 Source_Code
172 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.168 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.
173 Since:·5.2.6169 Since:·5.2.6
174 See·also:·al_init_font_addon,·al_shutdown_font_addon170 See·also:·al_init_font_addon,·al_shutdown_font_addon
175 *****·al_shutdown_font_addon·*****171 *****·al_shutdown_font_addon·*****
176 void·al_shutdown_font_addon(void)172 void·al_shutdown_font_addon(void)
177 void·al_shutdown_font_addon(void) 
178 Source_Code173 Source_Code
179 Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,·but·can174 Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,·but·can
180 be·called·any·time·the·user·wishes·as·well.175 be·called·any·time·the·user·wishes·as·well.
181 See·also:·al_init_font_addon176 See·also:·al_init_font_addon
182 *****·al_load_font·*****177 *****·al_load_font·*****
183 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)178 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)
184 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags) 
185 Source_Code179 Source_Code
186 Loads·a·font·from·disk.·This·will·use·al_load_bitmap_font_flags·if·you·pass·the180 Loads·a·font·from·disk.·This·will·use·al_load_bitmap_font_flags·if·you·pass·the
187 name·of·a·known·bitmap·format,·or·else·al_load_ttf_font.181 name·of·a·known·bitmap·format,·or·else·al_load_ttf_font.
188 The·flags·parameter·is·passed·through·to·either·of·those·functions.·Bitmap·and182 The·flags·parameter·is·passed·through·to·either·of·those·functions.·Bitmap·and
189 TTF·fonts·are·also·affected·by·the·current·bitmap_flags·at·the·time·the·font·is183 TTF·fonts·are·also·affected·by·the·current·bitmap_flags·at·the·time·the·font·is
190 loaded.184 loaded.
191 See·also:·al_destroy_font,·al_init_font_addon,·al_register_font_loader,185 See·also:·al_destroy_font,·al_init_font_addon,·al_register_font_loader,
192 al_load_bitmap_font_flags,·al_load_ttf_font186 al_load_bitmap_font_flags,·al_load_ttf_font
193 Examples:187 Examples:
194 ····*·ex_font_justify.cpp188 ····*·ex_font_justify.cpp
195 ····*·ex_membmp.c189 ····*·ex_membmp.c
196 ····*·ex_window_title.c190 ····*·ex_window_title.c
197 *****·al_destroy_font·*****191 *****·al_destroy_font·*****
198 void·al_destroy_font(ALLEGRO_FONT·*f)192 void·al_destroy_font(ALLEGRO_FONT·*f)
199 void·al_destroy_font(ALLEGRO_FONT·*f) 
200 Source_Code193 Source_Code
201 Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if·passed·NULL.194 Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if·passed·NULL.
202 See·also:·al_load_font195 See·also:·al_load_font
203 Examples:196 Examples:
204 ····*·ex_disable_screensaver.c197 ····*·ex_disable_screensaver.c
205 ····*·ex_font_justify.cpp198 ····*·ex_font_justify.cpp
206 ····*·ex_cpu.c199 ····*·ex_cpu.c
207 *****·al_register_font_loader·*****200 *****·al_register_font_loader·*****
208 bool·al_register_font_loader(char·const·*extension,201 bool·al_register_font_loader(char·const·*extension,
209 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))202 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))
210 bool·al_register_font_loader(char·const·*extension, 
211 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags)) 
212 Source_Code203 Source_Code
213 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of·this204 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of·this
214 format.205 format.
215 The·extension·should·include·the·leading·dot·(‘.’)·character.·It·will·be206 The·extension·should·include·the·leading·dot·(‘.’)·character.·It·will·be
216 matched·case-insensitively.207 matched·case-insensitively.
217 The·load_font·argument·may·be·NULL·to·unregister·an·entry.208 The·load_font·argument·may·be·NULL·to·unregister·an·entry.
218 Returns·true·on·success,·false·on·error.·Returns·false·if·unregistering·an209 Returns·true·on·success,·false·on·error.·Returns·false·if·unregistering·an
219 entry·that·doesn’t·exist.210 entry·that·doesn’t·exist.
220 See·also:·al_init_font_addon211 See·also:·al_init_font_addon
221 *****·al_get_font_line_height·*****212 *****·al_get_font_line_height·*****
222 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)213 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)
223 int·al_get_font_line_height(const·ALLEGRO_FONT·*f) 
224 Source_Code214 Source_Code
225 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.·For·bitmap215 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.·For·bitmap
226 fonts·this·is·simply·the·height·of·all·glyph·bitmaps.·For·truetype·fonts·it·is216 fonts·this·is·simply·the·height·of·all·glyph·bitmaps.·For·truetype·fonts·it·is
227 whatever·the·font·file·specifies.·In·particular,·some·special·glyphs·may·be217 whatever·the·font·file·specifies.·In·particular,·some·special·glyphs·may·be
228 higher·than·the·height·returned·here.218 higher·than·the·height·returned·here.
229 If·the·X·is·the·position·you·specify·to·draw·text,·the·meaning·of·ascent·and219 If·the·X·is·the·position·you·specify·to·draw·text,·the·meaning·of·ascent·and
230 descent·and·the·line·height·is·like·in·the·figure·below.220 descent·and·the·line·height·is·like·in·the·figure·below.
Offset 242, 53 lines modifiedOffset 232, 46 lines modified
242 See·also:·al_get_text_width,·al_get_text_dimensions232 See·also:·al_get_text_width,·al_get_text_dimensions
243 Examples:233 Examples:
244 ····*·ex_font_justify.cpp234 ····*·ex_font_justify.cpp
245 ····*·ex_membmp.c235 ····*·ex_membmp.c
246 ····*·ex_mouse_warp.c236 ····*·ex_mouse_warp.c
247 *****·al_get_font_ascent·*****237 *****·al_get_font_ascent·*****
248 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)238 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)
249 int·al_get_font_ascent(const·ALLEGRO_FONT·*f) 
250 Source_Code239 Source_Code
251 Returns·the·ascent·of·the·specified·font.240 Returns·the·ascent·of·the·specified·font.
252 See·also:·al_get_font_descent,·al_get_font_line_height241 See·also:·al_get_font_descent,·al_get_font_line_height
253 Examples:242 Examples:
254 ····*·ex_ttf.c243 ····*·ex_ttf.c
Max diff block lines reached; 21892/27257 bytes (80.32%) of diff not shown.
9.57 KB
./usr/share/doc/allegro5-doc/refman/fshook.html
    
Offset 206, 16 lines modifiedOffset 206, 15 lines modified
206 </nav>206 </nav>
207 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>207 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
208 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>208 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
209 <p>These·functions·allow·access·to·the·filesystem.·This·can·either·be209 <p>These·functions·allow·access·to·the·filesystem.·This·can·either·be
210 the·real·filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a210 the·real·filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a
211 .zip·archive·(or·whatever·else·you·or·an·addon·makes·it·do).</p>211 .zip·archive·(or·whatever·else·you·or·an·addon·makes·it·do).</p>
212 <h1·id="allegro_fs_entry">ALLEGRO_FS_ENTRY</h1>212 <h1·id="allegro_fs_entry">ALLEGRO_FS_ENTRY</h1>
213 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY<span·class="op">;</span></span>213 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY<span·class="op">;</span></span></code></pre></div>
214 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY<span·class="op">;</span></span></code></pre></div> 
215 <p><a214 <p><a
216 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L37">Source215 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L37">Source
217 Code</a></p>216 Code</a></p>
218 <p>Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory217 <p>Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory
219 (check·with·<a218 (check·with·<a
220 href="fshook.html#al_get_fs_entry_mode">al_get_fs_entry_mode</a>).·There219 href="fshook.html#al_get_fs_entry_mode">al_get_fs_entry_mode</a>).·There
221 are·no·user·accessible·member·variables.</p>220 are·no·user·accessible·member·variables.</p>
Offset 223, 16 lines modifiedOffset 222, 15 lines modified
223 <ul>222 <ul>
224 <li><a223 <li><a
225 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L6">ex_dir.c</a></li>224 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L6">ex_dir.c</a></li>
226 <li><a225 <li><a
227 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L37">ex_physfs.c</a></li>226 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L37">ex_physfs.c</a></li>
228 </ul>227 </ul>
229 <h1·id="allegro_file_mode">ALLEGRO_FILE_MODE</h1>228 <h1·id="allegro_file_mode">ALLEGRO_FILE_MODE</h1>
230 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_FILE_MODE</span>229 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_FILE_MODE</span></code></pre></div>
231 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_FILE_MODE</span></code></pre></div> 
232 <p><a230 <p><a
233 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L46">Source231 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L46">Source
234 Code</a></p>232 Code</a></p>
235 <p>Filesystem·modes/types</p>233 <p>Filesystem·modes/types</p>
236 <ul>234 <ul>
237 <li>ALLEGRO_FILEMODE_READ·-·Readable</li>235 <li>ALLEGRO_FILEMODE_READ·-·Readable</li>
238 <li>ALLEGRO_FILEMODE_WRITE·-·Writable</li>236 <li>ALLEGRO_FILEMODE_WRITE·-·Writable</li>
Offset 557, 16 lines modifiedOffset 555, 15 lines modified
557 entry,·but·uses·the·appropriate·file·interface,·not·whatever·was·set555 entry,·but·uses·the·appropriate·file·interface,·not·whatever·was·set
558 with·the·latest·call·to·<a556 with·the·latest·call·to·<a
559 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>557 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>
560 <p>Returns·the·handle·on·success,·NULL·on·error.</p>558 <p>Returns·the·handle·on·success,·NULL·on·error.</p>
561 <p>See·also:·<a·href="file.html#al_fopen">al_fopen</a></p>559 <p>See·also:·<a·href="file.html#al_fopen">al_fopen</a></p>
562 <h2560 <h2
563 id="allegro_for_each_fs_entry_result">ALLEGRO_FOR_EACH_FS_ENTRY_RESULT</h2>561 id="allegro_for_each_fs_entry_result">ALLEGRO_FOR_EACH_FS_ENTRY_RESULT</h2>
564 <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb24-1"><a·href="#cb24-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·<span·class="op">{</span></span>562 <div·class="sourceCode"·id="cb24"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb24-1"><a·href="#cb24-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·<span·class="op">{</span></span></code></pre></div>
565 <span·id="cb24-2"><a·href="#cb24-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·<span·class="op">{</span></span></code></pre></div> 
566 <p><a563 <p><a
567 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L124">Source564 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L124">Source
568 Code</a></p>565 Code</a></p>
569 <p>Return·values·for·the·callbacks·of·<a566 <p>Return·values·for·the·callbacks·of·<a
570 href="fshook.html#al_for_each_fs_entry">al_for_each_fs_entry</a>·and·for567 href="fshook.html#al_for_each_fs_entry">al_for_each_fs_entry</a>·and·for
571 that·function·itself.</p>568 that·function·itself.</p>
572 <ul>569 <ul>
Offset 645, 16 lines modifiedOffset 642, 15 lines modified
645 <p>By·default,·Allegro·uses·platform·specific·filesystem·functions·for642 <p>By·default,·Allegro·uses·platform·specific·filesystem·functions·for
646 things·like·directory·access.·However·if·for·example·the·files·of·your643 things·like·directory·access.·However·if·for·example·the·files·of·your
647 game·are·not·in·the·local·filesystem·but·inside·some·file·archive,·you644 game·are·not·in·the·local·filesystem·but·inside·some·file·archive,·you
648 can·provide·your·own·set·of·functions·(or·use·an·addon·which·does·this645 can·provide·your·own·set·of·functions·(or·use·an·addon·which·does·this
649 for·you,·for·example·our·physfs·addon·allows·access·to·the·most·common646 for·you,·for·example·our·physfs·addon·allows·access·to·the·most·common
650 archive·formats).</p>647 archive·formats).</p>
651 <h2·id="allegro_fs_interface">ALLEGRO_FS_INTERFACE</h2>648 <h2·id="allegro_fs_interface">ALLEGRO_FS_INTERFACE</h2>
652 <div·class="sourceCode"·id="cb26"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb26-1"><a·href="#cb26-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE<span·class="op">;</span></span>649 <div·class="sourceCode"·id="cb26"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb26-1"><a·href="#cb26-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE<span·class="op">;</span></span></code></pre></div>
653 <span·id="cb26-2"><a·href="#cb26-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE<span·class="op">;</span></span></code></pre></div> 
654 <p><a650 <p><a
655 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L64">Source651 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L64">Source
656 Code</a></p>652 Code</a></p>
657 <p>The·available·functions·you·can·provide·for·a·filesystem.·They653 <p>The·available·functions·you·can·provide·for·a·filesystem.·They
658 are:</p>654 are:</p>
659 <pre><code>···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);655 <pre><code>···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);
660 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);656 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);
Offset 709, 12 lines modifiedOffset 705, 12 lines modified
709 <p>Return·a·pointer·to·the·<a705 <p>Return·a·pointer·to·the·<a
710 href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·table706 href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·table
711 in·effect·for·the·calling·thread.</p>707 in·effect·for·the·calling·thread.</p>
712 <p>See·also:·<a·href="state.html#al_store_state">al_store_state</a>,·<a708 <p>See·also:·<a·href="state.html#al_store_state">al_store_state</a>,·<a
713 href="state.html#al_restore_state">al_restore_state</a>.</p>709 href="state.html#al_restore_state">al_restore_state</a>.</p>
714 <p·class="timestamp">710 <p·class="timestamp">
715 Allegro·version·5.2.8711 Allegro·version·5.2.8
716 ·-·Last·updated:·2025-02-08·15:21:55·UTC712 ·-·Last·updated:·2024-01-07·09:01:11·UTC
717 </p>713 </p>
718 </div>714 </div>
719 </body>715 </body>
720 </html>716 </html>
3.07 KB
html2text {}
    
Offset 80, 24 lines modifiedOffset 80, 22 lines modified
80 These·functions·are·declared·in·the·main·Allegro·header·file:80 These·functions·are·declared·in·the·main·Allegro·header·file:
81 ·#include·<allegro5/allegro.h>81 ·#include·<allegro5/allegro.h>
82 These·functions·allow·access·to·the·filesystem.·This·can·either·be·the·real82 These·functions·allow·access·to·the·filesystem.·This·can·either·be·the·real
83 filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a·.zip·archive·(or83 filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a·.zip·archive·(or
84 whatever·else·you·or·an·addon·makes·it·do).84 whatever·else·you·or·an·addon·makes·it·do).
85 ******·ALLEGRO_FS_ENTRY·******85 ******·ALLEGRO_FS_ENTRY·******
86 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;86 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;
87 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY; 
88 Source_Code87 Source_Code
89 Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory·(check·with88 Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory·(check·with
90 al_get_fs_entry_mode).·There·are·no·user·accessible·member·variables.89 al_get_fs_entry_mode).·There·are·no·user·accessible·member·variables.
91 Examples:90 Examples:
92 ····*·ex_dir.c91 ····*·ex_dir.c
93 ····*·ex_physfs.c92 ····*·ex_physfs.c
94 ******·ALLEGRO_FILE_MODE·******93 ******·ALLEGRO_FILE_MODE·******
95 typedef·enum·ALLEGRO_FILE_MODE94 typedef·enum·ALLEGRO_FILE_MODE
96 typedef·enum·ALLEGRO_FILE_MODE 
97 Source_Code95 Source_Code
98 Filesystem·modes/types96 Filesystem·modes/types
99 ····*·ALLEGRO_FILEMODE_READ·-·Readable97 ····*·ALLEGRO_FILEMODE_READ·-·Readable
100 ····*·ALLEGRO_FILEMODE_WRITE·-·Writable98 ····*·ALLEGRO_FILEMODE_WRITE·-·Writable
101 ····*·ALLEGRO_FILEMODE_EXECUTE·-·Executable99 ····*·ALLEGRO_FILEMODE_EXECUTE·-·Executable
102 ····*·ALLEGRO_FILEMODE_HIDDEN·-·Hidden100 ····*·ALLEGRO_FILEMODE_HIDDEN·-·Hidden
103 ····*·ALLEGRO_FILEMODE_ISFILE·-·Regular·file101 ····*·ALLEGRO_FILEMODE_ISFILE·-·Regular·file
Offset 285, 15 lines modifiedOffset 283, 14 lines modified
285 This·is·like·calling·al_fopen·with·the·name·of·the·filesystem·entry,·but·uses283 This·is·like·calling·al_fopen·with·the·name·of·the·filesystem·entry,·but·uses
286 the·appropriate·file·interface,·not·whatever·was·set·with·the·latest·call·to284 the·appropriate·file·interface,·not·whatever·was·set·with·the·latest·call·to
287 al_set_new_file_interface.285 al_set_new_file_interface.
288 Returns·the·handle·on·success,·NULL·on·error.286 Returns·the·handle·on·success,·NULL·on·error.
289 See·also:·al_fopen287 See·also:·al_fopen
290 *****·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·*****288 *****·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·*****
291 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{289 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{
292 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{ 
293 Source_Code290 Source_Code
294 Return·values·for·the·callbacks·of·al_for_each_fs_entry·and·for·that·function291 Return·values·for·the·callbacks·of·al_for_each_fs_entry·and·for·that·function
295 itself.292 itself.
296 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_ERROR·-·An·error·ocurred.293 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_ERROR·-·An·error·ocurred.
297 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_OK·-·Continue·normally·and·recurse·into294 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_OK·-·Continue·normally·and·recurse·into
298 ······directories.295 ······directories.
299 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_SKIP·-·Continue·but·do·NOT·recusively·descend.296 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_SKIP·-·Continue·but·do·NOT·recusively·descend.
Offset 340, 15 lines modifiedOffset 337, 14 lines modified
340 By·default,·Allegro·uses·platform·specific·filesystem·functions·for·things·like337 By·default,·Allegro·uses·platform·specific·filesystem·functions·for·things·like
341 directory·access.·However·if·for·example·the·files·of·your·game·are·not·in·the338 directory·access.·However·if·for·example·the·files·of·your·game·are·not·in·the
342 local·filesystem·but·inside·some·file·archive,·you·can·provide·your·own·set·of339 local·filesystem·but·inside·some·file·archive,·you·can·provide·your·own·set·of
343 functions·(or·use·an·addon·which·does·this·for·you,·for·example·our·physfs340 functions·(or·use·an·addon·which·does·this·for·you,·for·example·our·physfs
344 addon·allows·access·to·the·most·common·archive·formats).341 addon·allows·access·to·the·most·common·archive·formats).
345 *****·ALLEGRO_FS_INTERFACE·*****342 *****·ALLEGRO_FS_INTERFACE·*****
346 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;343 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;
347 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE; 
348 Source_Code344 Source_Code
349 The·available·functions·you·can·provide·for·a·filesystem.·They·are:345 The·available·functions·you·can·provide·for·a·filesystem.·They·are:
350 ···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);346 ···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);
351 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);347 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);
352 ···const·char·*········fs_entry_name·····(ALLEGRO_FS_ENTRY·*e);348 ···const·char·*········fs_entry_name·····(ALLEGRO_FS_ENTRY·*e);
353 ···bool················fs_update_entry···(ALLEGRO_FS_ENTRY·*e);349 ···bool················fs_update_entry···(ALLEGRO_FS_ENTRY·*e);
354 ···uint32_t············fs_entry_mode·····(ALLEGRO_FS_ENTRY·*e);350 ···uint32_t············fs_entry_mode·····(ALLEGRO_FS_ENTRY·*e);
Offset 382, 8 lines modifiedOffset 378, 8 lines modified
382 See·also:·al_set_fs_interface.378 See·also:·al_set_fs_interface.
383 *****·al_get_fs_interface·*****379 *****·al_get_fs_interface·*****
384 const·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(void)380 const·ALLEGRO_FS_INTERFACE·*al_get_fs_interface(void)
385 Source_Code381 Source_Code
386 Return·a·pointer·to·the·ALLEGRO_FS_INTERFACE·table·in·effect·for·the·calling382 Return·a·pointer·to·the·ALLEGRO_FS_INTERFACE·table·in·effect·for·the·calling
387 thread.383 thread.
388 See·also:·al_store_state,·al_restore_state.384 See·also:·al_store_state,·al_restore_state.
389 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:55·UTC385 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:11·UTC
3.43 KB
./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html
    
Offset 169, 16 lines modifiedOffset 169, 15 lines modified
169 <li><a169 <li><a
170 href="#al_get_num_display_modes">al_get_num_display_modes</a></li>170 href="#al_get_num_display_modes">al_get_num_display_modes</a></li>
171 </ul>171 </ul>
172 </nav>172 </nav>
173 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>173 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
174 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>174 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
175 <h1·id="allegro_display_mode">ALLEGRO_DISPLAY_MODE</h1>175 <h1·id="allegro_display_mode">ALLEGRO_DISPLAY_MODE</h1>
176 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY_MODE</span>176 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY_MODE</span></code></pre></div>
177 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY_MODE</span></code></pre></div> 
178 <p><a177 <p><a
179 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fullscreen_mode.h#L13">Source178 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fullscreen_mode.h#L13">Source
180 Code</a></p>179 Code</a></p>
181 <p>Used·for·fullscreen·mode·queries.·Contains·information·about·a180 <p>Used·for·fullscreen·mode·queries.·Contains·information·about·a
182 supported·fullscreen·modes.</p>181 supported·fullscreen·modes.</p>
183 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY_MODE·<span·class="op">{</span></span>182 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_DISPLAY_MODE·<span·class="op">{</span></span>
184 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·width<span·class="op">;</span>··········<span·class="co">//·Screen·width</span></span>183 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·width<span·class="op">;</span>··········<span·class="co">//·Screen·width</span></span>
Offset 243, 12 lines modifiedOffset 242, 12 lines modified
243 <li><a242 <li><a
244 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_monitorinfo.c#L32">ex_monitorinfo.c</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_monitorinfo.c#L32">ex_monitorinfo.c</a></li>
245 <li><a244 <li><a
246 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_options.c#L93">ex_display_options.c</a></li>245 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_display_options.c#L93">ex_display_options.c</a></li>
247 </ul>246 </ul>
248 <p·class="timestamp">247 <p·class="timestamp">
249 Allegro·version·5.2.8248 Allegro·version·5.2.8
250 ·-·Last·updated:·2025-02-08·15:21:55·UTC249 ·-·Last·updated:·2024-01-07·09:01:11·UTC
251 </p>250 </p>
252 </div>251 </div>
253 </body>252 </body>
254 </html>253 </html>
1.03 KB
html2text {}
    
Offset 50, 15 lines modifiedOffset 50, 14 lines modified
50 ····*·ALLEGRO_DISPLAY_MODE50 ····*·ALLEGRO_DISPLAY_MODE
51 ····*·al_get_display_mode51 ····*·al_get_display_mode
52 ····*·al_get_num_display_modes52 ····*·al_get_num_display_modes
53 These·functions·are·declared·in·the·main·Allegro·header·file:53 These·functions·are·declared·in·the·main·Allegro·header·file:
54 ·#include·<allegro5/allegro.h>54 ·#include·<allegro5/allegro.h>
55 ******·ALLEGRO_DISPLAY_MODE·******55 ******·ALLEGRO_DISPLAY_MODE·******
56 typedef·struct·ALLEGRO_DISPLAY_MODE56 typedef·struct·ALLEGRO_DISPLAY_MODE
57 typedef·struct·ALLEGRO_DISPLAY_MODE 
58 Source_Code57 Source_Code
59 Used·for·fullscreen·mode·queries.·Contains·information·about·a·supported58 Used·for·fullscreen·mode·queries.·Contains·information·about·a·supported
60 fullscreen·modes.59 fullscreen·modes.
61 typedef·struct·ALLEGRO_DISPLAY_MODE·{60 typedef·struct·ALLEGRO_DISPLAY_MODE·{
62 ···int·width;··········//·Screen·width61 ···int·width;··········//·Screen·width
63 ···int·height;·········//·Screen·height62 ···int·height;·········//·Screen·height
64 ···int·format;·········//·The·pixel·format·of·the·mode63 ···int·format;·········//·The·pixel·format·of·the·mode
Offset 91, 8 lines modifiedOffset 90, 8 lines modified
91 al_set_new_display_refresh_rate,·and·al_set_new_display_flags·to·find·the90 al_set_new_display_refresh_rate,·and·al_set_new_display_flags·to·find·the
92 number·of·modes·that·match.·Settings·the·new·display·parameters·to·zero·will91 number·of·modes·that·match.·Settings·the·new·display·parameters·to·zero·will
93 give·a·list·of·all·modes·for·the·default·driver.92 give·a·list·of·all·modes·for·the·default·driver.
94 See·also:·al_get_display_mode93 See·also:·al_get_display_mode
95 Examples:94 Examples:
96 ····*·ex_monitorinfo.c95 ····*·ex_monitorinfo.c
97 ····*·ex_display_options.c96 ····*·ex_display_options.c
98 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:55·UTC97 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:11·UTC
999 B
./usr/share/doc/allegro5-doc/refman/getting_started.html
    
Offset 327, 12 lines modifiedOffset 327, 12 lines modified
327 href="system.html#al_init">al_init</a>·becomes·more·scrict.·See327 href="system.html#al_init">al_init</a>·becomes·more·scrict.·See
328 documentation·of·those·functions·for·details.</p>328 documentation·of·those·functions·for·details.</p>
329 <h1·id="not-the-end">Not·the·end</h1>329 <h1·id="not-the-end">Not·the·end</h1>
330 <p>There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.</p>330 <p>There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.</p>
331 <p>Enjoy!</p>331 <p>Enjoy!</p>
332 <p·class="timestamp">332 <p·class="timestamp">
333 Allegro·version·5.2.8333 Allegro·version·5.2.8
334 ·-·Last·updated:·2025-02-08·15:21:53·UTC334 ·-·Last·updated:·2024-01-07·09:01:08·UTC
335 </p>335 </p>
336 </div>336 </div>
337 </body>337 </body>
338 </html>338 </html>
470 B
html2text {}
    
Offset 195, 8 lines modifiedOffset 195, 8 lines modified
195 including·Allegro’s·headers.195 including·Allegro’s·headers.
196 Note·that·when·you·define·that·macro,·the·version·check·performed·by196 Note·that·when·you·define·that·macro,·the·version·check·performed·by
197 al_install_system·and·al_init·becomes·more·scrict.·See·documentation·of·those197 al_install_system·and·al_init·becomes·more·scrict.·See·documentation·of·those
198 functions·for·details.198 functions·for·details.
199 ******·Not·the·end·******199 ******·Not·the·end·******
200 There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.200 There’s·a·heap·of·stuff·we·haven’t·even·mentioned·yet.
201 Enjoy!201 Enjoy!
202 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:53·UTC202 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:08·UTC
16.6 KB
./usr/share/doc/allegro5-doc/refman/graphics.html
    
Offset 347, 16 lines modifiedOffset 347, 15 lines modified
347 </ul></li>347 </ul></li>
348 </ul>348 </ul>
349 </nav>349 </nav>
350 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>350 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
351 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>351 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
352 <h1·id="colors">Colors</h1>352 <h1·id="colors">Colors</h1>
353 <h2·id="allegro_color">ALLEGRO_COLOR</h2>353 <h2·id="allegro_color">ALLEGRO_COLOR</h2>
354 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COLOR·ALLEGRO_COLOR<span·class="op">;</span></span>354 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COLOR·ALLEGRO_COLOR<span·class="op">;</span></span></code></pre></div>
355 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COLOR·ALLEGRO_COLOR<span·class="op">;</span></span></code></pre></div> 
356 <p><a355 <p><a
357 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L13">Source356 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L13">Source
358 Code</a></p>357 Code</a></p>
359 <p>An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent358 <p>An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent
360 way.·Use·<a·href="graphics.html#al_map_rgb">al_map_rgb</a>·et·al. and·<a359 way.·Use·<a·href="graphics.html#al_map_rgb">al_map_rgb</a>·et·al. and·<a
361 href="graphics.html#al_unmap_rgb">al_unmap_rgb</a>·et·al. to·translate360 href="graphics.html#al_unmap_rgb">al_unmap_rgb</a>·et·al. to·translate
362 from·and·to·various·color·representations.</p>361 from·and·to·various·color·representations.</p>
Offset 584, 16 lines modifiedOffset 583, 15 lines modified
584 <li><a583 <li><a
585 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_test.c#L16">ex_blend_test.c</a></li>584 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_test.c#L16">ex_blend_test.c</a></li>
586 <li><a585 <li><a
587 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_logo.c#L138">ex_logo.c</a></li>586 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_logo.c#L138">ex_logo.c</a></li>
588 </ul>587 </ul>
589 <h1·id="locking-and-pixel-formats">Locking·and·pixel·formats</h1>588 <h1·id="locking-and-pixel-formats">Locking·and·pixel·formats</h1>
590 <h2·id="allegro_locked_region">ALLEGRO_LOCKED_REGION</h2>589 <h2·id="allegro_locked_region">ALLEGRO_LOCKED_REGION</h2>
591 <div·class="sourceCode"·id="cb15"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb15-1"><a·href="#cb15-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION<span·class="op">;</span></span>590 <div·class="sourceCode"·id="cb15"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb15-1"><a·href="#cb15-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION<span·class="op">;</span></span></code></pre></div>
592 <span·id="cb15-2"><a·href="#cb15-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION<span·class="op">;</span></span></code></pre></div> 
593 <p><a591 <p><a
594 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap_lock.h#L23">Source592 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap_lock.h#L23">Source
595 Code</a></p>593 Code</a></p>
596 <p>Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to594 <p>Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to
597 lock·it·first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked595 lock·it·first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked
598 region·of·the·bitmap.·This·call·will·work·with·any·bitmap,·including596 region·of·the·bitmap.·This·call·will·work·with·any·bitmap,·including
599 memory·bitmaps.</p>597 memory·bitmaps.</p>
Offset 630, 16 lines modifiedOffset 628, 15 lines modified
630 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_lockbitmap.c#L21">ex_lockbitmap.c</a></li>628 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_lockbitmap.c#L21">ex_lockbitmap.c</a></li>
631 <li><a629 <li><a
632 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_premulalpha.c#L16">ex_premulalpha.c</a></li>630 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_premulalpha.c#L16">ex_premulalpha.c</a></li>
633 <li><a631 <li><a
634 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L52">ex_multisample.c</a></li>632 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L52">ex_multisample.c</a></li>
635 </ul>633 </ul>
636 <h2·id="allegro_pixel_format">ALLEGRO_PIXEL_FORMAT</h2>634 <h2·id="allegro_pixel_format">ALLEGRO_PIXEL_FORMAT</h2>
637 <div·class="sourceCode"·id="cb17"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb17-1"><a·href="#cb17-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_PIXEL_FORMAT</span>635 <div·class="sourceCode"·id="cb17"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb17-1"><a·href="#cb17-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_PIXEL_FORMAT</span></code></pre></div>
638 <span·id="cb17-2"><a·href="#cb17-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_PIXEL_FORMAT</span></code></pre></div> 
639 <p><a636 <p><a
640 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L23">Source637 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L23">Source
641 Code</a></p>638 Code</a></p>
642 <p>Pixel·formats.·Each·pixel·format·specifies·the·exact·size·and·bit639 <p>Pixel·formats.·Each·pixel·format·specifies·the·exact·size·and·bit
643 layout·of·a·pixel·in·memory.·Components·are·specified·from·high·bits·to640 layout·of·a·pixel·in·memory.·Components·are·specified·from·high·bits·to
644 low·bits,·so·for·example·a·fully·opaque·red·pixel·in·ARGB_8888·format·is641 low·bits,·so·for·example·a·fully·opaque·red·pixel·in·ARGB_8888·format·is
645 0xFFFF0000.</p>642 0xFFFF0000.</p>
Offset 992, 16 lines modifiedOffset 989, 15 lines modified
992 <p>Examples:</p>989 <p>Examples:</p>
993 <ul>990 <ul>
994 <li><a991 <li><a
995 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_compressed.c#L114">ex_compressed.c</a></li>992 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_compressed.c#L114">ex_compressed.c</a></li>
996 </ul>993 </ul>
997 <h1·id="bitmap-creation">Bitmap·creation</h1>994 <h1·id="bitmap-creation">Bitmap·creation</h1>
998 <h2·id="allegro_bitmap">ALLEGRO_BITMAP</h2>995 <h2·id="allegro_bitmap">ALLEGRO_BITMAP</h2>
999 <div·class="sourceCode"·id="cb30"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb30-1"><a·href="#cb30-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_BITMAP·ALLEGRO_BITMAP<span·class="op">;</span></span>996 <div·class="sourceCode"·id="cb30"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb30-1"><a·href="#cb30-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_BITMAP·ALLEGRO_BITMAP<span·class="op">;</span></span></code></pre></div>
1000 <span·id="cb30-2"><a·href="#cb30-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_BITMAP·ALLEGRO_BITMAP<span·class="op">;</span></span></code></pre></div> 
1001 <p><a997 <p><a
1002 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L12">Source998 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L12">Source
1003 Code</a></p>999 Code</a></p>
1004 <p>Abstract·type·representing·a·bitmap·(2D·image).</p>1000 <p>Abstract·type·representing·a·bitmap·(2D·image).</p>
1005 <p>Examples:</p>1001 <p>Examples:</p>
1006 <ul>1002 <ul>
1007 <li><a1003 <li><a
Offset 1515, 16 lines modifiedOffset 1511, 15 lines modified
1515 <blockquote>1511 <blockquote>
1516 <p><em><a·href="getting_started.html#unstable-api">Unstable1512 <p><em><a·href="getting_started.html#unstable-api">Unstable
1517 API</a>:</em>·This·is·an·experimental·feature.</p>1513 API</a>:</em>·This·is·an·experimental·feature.</p>
1518 </blockquote>1514 </blockquote>
1519 <p>See·also:·<a1515 <p>See·also:·<a
1520 href="graphics.html#allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</a></p>1516 href="graphics.html#allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</a></p>
1521 <h2·id="allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</h2>1517 <h2·id="allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</h2>
1522 <div·class="sourceCode"·id="cb49"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb49-1"><a·href="#cb49-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_BITMAP_WRAP·<span·class="op">{</span></span>1518 <div·class="sourceCode"·id="cb49"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb49-1"><a·href="#cb49-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_BITMAP_WRAP·<span·class="op">{</span></span></code></pre></div>
1523 <span·id="cb49-2"><a·href="#cb49-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_BITMAP_WRAP·<span·class="op">{</span></span></code></pre></div> 
1524 <p><a1519 <p><a
1525 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L17">Source1520 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L17">Source
1526 Code</a></p>1521 Code</a></p>
1527 <p>Controls·the·how·the·pixel·color·is·determined·from·a·texture1522 <p>Controls·the·how·the·pixel·color·is·determined·from·a·texture
1528 querying·the·texture·coordinates·are·outside·the·usual·bounds.</p>1523 querying·the·texture·coordinates·are·outside·the·usual·bounds.</p>
1529 <ul>1524 <ul>
1530 <li><p>ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This1525 <li><p>ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This
Offset 3208, 16 lines modifiedOffset 3203, 15 lines modified
3208 <p>See·also:·<a3203 <p>See·also:·<a
3209 href="image.html#al_init_image_addon">al_init_image_addon</a>,·<a3204 href="image.html#al_init_image_addon">al_init_image_addon</a>,·<a
3210 href="graphics.html#al_identify_bitmap">al_identify_bitmap</a>,·<a3205 href="graphics.html#al_identify_bitmap">al_identify_bitmap</a>,·<a
3211 href="graphics.html#al_register_bitmap_identifier">al_register_bitmap_identifier</a></p>3206 href="graphics.html#al_register_bitmap_identifier">al_register_bitmap_identifier</a></p>
3212 <h1·id="render-state">Render·State</h1>3207 <h1·id="render-state">Render·State</h1>
3213 <h2·id="allegro_render_state">ALLEGRO_RENDER_STATE</h2>3208 <h2·id="allegro_render_state">ALLEGRO_RENDER_STATE</h2>
3214 <div·class="sourceCode"·id="cb150"><pre3209 <div·class="sourceCode"·id="cb150"><pre
3215 class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb150-1"><a·href="#cb150-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_RENDER_STATE·<span·class="op">{</span></span>3210 class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb150-1"><a·href="#cb150-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_RENDER_STATE·<span·class="op">{</span></span></code></pre></div>
3216 <span·id="cb150-2"><a·href="#cb150-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_RENDER_STATE·<span·class="op">{</span></span></code></pre></div> 
3217 <p><a3211 <p><a
3218 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L12">Source3212 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L12">Source
3219 Code</a></p>3213 Code</a></p>
3220 <p>Possible·render·states·which·can·be·set·with·<a3214 <p>Possible·render·states·which·can·be·set·with·<a
3221 href="graphics.html#al_set_render_state">al_set_render_state</a>:</p>3215 href="graphics.html#al_set_render_state">al_set_render_state</a>:</p>
3222 <dl>3216 <dl>
3223 <dt>ALLEGRO_ALPHA_TEST</dt>3217 <dt>ALLEGRO_ALPHA_TEST</dt>
Offset 3265, 16 lines modifiedOffset 3259, 15 lines modified
3265 <p>See·also:·<a3259 <p>See·also:·<a
3266 href="graphics.html#al_set_render_state">al_set_render_state</a>,·<a3260 href="graphics.html#al_set_render_state">al_set_render_state</a>,·<a
3267 href="graphics.html#allegro_render_function">ALLEGRO_RENDER_FUNCTION</a>,3261 href="graphics.html#allegro_render_function">ALLEGRO_RENDER_FUNCTION</a>,
3268 <a3262 <a
3269 href="graphics.html#allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</a></p>3263 href="graphics.html#allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</a></p>
3270 <h2·id="allegro_render_function">ALLEGRO_RENDER_FUNCTION</h2>3264 <h2·id="allegro_render_function">ALLEGRO_RENDER_FUNCTION</h2>
3271 <div·class="sourceCode"·id="cb151"><pre3265 <div·class="sourceCode"·id="cb151"><pre
3272 class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb151-1"><a·href="#cb151-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_RENDER_FUNCTION·<span·class="op">{</span></span>3266 class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb151-1"><a·href="#cb151-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_RENDER_FUNCTION·<span·class="op">{</span></span></code></pre></div>
3273 <span·id="cb151-2"><a·href="#cb151-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_RENDER_FUNCTION·<span·class="op">{</span></span></code></pre></div> 
3274 <p><a3267 <p><a
3275 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L26">Source3268 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L26">Source
3276 Code</a></p>3269 Code</a></p>
3277 <p>Possible·functions·are:</p>3270 <p>Possible·functions·are:</p>
3278 <ul>3271 <ul>
3279 <li>ALLEGRO_RENDER_NEVER</li>3272 <li>ALLEGRO_RENDER_NEVER</li>
3280 <li>ALLEGRO_RENDER_ALWAYS</li>3273 <li>ALLEGRO_RENDER_ALWAYS</li>
Offset 3288, 16 lines modifiedOffset 3281, 15 lines modified
3288 <li>ALLEGRO_RENDER_GREATER_EQUAL</li>3281 <li>ALLEGRO_RENDER_GREATER_EQUAL</li>
3289 </ul>3282 </ul>
3290 <p>Since:·5.1.2</p>3283 <p>Since:·5.1.2</p>
3291 <p>See·also:·<a3284 <p>See·also:·<a
3292 href="graphics.html#al_set_render_state">al_set_render_state</a></p>3285 href="graphics.html#al_set_render_state">al_set_render_state</a></p>
3293 <h2·id="allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</h2>3286 <h2·id="allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</h2>
3294 <div·class="sourceCode"·id="cb152"><pre3287 <div·class="sourceCode"·id="cb152"><pre
3295 class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb152-1"><a·href="#cb152-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_WRITE_MASK_FLAGS·<span·class="op">{</span></span>3288 class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb152-1"><a·href="#cb152-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_WRITE_MASK_FLAGS·<span·class="op">{</span></span></code></pre></div>
Max diff block lines reached; 664/11774 bytes (5.64%) of diff not shown.
5.05 KB
html2text {}
    
Offset 174, 15 lines modifiedOffset 174, 14 lines modified
174 ··········o·al_backup_dirty_bitmap174 ··········o·al_backup_dirty_bitmap
175 ··········o·al_backup_dirty_bitmaps175 ··········o·al_backup_dirty_bitmaps
176 These·functions·are·declared·in·the·main·Allegro·header·file:176 These·functions·are·declared·in·the·main·Allegro·header·file:
177 ·#include·<allegro5/allegro.h>177 ·#include·<allegro5/allegro.h>
178 ******·Colors·******178 ******·Colors·******
179 *****·ALLEGRO_COLOR·*****179 *****·ALLEGRO_COLOR·*****
180 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;180 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;
181 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR; 
182 Source_Code181 Source_Code
183 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent·way.·Use182 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent·way.·Use
184 al_map_rgb·et·al. and·al_unmap_rgb·et·al. to·translate·from·and·to·various183 al_map_rgb·et·al. and·al_unmap_rgb·et·al. to·translate·from·and·to·various
185 color·representations.184 color·representations.
186 Examples:185 Examples:
187 ····*·ex_keyboard_focus.c186 ····*·ex_keyboard_focus.c
188 ····*·ex_nodisplay.c187 ····*·ex_nodisplay.c
Offset 311, 15 lines modifiedOffset 310, 14 lines modified
311 See·also:·al_unmap_rgba,·al_unmap_rgb,·al_unmap_rgb_f310 See·also:·al_unmap_rgba,·al_unmap_rgb,·al_unmap_rgb_f
312 Examples:311 Examples:
313 ····*·ex_blend_test.c312 ····*·ex_blend_test.c
314 ····*·ex_logo.c313 ····*·ex_logo.c
315 ******·Locking·and·pixel·formats·******314 ******·Locking·and·pixel·formats·******
316 *****·ALLEGRO_LOCKED_REGION·*****315 *****·ALLEGRO_LOCKED_REGION·*****
317 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;316 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;
318 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION; 
319 Source_Code317 Source_Code
320 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to·lock·it318 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to·lock·it
321 first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the319 first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the
322 bitmap.·This·call·will·work·with·any·bitmap,·including·memory·bitmaps.320 bitmap.·This·call·will·work·with·any·bitmap,·including·memory·bitmaps.
323 typedef·struct·ALLEGRO_LOCKED_REGION·{321 typedef·struct·ALLEGRO_LOCKED_REGION·{
324 ···void·*data;322 ···void·*data;
325 ···int·format;323 ···int·format;
Offset 344, 15 lines modifiedOffset 342, 14 lines modified
344 ALLEGRO_PIXEL_FORMAT342 ALLEGRO_PIXEL_FORMAT
345 Examples:343 Examples:
346 ····*·ex_lockbitmap.c344 ····*·ex_lockbitmap.c
347 ····*·ex_premulalpha.c345 ····*·ex_premulalpha.c
348 ····*·ex_multisample.c346 ····*·ex_multisample.c
349 *****·ALLEGRO_PIXEL_FORMAT·*****347 *****·ALLEGRO_PIXEL_FORMAT·*****
350 typedef·enum·ALLEGRO_PIXEL_FORMAT348 typedef·enum·ALLEGRO_PIXEL_FORMAT
351 typedef·enum·ALLEGRO_PIXEL_FORMAT 
352 Source_Code349 Source_Code
353 Pixel·formats.·Each·pixel·format·specifies·the·exact·size·and·bit·layout·of·a350 Pixel·formats.·Each·pixel·format·specifies·the·exact·size·and·bit·layout·of·a
354 pixel·in·memory.·Components·are·specified·from·high·bits·to·low·bits,·so·for351 pixel·in·memory.·Components·are·specified·from·high·bits·to·low·bits,·so·for
355 example·a·fully·opaque·red·pixel·in·ARGB_8888·format·is·0xFFFF0000.352 example·a·fully·opaque·red·pixel·in·ARGB_8888·format·is·0xFFFF0000.
356 ·····Note:353 ·····Note:
357 ·····The·pixel·format·is·independent·of·endianness.·That·is,·in·the·above354 ·····The·pixel·format·is·independent·of·endianness.·That·is,·in·the·above
358 ·····example·you·can·always·get·the·red·component·with355 ·····example·you·can·always·get·the·red·component·with
Offset 587, 15 lines modifiedOffset 584, 14 lines modified
587 Since:·5.1.9584 Since:·5.1.9
588 See·also:·al_lock_bitmap_region,·al_lock_bitmap_blocked585 See·also:·al_lock_bitmap_region,·al_lock_bitmap_blocked
589 Examples:586 Examples:
590 ····*·ex_compressed.c587 ····*·ex_compressed.c
591 ******·Bitmap·creation·******588 ******·Bitmap·creation·******
592 *****·ALLEGRO_BITMAP·*****589 *****·ALLEGRO_BITMAP·*****
593 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;590 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;
594 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP; 
595 Source_Code591 Source_Code
596 Abstract·type·representing·a·bitmap·(2D·image).592 Abstract·type·representing·a·bitmap·(2D·image).
597 Examples:593 Examples:
598 ····*·ex_convert.c594 ····*·ex_convert.c
599 ····*·ex_nodisplay.c595 ····*·ex_nodisplay.c
600 ····*·ex_opengl_pixel_shader.c596 ····*·ex_opengl_pixel_shader.c
601 *****·al_create_bitmap·*****597 *****·al_create_bitmap·*****
Offset 913, 15 lines modifiedOffset 909, 14 lines modified
913 Returns·the·value·currently·set·with·al_set_new_bitmap_wrap·on·the·current909 Returns·the·value·currently·set·with·al_set_new_bitmap_wrap·on·the·current
914 thread.910 thread.
915 Since:·5.2.8911 Since:·5.2.8
916 ·····Unstable_API:·This·is·an·experimental·feature.912 ·····Unstable_API:·This·is·an·experimental·feature.
917 See·also:·ALLEGRO_BITMAP_WRAP913 See·also:·ALLEGRO_BITMAP_WRAP
918 *****·ALLEGRO_BITMAP_WRAP·*****914 *****·ALLEGRO_BITMAP_WRAP·*****
919 typedef·enum·ALLEGRO_BITMAP_WRAP·{915 typedef·enum·ALLEGRO_BITMAP_WRAP·{
920 typedef·enum·ALLEGRO_BITMAP_WRAP·{ 
921 Source_Code916 Source_Code
922 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying·the917 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying·the
923 texture·coordinates·are·outside·the·usual·bounds.918 texture·coordinates·are·outside·the·usual·bounds.
924 ····*·ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This·corresponds·to919 ····*·ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This·corresponds·to
925 ······ALLEGRO_BITMAP_WRAP_REPEAT·when·using·the·primitives·addon·and920 ······ALLEGRO_BITMAP_WRAP_REPEAT·when·using·the·primitives·addon·and
926 ······ALLEGRO_BITMAP_WRAP_CLAMP·otherwise.921 ······ALLEGRO_BITMAP_WRAP_CLAMP·otherwise.
927 ····*·ALLEGRO_BITMAP_WRAP_REPEAT·-·The·texture·coordinates·get·shifted·to·the922 ····*·ALLEGRO_BITMAP_WRAP_REPEAT·-·The·texture·coordinates·get·shifted·to·the
Offset 1945, 15 lines modifiedOffset 1940, 14 lines modified
1945 if·the·bitmap·type·cannot·be·determined.1940 if·the·bitmap·type·cannot·be·determined.
1946 Since:·5.1.121941 Since:·5.1.12
1947 See·also:·al_init_image_addon,·al_identify_bitmap,1942 See·also:·al_init_image_addon,·al_identify_bitmap,
1948 al_register_bitmap_identifier1943 al_register_bitmap_identifier
1949 ******·Render·State·******1944 ******·Render·State·******
1950 *****·ALLEGRO_RENDER_STATE·*****1945 *****·ALLEGRO_RENDER_STATE·*****
1951 typedef·enum·ALLEGRO_RENDER_STATE·{1946 typedef·enum·ALLEGRO_RENDER_STATE·{
1952 typedef·enum·ALLEGRO_RENDER_STATE·{ 
1953 Source_Code1947 Source_Code
1954 Possible·render·states·which·can·be·set·with·al_set_render_state:1948 Possible·render·states·which·can·be·set·with·al_set_render_state:
1955 ··ALLEGRO_ALPHA_TEST1949 ··ALLEGRO_ALPHA_TEST
1956 ······If·this·is·set·to·1,·the·values·of·ALLEGRO_ALPHA_FUNCTION·and1950 ······If·this·is·set·to·1,·the·values·of·ALLEGRO_ALPHA_FUNCTION·and
1957 ······ALLEGRO_ALPHA_TEST_VALUE·define·a·comparison·function·which·is·performed1951 ······ALLEGRO_ALPHA_TEST_VALUE·define·a·comparison·function·which·is·performed
1958 ······on·the·alpha·component·of·each·pixel.·Only·if·it·evaluates·to·true·the1952 ······on·the·alpha·component·of·each·pixel.·Only·if·it·evaluates·to·true·the
1959 ······pixel·is·written.·Otherwise·no·subsequent·processing·(like·depth·test·or1953 ······pixel·is·written.·Otherwise·no·subsequent·processing·(like·depth·test·or
Offset 1976, 30 lines modifiedOffset 1970, 28 lines modified
1976 ··ALLEGRO_DEPTH_FUNCTION1970 ··ALLEGRO_DEPTH_FUNCTION
1977 ······One·of·ALLEGRO_RENDER_FUNCTION,·only·used·when·ALLEGRO_DEPTH_TEST·is·1.1971 ······One·of·ALLEGRO_RENDER_FUNCTION,·only·used·when·ALLEGRO_DEPTH_TEST·is·1.
1978 Since:·5.1.21972 Since:·5.1.2
1979 See·also:·al_set_render_state,·ALLEGRO_RENDER_FUNCTION,1973 See·also:·al_set_render_state,·ALLEGRO_RENDER_FUNCTION,
1980 ALLEGRO_WRITE_MASK_FLAGS1974 ALLEGRO_WRITE_MASK_FLAGS
1981 *****·ALLEGRO_RENDER_FUNCTION·*****1975 *****·ALLEGRO_RENDER_FUNCTION·*****
1982 typedef·enum·ALLEGRO_RENDER_FUNCTION·{1976 typedef·enum·ALLEGRO_RENDER_FUNCTION·{
1983 typedef·enum·ALLEGRO_RENDER_FUNCTION·{ 
1984 Source_Code1977 Source_Code
1985 Possible·functions·are:1978 Possible·functions·are:
1986 ····*·ALLEGRO_RENDER_NEVER1979 ····*·ALLEGRO_RENDER_NEVER
1987 ····*·ALLEGRO_RENDER_ALWAYS1980 ····*·ALLEGRO_RENDER_ALWAYS
1988 ····*·ALLEGRO_RENDER_LESS1981 ····*·ALLEGRO_RENDER_LESS
1989 ····*·ALLEGRO_RENDER_EQUAL1982 ····*·ALLEGRO_RENDER_EQUAL
1990 ····*·ALLEGRO_RENDER_LESS_EQUAL1983 ····*·ALLEGRO_RENDER_LESS_EQUAL
1991 ····*·ALLEGRO_RENDER_GREATER1984 ····*·ALLEGRO_RENDER_GREATER
1992 ····*·ALLEGRO_RENDER_NOT_EQUAL1985 ····*·ALLEGRO_RENDER_NOT_EQUAL
1993 ····*·ALLEGRO_RENDER_GREATER_EQUAL1986 ····*·ALLEGRO_RENDER_GREATER_EQUAL
1994 Since:·5.1.21987 Since:·5.1.2
1995 See·also:·al_set_render_state1988 See·also:·al_set_render_state
1996 *****·ALLEGRO_WRITE_MASK_FLAGS·*****1989 *****·ALLEGRO_WRITE_MASK_FLAGS·*****
1997 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{1990 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{
1998 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{ 
1999 Source_Code1991 Source_Code
2000 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled·bit·means1992 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled·bit·means
2001 it·is·not.1993 it·is·not.
2002 ····*·ALLEGRO_MASK_RED1994 ····*·ALLEGRO_MASK_RED
2003 ····*·ALLEGRO_MASK_GREEN1995 ····*·ALLEGRO_MASK_GREEN
2004 ····*·ALLEGRO_MASK_BLUE1996 ····*·ALLEGRO_MASK_BLUE
2005 ····*·ALLEGRO_MASK_ALPHA1997 ····*·ALLEGRO_MASK_ALPHA
Offset 2037, 8 lines modifiedOffset 2029, 8 lines modified
Max diff block lines reached; 400/5143 bytes (7.78%) of diff not shown.
9.32 KB
./usr/share/doc/allegro5-doc/refman/haptic.html
    
Offset 222, 16 lines modifiedOffset 222, 15 lines modified
222 file:</p>222 file:</p>
223 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>223 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
224 <p>Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows224 <p>Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows
225 for·DirectInput·compatible·devices.·There·is·also·minimal·support·for225 for·DirectInput·compatible·devices.·There·is·also·minimal·support·for
226 Android.·It·is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput226 Android.·It·is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput
227 compatible·devices.</p>227 compatible·devices.</p>
228 <h1·id="allegro_haptic">ALLEGRO_HAPTIC</h1>228 <h1·id="allegro_haptic">ALLEGRO_HAPTIC</h1>
229 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC<span·class="op">;</span></span>229 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC<span·class="op">;</span></span></code></pre></div>
230 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC<span·class="op">;</span></span></code></pre></div> 
231 <p><a230 <p><a
232 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L64">Source231 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L64">Source
233 Code</a></p>232 Code</a></p>
234 <p>This·is·an·abstract·data·type·representing·a·haptic·device·that233 <p>This·is·an·abstract·data·type·representing·a·haptic·device·that
235 supports·force·feedback·or·vibration.</p>234 supports·force·feedback·or·vibration.</p>
236 <p>Since:·5.1.8</p>235 <p>Since:·5.1.8</p>
237 <blockquote>236 <blockquote>
Offset 246, 16 lines modifiedOffset 245, 15 lines modified
246 <ul>245 <ul>
247 <li><a246 <li><a
248 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>247 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>
249 <li><a248 <li><a
250 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L21">ex_haptic2.cpp</a></li>249 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L21">ex_haptic2.cpp</a></li>
251 </ul>250 </ul>
252 <h1·id="allegro_haptic_constants">ALLEGRO_HAPTIC_CONSTANTS</h1>251 <h1·id="allegro_haptic_constants">ALLEGRO_HAPTIC_CONSTANTS</h1>
253 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_HAPTIC_CONSTANTS</span>252 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_HAPTIC_CONSTANTS</span></code></pre></div>
254 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_HAPTIC_CONSTANTS</span></code></pre></div> 
255 <p><a253 <p><a
256 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L37">Source254 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L37">Source
257 Code</a></p>255 Code</a></p>
258 <p>This·enum·contains·flags·that·are·used·to·define·haptic·effects·and256 <p>This·enum·contains·flags·that·are·used·to·define·haptic·effects·and
259 capabilities.·If·the·flag·is·set·in·the·return·value·of·<a257 capabilities.·If·the·flag·is·set·in·the·return·value·of·<a
260 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,258 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,
261 it·means·the·device·supports·the·given·effect.·The·value·of·these·flags259 it·means·the·device·supports·the·given·effect.·The·value·of·these·flags
Offset 294, 16 lines modifiedOffset 292, 15 lines modified
294 users.</p>292 users.</p>
295 </blockquote>293 </blockquote>
296 <p>See·also:·<a294 <p>See·also:·<a
297 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,295 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,
298 <a296 <a
299 href="haptic.html#allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</a></p>297 href="haptic.html#allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</a></p>
300 <h1·id="allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</h1>298 <h1·id="allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</h1>
301 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">struct</span>·ALLEGRO_HAPTIC_EFFECT</span>299 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">struct</span>·ALLEGRO_HAPTIC_EFFECT</span></code></pre></div>
302 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">struct</span>·ALLEGRO_HAPTIC_EFFECT</span></code></pre></div> 
303 <p><a300 <p><a
304 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L169">Source301 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L169">Source
305 Code</a></p>302 Code</a></p>
306 <p>This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs303 <p>This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs
307 to·be·filled·in·correctly·and·uploaded·to·a·haptic·device·before·the304 to·be·filled·in·correctly·and·uploaded·to·a·haptic·device·before·the
308 device·can·play·it·back.</p>305 device·can·play·it·back.</p>
309 <p><em>Fields:</em></p>306 <p><em>Fields:</em></p>
Offset 506, 16 lines modifiedOffset 503, 15 lines modified
506 <ul>503 <ul>
507 <li><a504 <li><a
508 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>505 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>
509 <li><a506 <li><a
510 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L22">ex_haptic2.cpp</a></li>507 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L22">ex_haptic2.cpp</a></li>
511 </ul>508 </ul>
512 <h1·id="allegro_haptic_effect_id">ALLEGRO_HAPTIC_EFFECT_ID</h1>509 <h1·id="allegro_haptic_effect_id">ALLEGRO_HAPTIC_EFFECT_ID</h1>
513 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID<span·class="op">;</span></span>510 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID<span·class="op">;</span></span></code></pre></div>
514 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID<span·class="op">;</span></span></code></pre></div> 
515 <p><a511 <p><a
516 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L183">Source512 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L183">Source
517 Code</a></p>513 Code</a></p>
518 <p>This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic514 <p>This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic
519 effect·and·should·be·considered·opaque.·Its·implementation·is·visible515 effect·and·should·be·considered·opaque.·Its·implementation·is·visible
520 merely·to·allow·allocation·by·the·users·of·the·Allegro·library.</p>516 merely·to·allow·allocation·by·the·users·of·the·Allegro·library.</p>
521 <p>Since:·5.1.8</p>517 <p>Since:·5.1.8</p>
Offset 1245, 12 lines modifiedOffset 1241, 12 lines modified
1245 <p><em><a·href="getting_started.html#unstable-api">Unstable1241 <p><em><a·href="getting_started.html#unstable-api">Unstable
1246 API</a>:</em>·Perhaps·could·be·simplified·due·to·limited·support·for·all1242 API</a>:</em>·Perhaps·could·be·simplified·due·to·limited·support·for·all
1247 the·exposed·features·across·all·of·the·platforms.·Awaiting·feedback·from1243 the·exposed·features·across·all·of·the·platforms.·Awaiting·feedback·from
1248 users.</p>1244 users.</p>
1249 </blockquote>1245 </blockquote>
1250 <p·class="timestamp">1246 <p·class="timestamp">
1251 Allegro·version·5.2.81247 Allegro·version·5.2.8
1252 ·-·Last·updated:·2025-02-08·15:21:55·UTC1248 ·-·Last·updated:·2024-01-07·09:01:11·UTC
1253 </p>1249 </p>
1254 </div>1250 </div>
1255 </body>1251 </body>
1256 </html>1252 </html>
3.23 KB
html2text {}
    
Offset 86, 29 lines modifiedOffset 86, 27 lines modified
86 functions·are·declared·in·the·main·Allegro·header·file:86 functions·are·declared·in·the·main·Allegro·header·file:
87 ·#include·<allegro5/allegro.h>87 ·#include·<allegro5/allegro.h>
88 Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows·for88 Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows·for
89 DirectInput·compatible·devices.·There·is·also·minimal·support·for·Android.·It89 DirectInput·compatible·devices.·There·is·also·minimal·support·for·Android.·It
90 is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput·compatible·devices.90 is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput·compatible·devices.
91 ******·ALLEGRO_HAPTIC·******91 ******·ALLEGRO_HAPTIC·******
92 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;92 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;
93 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC; 
94 Source_Code93 Source_Code
95 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports·force94 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports·force
96 feedback·or·vibration.95 feedback·or·vibration.
97 Since:·5.1.896 Since:·5.1.8
98 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for97 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for
99 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting98 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
100 ·····feedback·from·users.99 ·····feedback·from·users.
101 See·also:·al_get_haptic_from_joystick100 See·also:·al_get_haptic_from_joystick
102 Examples:101 Examples:
103 ····*·ex_haptic.c102 ····*·ex_haptic.c
104 ····*·ex_haptic2.cpp103 ····*·ex_haptic2.cpp
105 ******·ALLEGRO_HAPTIC_CONSTANTS·******104 ******·ALLEGRO_HAPTIC_CONSTANTS·******
106 enum·ALLEGRO_HAPTIC_CONSTANTS105 enum·ALLEGRO_HAPTIC_CONSTANTS
107 enum·ALLEGRO_HAPTIC_CONSTANTS 
108 Source_Code106 Source_Code
109 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and107 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and
110 capabilities.·If·the·flag·is·set·in·the·return·value·of108 capabilities.·If·the·flag·is·set·in·the·return·value·of
111 al_get_haptic_capabilities,·it·means·the·device·supports·the·given·effect.·The109 al_get_haptic_capabilities,·it·means·the·device·supports·the·given·effect.·The
112 value·of·these·flags·should·be·set·into·a·ALLEGRO_HAPTIC_EFFECT·struct·to110 value·of·these·flags·should·be·set·into·a·ALLEGRO_HAPTIC_EFFECT·struct·to
113 determine·what·kind·of·haptic·effect·should·be·played.111 determine·what·kind·of·haptic·effect·should·be·played.
114 ····*·ALLEGRO_HAPTIC_RUMBLE·-·simple·vibration·effects112 ····*·ALLEGRO_HAPTIC_RUMBLE·-·simple·vibration·effects
Offset 133, 15 lines modifiedOffset 131, 14 lines modified
133 Since:·5.1.8131 Since:·5.1.8
134 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for132 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for
135 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting133 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
136 ·····feedback·from·users.134 ·····feedback·from·users.
137 See·also:·al_get_haptic_capabilities,·ALLEGRO_HAPTIC_EFFECT135 See·also:·al_get_haptic_capabilities,·ALLEGRO_HAPTIC_EFFECT
138 ******·ALLEGRO_HAPTIC_EFFECT·******136 ******·ALLEGRO_HAPTIC_EFFECT·******
139 struct·ALLEGRO_HAPTIC_EFFECT137 struct·ALLEGRO_HAPTIC_EFFECT
140 struct·ALLEGRO_HAPTIC_EFFECT 
141 Source_Code138 Source_Code
142 This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs·to·be139 This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs·to·be
143 filled·in·correctly·and·uploaded·to·a·haptic·device·before·the·device·can·play140 filled·in·correctly·and·uploaded·to·a·haptic·device·before·the·device·can·play
144 it·back.141 it·back.
145 Fields:142 Fields:
146 ··type143 ··type
147 ······The·type·of·the·haptic·effect.·May·be·one·of·the·ALLEGRO_HAPTIC_CONSTANTS144 ······The·type·of·the·haptic·effect.·May·be·one·of·the·ALLEGRO_HAPTIC_CONSTANTS
Offset 300, 15 lines modifiedOffset 297, 14 lines modified
300 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting297 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
301 ·····feedback·from·users.298 ·····feedback·from·users.
302 Examples:299 Examples:
303 ····*·ex_haptic.c300 ····*·ex_haptic.c
304 ····*·ex_haptic2.cpp301 ····*·ex_haptic2.cpp
305 ******·ALLEGRO_HAPTIC_EFFECT_ID·******302 ******·ALLEGRO_HAPTIC_EFFECT_ID·******
306 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;303 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;
307 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID; 
308 Source_Code304 Source_Code
309 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect·and305 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect·and
310 should·be·considered·opaque.·Its·implementation·is·visible·merely·to·allow306 should·be·considered·opaque.·Its·implementation·is·visible·merely·to·allow
311 allocation·by·the·users·of·the·Allegro·library.307 allocation·by·the·users·of·the·Allegro·library.
312 Since:·5.1.8308 Since:·5.1.8
313 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for309 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for
314 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting310 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
Offset 730, 8 lines modifiedOffset 726, 8 lines modified
730 again·manually·in·this·case.·However,·if·true·is·returned,·it·is·necessary·to726 again·manually·in·this·case.·However,·if·true·is·returned,·it·is·necessary·to
731 call·al_release_haptic_effect·when·the·effect·isn’t·needed·anymore,·to727 call·al_release_haptic_effect·when·the·effect·isn’t·needed·anymore,·to
732 prevent·the·amount·of·available·effects·on·the·haptic·device·from·running·out.728 prevent·the·amount·of·available·effects·on·the·haptic·device·from·running·out.
733 Since:·5.1.8729 Since:·5.1.8
734 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for730 ·····Unstable_API:·Perhaps·could·be·simplified·due·to·limited·support·for
735 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting731 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
736 ·····feedback·from·users.732 ·····feedback·from·users.
737 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:55·UTC733 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:11·UTC
7.45 KB
./usr/share/doc/allegro5-doc/refman/image.html
    
Offset 176, 16 lines modifiedOffset 176, 15 lines modified
176 allegro_image.</p>176 allegro_image.</p>
177 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_image.h&gt;</span></span></code></pre></div>177 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_image.h&gt;</span></span></code></pre></div>
178 <p>Some·of·the·format·handlers·define·configuration·options·for178 <p>Some·of·the·format·handlers·define·configuration·options·for
179 specifying·things·like·compression·level·or·gamma·handling.·Refer·to·<a179 specifying·things·like·compression·level·or·gamma·handling.·Refer·to·<a
180 href="system.html#al_get_system_config">al_get_system_config</a>·for180 href="system.html#al_get_system_config">al_get_system_config</a>·for
181 their·documentation.</p>181 their·documentation.</p>
182 <h1·id="al_init_image_addon">al_init_image_addon</h1>182 <h1·id="al_init_image_addon">al_init_image_addon</h1>
183 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>183 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
184 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
185 <p><a184 <p><a
186 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L14">Source185 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L14">Source
187 Code</a></p>186 Code</a></p>
188 <p>Initializes·the·image·addon.·This·registers·bitmap·format·handlers187 <p>Initializes·the·image·addon.·This·registers·bitmap·format·handlers
189 for·<a·href="graphics.html#al_load_bitmap">al_load_bitmap</a>,·<a188 for·<a·href="graphics.html#al_load_bitmap">al_load_bitmap</a>,·<a
190 href="graphics.html#al_load_bitmap_f">al_load_bitmap_f</a>,·<a189 href="graphics.html#al_load_bitmap_f">al_load_bitmap_f</a>,·<a
191 href="graphics.html#al_save_bitmap">al_save_bitmap</a>,·<a190 href="graphics.html#al_save_bitmap">al_save_bitmap</a>,·<a
Offset 208, 38 lines modifiedOffset 207, 35 lines modified
208 <li><a207 <li><a
209 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_nodisplay.c#L22">ex_nodisplay.c</a></li>208 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_nodisplay.c#L22">ex_nodisplay.c</a></li>
210 <li><a209 <li><a
211 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_opengl_pixel_shader.c#L53">ex_opengl_pixel_shader.c</a></li>210 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_opengl_pixel_shader.c#L53">ex_opengl_pixel_shader.c</a></li>
212 </ul>211 </ul>
213 <h1212 <h1
214 id="al_is_image_addon_initialized">al_is_image_addon_initialized</h1>213 id="al_is_image_addon_initialized">al_is_image_addon_initialized</h1>
215 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_image_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>214 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_image_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
216 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_image_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
217 <p><a215 <p><a
218 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L169">Source216 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L169">Source
219 Code</a></p>217 Code</a></p>
220 <p>Returns·true·if·the·image·addon·is·initialized,·otherwise·returns218 <p>Returns·true·if·the·image·addon·is·initialized,·otherwise·returns
221 false.</p>219 false.</p>
222 <p>Since:·5.2.6</p>220 <p>Since:·5.2.6</p>
223 <h1·id="al_shutdown_image_addon">al_shutdown_image_addon</h1>221 <h1·id="al_shutdown_image_addon">al_shutdown_image_addon</h1>
224 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>222 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
225 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
226 <p><a223 <p><a
227 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L177">Source224 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L177">Source
228 Code</a></p>225 Code</a></p>
229 <p>Shut·down·the·image·addon.·This·is·done·automatically·at·program226 <p>Shut·down·the·image·addon.·This·is·done·automatically·at·program
230 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>227 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>
231 <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1>228 <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1>
232 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_image_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>229 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_image_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
233 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_image_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
234 <p><a230 <p><a
235 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L185">Source231 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L185">Source
236 Code</a></p>232 Code</a></p>
237 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a233 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
238 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>234 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
239 <p·class="timestamp">235 <p·class="timestamp">
240 Allegro·version·5.2.8236 Allegro·version·5.2.8
241 ·-·Last·updated:·2025-02-08·15:21:58·UTC237 ·-·Last·updated:·2024-01-07·09:01:16·UTC
242 </p>238 </p>
243 </div>239 </div>
244 </body>240 </body>
245 </html>241 </html>
1.76 KB
html2text {}
    
Offset 55, 15 lines modifiedOffset 55, 14 lines modified
55 allegro_image.55 allegro_image.
56 ·#include·<allegro5/allegro_image.h>56 ·#include·<allegro5/allegro_image.h>
57 Some·of·the·format·handlers·define·configuration·options·for·specifying·things57 Some·of·the·format·handlers·define·configuration·options·for·specifying·things
58 like·compression·level·or·gamma·handling.·Refer·to·al_get_system_config·for58 like·compression·level·or·gamma·handling.·Refer·to·al_get_system_config·for
59 their·documentation.59 their·documentation.
60 ******·al_init_image_addon·******60 ******·al_init_image_addon·******
61 bool·al_init_image_addon(void)61 bool·al_init_image_addon(void)
62 bool·al_init_image_addon(void) 
63 Source_Code62 Source_Code
64 Initializes·the·image·addon.·This·registers·bitmap·format·handlers·for63 Initializes·the·image·addon.·This·registers·bitmap·format·handlers·for
65 al_load_bitmap,·al_load_bitmap_f,·al_save_bitmap,·al_save_bitmap_f.64 al_load_bitmap,·al_load_bitmap_f,·al_save_bitmap,·al_save_bitmap_f.
66 The·following·types·are·built·into·the·Allegro·image·addon·and·guaranteed·to·be65 The·following·types·are·built·into·the·Allegro·image·addon·and·guaranteed·to·be
67 available:·BMP,·DDS,·PCX,·TGA.·Every·platform·also·supports·JPEG·and·PNG·via66 available:·BMP,·DDS,·PCX,·TGA.·Every·platform·also·supports·JPEG·and·PNG·via
68 external·dependencies.67 external·dependencies.
69 Other·formats·may·be·available·depending·on·the·operating·system·and·installed68 Other·formats·may·be·available·depending·on·the·operating·system·and·installed
Offset 75, 24 lines modifiedOffset 74, 21 lines modified
75 have·the·pixel·format·matching·the·format·in·the·file.74 have·the·pixel·format·matching·the·format·in·the·file.
76 Examples:75 Examples:
77 ····*·ex_convert.c76 ····*·ex_convert.c
78 ····*·ex_nodisplay.c77 ····*·ex_nodisplay.c
79 ····*·ex_opengl_pixel_shader.c78 ····*·ex_opengl_pixel_shader.c
80 ******·al_is_image_addon_initialized·******79 ******·al_is_image_addon_initialized·******
81 bool·al_is_image_addon_initialized(void)80 bool·al_is_image_addon_initialized(void)
82 bool·al_is_image_addon_initialized(void) 
83 Source_Code81 Source_Code
84 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.82 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.
85 Since:·5.2.683 Since:·5.2.6
86 ******·al_shutdown_image_addon·******84 ******·al_shutdown_image_addon·******
87 void·al_shutdown_image_addon(void)85 void·al_shutdown_image_addon(void)
88 void·al_shutdown_image_addon(void) 
89 Source_Code86 Source_Code
90 Shut·down·the·image·addon.·This·is·done·automatically·at·program·exit,·but·can87 Shut·down·the·image·addon.·This·is·done·automatically·at·program·exit,·but·can
91 be·called·any·time·the·user·wishes·as·well.88 be·called·any·time·the·user·wishes·as·well.
92 ******·al_get_allegro_image_version·******89 ******·al_get_allegro_image_version·******
93 uint32_t·al_get_allegro_image_version(void)90 uint32_t·al_get_allegro_image_version(void)
94 uint32_t·al_get_allegro_image_version(void) 
95 Source_Code91 Source_Code
96 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as92 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
97 al_get_allegro_version.93 al_get_allegro_version.
98 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:58·UTC94 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:16·UTC
847 B
./usr/share/doc/allegro5-doc/refman/index.html
    
Offset 154, 12 lines modifiedOffset 154, 12 lines modified
154 <li><a·href="native_dialog.html">Native·dialogs·addon</a></li>154 <li><a·href="native_dialog.html">Native·dialogs·addon</a></li>
155 <li><a·href="physfs.html">PhysicsFS·addon</a></li>155 <li><a·href="physfs.html">PhysicsFS·addon</a></li>
156 <li><a·href="primitives.html">Primitives·addon</a></li>156 <li><a·href="primitives.html">Primitives·addon</a></li>
157 <li><a·href="video.html">Video·streaming·addon</a></li>157 <li><a·href="video.html">Video·streaming·addon</a></li>
158 </ul>158 </ul>
159 <p·class="timestamp">159 <p·class="timestamp">
160 Allegro·version·5.2.8160 Allegro·version·5.2.8
161 ·-·Last·updated:·2025-02-08·15:21:59·UTC161 ·-·Last·updated:·2024-01-07·09:01:17·UTC
162 </p>162 </p>
163 </div>163 </div>
164 </body>164 </body>
165 </html>165 </html>
334 B
html2text {}
    
Offset 88, 8 lines modifiedOffset 88, 8 lines modified
88 ····*·Image_I/O_addon88 ····*·Image_I/O_addon
89 ····*·Main_addon89 ····*·Main_addon
90 ····*·Memfile_addon90 ····*·Memfile_addon
91 ····*·Native_dialogs_addon91 ····*·Native_dialogs_addon
92 ····*·PhysicsFS_addon92 ····*·PhysicsFS_addon
93 ····*·Primitives_addon93 ····*·Primitives_addon
94 ····*·Video_streaming_addon94 ····*·Video_streaming_addon
95 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:59·UTC95 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:17·UTC
820 B
./usr/share/doc/allegro5-doc/refman/index_all.html
    
Offset 2879, 12 lines modifiedOffset 2879, 12 lines modified
2879 <li><a2879 <li><a
2880 href="platform.html#al_x_set_initial_icon">al_x_set_initial_icon</a>2880 href="platform.html#al_x_set_initial_icon">al_x_set_initial_icon</a>
2881 <!--·--></li>2881 <!--·--></li>
2882 <li><a·href="platform.html#iphone">iPhone</a>·<!--·--></li>2882 <li><a·href="platform.html#iphone">iPhone</a>·<!--·--></li>
2883 </ul>2883 </ul>
2884 <p·class="timestamp">2884 <p·class="timestamp">
2885 Allegro·version·5.2.82885 Allegro·version·5.2.8
2886 ·-·Last·updated:·2025-02-08·15:21:59·UTC2886 ·-·Last·updated:·2024-01-07·09:01:17·UTC
2887 </p>2887 </p>
2888 </div>2888 </div>
2889 </body>2889 </body>
2890 </html>2890 </html>
373 B
html2text {}
    
Offset 1252, 8 lines modifiedOffset 1252, 8 lines modified
1252 ····*·al_wait_for_event_timed1252 ····*·al_wait_for_event_timed
1253 ····*·al_wait_for_event_until1253 ····*·al_wait_for_event_until
1254 ····*·al_wait_for_vsync1254 ····*·al_wait_for_vsync
1255 ····*·al_win_add_window_callback1255 ····*·al_win_add_window_callback
1256 ····*·al_win_remove_window_callback1256 ····*·al_win_remove_window_callback
1257 ····*·al_x_set_initial_icon1257 ····*·al_x_set_initial_icon
1258 ····*·iPhone1258 ····*·iPhone
1259 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:59·UTC1259 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:17·UTC
6.99 KB
./usr/share/doc/allegro5-doc/refman/joystick.html
    
Offset 203, 16 lines modifiedOffset 203, 15 lines modified
203 Xinput·one.·If·support·for·XInput·was·compiled·in,·then·it·can·be203 Xinput·one.·If·support·for·XInput·was·compiled·in,·then·it·can·be
204 enabled·by·calling·al_set_config_value(al_get_system_config(),204 enabled·by·calling·al_set_config_value(al_get_system_config(),
205 “joystick”,·“driver”,·“xinput”)·before·calling·al_install_joystick,·or205 “joystick”,·“driver”,·“xinput”)·before·calling·al_install_joystick,·or
206 by·setting·the·same·option·in·the·allegro5.cfg·configuration·file.·The206 by·setting·the·same·option·in·the·allegro5.cfg·configuration·file.·The
207 Xinput·and·DirectInput·drivers·are·mutually·exclusive.·The·haptics207 Xinput·and·DirectInput·drivers·are·mutually·exclusive.·The·haptics
208 subsystem·will·use·the·same·driver·as·the·joystick·system·does.</p>208 subsystem·will·use·the·same·driver·as·the·joystick·system·does.</p>
209 <h1·id="allegro_joystick">ALLEGRO_JOYSTICK</h1>209 <h1·id="allegro_joystick">ALLEGRO_JOYSTICK</h1>
210 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK<span·class="op">;</span></span>210 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK<span·class="op">;</span></span></code></pre></div>
211 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK<span·class="op">;</span></span></code></pre></div> 
212 <p><a211 <p><a
213 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L35">Source212 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L35">Source
214 Code</a></p>213 Code</a></p>
215 <p>This·is·an·abstract·data·type·representing·a·physical·joystick.</p>214 <p>This·is·an·abstract·data·type·representing·a·physical·joystick.</p>
216 <p>See·also:·<a215 <p>See·also:·<a
217 href="joystick.html#al_get_joystick">al_get_joystick</a></p>216 href="joystick.html#al_get_joystick">al_get_joystick</a></p>
218 <p>Examples:</p>217 <p>Examples:</p>
Offset 221, 16 lines modifiedOffset 220, 15 lines modified
221 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L14">ex_haptic.c</a></li>220 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L14">ex_haptic.c</a></li>
222 <li><a221 <li><a
223 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L7">ex_joystick_hotplugging.c</a></li>222 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L7">ex_joystick_hotplugging.c</a></li>
224 <li><a223 <li><a
225 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L32">ex_joystick_events.c</a></li>224 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L32">ex_joystick_events.c</a></li>
226 </ul>225 </ul>
227 <h1·id="allegro_joystick_state">ALLEGRO_JOYSTICK_STATE</h1>226 <h1·id="allegro_joystick_state">ALLEGRO_JOYSTICK_STATE</h1>
228 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE<span·class="op">;</span></span>227 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE<span·class="op">;</span></span></code></pre></div>
229 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE<span·class="op">;</span></span></code></pre></div> 
230 <p><a228 <p><a
231 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L41">Source229 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L41">Source
232 Code</a></p>230 Code</a></p>
233 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·joystick’s231 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·joystick’s
234 axes·and·buttons·at·a·particular·instant.·All·fields·public·and232 axes·and·buttons·at·a·particular·instant.·All·fields·public·and
235 read-only.</p>233 read-only.</p>
236 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">struct</span>·<span·class="op">{</span></span>234 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">struct</span>·<span·class="op">{</span></span>
Offset 243, 16 lines modifiedOffset 241, 15 lines modified
243 <ul>241 <ul>
244 <li><a242 <li><a
245 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L38">ex_joystick_hotplugging.c</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L38">ex_joystick_hotplugging.c</a></li>
246 <li><a244 <li><a
247 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L34">ex_joystick_events.c</a></li>245 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L34">ex_joystick_events.c</a></li>
248 </ul>246 </ul>
249 <h1·id="allegro_joyflags">ALLEGRO_JOYFLAGS</h1>247 <h1·id="allegro_joyflags">ALLEGRO_JOYFLAGS</h1>
250 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_JOYFLAGS</span>248 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_JOYFLAGS</span></code></pre></div>
251 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_JOYFLAGS</span></code></pre></div> 
252 <p><a249 <p><a
253 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L54">Source250 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L54">Source
254 Code</a></p>251 Code</a></p>
255 <ul>252 <ul>
256 <li>ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input</li>253 <li>ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input</li>
257 <li>ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input</li>254 <li>ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input</li>
258 </ul>255 </ul>
Offset 590, 12 lines modifiedOffset 587, 12 lines modified
590 <li><a587 <li><a
591 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L250">ex_joystick_events.c</a></li>588 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L250">ex_joystick_events.c</a></li>
592 <li><a589 <li><a
593 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L875">ex_haptic2.cpp</a></li>590 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L875">ex_haptic2.cpp</a></li>
594 </ul>591 </ul>
595 <p·class="timestamp">592 <p·class="timestamp">
596 Allegro·version·5.2.8593 Allegro·version·5.2.8
597 ·-·Last·updated:·2025-02-08·15:21:55·UTC594 ·-·Last·updated:·2024-01-07·09:01:12·UTC
598 </p>595 </p>
599 </div>596 </div>
600 </body>597 </body>
601 </html>598 </html>
1.98 KB
html2text {}
    
Offset 75, 39 lines modifiedOffset 75, 36 lines modified
75 al_set_config_value(al_get_system_config(),·â€œjoystick”,·â€œdriver”,75 al_set_config_value(al_get_system_config(),·â€œjoystick”,·â€œdriver”,
76 “xinput”)·before·calling·al_install_joystick,·or·by·setting·the·same·option76 “xinput”)·before·calling·al_install_joystick,·or·by·setting·the·same·option
77 in·the·allegro5.cfg·configuration·file.·The·Xinput·and·DirectInput·drivers·are77 in·the·allegro5.cfg·configuration·file.·The·Xinput·and·DirectInput·drivers·are
78 mutually·exclusive.·The·haptics·subsystem·will·use·the·same·driver·as·the78 mutually·exclusive.·The·haptics·subsystem·will·use·the·same·driver·as·the
79 joystick·system·does.79 joystick·system·does.
80 ******·ALLEGRO_JOYSTICK·******80 ******·ALLEGRO_JOYSTICK·******
81 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;81 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;
82 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK; 
83 Source_Code82 Source_Code
84 This·is·an·abstract·data·type·representing·a·physical·joystick.83 This·is·an·abstract·data·type·representing·a·physical·joystick.
85 See·also:·al_get_joystick84 See·also:·al_get_joystick
86 Examples:85 Examples:
87 ····*·ex_haptic.c86 ····*·ex_haptic.c
88 ····*·ex_joystick_hotplugging.c87 ····*·ex_joystick_hotplugging.c
89 ····*·ex_joystick_events.c88 ····*·ex_joystick_events.c
90 ******·ALLEGRO_JOYSTICK_STATE·******89 ******·ALLEGRO_JOYSTICK_STATE·******
91 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;90 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;
92 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE; 
93 Source_Code91 Source_Code
94 This·is·a·structure·that·is·used·to·hold·a·â€œsnapshot”·of·a·joystick’s92 This·is·a·structure·that·is·used·to·hold·a·â€œsnapshot”·of·a·joystick’s
95 axes·and·buttons·at·a·particular·instant.·All·fields·public·and·read-only.93 axes·and·buttons·at·a·particular·instant.·All·fields·public·and·read-only.
96 struct·{94 struct·{
97 ···float·axis[num_axes];·············//·-1.0·to·1.095 ···float·axis[num_axes];·············//·-1.0·to·1.0
98 }·stick[num_sticks];96 }·stick[num_sticks];
99 int·button[num_buttons];·············//·0·to·3276797 int·button[num_buttons];·············//·0·to·32767
100 See·also:·al_get_joystick_state98 See·also:·al_get_joystick_state
101 Examples:99 Examples:
102 ····*·ex_joystick_hotplugging.c100 ····*·ex_joystick_hotplugging.c
103 ····*·ex_joystick_events.c101 ····*·ex_joystick_events.c
104 ******·ALLEGRO_JOYFLAGS·******102 ******·ALLEGRO_JOYFLAGS·******
105 enum·ALLEGRO_JOYFLAGS103 enum·ALLEGRO_JOYFLAGS
106 enum·ALLEGRO_JOYFLAGS 
107 Source_Code104 Source_Code
108 ····*·ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input105 ····*·ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input
109 ····*·ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input106 ····*·ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input
110 (this·enum·is·a·holdover·from·the·old·API·and·may·be·removed)107 (this·enum·is·a·holdover·from·the·old·API·and·may·be·removed)
111 See·also:·al_get_joystick_stick_flags108 See·also:·al_get_joystick_stick_flags
112 ******·al_install_joystick·******109 ******·al_install_joystick·******
113 bool·al_install_joystick(void)110 bool·al_install_joystick(void)
Offset 287, 8 lines modifiedOffset 284, 8 lines modified
287 Source_Code284 Source_Code
288 Returns·the·global·joystick·event·source.·All·joystick_events·are·generated·by285 Returns·the·global·joystick·event·source.·All·joystick_events·are·generated·by
289 this·event·source.286 this·event·source.
290 Examples:287 Examples:
291 ····*·ex_joystick_hotplugging.c288 ····*·ex_joystick_hotplugging.c
292 ····*·ex_joystick_events.c289 ····*·ex_joystick_events.c
293 ····*·ex_haptic2.cpp290 ····*·ex_haptic2.cpp
294 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:55·UTC291 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:12·UTC
3.27 KB
./usr/share/doc/allegro5-doc/refman/keyboard.html
    
Offset 179, 16 lines modifiedOffset 179, 15 lines modified
179 <li><a179 <li><a
180 href="#al_get_keyboard_event_source">al_get_keyboard_event_source</a></li>180 href="#al_get_keyboard_event_source">al_get_keyboard_event_source</a></li>
181 </ul>181 </ul>
182 </nav>182 </nav>
183 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>183 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
184 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>184 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
185 <h1·id="allegro_keyboard_state">ALLEGRO_KEYBOARD_STATE</h1>185 <h1·id="allegro_keyboard_state">ALLEGRO_KEYBOARD_STATE</h1>
186 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE<span·class="op">;</span></span>186 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE<span·class="op">;</span></span></code></pre></div>
187 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE<span·class="op">;</span></span></code></pre></div> 
188 <p><a187 <p><a
189 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/keyboard.h#L33">Source188 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/keyboard.h#L33">Source
190 Code</a></p>189 Code</a></p>
191 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·keyboard’s190 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·keyboard’s
192 state·at·a·particular·instant.·It·contains·the·following·publically191 state·at·a·particular·instant.·It·contains·the·following·publically
193 readable·fields:</p>192 readable·fields:</p>
194 <ul>193 <ul>
Offset 472, 12 lines modifiedOffset 471, 12 lines modified
472 <li><a471 <li><a
473 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_opengl.c#L145">ex_opengl.c</a></li>472 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_opengl.c#L145">ex_opengl.c</a></li>
474 <li><a473 <li><a
475 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timedwait.c#L37">ex_timedwait.c</a></li>474 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timedwait.c#L37">ex_timedwait.c</a></li>
476 </ul>475 </ul>
477 <p·class="timestamp">476 <p·class="timestamp">
478 Allegro·version·5.2.8477 Allegro·version·5.2.8
479 ·-·Last·updated:·2025-02-08·15:21:55·UTC478 ·-·Last·updated:·2024-01-07·09:01:12·UTC
480 </p>479 </p>
481 </div>480 </div>
482 </body>481 </body>
483 </html>482 </html>
1.15 KB
html2text {}
    
Offset 59, 15 lines modifiedOffset 59, 14 lines modified
59 ····*·al_keycode_to_name59 ····*·al_keycode_to_name
60 ····*·al_set_keyboard_leds60 ····*·al_set_keyboard_leds
61 ····*·al_get_keyboard_event_source61 ····*·al_get_keyboard_event_source
62 These·functions·are·declared·in·the·main·Allegro·header·file:62 These·functions·are·declared·in·the·main·Allegro·header·file:
63 ·#include·<allegro5/allegro.h>63 ·#include·<allegro5/allegro.h>
64 ******·ALLEGRO_KEYBOARD_STATE·******64 ******·ALLEGRO_KEYBOARD_STATE·******
65 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;65 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;
66 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE; 
67 Source_Code66 Source_Code
68 This·is·a·structure·that·is·used·to·hold·a·â€œsnapshot”·of·a·keyboard’s67 This·is·a·structure·that·is·used·to·hold·a·â€œsnapshot”·of·a·keyboard’s
69 state·at·a·particular·instant.·It·contains·the·following·publically·readable68 state·at·a·particular·instant.·It·contains·the·following·publically·readable
70 fields:69 fields:
71 ····*·display·-·points·to·the·display·that·had·keyboard·focus·at·the·time·the70 ····*·display·-·points·to·the·display·that·had·keyboard·focus·at·the·time·the
72 ······state·was·saved.·If·no·display·was·focused,·this·points·to·NULL.71 ······state·was·saved.·If·no·display·was·focused,·this·points·to·NULL.
73 You·cannot·read·the·state·of·keys·directly.·Use·the·function·al_key_down.72 You·cannot·read·the·state·of·keys·directly.·Use·the·function·al_key_down.
Offset 269, 8 lines modifiedOffset 268, 8 lines modified
269 Retrieve·the·keyboard·event·source.·All·keyboard_events·are·generated·by·this268 Retrieve·the·keyboard·event·source.·All·keyboard_events·are·generated·by·this
270 event·source.269 event·source.
271 Returns·NULL·if·the·keyboard·subsystem·was·not·installed.270 Returns·NULL·if·the·keyboard·subsystem·was·not·installed.
272 Examples:271 Examples:
273 ····*·ex_keyboard_events.c272 ····*·ex_keyboard_events.c
274 ····*·ex_opengl.c273 ····*·ex_opengl.c
275 ····*·ex_timedwait.c274 ····*·ex_timedwait.c
276 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:55·UTC275 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:12·UTC
1.34 KB
./usr/share/doc/allegro5-doc/refman/main.html
    
Offset 178, 12 lines modifiedOffset 178, 12 lines modified
178 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">int</span>·main<span·class="op">(</span><span·class="dt">int</span>·argc<span·class="op">,</span>·<span·class="dt">char</span>·<span·class="op">**</span>argv<span·class="op">)</span></span></code></pre></div>178 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">int</span>·main<span·class="op">(</span><span·class="dt">int</span>·argc<span·class="op">,</span>·<span·class="dt">char</span>·<span·class="op">**</span>argv<span·class="op">)</span></span></code></pre></div>
179 <p>This·addon·does·nothing·on·platforms·that·don’t·require·its179 <p>This·addon·does·nothing·on·platforms·that·don’t·require·its
180 functionality,·but·you·should·keep·it·in·mind·in·case·you·need·to·port180 functionality,·but·you·should·keep·it·in·mind·in·case·you·need·to·port
181 to·platforms·that·do·require·it.</p>181 to·platforms·that·do·require·it.</p>
182 <p>Link·with·allegro_main.</p>182 <p>Link·with·allegro_main.</p>
183 <p·class="timestamp">183 <p·class="timestamp">
184 Allegro·version·5.2.8184 Allegro·version·5.2.8
185 ·-·Last·updated:·2025-02-08·15:21:58·UTC185 ·-·Last·updated:·2024-01-07·09:01:16·UTC
186 </p>186 </p>
187 </div>187 </div>
188 </body>188 </body>
189 </html>189 </html>
508 B
html2text {}
    
Offset 56, 8 lines modifiedOffset 56, 8 lines modified
56 If·the·user·main·function·is·defined·in·C++,·then·it·must·have·the·following56 If·the·user·main·function·is·defined·in·C++,·then·it·must·have·the·following
57 signature·for·this·addon·to·work:57 signature·for·this·addon·to·work:
58 int·main(int·argc,·char·**argv)58 int·main(int·argc,·char·**argv)
59 This·addon·does·nothing·on·platforms·that·don’t·require·its·functionality,59 This·addon·does·nothing·on·platforms·that·don’t·require·its·functionality,
60 but·you·should·keep·it·in·mind·in·case·you·need·to·port·to·platforms·that·do60 but·you·should·keep·it·in·mind·in·case·you·need·to·port·to·platforms·that·do
61 require·it.61 require·it.
62 Link·with·allegro_main.62 Link·with·allegro_main.
63 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:58·UTC63 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:16·UTC
5.4 KB
./usr/share/doc/allegro5-doc/refman/memfile.html
    
Offset 171, 16 lines modifiedOffset 171, 15 lines modified
171 </nav>171 </nav>
172 <p>The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous172 <p>The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous
173 memory·as·a·file·that·can·be·used·with·Allegro’s·I/O·functions.</p>173 memory·as·a·file·that·can·be·used·with·Allegro’s·I/O·functions.</p>
174 <p>These·functions·are·declared·in·the·following·header·file.·Link·with174 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
175 allegro_memfile.</p>175 allegro_memfile.</p>
176 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_memfile.h&gt;</span></span></code></pre></div>176 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_memfile.h&gt;</span></span></code></pre></div>
177 <h1·id="al_open_memfile">al_open_memfile</h1>177 <h1·id="al_open_memfile">al_open_memfile</h1>
178 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FILE·<span·class="op">*</span>al_open_memfile<span·class="op">(</span><span·class="dt">void</span>·<span·class="op">*</span>mem<span·class="op">,</span>·<span·class="dt">int64_t</span>·size<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>mode<span·class="op">)</span></span>178 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FILE·<span·class="op">*</span>al_open_memfile<span·class="op">(</span><span·class="dt">void</span>·<span·class="op">*</span>mem<span·class="op">,</span>·<span·class="dt">int64_t</span>·size<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>mode<span·class="op">)</span></span></code></pre></div>
179 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FILE·<span·class="op">*</span>al_open_memfile<span·class="op">(</span><span·class="dt">void</span>·<span·class="op">*</span>mem<span·class="op">,</span>·<span·class="dt">int64_t</span>·size<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>mode<span·class="op">)</span></span></code></pre></div> 
180 <p><a179 <p><a
181 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L169">Source180 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L169">Source
182 Code</a></p>181 Code</a></p>
183 <p>Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write182 <p>Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write
184 operations·act·upon·the·memory·directly,·so·it·must·not·be·freed·while183 operations·act·upon·the·memory·directly,·so·it·must·not·be·freed·while
185 the·file·remains·open.</p>184 the·file·remains·open.</p>
186 <p>The·mode·can·be·any·combination·of·“r”·(readable)·and·“w”·(writable).185 <p>The·mode·can·be·any·combination·of·“r”·(readable)·and·“w”·(writable).
Offset 194, 21 lines modifiedOffset 193, 20 lines modified
194 <p>Examples:</p>193 <p>Examples:</p>
195 <ul>194 <ul>
196 <li><a195 <li><a
197 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L36">ex_memfile.c</a></li>196 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L36">ex_memfile.c</a></li>
198 </ul>197 </ul>
199 <h1198 <h1
200 id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1>199 id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1>
201 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>200 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
202 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_memfile_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
203 <p><a201 <p><a
204 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source202 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source
205 Code</a></p>203 Code</a></p>
206 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a204 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
207 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>205 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
208 <p·class="timestamp">206 <p·class="timestamp">
209 Allegro·version·5.2.8207 Allegro·version·5.2.8
210 ·-·Last·updated:·2025-02-08·15:21:58·UTC208 ·-·Last·updated:·2024-01-07·09:01:16·UTC
211 </p>209 </p>
212 </div>210 </div>
213 </body>211 </body>
214 </html>212 </html>
1.45 KB
html2text {}
    
Offset 52, 26 lines modifiedOffset 52, 24 lines modified
52 The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous·memory·as52 The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous·memory·as
53 a·file·that·can·be·used·with·Allegro’s·I/O·functions.53 a·file·that·can·be·used·with·Allegro’s·I/O·functions.
54 These·functions·are·declared·in·the·following·header·file.·Link·with54 These·functions·are·declared·in·the·following·header·file.·Link·with
55 allegro_memfile.55 allegro_memfile.
56 ·#include·<allegro5/allegro_memfile.h>56 ·#include·<allegro5/allegro_memfile.h>
57 ******·al_open_memfile·******57 ******·al_open_memfile·******
58 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)58 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)
59 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode) 
60 Source_Code59 Source_Code
61 Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write·operations·act60 Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write·operations·act
62 upon·the·memory·directly,·so·it·must·not·be·freed·while·the·file·remains·open.61 upon·the·memory·directly,·so·it·must·not·be·freed·while·the·file·remains·open.
63 The·mode·can·be·any·combination·of·â€œr”·(readable)·and·â€œw”·(writable).62 The·mode·can·be·any·combination·of·â€œr”·(readable)·and·â€œw”·(writable).
64 Regardless·of·the·mode,·the·file·always·opens·at·position·0.·The·file·size·is63 Regardless·of·the·mode,·the·file·always·opens·at·position·0.·The·file·size·is
65 fixed·and·cannot·be·expanded.·The·file·is·always·read·from/written·to·in·binary64 fixed·and·cannot·be·expanded.·The·file·is·always·read·from/written·to·in·binary
66 mode,·which·means·that·no·newline·translation·is·performed.65 mode,·which·means·that·no·newline·translation·is·performed.
67 It·should·be·closed·with·al_fclose.·After·the·file·is·closed,·you·are66 It·should·be·closed·with·al_fclose.·After·the·file·is·closed,·you·are
68 responsible·for·freeing·the·memory·(if·needed).67 responsible·for·freeing·the·memory·(if·needed).
69 Examples:68 Examples:
70 ····*·ex_memfile.c69 ····*·ex_memfile.c
71 ******·al_get_allegro_memfile_version·******70 ******·al_get_allegro_memfile_version·******
72 uint32_t·al_get_allegro_memfile_version(void)71 uint32_t·al_get_allegro_memfile_version(void)
73 uint32_t·al_get_allegro_memfile_version(void) 
74 Source_Code72 Source_Code
75 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as73 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
76 al_get_allegro_version.74 al_get_allegro_version.
77 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:58·UTC75 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:16·UTC
12.7 KB
./usr/share/doc/allegro5-doc/refman/memory.html
    
Offset 177, 17 lines modifiedOffset 177, 15 lines modified
177 <li><a·href="#al_set_memory_interface">al_set_memory_interface</a></li>177 <li><a·href="#al_set_memory_interface">al_set_memory_interface</a></li>
178 </ul>178 </ul>
179 </nav>179 </nav>
180 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>180 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
181 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>181 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
182 <h1·id="al_malloc">al_malloc</h1>182 <h1·id="al_malloc">al_malloc</h1>
183 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_malloc(n)·\</span></span>183 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_malloc(n)·\</span></span>
184 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))</span></span> 
185 <span·id="cb2-3"><a·href="#cb2-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_malloc(n)·\</span></span> 
186 <span·id="cb2-4"><a·href="#cb2-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>184 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>
187 <p><a185 <p><a
188 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L42">Source186 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L42">Source
189 Code</a></p>187 Code</a></p>
190 <p>Like·malloc()·in·the·C·standard·library,·but·the·implementation·may188 <p>Like·malloc()·in·the·C·standard·library,·but·the·implementation·may
191 be·overridden.</p>189 be·overridden.</p>
192 <p>This·is·a·macro.</p>190 <p>This·is·a·macro.</p>
193 <p>See·also:·<a·href="memory.html#al_free">al_free</a>,·<a191 <p>See·also:·<a·href="memory.html#al_free">al_free</a>,·<a
Offset 200, 17 lines modifiedOffset 198, 15 lines modified
200 <li><a198 <li><a
201 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_timer.c#L27">ex_audio_timer.c</a></li>199 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_timer.c#L27">ex_audio_timer.c</a></li>
202 <li><a200 <li><a
203 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L134">ex_vertex_buffer.c</a></li>201 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L134">ex_vertex_buffer.c</a></li>
204 </ul>202 </ul>
205 <h1·id="al_free">al_free</h1>203 <h1·id="al_free">al_free</h1>
206 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_free(p)·\</span></span>204 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_free(p)·\</span></span>
207 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))</span></span> 
208 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_free(p)·\</span></span> 
209 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>205 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>
210 <p><a206 <p><a
211 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L47">Source207 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L47">Source
212 Code</a></p>208 Code</a></p>
213 <p>Like·free()·in·the·C·standard·library,·but·the·implementation·may·be209 <p>Like·free()·in·the·C·standard·library,·but·the·implementation·may·be
214 overridden.</p>210 overridden.</p>
215 <p>Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be211 <p>Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be
216 freed·from·the·same·DLL.·In·the·few·places·where·an·Allegro·function212 freed·from·the·same·DLL.·In·the·few·places·where·an·Allegro·function
Offset 226, 30 lines modifiedOffset 222, 26 lines modified
226 <li><a222 <li><a
227 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record_name.c#L254">ex_record_name.c</a></li>223 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record_name.c#L254">ex_record_name.c</a></li>
228 <li><a224 <li><a
229 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L214">ex_vertex_buffer.c</a></li>225 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L214">ex_vertex_buffer.c</a></li>
230 </ul>226 </ul>
231 <h1·id="al_realloc">al_realloc</h1>227 <h1·id="al_realloc">al_realloc</h1>
232 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_realloc(p,·n)·\</span></span>228 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_realloc(p,·n)·\</span></span>
233 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))</span></span> 
234 <span·id="cb4-3"><a·href="#cb4-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_realloc(p,·n)·\</span></span> 
235 <span·id="cb4-4"><a·href="#cb4-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>229 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>
236 <p><a230 <p><a
237 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L52">Source231 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L52">Source
238 Code</a></p>232 Code</a></p>
239 <p>Like·realloc()·in·the·C·standard·library,·but·the·implementation·may233 <p>Like·realloc()·in·the·C·standard·library,·but·the·implementation·may
240 be·overridden.</p>234 be·overridden.</p>
241 <p>This·is·a·macro.</p>235 <p>This·is·a·macro.</p>
242 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a236 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a
243 href="memory.html#al_realloc_with_context">al_realloc_with_context</a></p>237 href="memory.html#al_realloc_with_context">al_realloc_with_context</a></p>
244 <h1·id="al_calloc">al_calloc</h1>238 <h1·id="al_calloc">al_calloc</h1>
245 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_calloc(c,·n)·\</span></span>239 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_calloc(c,·n)·\</span></span>
246 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))</span></span> 
247 <span·id="cb5-3"><a·href="#cb5-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_calloc(c,·n)·\</span></span> 
248 <span·id="cb5-4"><a·href="#cb5-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>240 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))</span></span></code></pre></div>
249 <p><a241 <p><a
250 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L57">Source242 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L57">Source
251 Code</a></p>243 Code</a></p>
252 <p>Like·calloc()·in·the·C·standard·library,·but·the·implementation·may244 <p>Like·calloc()·in·the·C·standard·library,·but·the·implementation·may
253 be·overridden.</p>245 be·overridden.</p>
254 <p>This·is·a·macro.</p>246 <p>This·is·a·macro.</p>
255 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a247 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a
Offset 300, 16 lines modifiedOffset 292, 15 lines modified
300 Code</a></p>292 Code</a></p>
301 <p>This·calls·calloc()·from·the·Allegro·library·(this·matters·on293 <p>This·calls·calloc()·from·the·Allegro·library·(this·matters·on
302 Windows),·unless·overridden·with·<a294 Windows),·unless·overridden·with·<a
303 href="memory.html#al_set_memory_interface">al_set_memory_interface</a>,</p>295 href="memory.html#al_set_memory_interface">al_set_memory_interface</a>,</p>
304 <p>Generally·you·should·use·the·<a296 <p>Generally·you·should·use·the·<a
305 href="memory.html#al_calloc">al_calloc</a>·macro.</p>297 href="memory.html#al_calloc">al_calloc</a>·macro.</p>
306 <h1·id="allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</h1>298 <h1·id="allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</h1>
307 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE<span·class="op">;</span></span>299 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE<span·class="op">;</span></span></code></pre></div>
308 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE<span·class="op">;</span></span></code></pre></div> 
309 <p><a300 <p><a
310 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L28">Source301 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L28">Source
311 Code</a></p>302 Code</a></p>
312 <p>This·structure·has·the·following·fields.</p>303 <p>This·structure·has·the·following·fields.</p>
313 <div·class="sourceCode"·id="cb11"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb11-1"><a·href="#cb11-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·<span·class="op">*(*</span>mi_malloc<span·class="op">)(</span><span·class="dt">size_t</span>·n<span·class="op">,</span>·<span·class="dt">int</span>·line<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>file<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>func<span·class="op">);</span></span>304 <div·class="sourceCode"·id="cb11"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb11-1"><a·href="#cb11-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·<span·class="op">*(*</span>mi_malloc<span·class="op">)(</span><span·class="dt">size_t</span>·n<span·class="op">,</span>·<span·class="dt">int</span>·line<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>file<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>func<span·class="op">);</span></span>
314 <span·id="cb11-2"><a·href="#cb11-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·<span·class="op">(*</span>mi_free<span·class="op">)(</span><span·class="dt">void</span>·<span·class="op">*</span>ptr<span·class="op">,</span>·<span·class="dt">int</span>·line<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>file<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>func<span·class="op">);</span></span>305 <span·id="cb11-2"><a·href="#cb11-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·<span·class="op">(*</span>mi_free<span·class="op">)(</span><span·class="dt">void</span>·<span·class="op">*</span>ptr<span·class="op">,</span>·<span·class="dt">int</span>·line<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>file<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>func<span·class="op">);</span></span>
315 <span·id="cb11-3"><a·href="#cb11-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·<span·class="op">*(*</span>mi_realloc<span·class="op">)(</span><span·class="dt">void</span>·<span·class="op">*</span>ptr<span·class="op">,</span>·<span·class="dt">size_t</span>·n<span·class="op">,</span>·<span·class="dt">int</span>·line<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>file<span·class="op">,</span></span>306 <span·id="cb11-3"><a·href="#cb11-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·<span·class="op">*(*</span>mi_realloc<span·class="op">)(</span><span·class="dt">void</span>·<span·class="op">*</span>ptr<span·class="op">,</span>·<span·class="dt">size_t</span>·n<span·class="op">,</span>·<span·class="dt">int</span>·line<span·class="op">,</span>·<span·class="dt">const</span>·<span·class="dt">char</span>·<span·class="op">*</span>file<span·class="op">,</span></span>
Offset 332, 12 lines modifiedOffset 323, 12 lines modified
332 The·context·arguments·may·be·used·for·debugging.·The·new·functions323 The·context·arguments·may·be·used·for·debugging.·The·new·functions
333 should·be·thread·safe.</p>324 should·be·thread·safe.</p>
334 <p>If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.</p>325 <p>If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.</p>
335 <p>See·also:·<a326 <p>See·also:·<a
336 href="memory.html#allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</a></p>327 href="memory.html#allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</a></p>
337 <p·class="timestamp">328 <p·class="timestamp">
338 Allegro·version·5.2.8329 Allegro·version·5.2.8
339 ·-·Last·updated:·2025-02-08·15:21:56·UTC330 ·-·Last·updated:·2024-01-07·09:01:12·UTC
340 </p>331 </p>
341 </div>332 </div>
342 </body>333 </body>
343 </html>334 </html>
3.36 KB
html2text {}
    
Offset 58, 30 lines modifiedOffset 58, 26 lines modified
58 ····*·ALLEGRO_MEMORY_INTERFACE58 ····*·ALLEGRO_MEMORY_INTERFACE
59 ····*·al_set_memory_interface59 ····*·al_set_memory_interface
60 These·functions·are·declared·in·the·main·Allegro·header·file:60 These·functions·are·declared·in·the·main·Allegro·header·file:
61 ·#include·<allegro5/allegro.h>61 ·#include·<allegro5/allegro.h>
62 ******·al_malloc·******62 ******·al_malloc·******
63 #define·al_malloc(n)·\63 #define·al_malloc(n)·\
64 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))64 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))
65 #define·al_malloc(n)·\ 
66 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__)) 
67 Source_Code65 Source_Code
68 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be66 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be
69 overridden.67 overridden.
70 This·is·a·macro.68 This·is·a·macro.
71 See·also:·al_free,·al_realloc,·al_calloc,·al_malloc_with_context,69 See·also:·al_free,·al_realloc,·al_calloc,·al_malloc_with_context,
72 al_set_memory_interface70 al_set_memory_interface
73 Examples:71 Examples:
74 ····*·ex_audio_timer.c72 ····*·ex_audio_timer.c
75 ····*·ex_vertex_buffer.c73 ····*·ex_vertex_buffer.c
76 ******·al_free·******74 ******·al_free·******
77 #define·al_free(p)·\75 #define·al_free(p)·\
78 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))76 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))
79 #define·al_free(p)·\ 
80 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__)) 
81 Source_Code77 Source_Code
82 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be78 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be
83 overridden.79 overridden.
84 Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be·freed80 Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be·freed
85 from·the·same·DLL.·In·the·few·places·where·an·Allegro·function·returns·a81 from·the·same·DLL.·In·the·few·places·where·an·Allegro·function·returns·a
86 pointer·that·must·be·freed,·you·must·use·al_free·for·portability·to·Windows.82 pointer·that·must·be·freed,·you·must·use·al_free·for·portability·to·Windows.
87 This·is·a·macro.83 This·is·a·macro.
Offset 89, 26 lines modifiedOffset 85, 22 lines modified
89 Examples:85 Examples:
90 ····*·ex_clipboard.c86 ····*·ex_clipboard.c
91 ····*·ex_record_name.c87 ····*·ex_record_name.c
92 ····*·ex_vertex_buffer.c88 ····*·ex_vertex_buffer.c
93 ******·al_realloc·******89 ******·al_realloc·******
94 #define·al_realloc(p,·n)·\90 #define·al_realloc(p,·n)·\
95 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))91 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))
96 #define·al_realloc(p,·n)·\ 
97 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__)) 
98 Source_Code92 Source_Code
99 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be93 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be
100 overridden.94 overridden.
101 This·is·a·macro.95 This·is·a·macro.
102 See·also:·al_malloc,·al_realloc_with_context96 See·also:·al_malloc,·al_realloc_with_context
103 ******·al_calloc·******97 ******·al_calloc·******
104 #define·al_calloc(c,·n)·\98 #define·al_calloc(c,·n)·\
105 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))99 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))
106 #define·al_calloc(c,·n)·\ 
107 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__)) 
108 Source_Code100 Source_Code
109 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be101 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be
110 overridden.102 overridden.
111 This·is·a·macro.103 This·is·a·macro.
112 See·also:·al_malloc,·al_calloc_with_context104 See·also:·al_malloc,·al_calloc_with_context
113 Examples:105 Examples:
114 ····*·ex_record_name.c106 ····*·ex_record_name.c
Offset 138, 15 lines modifiedOffset 130, 14 lines modified
138 ···int·line,·const·char·*file,·const·char·*func)130 ···int·line,·const·char·*file,·const·char·*func)
139 Source_Code131 Source_Code
140 This·calls·calloc()·from·the·Allegro·library·(this·matters·on·Windows),·unless132 This·calls·calloc()·from·the·Allegro·library·(this·matters·on·Windows),·unless
141 overridden·with·al_set_memory_interface,133 overridden·with·al_set_memory_interface,
142 Generally·you·should·use·the·al_calloc·macro.134 Generally·you·should·use·the·al_calloc·macro.
143 ******·ALLEGRO_MEMORY_INTERFACE·******135 ******·ALLEGRO_MEMORY_INTERFACE·******
144 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;136 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;
145 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE; 
146 Source_Code137 Source_Code
147 This·structure·has·the·following·fields.138 This·structure·has·the·following·fields.
148 void·*(*mi_malloc)(size_t·n,·int·line,·const·char·*file,·const·char·*func);139 void·*(*mi_malloc)(size_t·n,·int·line,·const·char·*file,·const·char·*func);
149 void·(*mi_free)(void·*ptr,·int·line,·const·char·*file,·const·char·*func);140 void·(*mi_free)(void·*ptr,·int·line,·const·char·*file,·const·char·*func);
150 void·*(*mi_realloc)(void·*ptr,·size_t·n,·int·line,·const·char·*file,141 void·*(*mi_realloc)(void·*ptr,·size_t·n,·int·line,·const·char·*file,
151 ····················const·char·*func);142 ····················const·char·*func);
152 void·*(*mi_calloc)(size_t·count,·size_t·n,·int·line,·const·char·*file,143 void·*(*mi_calloc)(size_t·count,·size_t·n,·int·line,·const·char·*file,
Offset 157, 8 lines modifiedOffset 148, 8 lines modified
157 Source_Code148 Source_Code
158 Override·the·memory·management·functions·with·implementations·of149 Override·the·memory·management·functions·with·implementations·of
159 al_malloc_with_context,·al_free_with_context,·al_realloc_with_context·and150 al_malloc_with_context,·al_free_with_context,·al_realloc_with_context·and
160 al_calloc_with_context.·The·context·arguments·may·be·used·for·debugging.·The151 al_calloc_with_context.·The·context·arguments·may·be·used·for·debugging.·The
161 new·functions·should·be·thread·safe.152 new·functions·should·be·thread·safe.
162 If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.153 If·the·pointer·is·NULL,·the·default·behaviour·will·be·restored.
163 See·also:·ALLEGRO_MEMORY_INTERFACE154 See·also:·ALLEGRO_MEMORY_INTERFACE
164 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:56·UTC155 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:12·UTC
3.06 KB
./usr/share/doc/allegro5-doc/refman/misc.html
    
Offset 167, 16 lines modifiedOffset 167, 15 lines modified
167 <li><a·href="#allegro_pi">ALLEGRO_PI</a></li>167 <li><a·href="#allegro_pi">ALLEGRO_PI</a></li>
168 <li><a·href="#al_run_main">al_run_main</a></li>168 <li><a·href="#al_run_main">al_run_main</a></li>
169 </ul>169 </ul>
170 </nav>170 </nav>
171 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>171 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
172 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>172 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
173 <h1·id="allegro_pi">ALLEGRO_PI</h1>173 <h1·id="allegro_pi">ALLEGRO_PI</h1>
174 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_PI········3.14159265358979323846</span></span>174 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_PI········3.14159265358979323846</span></span></code></pre></div>
175 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_PI········3.14159265358979323846</span></span></code></pre></div> 
176 <p><a175 <p><a
177 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/base.h#L96">Source176 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/base.h#L96">Source
178 Code</a></p>177 Code</a></p>
179 <p>C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,178 <p>C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,
180 but·you·can·use·this·one·instead.</p>179 but·you·can·use·this·one·instead.</p>
181 <p>Examples:</p>180 <p>Examples:</p>
182 <ul>181 <ul>
Offset 199, 12 lines modifiedOffset 198, 12 lines modified
199 other·system·(like·OSX)·don’t·allow·calling·<a198 other·system·(like·OSX)·don’t·allow·calling·<a
200 href="system.html#al_install_system">al_install_system</a>·in·the·main199 href="system.html#al_install_system">al_install_system</a>·in·the·main
201 thread.·al_run_main·will·know·what·to·do·in·that·case.</p>200 thread.·al_run_main·will·know·what·to·do·in·that·case.</p>
202 <p>The·passed·argc·and·argv·will·simply·be·passed·on·to·user_main·and201 <p>The·passed·argc·and·argv·will·simply·be·passed·on·to·user_main·and
203 the·return·value·of·user_main·will·be·returned.</p>202 the·return·value·of·user_main·will·be·returned.</p>
204 <p·class="timestamp">203 <p·class="timestamp">
205 Allegro·version·5.2.8204 Allegro·version·5.2.8
206 ·-·Last·updated:·2025-02-08·15:21:56·UTC205 ·-·Last·updated:·2024-01-07·09:01:12·UTC
207 </p>206 </p>
208 </div>207 </div>
209 </body>208 </body>
210 </html>209 </html>
1.1 KB
html2text {}
    
Offset 49, 15 lines modifiedOffset 49, 14 lines modified
  
49 ····*·ALLEGRO_PI49 ····*·ALLEGRO_PI
50 ····*·al_run_main50 ····*·al_run_main
51 These·functions·are·declared·in·the·main·Allegro·header·file:51 These·functions·are·declared·in·the·main·Allegro·header·file:
52 ·#include·<allegro5/allegro.h>52 ·#include·<allegro5/allegro.h>
53 ******·ALLEGRO_PI·******53 ******·ALLEGRO_PI·******
54 #define·ALLEGRO_PI········3.1415926535897932384654 #define·ALLEGRO_PI········3.14159265358979323846
55 #define·ALLEGRO_PI········3.14159265358979323846 
56 Source_Code55 Source_Code
57 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·Ï€,·but·you56 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·Ï€,·but·you
58 can·use·this·one·instead.57 can·use·this·one·instead.
59 Examples:58 Examples:
60 ····*·ex_convert.c59 ····*·ex_convert.c
61 ····*·ex_opengl.c60 ····*·ex_opengl.c
62 ····*·ex_blend_bench.c61 ····*·ex_blend_bench.c
Offset 67, 8 lines modifiedOffset 66, 8 lines modified
67 This·function·is·useful·in·cases·where·you·don’t·have·a·main()·function·but66 This·function·is·useful·in·cases·where·you·don’t·have·a·main()·function·but
68 want·to·run·Allegro·(mostly·useful·in·a·wrapper·library).·Under·Windows·and67 want·to·run·Allegro·(mostly·useful·in·a·wrapper·library).·Under·Windows·and
69 Linux·this·is·no·problem·because·you·simply·can·call·al_install_system.·But68 Linux·this·is·no·problem·because·you·simply·can·call·al_install_system.·But
70 some·other·system·(like·OSX)·don’t·allow·calling·al_install_system·in·the69 some·other·system·(like·OSX)·don’t·allow·calling·al_install_system·in·the
71 main·thread.·al_run_main·will·know·what·to·do·in·that·case.70 main·thread.·al_run_main·will·know·what·to·do·in·that·case.
72 The·passed·argc·and·argv·will·simply·be·passed·on·to·user_main·and·the·return71 The·passed·argc·and·argv·will·simply·be·passed·on·to·user_main·and·the·return
73 value·of·user_main·will·be·returned.72 value·of·user_main·will·be·returned.
74 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:56·UTC73 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:12·UTC
3.17 KB
./usr/share/doc/allegro5-doc/refman/monitor.html
    
Offset 176, 16 lines modifiedOffset 176, 15 lines modified
176 <li><a176 <li><a
177 href="#al_get_monitor_refresh_rate">al_get_monitor_refresh_rate</a></li>177 href="#al_get_monitor_refresh_rate">al_get_monitor_refresh_rate</a></li>
178 </ul>178 </ul>
179 </nav>179 </nav>
180 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>180 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
181 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>181 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
182 <h1·id="allegro_monitor_info">ALLEGRO_MONITOR_INFO</h1>182 <h1·id="allegro_monitor_info">ALLEGRO_MONITOR_INFO</h1>
183 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MONITOR_INFO</span>183 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MONITOR_INFO</span></code></pre></div>
184 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MONITOR_INFO</span></code></pre></div> 
185 <p><a184 <p><a
186 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/monitor.h#L13">Source185 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/monitor.h#L13">Source
187 Code</a></p>186 Code</a></p>
188 <p>Describes·a·monitor’s·size·and·position·relative·to·other·monitors.187 <p>Describes·a·monitor’s·size·and·position·relative·to·other·monitors.
189 x1,·y1·will·be·0,·0·on·the·primary·display.·Other·monitors·can·have188 x1,·y1·will·be·0,·0·on·the·primary·display.·Other·monitors·can·have
190 negative·values·if·they·are·to·the·left·or·above·the·primary·display.189 negative·values·if·they·are·to·the·left·or·above·the·primary·display.
191 x2,·y2·are·the·coordinates·one·beyond·the·bottom·right·pixel,·so·that190 x2,·y2·are·the·coordinates·one·beyond·the·bottom·right·pixel,·so·that
Offset 321, 12 lines modifiedOffset 320, 12 lines modified
321 API</a>:</em>·This·is·an·experimental·feature·and·currently·only·works320 API</a>:</em>·This·is·an·experimental·feature·and·currently·only·works
322 on·Windows.</p>321 on·Windows.</p>
323 </blockquote>322 </blockquote>
324 <p>See·also:·<a323 <p>See·also:·<a
325 href="monitor.html#al_get_monitor_info">al_get_monitor_info</a></p>324 href="monitor.html#al_get_monitor_info">al_get_monitor_info</a></p>
326 <p·class="timestamp">325 <p·class="timestamp">
327 Allegro·version·5.2.8326 Allegro·version·5.2.8
328 ·-·Last·updated:·2025-02-08·15:21:56·UTC327 ·-·Last·updated:·2024-01-07·09:01:12·UTC
329 </p>328 </p>
330 </div>329 </div>
331 </body>330 </body>
332 </html>331 </html>
1.14 KB
html2text {}
    
Offset 54, 15 lines modifiedOffset 54, 14 lines modified
54 ····*·al_get_monitor_dpi54 ····*·al_get_monitor_dpi
55 ····*·al_get_num_video_adapters55 ····*·al_get_num_video_adapters
56 ····*·al_get_monitor_refresh_rate56 ····*·al_get_monitor_refresh_rate
57 These·functions·are·declared·in·the·main·Allegro·header·file:57 These·functions·are·declared·in·the·main·Allegro·header·file:
58 ·#include·<allegro5/allegro.h>58 ·#include·<allegro5/allegro.h>
59 ******·ALLEGRO_MONITOR_INFO·******59 ******·ALLEGRO_MONITOR_INFO·******
60 typedef·struct·ALLEGRO_MONITOR_INFO60 typedef·struct·ALLEGRO_MONITOR_INFO
61 typedef·struct·ALLEGRO_MONITOR_INFO 
62 Source_Code61 Source_Code
63 Describes·a·monitor’s·size·and·position·relative·to·other·monitors.·x1,·y162 Describes·a·monitor’s·size·and·position·relative·to·other·monitors.·x1,·y1
64 will·be·0,·0·on·the·primary·display.·Other·monitors·can·have·negative·values·if63 will·be·0,·0·on·the·primary·display.·Other·monitors·can·have·negative·values·if
65 they·are·to·the·left·or·above·the·primary·display.·x2,·y2·are·the·coordinates64 they·are·to·the·left·or·above·the·primary·display.·x2,·y2·are·the·coordinates
66 one·beyond·the·bottom·right·pixel,·so·that·x2-x1·gives·the·width·and·y2-y165 one·beyond·the·bottom·right·pixel,·so·that·x2-x1·gives·the·width·and·y2-y1
67 gives·the·height·of·the·display.66 gives·the·height·of·the·display.
68 typedef·struct·ALLEGRO_MONITOR_INFO67 typedef·struct·ALLEGRO_MONITOR_INFO
Offset 134, 8 lines modifiedOffset 133, 8 lines modified
134 int·al_get_monitor_refresh_rate(int·adapter)133 int·al_get_monitor_refresh_rate(int·adapter)
135 Source_Code134 Source_Code
136 Returns·the·current·refresh·rate·of·a·monitor·attached·to·the·display·adapter.135 Returns·the·current·refresh·rate·of·a·monitor·attached·to·the·display·adapter.
137 Since:·5.2.6136 Since:·5.2.6
138 ·····Unstable_API:·This·is·an·experimental·feature·and·currently·only137 ·····Unstable_API:·This·is·an·experimental·feature·and·currently·only
139 ·····works·on·Windows.138 ·····works·on·Windows.
140 See·also:·al_get_monitor_info139 See·also:·al_get_monitor_info
141 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:56·UTC140 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:12·UTC
2.97 KB
./usr/share/doc/allegro5-doc/refman/mouse.html
    
Offset 199, 16 lines modifiedOffset 199, 15 lines modified
199 <li><a·href="#al_ungrab_mouse">al_ungrab_mouse</a></li>199 <li><a·href="#al_ungrab_mouse">al_ungrab_mouse</a></li>
200 </ul></li>200 </ul></li>
201 </ul>201 </ul>
202 </nav>202 </nav>
203 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>203 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
204 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>204 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
205 <h1·id="allegro_mouse_state">ALLEGRO_MOUSE_STATE</h1>205 <h1·id="allegro_mouse_state">ALLEGRO_MOUSE_STATE</h1>
206 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE<span·class="op">;</span></span>206 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE<span·class="op">;</span></span></code></pre></div>
207 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE<span·class="op">;</span></span></code></pre></div> 
208 <p><a207 <p><a
209 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/mouse.h#L35">Source208 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/mouse.h#L35">Source
210 Code</a></p>209 Code</a></p>
211 <p>Public·fields·(read·only):</p>210 <p>Public·fields·(read·only):</p>
212 <ul>211 <ul>
213 <li><p>x·-·mouse·x·position</p></li>212 <li><p>x·-·mouse·x·position</p></li>
214 <li><p>y·-·mouse·y·position</p></li>213 <li><p>y·-·mouse·y·position</p></li>
Offset 635, 12 lines modifiedOffset 634, 12 lines modified
635 program.</p>634 program.</p>
636 <blockquote>635 <blockquote>
637 <p><em>Note:</em>·not·yet·implemented·on·Mac·OS·X.</p>636 <p><em>Note:</em>·not·yet·implemented·on·Mac·OS·X.</p>
638 </blockquote>637 </blockquote>
639 <p>See·also:·<a·href="mouse.html#al_grab_mouse">al_grab_mouse</a></p>638 <p>See·also:·<a·href="mouse.html#al_grab_mouse">al_grab_mouse</a></p>
640 <p·class="timestamp">639 <p·class="timestamp">
641 Allegro·version·5.2.8640 Allegro·version·5.2.8
642 ·-·Last·updated:·2025-02-08·15:21:56·UTC641 ·-·Last·updated:·2024-01-07·09:01:13·UTC
643 </p>642 </p>
644 </div>643 </div>
645 </body>644 </body>
646 </html>645 </html>
1.01 KB
html2text {}
    
Offset 73, 15 lines modifiedOffset 73, 14 lines modified
73 ··········o·al_show_mouse_cursor73 ··········o·al_show_mouse_cursor
74 ··········o·al_grab_mouse74 ··········o·al_grab_mouse
75 ··········o·al_ungrab_mouse75 ··········o·al_ungrab_mouse
76 These·functions·are·declared·in·the·main·Allegro·header·file:76 These·functions·are·declared·in·the·main·Allegro·header·file:
77 ·#include·<allegro5/allegro.h>77 ·#include·<allegro5/allegro.h>
78 ******·ALLEGRO_MOUSE_STATE·******78 ******·ALLEGRO_MOUSE_STATE·******
79 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;79 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;
80 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE; 
81 Source_Code80 Source_Code
82 Public·fields·(read·only):81 Public·fields·(read·only):
83 ····*·x·-·mouse·x·position82 ····*·x·-·mouse·x·position
84 ····*·y·-·mouse·y·position83 ····*·y·-·mouse·y·position
85 ····*·w,·z·-·mouse·wheel·position·(2D·â€˜ball’)84 ····*·w,·z·-·mouse·wheel·position·(2D·â€˜ball’)
86 ····*·buttons·-·mouse·buttons·bitfield85 ····*·buttons·-·mouse·buttons·bitfield
87 ······The·zeroth·bit·is·set·if·the·primary·mouse·button·is·held·down,·the·first86 ······The·zeroth·bit·is·set·if·the·primary·mouse·button·is·held·down,·the·first
Offset 345, 8 lines modifiedOffset 344, 8 lines modified
345 See·also:·al_ungrab_mouse344 See·also:·al_ungrab_mouse
346 *****·al_ungrab_mouse·*****345 *****·al_ungrab_mouse·*****
347 bool·al_ungrab_mouse(void)346 bool·al_ungrab_mouse(void)
348 Source_Code347 Source_Code
349 Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program.348 Stop·confining·the·mouse·cursor·to·any·display·belonging·to·the·program.
350 ·····Note:·not·yet·implemented·on·Mac·OS·X.349 ·····Note:·not·yet·implemented·on·Mac·OS·X.
351 See·also:·al_grab_mouse350 See·also:·al_grab_mouse
352 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:56·UTC351 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:13·UTC
93.1 KB
./usr/share/doc/allegro5-doc/refman/native_dialog.html
    
Offset 231, 42 lines modifiedOffset 231, 39 lines modified
231 </ul></li>231 </ul></li>
232 </ul>232 </ul>
233 </nav>233 </nav>
234 <p>These·functions·are·declared·in·the·following·header·file.·Link·with234 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
235 allegro_dialog.</p>235 allegro_dialog.</p>
236 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_native_dialog.h&gt;</span></span></code></pre></div>236 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_native_dialog.h&gt;</span></span></code></pre></div>
237 <h1·id="allegro_filechooser">ALLEGRO_FILECHOOSER</h1>237 <h1·id="allegro_filechooser">ALLEGRO_FILECHOOSER</h1>
238 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER<span·class="op">;</span></span>238 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER<span·class="op">;</span></span></code></pre></div>
239 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER<span·class="op">;</span></span></code></pre></div> 
240 <p><a239 <p><a
241 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L38">Source240 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L38">Source
242 Code</a></p>241 Code</a></p>
243 <p>Opaque·handle·to·a·native·file·dialog.</p>242 <p>Opaque·handle·to·a·native·file·dialog.</p>
244 <p>Examples:</p>243 <p>Examples:</p>
245 <ul>244 <ul>
246 <li><a245 <li><a
247 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L27">ex_native_filechooser.c</a></li>246 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L27">ex_native_filechooser.c</a></li>
248 </ul>247 </ul>
249 <h1·id="allegro_textlog">ALLEGRO_TEXTLOG</h1>248 <h1·id="allegro_textlog">ALLEGRO_TEXTLOG</h1>
250 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG<span·class="op">;</span></span>249 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG<span·class="op">;</span></span></code></pre></div>
251 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG<span·class="op">;</span></span></code></pre></div> 
252 <p><a250 <p><a
253 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L42">Source251 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L42">Source
254 Code</a></p>252 Code</a></p>
255 <p>Opaque·handle·to·a·text·log·window.</p>253 <p>Opaque·handle·to·a·text·log·window.</p>
256 <p>Examples:</p>254 <p>Examples:</p>
257 <ul>255 <ul>
258 <li><a256 <li><a
259 href="https://github.com/liballeg/allegro5/blob/master/examples/common.c#L27">common.c</a></li>257 href="https://github.com/liballeg/allegro5/blob/master/examples/common.c#L27">common.c</a></li>
260 <li><a258 <li><a
261 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L32">ex_native_filechooser.c</a></li>259 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L32">ex_native_filechooser.c</a></li>
262 </ul>260 </ul>
263 <h1·id="al_init_native_dialog_addon">al_init_native_dialog_addon</h1>261 <h1·id="al_init_native_dialog_addon">al_init_native_dialog_addon</h1>
264 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>262 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
265 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
266 <p><a263 <p><a
267 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L15">Source264 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L15">Source
268 Code</a></p>265 Code</a></p>
269 <p>Initialise·the·native·dialog·addon.</p>266 <p>Initialise·the·native·dialog·addon.</p>
270 <p>Returns·true·on·success,·false·on·error.</p>267 <p>Returns·true·on·success,·false·on·error.</p>
271 <p>Since:·5.0.9,·5.1.0</p>268 <p>Since:·5.0.9,·5.1.0</p>
272 <blockquote>269 <blockquote>
Offset 287, 44 lines modifiedOffset 284, 37 lines modified
287 <li><a284 <li><a
288 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_maximized.c#L58">ex_window_maximized.c</a></li>285 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_maximized.c#L58">ex_window_maximized.c</a></li>
289 <li><a286 <li><a
290 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_menu.c#L81">ex_menu.c</a></li>287 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_menu.c#L81">ex_menu.c</a></li>
291 </ul>288 </ul>
292 <h1289 <h1
293 id="al_is_native_dialog_addon_initialized">al_is_native_dialog_addon_initialized</h1>290 id="al_is_native_dialog_addon_initialized">al_is_native_dialog_addon_initialized</h1>
294 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_native_dialog_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>291 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_native_dialog_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
295 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_native_dialog_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
296 <p><a292 <p><a
297 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L32">Source293 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L32">Source
298 Code</a></p>294 Code</a></p>
299 <p>Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise295 <p>Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise
300 returns·false.</p>296 returns·false.</p>
301 <p>Since:·5.2.6</p>297 <p>Since:·5.2.6</p>
302 <h1298 <h1
303 id="al_shutdown_native_dialog_addon">al_shutdown_native_dialog_addon</h1>299 id="al_shutdown_native_dialog_addon">al_shutdown_native_dialog_addon</h1>
304 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>300 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
305 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
306 <p><a301 <p><a
307 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L39">Source302 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L39">Source
308 Code</a></p>303 Code</a></p>
309 <p>Shut·down·the·native·dialog·addon.</p>304 <p>Shut·down·the·native·dialog·addon.</p>
310 <p>Since:·5.0.9,·5.1.5</p>305 <p>Since:·5.0.9,·5.1.5</p>
311 <p>See·also:·<a306 <p>See·also:·<a
312 href="native_dialog.html#al_init_native_dialog_addon">al_init_native_dialog_addon</a></p>307 href="native_dialog.html#al_init_native_dialog_addon">al_init_native_dialog_addon</a></p>
313 <h1·id="al_create_native_file_dialog">al_create_native_file_dialog</h1>308 <h1·id="al_create_native_file_dialog">al_create_native_file_dialog</h1>
314 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FILECHOOSER·<span·class="op">*</span>al_create_native_file_dialog<span·class="op">(</span></span>309 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FILECHOOSER·<span·class="op">*</span>al_create_native_file_dialog<span·class="op">(</span></span>
315 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>initial_path<span·class="op">,</span></span>310 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>initial_path<span·class="op">,</span></span>
316 <span·id="cb7-3"><a·href="#cb7-3"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>title<span·class="op">,</span></span>311 <span·id="cb7-3"><a·href="#cb7-3"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>title<span·class="op">,</span></span>
317 <span·id="cb7-4"><a·href="#cb7-4"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>patterns<span·class="op">,</span></span>312 <span·id="cb7-4"><a·href="#cb7-4"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>patterns<span·class="op">,</span></span>
318 <span·id="cb7-5"><a·href="#cb7-5"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·mode<span·class="op">)</span></span> 
319 <span·id="cb7-6"><a·href="#cb7-6"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_FILECHOOSER·<span·class="op">*</span>al_create_native_file_dialog<span·class="op">(</span></span> 
320 <span·id="cb7-7"><a·href="#cb7-7"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>initial_path<span·class="op">,</span></span> 
321 <span·id="cb7-8"><a·href="#cb7-8"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>title<span·class="op">,</span></span> 
322 <span·id="cb7-9"><a·href="#cb7-9"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>patterns<span·class="op">,</span></span> 
323 <span·id="cb7-10"><a·href="#cb7-10"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·mode<span·class="op">)</span></span></code></pre></div>313 <span·id="cb7-5"><a·href="#cb7-5"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">int</span>·mode<span·class="op">)</span></span></code></pre></div>
324 <p><a314 <p><a
325 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L50">Source315 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L50">Source
326 Code</a></p>316 Code</a></p>
327 <p>Creates·a·new·native·file·dialog.·You·should·only·have·one·such317 <p>Creates·a·new·native·file·dialog.·You·should·only·have·one·such
328 dialog·opened·at·a·time.</p>318 dialog·opened·at·a·time.</p>
329 <p>Parameters:</p>319 <p>Parameters:</p>
330 <ul>320 <ul>
Offset 386, 17 lines modifiedOffset 376, 15 lines modified
386 <p>Examples:</p>376 <p>Examples:</p>
387 <ul>377 <ul>
388 <li><a378 <li><a
389 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L101">ex_native_filechooser.c</a></li>379 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L101">ex_native_filechooser.c</a></li>
390 </ul>380 </ul>
391 <h1·id="al_show_native_file_dialog">al_show_native_file_dialog</h1>381 <h1·id="al_show_native_file_dialog">al_show_native_file_dialog</h1>
392 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_show_native_file_dialog<span·class="op">(</span>ALLEGRO_DISPLAY·<span·class="op">*</span>display<span·class="op">,</span></span>382 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_show_native_file_dialog<span·class="op">(</span>ALLEGRO_DISPLAY·<span·class="op">*</span>display<span·class="op">,</span></span>
393 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_FILECHOOSER·<span·class="op">*</span>dialog<span·class="op">)</span></span> 
394 <span·id="cb8-3"><a·href="#cb8-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_show_native_file_dialog<span·class="op">(</span>ALLEGRO_DISPLAY·<span·class="op">*</span>display<span·class="op">,</span></span> 
395 <span·id="cb8-4"><a·href="#cb8-4"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_FILECHOOSER·<span·class="op">*</span>dialog<span·class="op">)</span></span></code></pre></div>383 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_FILECHOOSER·<span·class="op">*</span>dialog<span·class="op">)</span></span></code></pre></div>
396 <p><a384 <p><a
397 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L74">Source385 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L74">Source
398 Code</a></p>386 Code</a></p>
399 <p>Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given387 <p>Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given
400 display·is·treated·as·the·parent·if·possible.</p>388 display·is·treated·as·the·parent·if·possible.</p>
401 <p>This·function·blocks·the·calling·thread·until·it·returns,·so·you·may389 <p>This·function·blocks·the·calling·thread·until·it·returns,·so·you·may
402 want·to·spawn·a·thread·with·<a390 want·to·spawn·a·thread·with·<a
Offset 406, 64 lines modifiedOffset 394, 57 lines modified
406 <p>Examples:</p>394 <p>Examples:</p>
407 <ul>395 <ul>
408 <li><a396 <li><a
409 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L55">ex_native_filechooser.c</a></li>397 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L55">ex_native_filechooser.c</a></li>
410 </ul>398 </ul>
411 <h1399 <h1
412 id="al_get_native_file_dialog_count">al_get_native_file_dialog_count</h1>400 id="al_get_native_file_dialog_count">al_get_native_file_dialog_count</h1>
413 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">int</span>·al_get_native_file_dialog_count<span·class="op">(</span><span·class="dt">const</span>·ALLEGRO_FILECHOOSER·<span·class="op">*</span>dialog<span·class="op">)</span></span>401 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">int</span>·al_get_native_file_dialog_count<span·class="op">(</span><span·class="dt">const</span>·ALLEGRO_FILECHOOSER·<span·class="op">*</span>dialog<span·class="op">)</span></span></code></pre></div>
414 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">int</span>·al_get_native_file_dialog_count<span·class="op">(</span><span·class="dt">const</span>·ALLEGRO_FILECHOOSER·<span·class="op">*</span>dialog<span·class="op">)</span></span></code></pre></div> 
415 <p><a402 <p><a
416 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L83">Source403 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L83">Source
417 Code</a></p>404 Code</a></p>
418 <p>Returns·the·number·of·files·selected,·or·0·if·the·dialog·was405 <p>Returns·the·number·of·files·selected,·or·0·if·the·dialog·was
419 cancelled.</p>406 cancelled.</p>
420 <p>Examples:</p>407 <p>Examples:</p>
421 <ul>408 <ul>
422 <li><a409 <li><a
423 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L144">ex_native_filechooser.c</a></li>410 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L144">ex_native_filechooser.c</a></li>
424 </ul>411 </ul>
425 <h1412 <h1
426 id="al_get_native_file_dialog_path">al_get_native_file_dialog_path</h1>413 id="al_get_native_file_dialog_path">al_get_native_file_dialog_path</h1>
Max diff block lines reached; 60564/73568 bytes (82.32%) of diff not shown.
21.1 KB
html2text {}
    
Offset 92, 30 lines modifiedOffset 92, 27 lines modified
92 ··········o·al_popup_menu92 ··········o·al_popup_menu
93 ··········o·al_remove_display_menu93 ··········o·al_remove_display_menu
94 These·functions·are·declared·in·the·following·header·file.·Link·with94 These·functions·are·declared·in·the·following·header·file.·Link·with
95 allegro_dialog.95 allegro_dialog.
96 ·#include·<allegro5/allegro_native_dialog.h>96 ·#include·<allegro5/allegro_native_dialog.h>
97 ******·ALLEGRO_FILECHOOSER·******97 ******·ALLEGRO_FILECHOOSER·******
98 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;98 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;
99 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER; 
100 Source_Code99 Source_Code
101 Opaque·handle·to·a·native·file·dialog.100 Opaque·handle·to·a·native·file·dialog.
102 Examples:101 Examples:
103 ····*·ex_native_filechooser.c102 ····*·ex_native_filechooser.c
104 ******·ALLEGRO_TEXTLOG·******103 ******·ALLEGRO_TEXTLOG·******
105 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;104 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;
106 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG; 
107 Source_Code105 Source_Code
108 Opaque·handle·to·a·text·log·window.106 Opaque·handle·to·a·text·log·window.
109 Examples:107 Examples:
110 ····*·common.c108 ····*·common.c
111 ····*·ex_native_filechooser.c109 ····*·ex_native_filechooser.c
112 ******·al_init_native_dialog_addon·******110 ******·al_init_native_dialog_addon·******
113 bool·al_init_native_dialog_addon(void)111 bool·al_init_native_dialog_addon(void)
114 bool·al_init_native_dialog_addon(void) 
115 Source_Code112 Source_Code
116 Initialise·the·native·dialog·addon.113 Initialise·the·native·dialog·addon.
117 Returns·true·on·success,·false·on·error.114 Returns·true·on·success,·false·on·error.
118 Since:·5.0.9,·5.1.0115 Since:·5.0.9,·5.1.0
119 ·····Note:·Prior·to·Allegro·5.1.0·native·dialog·functions·could·be·called116 ·····Note:·Prior·to·Allegro·5.1.0·native·dialog·functions·could·be·called
120 ·····without·explicit·initialisation,·but·that·is·now·deprecated.·Future117 ·····without·explicit·initialisation,·but·that·is·now·deprecated.·Future
121 ·····functionality·may·require·explicit·initialisation.·An·exception·is118 ·····functionality·may·require·explicit·initialisation.·An·exception·is
Offset 124, 37 lines modifiedOffset 121, 30 lines modified
124 See·also:·al_shutdown_native_dialog_addon121 See·also:·al_shutdown_native_dialog_addon
125 Examples:122 Examples:
126 ····*·common.c123 ····*·common.c
127 ····*·ex_window_maximized.c124 ····*·ex_window_maximized.c
128 ····*·ex_menu.c125 ····*·ex_menu.c
129 ******·al_is_native_dialog_addon_initialized·******126 ******·al_is_native_dialog_addon_initialized·******
130 bool·al_is_native_dialog_addon_initialized(void)127 bool·al_is_native_dialog_addon_initialized(void)
131 bool·al_is_native_dialog_addon_initialized(void) 
132 Source_Code128 Source_Code
133 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise·returns129 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise·returns
134 false.130 false.
135 Since:·5.2.6131 Since:·5.2.6
136 ******·al_shutdown_native_dialog_addon·******132 ******·al_shutdown_native_dialog_addon·******
137 void·al_shutdown_native_dialog_addon(void)133 void·al_shutdown_native_dialog_addon(void)
138 void·al_shutdown_native_dialog_addon(void) 
139 Source_Code134 Source_Code
140 Shut·down·the·native·dialog·addon.135 Shut·down·the·native·dialog·addon.
141 Since:·5.0.9,·5.1.5136 Since:·5.0.9,·5.1.5
142 See·also:·al_init_native_dialog_addon137 See·also:·al_init_native_dialog_addon
143 ******·al_create_native_file_dialog·******138 ******·al_create_native_file_dialog·******
144 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(139 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(
145 ···char·const·*initial_path,140 ···char·const·*initial_path,
146 ···char·const·*title,141 ···char·const·*title,
147 ···char·const·*patterns,142 ···char·const·*patterns,
148 ···int·mode)143 ···int·mode)
149 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog( 
150 ···char·const·*initial_path, 
151 ···char·const·*title, 
152 ···char·const·*patterns, 
153 ···int·mode) 
154 Source_Code144 Source_Code
155 Creates·a·new·native·file·dialog.·You·should·only·have·one·such·dialog·opened145 Creates·a·new·native·file·dialog.·You·should·only·have·one·such·dialog·opened
156 at·a·time.146 at·a·time.
157 Parameters:147 Parameters:
158 ····*·initial_path:·The·initial·search·path·and·filename.·Can·be·NULL.·To·start148 ····*·initial_path:·The·initial·search·path·and·filename.·Can·be·NULL.·To·start
159 ······with·a·blank·file·name·the·string·should·end·with·a·directory·separator149 ······with·a·blank·file·name·the·string·should·end·with·a·directory·separator
160 ······(this·should·be·the·common·case).150 ······(this·should·be·the·common·case).
Offset 189, 55 lines modifiedOffset 179, 46 lines modified
189 are·done,·call·al_destroy_native_file_dialog·on·it.179 are·done,·call·al_destroy_native_file_dialog·on·it.
190 If·a·dialog·window·could·not·be·created·then·this·function·returns·NULL.180 If·a·dialog·window·could·not·be·created·then·this·function·returns·NULL.
191 Examples:181 Examples:
192 ····*·ex_native_filechooser.c182 ····*·ex_native_filechooser.c
193 ******·al_show_native_file_dialog·******183 ******·al_show_native_file_dialog·******
194 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,184 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,
195 ···ALLEGRO_FILECHOOSER·*dialog)185 ···ALLEGRO_FILECHOOSER·*dialog)
196 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display, 
197 ···ALLEGRO_FILECHOOSER·*dialog) 
198 Source_Code186 Source_Code
199 Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given·display·is187 Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given·display·is
200 treated·as·the·parent·if·possible.188 treated·as·the·parent·if·possible.
201 This·function·blocks·the·calling·thread·until·it·returns,·so·you·may·want·to189 This·function·blocks·the·calling·thread·until·it·returns,·so·you·may·want·to
202 spawn·a·thread·with·al_create_thread·and·call·it·from·inside·that·thread.190 spawn·a·thread·with·al_create_thread·and·call·it·from·inside·that·thread.
203 Returns·true·on·success,·false·on·failure.191 Returns·true·on·success,·false·on·failure.
204 Examples:192 Examples:
205 ····*·ex_native_filechooser.c193 ····*·ex_native_filechooser.c
206 ******·al_get_native_file_dialog_count·******194 ******·al_get_native_file_dialog_count·******
207 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)195 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)
208 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog) 
209 Source_Code196 Source_Code
210 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.197 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.
211 Examples:198 Examples:
212 ····*·ex_native_filechooser.c199 ····*·ex_native_filechooser.c
213 ******·al_get_native_file_dialog_path·******200 ******·al_get_native_file_dialog_path·******
214 const·char·*al_get_native_file_dialog_path(201 const·char·*al_get_native_file_dialog_path(
215 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)202 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)
216 const·char·*al_get_native_file_dialog_path( 
217 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i) 
218 Source_Code203 Source_Code
219 Returns·one·of·the·selected·paths·with·index·i.·The·index·should·range·from·0204 Returns·one·of·the·selected·paths·with·index·i.·The·index·should·range·from·0
220 to·the·return·value·of·al_get_native_file_dialog_count·-1.205 to·the·return·value·of·al_get_native_file_dialog_count·-1.
221 Examples:206 Examples:
222 ····*·ex_native_filechooser.c207 ····*·ex_native_filechooser.c
223 ******·al_destroy_native_file_dialog·******208 ******·al_destroy_native_file_dialog·******
224 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)209 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)
225 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog) 
226 Source_Code210 Source_Code
227 Frees·up·all·resources·used·by·the·file·dialog.211 Frees·up·all·resources·used·by·the·file·dialog.
228 Examples:212 Examples:
229 ····*·ex_native_filechooser.c213 ····*·ex_native_filechooser.c
230 ******·al_show_native_message_box·******214 ******·al_show_native_message_box·******
231 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,215 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,
232 ···char·const·*title,·char·const·*heading,·char·const·*text,216 ···char·const·*title,·char·const·*heading,·char·const·*text,
233 ···char·const·*buttons,·int·flags)217 ···char·const·*buttons,·int·flags)
234 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display, 
235 ···char·const·*title,·char·const·*heading,·char·const·*text, 
236 ···char·const·*buttons,·int·flags) 
237 Source_Code218 Source_Code
238 Show·a·native·GUI·message·box.·This·can·be·used·for·example·to·display·an·error219 Show·a·native·GUI·message·box.·This·can·be·used·for·example·to·display·an·error
239 message·if·creation·of·an·initial·display·fails.·The·display·may·be·NULL,220 message·if·creation·of·an·initial·display·fails.·The·display·may·be·NULL,
240 otherwise·the·given·display·is·treated·as·the·parent·if·possible.221 otherwise·the·given·display·is·treated·as·the·parent·if·possible.
241 The·message·box·will·have·a·single·â€œOK”·button·and·use·the·style222 The·message·box·will·have·a·single·â€œOK”·button·and·use·the·style
242 informative·dialog·boxes·usually·have·on·the·native·system.·If·the·buttons223 informative·dialog·boxes·usually·have·on·the·native·system.·If·the·buttons
243 parameter·is·not·NULL,·you·can·instead·specify·the·button·text·in·a·string,224 parameter·is·not·NULL,·you·can·instead·specify·the·button·text·in·a·string,
Offset 282, 15 lines modifiedOffset 263, 14 lines modified
282 );263 );
283 Examples:264 Examples:
Max diff block lines reached; 16480/21616 bytes (76.24%) of diff not shown.
1.28 KB
./usr/share/doc/allegro5-doc/refman/opengl.html
    
Offset 417, 12 lines modifiedOffset 417, 12 lines modified
417 <span·id="cb18-2"><a·href="#cb18-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">GL_ARB_texture_non_power_of_two</span><span·class="ot">=</span><span·class="dv">0</span></span>417 <span·id="cb18-2"><a·href="#cb18-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">GL_ARB_texture_non_power_of_two</span><span·class="ot">=</span><span·class="dv">0</span></span>
418 <span·id="cb18-3"><a·href="#cb18-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">GL_EXT_framebuffer_object</span><span·class="ot">=</span><span·class="dv">0</span></span></code></pre></div>418 <span·id="cb18-3"><a·href="#cb18-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">GL_EXT_framebuffer_object</span><span·class="ot">=</span><span·class="dv">0</span></span></code></pre></div>
419 <p>Any·extension·which·appears·in·the·section·is·treated·as·not419 <p>Any·extension·which·appears·in·the·section·is·treated·as·not
420 available·(it·does·not·matter·if·you·set·it·to·0·or·any·other420 available·(it·does·not·matter·if·you·set·it·to·0·or·any·other
421 value).</p>421 value).</p>
422 <p·class="timestamp">422 <p·class="timestamp">
423 Allegro·version·5.2.8423 Allegro·version·5.2.8
424 ·-·Last·updated:·2025-02-08·15:21:58·UTC424 ·-·Last·updated:·2024-01-07·09:01:15·UTC
425 </p>425 </p>
426 </div>426 </div>
427 </body>427 </body>
428 </html>428 </html>
506 B
html2text {}
    
Offset 214, 8 lines modifiedOffset 214, 8 lines modified
214 You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section214 You·can·disable·the·detection·of·any·OpenGL·extension·by·Allegro·with·a·section
215 like·this·in·allegro5.cfg:215 like·this·in·allegro5.cfg:
216 [opengl_disabled_extensions]216 [opengl_disabled_extensions]
217 GL_ARB_texture_non_power_of_two=0217 GL_ARB_texture_non_power_of_two=0
218 GL_EXT_framebuffer_object=0218 GL_EXT_framebuffer_object=0
219 Any·extension·which·appears·in·the·section·is·treated·as·not·available·(it·does219 Any·extension·which·appears·in·the·section·is·treated·as·not·available·(it·does
220 not·matter·if·you·set·it·to·0·or·any·other·value).220 not·matter·if·you·set·it·to·0·or·any·other·value).
221 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:58·UTC221 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:15·UTC
1010 B
./usr/share/doc/allegro5-doc/refman/path.html
    
Offset 625, 12 lines modifiedOffset 625, 12 lines modified
625 <li><a625 <li><a
626 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_path.c#L69">ex_path.c</a></li>626 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_path.c#L69">ex_path.c</a></li>
627 <li><a627 <li><a
628 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_path_test.c#L522">ex_path_test.c</a></li>628 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_path_test.c#L522">ex_path_test.c</a></li>
629 </ul>629 </ul>
630 <p·class="timestamp">630 <p·class="timestamp">
631 Allegro·version·5.2.8631 Allegro·version·5.2.8
632 ·-·Last·updated:·2025-02-08·15:21:56·UTC632 ·-·Last·updated:·2024-01-07·09:01:13·UTC
633 </p>633 </p>
634 </div>634 </div>
635 </body>635 </body>
636 </html>636 </html>
501 B
html2text {}
    
Offset 323, 8 lines modifiedOffset 323, 8 lines modified
323 Note·that·this·does·not·collapse·â€œx/../y”·sections·into·â€œy”.·This·is·by323 Note·that·this·does·not·collapse·â€œx/../y”·sections·into·â€œy”.·This·is·by
324 design.·If·â€œ/foo”·on·your·system·is·a·symlink·to·â€œ/bar/baz”,·then·â€œ/324 design.·If·â€œ/foo”·on·your·system·is·a·symlink·to·â€œ/bar/baz”,·then·â€œ/
325 foo/../quux”·is·actually·â€œ/bar/quux”,·not·â€œ/quux”·as·a·naive·removal325 foo/../quux”·is·actually·â€œ/bar/quux”,·not·â€œ/quux”·as·a·naive·removal
326 of·â€œ..”·components·would·give·you.326 of·â€œ..”·components·would·give·you.
327 Examples:327 Examples:
328 ····*·ex_path.c328 ····*·ex_path.c
329 ····*·ex_path_test.c329 ····*·ex_path_test.c
330 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:56·UTC330 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:13·UTC
4.82 KB
./usr/share/doc/allegro5-doc/refman/physfs.html
    
Offset 182, 16 lines modifiedOffset 182, 15 lines modified
182 href="physfs.html#al_set_physfs_file_interface">al_set_physfs_file_interface</a>,182 href="physfs.html#al_set_physfs_file_interface">al_set_physfs_file_interface</a>,
183 then·<a·href="file.html#al_fopen">al_fopen</a>·or·another·function·that183 then·<a·href="file.html#al_fopen">al_fopen</a>·or·another·function·that
184 calls·<a·href="file.html#al_fopen">al_fopen</a>.</p>184 calls·<a·href="file.html#al_fopen">al_fopen</a>.</p>
185 <p>These·functions·are·declared·in·the·following·header·file.·Link·with185 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
186 allegro_physfs.</p>186 allegro_physfs.</p>
187 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_physfs.h&gt;</span></span></code></pre></div>187 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_physfs.h&gt;</span></span></code></pre></div>
188 <h1·id="al_set_physfs_file_interface">al_set_physfs_file_interface</h1>188 <h1·id="al_set_physfs_file_interface">al_set_physfs_file_interface</h1>
189 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_set_physfs_file_interface<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>189 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_set_physfs_file_interface<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
190 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_set_physfs_file_interface<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
191 <p><a190 <p><a
192 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L301">Source191 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L301">Source
193 Code</a></p>192 Code</a></p>
194 <p>This·function·sets·<em>both</em>·the·<a193 <p>This·function·sets·<em>both</em>·the·<a
195 href="file.html#allegro_file_interface">ALLEGRO_FILE_INTERFACE</a>·and194 href="file.html#allegro_file_interface">ALLEGRO_FILE_INTERFACE</a>·and
196 <a·href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·for195 <a·href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·for
197 the·calling·thread.</p>196 the·calling·thread.</p>
Offset 223, 21 lines modifiedOffset 222, 20 lines modified
223 <p>Examples:</p>222 <p>Examples:</p>
224 <ul>223 <ul>
225 <li><a224 <li><a
226 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L149">ex_physfs.c</a></li>225 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L149">ex_physfs.c</a></li>
227 </ul>226 </ul>
228 <h1227 <h1
229 id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1>228 id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1>
230 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>229 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
231 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_physfs_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
232 <p><a230 <p><a
233 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L310">Source231 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L310">Source
234 Code</a></p>232 Code</a></p>
235 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a233 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
236 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>234 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
237 <p·class="timestamp">235 <p·class="timestamp">
238 Allegro·version·5.2.8236 Allegro·version·5.2.8
239 ·-·Last·updated:·2025-02-08·15:21:59·UTC237 ·-·Last·updated:·2024-01-07·09:01:16·UTC
240 </p>238 </p>
241 </div>239 </div>
242 </body>240 </body>
243 </html>241 </html>
1.41 KB
html2text {}
    
Offset 58, 15 lines modifiedOffset 58, 14 lines modified
58 ALLEGRO_FILE·using·PhysicsFS,·first·call·al_set_physfs_file_interface,·then58 ALLEGRO_FILE·using·PhysicsFS,·first·call·al_set_physfs_file_interface,·then
59 al_fopen·or·another·function·that·calls·al_fopen.59 al_fopen·or·another·function·that·calls·al_fopen.
60 These·functions·are·declared·in·the·following·header·file.·Link·with60 These·functions·are·declared·in·the·following·header·file.·Link·with
61 allegro_physfs.61 allegro_physfs.
62 ·#include·<allegro5/allegro_physfs.h>62 ·#include·<allegro5/allegro_physfs.h>
63 ******·al_set_physfs_file_interface·******63 ******·al_set_physfs_file_interface·******
64 void·al_set_physfs_file_interface(void)64 void·al_set_physfs_file_interface(void)
65 void·al_set_physfs_file_interface(void) 
66 Source_Code65 Source_Code
67 This·function·sets·both·the·ALLEGRO_FILE_INTERFACE·and·ALLEGRO_FS_INTERFACE·for66 This·function·sets·both·the·ALLEGRO_FILE_INTERFACE·and·ALLEGRO_FS_INTERFACE·for
68 the·calling·thread.67 the·calling·thread.
69 Subsequent·calls·to·al_fopen·on·the·calling·thread·will·be·handled·by68 Subsequent·calls·to·al_fopen·on·the·calling·thread·will·be·handled·by
70 PHYSFS_open().·Operations·on·the·files·returned·by·al_fopen·will·then·be69 PHYSFS_open().·Operations·on·the·files·returned·by·al_fopen·will·then·be
71 performed·through·PhysicsFS.·Calls·to·the·Allegro·filesystem·functions,·such·as70 performed·through·PhysicsFS.·Calls·to·the·Allegro·filesystem·functions,·such·as
72 al_read_directory·or·al_create_fs_entry,·on·the·calling·thread·will·be·diverted71 al_read_directory·or·al_create_fs_entry,·on·the·calling·thread·will·be·diverted
Offset 79, 12 lines modifiedOffset 78, 11 lines modified
79 ·····Note:·PhysFS·does·not·support·the·text-mode·reading·and·writing,78 ·····Note:·PhysFS·does·not·support·the·text-mode·reading·and·writing,
80 ·····which·means·that·Windows-style·newlines·will·not·be·preserved.79 ·····which·means·that·Windows-style·newlines·will·not·be·preserved.
81 See·also:·al_set_new_file_interface.80 See·also:·al_set_new_file_interface.
82 Examples:81 Examples:
83 ····*·ex_physfs.c82 ····*·ex_physfs.c
84 ******·al_get_allegro_physfs_version·******83 ******·al_get_allegro_physfs_version·******
85 uint32_t·al_get_allegro_physfs_version(void)84 uint32_t·al_get_allegro_physfs_version(void)
86 uint32_t·al_get_allegro_physfs_version(void) 
87 Source_Code85 Source_Code
88 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as86 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
89 al_get_allegro_version.87 al_get_allegro_version.
90 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:59·UTC88 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:16·UTC
846 B
./usr/share/doc/allegro5-doc/refman/platform.html
    
Offset 412, 12 lines modifiedOffset 412, 12 lines modified
412 <p>Examples:</p>412 <p>Examples:</p>
413 <ul>413 <ul>
414 <li><a414 <li><a
415 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_icon2.c#L45">ex_icon2.c</a></li>415 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_icon2.c#L45">ex_icon2.c</a></li>
416 </ul>416 </ul>
417 <p·class="timestamp">417 <p·class="timestamp">
418 Allegro·version·5.2.8418 Allegro·version·5.2.8
419 ·-·Last·updated:·2025-02-08·15:21:57·UTC419 ·-·Last·updated:·2024-01-07·09:01:14·UTC
420 </p>420 </p>
421 </div>421 </div>
422 </body>422 </body>
423 </html>423 </html>
424 B
html2text {}
    
Offset 203, 8 lines modifiedOffset 203, 8 lines modified
203 doesn’t·work·and·you·need·to·use·a·.desktop·file.·But·with·this·function·you203 doesn’t·work·and·you·need·to·use·a·.desktop·file.·But·with·this·function·you
204 can·set·an·icon·before·calling·al_create_display.·This·works·by·setting·the204 can·set·an·icon·before·calling·al_create_display.·This·works·by·setting·the
205 icon·before·XMapWindow.205 icon·before·XMapWindow.
206 Since:·5.2.3206 Since:·5.2.3
207 ·····Unstable_API:·New·API.207 ·····Unstable_API:·New·API.
208 Examples:208 Examples:
209 ····*·ex_icon2.c209 ····*·ex_icon2.c
210 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC210 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:14·UTC
153 KB
./usr/share/doc/allegro5-doc/refman/primitives.html
    
Offset 268, 24 lines modifiedOffset 268, 22 lines modified
268 </nav>268 </nav>
269 <p>These·functions·are·declared·in·the·following·header·file.·Link·with269 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
270 allegro_primitives.</p>270 allegro_primitives.</p>
271 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_primitives.h&gt;</span></span></code></pre></div>271 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_primitives.h&gt;</span></span></code></pre></div>
272 <h1·id="general">General</h1>272 <h1·id="general">General</h1>
273 <h2273 <h2
274 id="al_get_allegro_primitives_version">al_get_allegro_primitives_version</h2>274 id="al_get_allegro_primitives_version">al_get_allegro_primitives_version</h2>
275 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_primitives_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>275 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_primitives_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
276 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_primitives_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
277 <p><a276 <p><a
278 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L160">Source277 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L160">Source
279 Code</a></p>278 Code</a></p>
280 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a279 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
281 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>280 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
282 <h2·id="al_init_primitives_addon">al_init_primitives_addon</h2>281 <h2·id="al_init_primitives_addon">al_init_primitives_addon</h2>
283 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_primitives_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>282 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_primitives_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
284 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_primitives_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
285 <p><a283 <p><a
286 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L48">Source284 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L48">Source
287 Code</a></p>285 Code</a></p>
288 <p>Initializes·the·primitives·addon.</p>286 <p>Initializes·the·primitives·addon.</p>
289 <p><em>Returns:</em>·True·on·success,·false·on·failure.</p>287 <p><em>Returns:</em>·True·on·success,·false·on·failure.</p>
290 <p>See·also:·<a288 <p>See·also:·<a
291 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>289 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>
Offset 296, 29 lines modifiedOffset 294, 27 lines modified
296 <li><a294 <li><a
297 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L154">ex_blend_bench.c</a></li>295 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L154">ex_blend_bench.c</a></li>
298 <li><a296 <li><a
299 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_client.c#L157">ex_enet_client.c</a></li>297 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_client.c#L157">ex_enet_client.c</a></li>
300 </ul>298 </ul>
301 <h2299 <h2
302 id="al_is_primitives_addon_initialized">al_is_primitives_addon_initialized</h2>300 id="al_is_primitives_addon_initialized">al_is_primitives_addon_initialized</h2>
303 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_primitives_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>301 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_primitives_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
304 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_primitives_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
305 <p><a302 <p><a
306 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L62">Source303 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L62">Source
307 Code</a></p>304 Code</a></p>
308 <p>Returns·true·if·the·primitives·addon·is·initialized,·otherwise305 <p>Returns·true·if·the·primitives·addon·is·initialized,·otherwise
309 returns·false.</p>306 returns·false.</p>
310 <p>Since:·5.2.6</p>307 <p>Since:·5.2.6</p>
311 <p>See·also:·<a308 <p>See·also:·<a
312 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a>,309 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a>,
313 <a310 <a
314 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>311 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>
315 <h2·id="al_shutdown_primitives_addon">al_shutdown_primitives_addon</h2>312 <h2·id="al_shutdown_primitives_addon">al_shutdown_primitives_addon</h2>
316 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_primitives_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>313 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_primitives_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
317 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_primitives_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
318 <p><a314 <p><a
319 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L69">Source315 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L69">Source
320 Code</a></p>316 Code</a></p>
321 <p>Shut·down·the·primitives·addon.·This·is·done·automatically·at·program317 <p>Shut·down·the·primitives·addon.·This·is·done·automatically·at·program
322 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>318 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>
323 <p>See·also:·<a319 <p>See·also:·<a
324 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a></p>320 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a></p>
Offset 413, 17 lines modifiedOffset 409, 15 lines modified
413 completely·covered·by·a·shape·or·completely·not·covered,·then·the·shape409 completely·covered·by·a·shape·or·completely·not·covered,·then·the·shape
414 edges·will·be·sharp.·The·offsets·used·in·the·second·diagram·were·chosen410 edges·will·be·sharp.·The·offsets·used·in·the·second·diagram·were·chosen
415 so·that·this·is·the·case:·if·you·use·those·offsets,·your·shapes·(if·they411 so·that·this·is·the·case:·if·you·use·those·offsets,·your·shapes·(if·they
416 are·oriented·the·same·way·as·they·are·on·the·diagram)·should·look·the412 are·oriented·the·same·way·as·they·are·on·the·diagram)·should·look·the
417 same·whether·multisampling·is·turned·on·or·off.</p>413 same·whether·multisampling·is·turned·on·or·off.</p>
418 <h2·id="al_draw_line">al_draw_line</h2>414 <h2·id="al_draw_line">al_draw_line</h2>
419 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_line<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>415 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_line<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>
420 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span> 
421 <span·id="cb7-3"><a·href="#cb7-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_line<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span> 
422 <span·id="cb7-4"><a·href="#cb7-4"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span></code></pre></div>416 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span></code></pre></div>
423 <p><a417 <p><a
424 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L81">Source418 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L81">Source
425 Code</a></p>419 Code</a></p>
426 <p>Draws·a·line·segment·between·two·points.</p>420 <p>Draws·a·line·segment·between·two·points.</p>
427 <p><em>Parameters:</em></p>421 <p><em>Parameters:</em></p>
428 <ul>422 <ul>
429 <li>x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line</li>423 <li>x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line</li>
Offset 440, 17 lines modifiedOffset 434, 15 lines modified
440 <li><a434 <li><a
441 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resize.c#L17">ex_resize.c</a></li>435 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resize.c#L17">ex_resize.c</a></li>
442 <li><a436 <li><a
443 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mouse_warp.c#L59">ex_mouse_warp.c</a></li>437 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mouse_warp.c#L59">ex_mouse_warp.c</a></li>
444 </ul>438 </ul>
445 <h2·id="al_draw_triangle">al_draw_triangle</h2>439 <h2·id="al_draw_triangle">al_draw_triangle</h2>
446 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_triangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>440 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_triangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>
447 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·x3<span·class="op">,</span>·<span·class="dt">float</span>·y3<span·class="op">,</span>·ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span> 
448 <span·id="cb8-3"><a·href="#cb8-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_triangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span> 
449 <span·id="cb8-4"><a·href="#cb8-4"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·x3<span·class="op">,</span>·<span·class="dt">float</span>·y3<span·class="op">,</span>·ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span></code></pre></div>441 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·x3<span·class="op">,</span>·<span·class="dt">float</span>·y3<span·class="op">,</span>·ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span></code></pre></div>
450 <p><a442 <p><a
451 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L126">Source443 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L126">Source
452 Code</a></p>444 Code</a></p>
453 <p>Draws·an·outlined·triangle.</p>445 <p>Draws·an·outlined·triangle.</p>
454 <p><em>Parameters:</em></p>446 <p><em>Parameters:</em></p>
455 <ul>447 <ul>
456 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>448 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>
Offset 465, 17 lines modifiedOffset 457, 15 lines modified
465 <p>Examples:</p>457 <p>Examples:</p>
466 <ul>458 <ul>
467 <li><a459 <li><a
468 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L321">ex_prim.c</a></li>460 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L321">ex_prim.c</a></li>
469 </ul>461 </ul>
470 <h2·id="al_draw_filled_triangle">al_draw_filled_triangle</h2>462 <h2·id="al_draw_filled_triangle">al_draw_filled_triangle</h2>
471 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_filled_triangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>463 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_filled_triangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>
472 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·x3<span·class="op">,</span>·<span·class="dt">float</span>·y3<span·class="op">,</span>·ALLEGRO_COLOR·color<span·class="op">)</span></span> 
473 <span·id="cb9-3"><a·href="#cb9-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_filled_triangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span> 
474 <span·id="cb9-4"><a·href="#cb9-4"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·x3<span·class="op">,</span>·<span·class="dt">float</span>·y3<span·class="op">,</span>·ALLEGRO_COLOR·color<span·class="op">)</span></span></code></pre></div>464 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a>···<span·class="dt">float</span>·x3<span·class="op">,</span>·<span·class="dt">float</span>·y3<span·class="op">,</span>·ALLEGRO_COLOR·color<span·class="op">)</span></span></code></pre></div>
475 <p><a465 <p><a
476 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L339">Source466 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L339">Source
477 Code</a></p>467 Code</a></p>
478 <p>Draws·a·filled·triangle.</p>468 <p>Draws·a·filled·triangle.</p>
479 <p><em>Parameters:</em></p>469 <p><em>Parameters:</em></p>
480 <ul>470 <ul>
481 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>471 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>
Offset 486, 17 lines modifiedOffset 476, 15 lines modified
486 <p>Examples:</p>476 <p>Examples:</p>
487 <ul>477 <ul>
488 <li><a478 <li><a
489 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L350">ex_prim.c</a></li>479 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L350">ex_prim.c</a></li>
490 </ul>480 </ul>
491 <h2·id="al_draw_rectangle">al_draw_rectangle</h2>481 <h2·id="al_draw_rectangle">al_draw_rectangle</h2>
492 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_rectangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>482 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_rectangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span>
493 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span> 
494 <span·id="cb10-3"><a·href="#cb10-3"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_draw_rectangle<span·class="op">(</span><span·class="dt">float</span>·x1<span·class="op">,</span>·<span·class="dt">float</span>·y1<span·class="op">,</span>·<span·class="dt">float</span>·x2<span·class="op">,</span>·<span·class="dt">float</span>·y2<span·class="op">,</span></span> 
495 <span·id="cb10-4"><a·href="#cb10-4"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span></code></pre></div>483 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a>···ALLEGRO_COLOR·color<span·class="op">,</span>·<span·class="dt">float</span>·thickness<span·class="op">)</span></span></code></pre></div>
496 <p><a484 <p><a
497 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L361">Source485 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L361">Source
498 Code</a></p>486 Code</a></p>
499 <p>Draws·an·outlined·rectangle.</p>487 <p>Draws·an·outlined·rectangle.</p>
500 <p><em>Parameters:</em></p>488 <p><em>Parameters:</em></p>
501 <ul>489 <ul>
502 <li>x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the490 <li>x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the
Offset 516, 17 lines modifiedOffset 504, 15 lines modified
Max diff block lines reached; 104164/118601 bytes (87.83%) of diff not shown.
37.4 KB
html2text {}
    
Offset 118, 39 lines modifiedOffset 118, 35 lines modified
118 ··········o·ALLEGRO_PRIM_BUFFER_FLAGS118 ··········o·ALLEGRO_PRIM_BUFFER_FLAGS
119 These·functions·are·declared·in·the·following·header·file.·Link·with119 These·functions·are·declared·in·the·following·header·file.·Link·with
120 allegro_primitives.120 allegro_primitives.
121 ·#include·<allegro5/allegro_primitives.h>121 ·#include·<allegro5/allegro_primitives.h>
122 ******·General·******122 ******·General·******
123 *****·al_get_allegro_primitives_version·*****123 *****·al_get_allegro_primitives_version·*****
124 uint32_t·al_get_allegro_primitives_version(void)124 uint32_t·al_get_allegro_primitives_version(void)
125 uint32_t·al_get_allegro_primitives_version(void) 
126 Source_Code125 Source_Code
127 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as126 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
128 al_get_allegro_version.127 al_get_allegro_version.
129 *****·al_init_primitives_addon·*****128 *****·al_init_primitives_addon·*****
130 bool·al_init_primitives_addon(void)129 bool·al_init_primitives_addon(void)
131 bool·al_init_primitives_addon(void) 
132 Source_Code130 Source_Code
133 Initializes·the·primitives·addon.131 Initializes·the·primitives·addon.
134 Returns:·True·on·success,·false·on·failure.132 Returns:·True·on·success,·false·on·failure.
135 See·also:·al_shutdown_primitives_addon133 See·also:·al_shutdown_primitives_addon
136 Examples:134 Examples:
137 ····*·ex_touch_input.c135 ····*·ex_touch_input.c
138 ····*·ex_blend_bench.c136 ····*·ex_blend_bench.c
139 ····*·ex_enet_client.c137 ····*·ex_enet_client.c
140 *****·al_is_primitives_addon_initialized·*****138 *****·al_is_primitives_addon_initialized·*****
141 bool·al_is_primitives_addon_initialized(void)139 bool·al_is_primitives_addon_initialized(void)
142 bool·al_is_primitives_addon_initialized(void) 
143 Source_Code140 Source_Code
144 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns·false.141 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns·false.
145 Since:·5.2.6142 Since:·5.2.6
146 See·also:·al_init_primitives_addon,·al_shutdown_primitives_addon143 See·also:·al_init_primitives_addon,·al_shutdown_primitives_addon
147 *****·al_shutdown_primitives_addon·*****144 *****·al_shutdown_primitives_addon·*****
148 void·al_shutdown_primitives_addon(void)145 void·al_shutdown_primitives_addon(void)
149 void·al_shutdown_primitives_addon(void) 
150 Source_Code146 Source_Code
151 Shut·down·the·primitives·addon.·This·is·done·automatically·at·program·exit,·but147 Shut·down·the·primitives·addon.·This·is·done·automatically·at·program·exit,·but
152 can·be·called·any·time·the·user·wishes·as·well.148 can·be·called·any·time·the·user·wishes·as·well.
153 See·also:·al_init_primitives_addon149 See·also:·al_init_primitives_addon
154 ******·High·level·drawing·routines·******150 ******·High·level·drawing·routines·******
155 High·level·drawing·routines·encompass·the·most·common·usage·of·this·addon:·to151 High·level·drawing·routines·encompass·the·most·common·usage·of·this·addon:·to
156 draw·geometric·primitives,·both·smooth·(variations·on·the·circle·theme)·and152 draw·geometric·primitives,·both·smooth·(variations·on·the·circle·theme)·and
Offset 230, 90 lines modifiedOffset 226, 78 lines modified
230 sharp.·The·offsets·used·in·the·second·diagram·were·chosen·so·that·this·is·the226 sharp.·The·offsets·used·in·the·second·diagram·were·chosen·so·that·this·is·the
231 case:·if·you·use·those·offsets,·your·shapes·(if·they·are·oriented·the·same·way227 case:·if·you·use·those·offsets,·your·shapes·(if·they·are·oriented·the·same·way
232 as·they·are·on·the·diagram)·should·look·the·same·whether·multisampling·is228 as·they·are·on·the·diagram)·should·look·the·same·whether·multisampling·is
233 turned·on·or·off.229 turned·on·or·off.
234 *****·al_draw_line·*****230 *****·al_draw_line·*****
235 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,231 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,
236 ···ALLEGRO_COLOR·color,·float·thickness)232 ···ALLEGRO_COLOR·color,·float·thickness)
237 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2, 
238 ···ALLEGRO_COLOR·color,·float·thickness) 
239 Source_Code233 Source_Code
240 Draws·a·line·segment·between·two·points.234 Draws·a·line·segment·between·two·points.
241 Parameters:235 Parameters:
242 ····*·x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line236 ····*·x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line
243 ····*·color·-·Color·of·the·line237 ····*·color·-·Color·of·the·line
244 ····*·thickness·-·Thickness·of·the·line,·pass·<=·0·to·draw·hairline·lines238 ····*·thickness·-·Thickness·of·the·line,·pass·<=·0·to·draw·hairline·lines
245 See·also:·al_draw_soft_line239 See·also:·al_draw_soft_line
246 Examples:240 Examples:
247 ····*·ex_font_justify.cpp241 ····*·ex_font_justify.cpp
248 ····*·ex_resize.c242 ····*·ex_resize.c
249 ····*·ex_mouse_warp.c243 ····*·ex_mouse_warp.c
250 *****·al_draw_triangle·*****244 *****·al_draw_triangle·*****
251 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,245 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,
252 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)246 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)
253 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2, 
254 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness) 
255 Source_Code247 Source_Code
256 Draws·an·outlined·triangle.248 Draws·an·outlined·triangle.
257 Parameters:249 Parameters:
258 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle250 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle
259 ····*·color·-·Color·of·the·triangle251 ····*·color·-·Color·of·the·triangle
260 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines252 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines
261 See·also:·al_draw_filled_triangle,·al_draw_soft_triangle253 See·also:·al_draw_filled_triangle,·al_draw_soft_triangle
262 Examples:254 Examples:
263 ····*·ex_prim.c255 ····*·ex_prim.c
264 *****·al_draw_filled_triangle·*****256 *****·al_draw_filled_triangle·*****
265 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,257 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,
266 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)258 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)
267 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2, 
268 ···float·x3,·float·y3,·ALLEGRO_COLOR·color) 
269 Source_Code259 Source_Code
270 Draws·a·filled·triangle.260 Draws·a·filled·triangle.
271 Parameters:261 Parameters:
272 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle262 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle
273 ····*·color·-·Color·of·the·triangle263 ····*·color·-·Color·of·the·triangle
274 See·also:·al_draw_triangle264 See·also:·al_draw_triangle
275 Examples:265 Examples:
276 ····*·ex_prim.c266 ····*·ex_prim.c
277 *****·al_draw_rectangle·*****267 *****·al_draw_rectangle·*****
278 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,268 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
279 ···ALLEGRO_COLOR·color,·float·thickness)269 ···ALLEGRO_COLOR·color,·float·thickness)
280 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
281 ···ALLEGRO_COLOR·color,·float·thickness) 
282 Source_Code270 Source_Code
283 Draws·an·outlined·rectangle.271 Draws·an·outlined·rectangle.
284 Parameters:272 Parameters:
285 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle273 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle
286 ····*·color·-·Color·of·the·rectangle274 ····*·color·-·Color·of·the·rectangle
287 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines275 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines
288 See·also:·al_draw_filled_rectangle,·al_draw_rounded_rectangle276 See·also:·al_draw_filled_rectangle,·al_draw_rounded_rectangle
289 Examples:277 Examples:
290 ····*·ex_mouse.c278 ····*·ex_mouse.c
291 ····*·ex_font_justify.cpp279 ····*·ex_font_justify.cpp
292 ····*·ex_subbitmap.c280 ····*·ex_subbitmap.c
293 *****·al_draw_filled_rectangle·*****281 *****·al_draw_filled_rectangle·*****
294 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,282 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
295 ···ALLEGRO_COLOR·color)283 ···ALLEGRO_COLOR·color)
296 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
297 ···ALLEGRO_COLOR·color) 
298 Source_Code284 Source_Code
299 Draws·a·filled·rectangle.285 Draws·a·filled·rectangle.
300 Parameters:286 Parameters:
301 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle287 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle
302 ····*·color·-·Color·of·the·rectangle288 ····*·color·-·Color·of·the·rectangle
303 See·also:·al_draw_rectangle,·al_draw_filled_rounded_rectangle289 See·also:·al_draw_rectangle,·al_draw_filled_rounded_rectangle
304 Examples:290 Examples:
305 ····*·ex_mouse.c291 ····*·ex_mouse.c
306 ····*·ex_timer.c292 ····*·ex_timer.c
307 ····*·ex_window_maximized.c293 ····*·ex_window_maximized.c
308 *****·al_draw_rounded_rectangle·*****294 *****·al_draw_rounded_rectangle·*****
309 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,295 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
310 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)296 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)
311 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
312 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness) 
313 Source_Code297 Source_Code
314 Draws·an·outlined·rounded·rectangle.298 Draws·an·outlined·rounded·rectangle.
315 Parameters:299 Parameters:
316 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle300 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle
Max diff block lines reached; 33142/38318 bytes (86.49%) of diff not shown.
7.5 KB
./usr/share/doc/allegro5-doc/refman/shader.html
    
Offset 188, 16 lines modifiedOffset 188, 15 lines modified
188 <li><a188 <li><a
189 href="#al_get_default_shader_source">al_get_default_shader_source</a></li>189 href="#al_get_default_shader_source">al_get_default_shader_source</a></li>
190 </ul>190 </ul>
191 </nav>191 </nav>
192 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>192 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
193 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>193 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
194 <h1·id="allegro_shader">ALLEGRO_SHADER</h1>194 <h1·id="allegro_shader">ALLEGRO_SHADER</h1>
195 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_SHADER·ALLEGRO_SHADER<span·class="op">;</span></span>195 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_SHADER·ALLEGRO_SHADER<span·class="op">;</span></span></code></pre></div>
196 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_SHADER·ALLEGRO_SHADER<span·class="op">;</span></span></code></pre></div> 
197 <p><a196 <p><a
198 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L14">Source197 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L14">Source
199 Code</a></p>198 Code</a></p>
200 <p>An·<a·href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·a199 <p>An·<a·href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·a
201 program·that·runs·on·the·GPU.·It·combines·both·a·vertex·and·a·pixel200 program·that·runs·on·the·GPU.·It·combines·both·a·vertex·and·a·pixel
202 shader.·(In·OpenGL·terms,·an·<a201 shader.·(In·OpenGL·terms,·an·<a
203 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·actually·a202 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·actually·a
Offset 214, 16 lines modifiedOffset 213, 15 lines modified
214 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader.cpp#L39">ex_shader.cpp</a></li>213 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader.cpp#L39">ex_shader.cpp</a></li>
215 <li><a214 <li><a
216 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader_target.c#L22">ex_shader_target.c</a></li>215 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader_target.c#L22">ex_shader_target.c</a></li>
217 <li><a216 <li><a
218 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_shader.c#L60">ex_prim_shader.c</a></li>217 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_shader.c#L60">ex_prim_shader.c</a></li>
219 </ul>218 </ul>
220 <h1·id="allegro_shader_type">ALLEGRO_SHADER_TYPE</h1>219 <h1·id="allegro_shader_type">ALLEGRO_SHADER_TYPE</h1>
221 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE<span·class="op">;</span></span>220 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE<span·class="op">;</span></span></code></pre></div>
222 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE<span·class="op">;</span></span></code></pre></div> 
223 <p><a221 <p><a
224 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L23">Source222 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L23">Source
225 Code</a></p>223 Code</a></p>
226 <p>Used·with·<a224 <p>Used·with·<a
227 href="shader.html#al_attach_shader_source">al_attach_shader_source</a>225 href="shader.html#al_attach_shader_source">al_attach_shader_source</a>
228 and·<a226 and·<a
229 href="shader.html#al_attach_shader_source_file">al_attach_shader_source_file</a>227 href="shader.html#al_attach_shader_source_file">al_attach_shader_source_file</a>
Offset 249, 16 lines modifiedOffset 247, 15 lines modified
249 one·final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only247 one·final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only
250 a·single·output·but·of·multiple·fragments·(for·example·when248 a·single·output·but·of·multiple·fragments·(for·example·when
251 multi-sampling·is·being·used).</p>249 multi-sampling·is·being·used).</p>
252 </dd>250 </dd>
253 </dl>251 </dl>
254 <p>Since:·5.1.0</p>252 <p>Since:·5.1.0</p>
255 <h1·id="allegro_shader_platform">ALLEGRO_SHADER_PLATFORM</h1>253 <h1·id="allegro_shader_platform">ALLEGRO_SHADER_PLATFORM</h1>
256 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM<span·class="op">;</span></span>254 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM<span·class="op">;</span></span></code></pre></div>
257 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM<span·class="op">;</span></span></code></pre></div> 
258 <p><a255 <p><a
259 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L37">Source256 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L37">Source
260 Code</a></p>257 Code</a></p>
261 <p>The·underlying·platform·which·the·<a258 <p>The·underlying·platform·which·the·<a
262 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·built·on·top·of,259 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·built·on·top·of,
263 which·dictates·the·language·used·to·program·the·shader.</p>260 which·dictates·the·language·used·to·program·the·shader.</p>
264 <ul>261 <ul>
Offset 785, 12 lines modifiedOffset 782, 12 lines modified
785 <li><a782 <li><a
786 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L112">ex_palette.c</a></li>783 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L112">ex_palette.c</a></li>
787 <li><a784 <li><a
788 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_wrap.c#L188">ex_prim_wrap.c</a></li>785 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_wrap.c#L188">ex_prim_wrap.c</a></li>
789 </ul>786 </ul>
790 <p·class="timestamp">787 <p·class="timestamp">
791 Allegro·version·5.2.8788 Allegro·version·5.2.8
792 ·-·Last·updated:·2025-02-08·15:21:59·UTC789 ·-·Last·updated:·2024-01-07·09:01:17·UTC
793 </p>790 </p>
794 </div>791 </div>
795 </body>792 </body>
796 </html>793 </html>
2.45 KB
html2text {}
    
Offset 66, 30 lines modifiedOffset 66, 28 lines modified
66 ····*·al_set_shader_int_vector66 ····*·al_set_shader_int_vector
67 ····*·al_set_shader_float_vector67 ····*·al_set_shader_float_vector
68 ····*·al_get_default_shader_source68 ····*·al_get_default_shader_source
69 These·functions·are·declared·in·the·main·Allegro·header·file:69 These·functions·are·declared·in·the·main·Allegro·header·file:
70 ·#include·<allegro5/allegro.h>70 ·#include·<allegro5/allegro.h>
71 ******·ALLEGRO_SHADER·******71 ******·ALLEGRO_SHADER·******
72 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;72 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;
73 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER; 
74 Source_Code73 Source_Code
75 An·ALLEGRO_SHADER·is·a·program·that·runs·on·the·GPU.·It·combines·both·a·vertex74 An·ALLEGRO_SHADER·is·a·program·that·runs·on·the·GPU.·It·combines·both·a·vertex
76 and·a·pixel·shader.·(In·OpenGL·terms,·an·ALLEGRO_SHADER·is·actually·a·program75 and·a·pixel·shader.·(In·OpenGL·terms,·an·ALLEGRO_SHADER·is·actually·a·program
77 which·has·one·or·more·shaders·attached.·This·can·be·confusing.)76 which·has·one·or·more·shaders·attached.·This·can·be·confusing.)
78 The·source·code·for·the·underlying·vertex·or·pixel·shader·can·be·provided77 The·source·code·for·the·underlying·vertex·or·pixel·shader·can·be·provided
79 either·as·GLSL·or·HLSL,·depending·on·the·value·of·ALLEGRO_SHADER_PLATFORM·used78 either·as·GLSL·or·HLSL,·depending·on·the·value·of·ALLEGRO_SHADER_PLATFORM·used
80 when·creating·it.79 when·creating·it.
81 Since:·5.1.080 Since:·5.1.0
82 Examples:81 Examples:
83 ····*·ex_shader.cpp82 ····*·ex_shader.cpp
84 ····*·ex_shader_target.c83 ····*·ex_shader_target.c
85 ····*·ex_prim_shader.c84 ····*·ex_prim_shader.c
86 ******·ALLEGRO_SHADER_TYPE·******85 ******·ALLEGRO_SHADER_TYPE·******
87 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;86 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;
88 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE; 
89 Source_Code87 Source_Code
90 Used·with·al_attach_shader_source·and·al_attach_shader_source_file·to·specify88 Used·with·al_attach_shader_source·and·al_attach_shader_source_file·to·specify
91 how·to·interpret·the·attached·source.89 how·to·interpret·the·attached·source.
92 ··ALLEGRO_VERTEX_SHADER90 ··ALLEGRO_VERTEX_SHADER
93 ······A·vertex·shader·is·executed·for·each·vertex·it·is·used·with.·The·program91 ······A·vertex·shader·is·executed·for·each·vertex·it·is·used·with.·The·program
94 ······will·output·exactly·one·vertex·at·a·time.92 ······will·output·exactly·one·vertex·at·a·time.
95 ······When·Allegro’s·graphics·are·being·used·then·in·addition·to·all·vertices93 ······When·Allegro’s·graphics·are·being·used·then·in·addition·to·all·vertices
Offset 105, 15 lines modifiedOffset 103, 14 lines modified
105 ······A·more·accurate·term·for·pixel·shader·would·be·fragment·shader·since·one103 ······A·more·accurate·term·for·pixel·shader·would·be·fragment·shader·since·one
106 ······final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only·a104 ······final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only·a
107 ······single·output·but·of·multiple·fragments·(for·example·when·multi-sampling105 ······single·output·but·of·multiple·fragments·(for·example·when·multi-sampling
108 ······is·being·used).106 ······is·being·used).
109 Since:·5.1.0107 Since:·5.1.0
110 ******·ALLEGRO_SHADER_PLATFORM·******108 ******·ALLEGRO_SHADER_PLATFORM·******
111 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;109 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;
112 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM; 
113 Source_Code110 Source_Code
114 The·underlying·platform·which·the·ALLEGRO_SHADER·is·built·on·top·of,·which111 The·underlying·platform·which·the·ALLEGRO_SHADER·is·built·on·top·of,·which
115 dictates·the·language·used·to·program·the·shader.112 dictates·the·language·used·to·program·the·shader.
116 ····*·ALLEGRO_SHADER_AUTO·-·Pick·a·platform·automatically·given·the·current113 ····*·ALLEGRO_SHADER_AUTO·-·Pick·a·platform·automatically·given·the·current
117 ······display·flags.114 ······display·flags.
118 ····*·ALLEGRO_SHADER_GLSL·-·OpenGL·Shading·Language115 ····*·ALLEGRO_SHADER_GLSL·-·OpenGL·Shading·Language
119 ····*·ALLEGRO_SHADER_HLSL·-·High·Level·Shader·Language·(for·Direct3D)116 ····*·ALLEGRO_SHADER_HLSL·-·High·Level·Shader·Language·(for·Direct3D)
Offset 430, 8 lines modifiedOffset 427, 8 lines modified
430 the·selected·platform.427 the·selected·platform.
431 Since:·5.1.6428 Since:·5.1.6
432 See·also:·al_attach_shader_source429 See·also:·al_attach_shader_source
433 Examples:430 Examples:
434 ····*·ex_shader_multitex.c431 ····*·ex_shader_multitex.c
435 ····*·ex_palette.c432 ····*·ex_palette.c
436 ····*·ex_prim_wrap.c433 ····*·ex_prim_wrap.c
437 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:59·UTC434 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:17·UTC
4.69 KB
./usr/share/doc/allegro5-doc/refman/state.html
    
Offset 171, 16 lines modifiedOffset 171, 15 lines modified
171 <li><a·href="#al_get_errno">al_get_errno</a></li>171 <li><a·href="#al_get_errno">al_get_errno</a></li>
172 <li><a·href="#al_set_errno">al_set_errno</a></li>172 <li><a·href="#al_set_errno">al_set_errno</a></li>
173 </ul>173 </ul>
174 </nav>174 </nav>
175 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>175 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
176 <pre><code>·#include·&lt;allegro5/allegro.h&gt;</code></pre>176 <pre><code>·#include·&lt;allegro5/allegro.h&gt;</code></pre>
177 <h1·id="allegro_state">ALLEGRO_STATE</h1>177 <h1·id="allegro_state">ALLEGRO_STATE</h1>
178 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_STATE·ALLEGRO_STATE<span·class="op">;</span></span>178 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_STATE·ALLEGRO_STATE<span·class="op">;</span></span></code></pre></div>
179 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_STATE·ALLEGRO_STATE<span·class="op">;</span></span></code></pre></div> 
180 <p><a179 <p><a
181 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L49">Source180 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L49">Source
182 Code</a></p>181 Code</a></p>
183 <p>Opaque·type·which·is·passed·to·<a182 <p>Opaque·type·which·is·passed·to·<a
184 href="state.html#al_store_state">al_store_state</a>/<a183 href="state.html#al_store_state">al_store_state</a>/<a
185 href="state.html#al_restore_state">al_restore_state</a>.</p>184 href="state.html#al_restore_state">al_restore_state</a>.</p>
186 <p>The·various·state·kept·internally·by·Allegro·can·be·displayed·like185 <p>The·various·state·kept·internally·by·Allegro·can·be·displayed·like
Offset 216, 16 lines modifiedOffset 215, 15 lines modified
216 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L65">ex_blend_bench.c</a></li>215 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L65">ex_blend_bench.c</a></li>
217 <li><a216 <li><a
218 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend2.cpp#L298">ex_blend2.cpp</a></li>217 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend2.cpp#L298">ex_blend2.cpp</a></li>
219 <li><a218 <li><a
220 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L24">nihgui.cpp</a></li>219 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L24">nihgui.cpp</a></li>
221 </ul>220 </ul>
222 <h1·id="allegro_state_flags">ALLEGRO_STATE_FLAGS</h1>221 <h1·id="allegro_state_flags">ALLEGRO_STATE_FLAGS</h1>
223 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_STATE_FLAGS</span>222 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_STATE_FLAGS</span></code></pre></div>
224 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_STATE_FLAGS</span></code></pre></div> 
225 <p><a223 <p><a
226 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L28">Source224 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L28">Source
227 Code</a></p>225 Code</a></p>
228 <p>Flags·which·can·be·passed·to·<a226 <p>Flags·which·can·be·passed·to·<a
229 href="state.html#al_store_state">al_store_state</a>/<a227 href="state.html#al_store_state">al_store_state</a>/<a
230 href="state.html#al_restore_state">al_restore_state</a>·as·bit228 href="state.html#al_restore_state">al_restore_state</a>·as·bit
231 combinations.·See·<a·href="state.html#al_store_state">al_store_state</a>229 combinations.·See·<a·href="state.html#al_store_state">al_store_state</a>
Offset 309, 12 lines modifiedOffset 307, 12 lines modified
309 <li><a307 <li><a
310 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L250">ex_curl.c</a></li>308 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L250">ex_curl.c</a></li>
311 <li><a309 <li><a
312 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_utf8.c#L475">ex_utf8.c</a></li>310 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_utf8.c#L475">ex_utf8.c</a></li>
313 </ul>311 </ul>
314 <p·class="timestamp">312 <p·class="timestamp">
315 Allegro·version·5.2.8313 Allegro·version·5.2.8
316 ·-·Last·updated:·2025-02-08·15:21:56·UTC314 ·-·Last·updated:·2024-01-07·09:01:13·UTC
317 </p>315 </p>
318 </div>316 </div>
319 </body>317 </body>
320 </html>318 </html>
1.36 KB
html2text {}
    
Offset 53, 15 lines modifiedOffset 53, 14 lines modified
53 ····*·al_store_state53 ····*·al_store_state
54 ····*·al_get_errno54 ····*·al_get_errno
55 ····*·al_set_errno55 ····*·al_set_errno
56 These·functions·are·declared·in·the·main·Allegro·header·file:56 These·functions·are·declared·in·the·main·Allegro·header·file:
57 ·#include·<allegro5/allegro.h>57 ·#include·<allegro5/allegro.h>
58 ******·ALLEGRO_STATE·******58 ******·ALLEGRO_STATE·******
59 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;59 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;
60 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE; 
61 Source_Code60 Source_Code
62 Opaque·type·which·is·passed·to·al_store_state/al_restore_state.61 Opaque·type·which·is·passed·to·al_store_state/al_restore_state.
63 The·various·state·kept·internally·by·Allegro·can·be·displayed·like·this:62 The·various·state·kept·internally·by·Allegro·can·be·displayed·like·this:
64 ··global63 ··global
65 ······active·system·driver64 ······active·system·driver
66 ··········current·config65 ··········current·config
67 ··per·thread66 ··per·thread
Offset 87, 15 lines modifiedOffset 86, 14 lines modified
87 thread·communication.)86 thread·communication.)
88 Examples:87 Examples:
89 ····*·ex_blend_bench.c88 ····*·ex_blend_bench.c
90 ····*·ex_blend2.cpp89 ····*·ex_blend2.cpp
91 ····*·nihgui.cpp90 ····*·nihgui.cpp
92 ******·ALLEGRO_STATE_FLAGS·******91 ******·ALLEGRO_STATE_FLAGS·******
93 typedef·enum·ALLEGRO_STATE_FLAGS92 typedef·enum·ALLEGRO_STATE_FLAGS
94 typedef·enum·ALLEGRO_STATE_FLAGS 
95 Source_Code93 Source_Code
96 Flags·which·can·be·passed·to·al_store_state/al_restore_state·as·bit94 Flags·which·can·be·passed·to·al_store_state/al_restore_state·as·bit
97 combinations.·See·al_store_state·for·the·list·of·flags.95 combinations.·See·al_store_state·for·the·list·of·flags.
98 ******·al_restore_state·******96 ******·al_restore_state·******
99 void·al_restore_state(ALLEGRO_STATE·const·*state)97 void·al_restore_state(ALLEGRO_STATE·const·*state)
100 Source_Code98 Source_Code
101 Restores·part·of·the·state·of·the·current·thread·from·the·given·ALLEGRO_STATE99 Restores·part·of·the·state·of·the·current·thread·from·the·given·ALLEGRO_STATE
Offset 140, 8 lines modifiedOffset 138, 8 lines modified
140 void·al_set_errno(int·errnum)138 void·al_set_errno(int·errnum)
141 SETTER(allegro_errno,·errnum)139 SETTER(allegro_errno,·errnum)
142 Source_Code140 Source_Code
143 Set·the·error·number·for·the·calling·thread.141 Set·the·error·number·for·the·calling·thread.
144 Examples:142 Examples:
145 ····*·ex_curl.c143 ····*·ex_curl.c
146 ····*·ex_utf8.c144 ····*·ex_utf8.c
147 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:56·UTC145 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:13·UTC
4.72 KB
./usr/share/doc/allegro5-doc/refman/system.html
    
Offset 208, 16 lines modifiedOffset 208, 15 lines modified
208 be·the·version·of·Allegro·you·compiled·with,·and·B·=·xb.yb.zb.*·be·the208 be·the·version·of·Allegro·you·compiled·with,·and·B·=·xb.yb.zb.*·be·the
209 version·of·Allegro·found·in·the·system·shared·library.</p>209 version·of·Allegro·found·in·the·system·shared·library.</p>
210 <p>If·you·defined·<code>ALLEGRO_UNSTABLE</code>·before·including·Allegro210 <p>If·you·defined·<code>ALLEGRO_UNSTABLE</code>·before·including·Allegro
211 headers,·then·version·A·is·compatible·with·B·only·if·xa.ya.za·=211 headers,·then·version·A·is·compatible·with·B·only·if·xa.ya.za·=
212 xb.yb.zb.·Otherwise,·A·is·compatible·with·B·only·if·xa.ya·=·xb.yb.</p>212 xb.yb.zb.·Otherwise,·A·is·compatible·with·B·only·if·xa.ya·=·xb.yb.</p>
213 <p>See·also:·<a·href="system.html#al_init">al_init</a></p>213 <p>See·also:·<a·href="system.html#al_init">al_init</a></p>
214 <h1·id="al_init">al_init</h1>214 <h1·id="al_init">al_init</h1>
215 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))</span></span>215 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))</span></span></code></pre></div>
216 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))</span></span></code></pre></div> 
217 <p><a216 <p><a
218 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L30">Source217 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L30">Source
219 Code</a></p>218 Code</a></p>
220 <p>Like·<a·href="system.html#al_install_system">al_install_system</a>,219 <p>Like·<a·href="system.html#al_install_system">al_install_system</a>,
221 but·automatically·passes·in·the·version·and·uses·the·atexit·function220 but·automatically·passes·in·the·version·and·uses·the·atexit·function
222 visible·in·the·current·binary.</p>221 visible·in·the·current·binary.</p>
223 <blockquote>222 <blockquote>
Offset 792, 16 lines modifiedOffset 791, 15 lines modified
792 <p>Since:·5.1.12</p>791 <p>Since:·5.1.12</p>
793 <p>Examples:</p>792 <p>Examples:</p>
794 <ul>793 <ul>
795 <li><a794 <li><a
796 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L1">ex_cpu.c</a></li>795 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L1">ex_cpu.c</a></li>
797 </ul>796 </ul>
798 <h1·id="allegro_system_id">ALLEGRO_SYSTEM_ID</h1>797 <h1·id="allegro_system_id">ALLEGRO_SYSTEM_ID</h1>
799 <div·class="sourceCode"·id="cb21"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb21-1"><a·href="#cb21-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_SYSTEM_ID·<span·class="op">{</span></span>798 <div·class="sourceCode"·id="cb21"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb21-1"><a·href="#cb21-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_SYSTEM_ID·<span·class="op">{</span></span></code></pre></div>
800 <span·id="cb21-2"><a·href="#cb21-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_SYSTEM_ID·<span·class="op">{</span></span></code></pre></div> 
801 <p><a799 <p><a
802 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L15">Source800 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L15">Source
803 Code</a></p>801 Code</a></p>
804 <p>The·system·Allegro·is·running·on.</p>802 <p>The·system·Allegro·is·running·on.</p>
805 <ul>803 <ul>
806 <li>ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.</li>804 <li>ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.</li>
807 <li>ALLEGRO_SYSTEM_ID_XGLX·-·Xglx</li>805 <li>ALLEGRO_SYSTEM_ID_XGLX·-·Xglx</li>
Offset 814, 12 lines modifiedOffset 812, 12 lines modified
814 <li>ALLEGRO_SYSTEM_ID_SDL·-·SDL</li>812 <li>ALLEGRO_SYSTEM_ID_SDL·-·SDL</li>
815 </ul>813 </ul>
816 <p>Since:·5.2.5</p>814 <p>Since:·5.2.5</p>
817 <p>See·also:·<a815 <p>See·also:·<a
818 href="system.html#al_get_system_id">al_get_system_id</a></p>816 href="system.html#al_get_system_id">al_get_system_id</a></p>
819 <p·class="timestamp">817 <p·class="timestamp">
820 Allegro·version·5.2.8818 Allegro·version·5.2.8
821 ·-·Last·updated:·2025-02-08·15:21:57·UTC819 ·-·Last·updated:·2024-01-07·09:01:13·UTC
822 </p>820 </p>
823 </div>821 </div>
824 </body>822 </body>
825 </html>823 </html>
1.71 KB
html2text {}
    
Offset 85, 15 lines modifiedOffset 85, 14 lines modified
85 Allegro·found·in·the·system·shared·library.85 Allegro·found·in·the·system·shared·library.
86 If·you·defined·ALLEGRO_UNSTABLE·before·including·Allegro·headers,·then·version86 If·you·defined·ALLEGRO_UNSTABLE·before·including·Allegro·headers,·then·version
87 A·is·compatible·with·B·only·if·xa.ya.za·=·xb.yb.zb.·Otherwise,·A·is·compatible87 A·is·compatible·with·B·only·if·xa.ya.za·=·xb.yb.zb.·Otherwise,·A·is·compatible
88 with·B·only·if·xa.ya·=·xb.yb.88 with·B·only·if·xa.ya·=·xb.yb.
89 See·also:·al_init89 See·also:·al_init
90 ******·al_init·******90 ******·al_init·******
91 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))91 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))
92 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit)) 
93 Source_Code92 Source_Code
94 Like·al_install_system,·but·automatically·passes·in·the·version·and·uses·the93 Like·al_install_system,·but·automatically·passes·in·the·version·and·uses·the
95 atexit·function·visible·in·the·current·binary.94 atexit·function·visible·in·the·current·binary.
96 ·····Note:·It·is·typically·wrong·to·call·al_init·anywhere·except·the·final95 ·····Note:·It·is·typically·wrong·to·call·al_init·anywhere·except·the·final
97 ·····game·binary.·In·particular,·do·not·call·it·inside·a·shared·library96 ·····game·binary.·In·particular,·do·not·call·it·inside·a·shared·library
98 ·····unless·you·know·what·you’re·doing.·In·those·cases,·it·is·better·to97 ·····unless·you·know·what·you’re·doing.·In·those·cases,·it·is·better·to
99 ·····call·al_install_system·either·with·a·NULL·atexit_ptr,·or·with·a98 ·····call·al_install_system·either·with·a·NULL·atexit_ptr,·or·with·a
Offset 555, 22 lines modifiedOffset 554, 21 lines modified
555 returns·a·certain·â€œdesirable”·number.554 returns·a·certain·â€œdesirable”·number.
556 This·function·may·be·called·prior·to·al_install_system·or·al_init.555 This·function·may·be·called·prior·to·al_install_system·or·al_init.
557 Since:·5.1.12556 Since:·5.1.12
558 Examples:557 Examples:
559 ····*·ex_cpu.c558 ····*·ex_cpu.c
560 ******·ALLEGRO_SYSTEM_ID·******559 ******·ALLEGRO_SYSTEM_ID·******
561 enum·ALLEGRO_SYSTEM_ID·{560 enum·ALLEGRO_SYSTEM_ID·{
562 enum·ALLEGRO_SYSTEM_ID·{ 
563 Source_Code561 Source_Code
564 The·system·Allegro·is·running·on.562 The·system·Allegro·is·running·on.
565 ····*·ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.563 ····*·ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.
566 ····*·ALLEGRO_SYSTEM_ID_XGLX·-·Xglx564 ····*·ALLEGRO_SYSTEM_ID_XGLX·-·Xglx
567 ····*·ALLEGRO_SYSTEM_ID_WINDOWS·-·Windows565 ····*·ALLEGRO_SYSTEM_ID_WINDOWS·-·Windows
568 ····*·ALLEGRO_SYSTEM_ID_MACOSX·-·macOS566 ····*·ALLEGRO_SYSTEM_ID_MACOSX·-·macOS
569 ····*·ALLEGRO_SYSTEM_ID_ANDROID·-·Android567 ····*·ALLEGRO_SYSTEM_ID_ANDROID·-·Android
570 ····*·ALLEGRO_SYSTEM_ID_IPHONE·-·iOS568 ····*·ALLEGRO_SYSTEM_ID_IPHONE·-·iOS
571 ····*·ALLEGRO_SYSTEM_ID_GP2XWIZ·-·GP2XWIZ569 ····*·ALLEGRO_SYSTEM_ID_GP2XWIZ·-·GP2XWIZ
572 ····*·ALLEGRO_SYSTEM_ID_RASPBERRYPI·-·Raspberry·Pi570 ····*·ALLEGRO_SYSTEM_ID_RASPBERRYPI·-·Raspberry·Pi
573 ····*·ALLEGRO_SYSTEM_ID_SDL·-·SDL571 ····*·ALLEGRO_SYSTEM_ID_SDL·-·SDL
574 Since:·5.2.5572 Since:·5.2.5
575 See·also:·al_get_system_id573 See·also:·al_get_system_id
576 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC574 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:13·UTC
6.29 KB
./usr/share/doc/allegro5-doc/refman/threads.html
    
Offset 198, 46 lines modifiedOffset 198, 43 lines modified
198 would·be·difficult·at·best,·hence·the·behaviour·of·the·following198 would·be·difficult·at·best,·hence·the·behaviour·of·the·following
199 functions·will·differ·subtly·on·different·platforms·(more·so·than199 functions·will·differ·subtly·on·different·platforms·(more·so·than
200 usual).·Your·best·bet·is·to·be·aware·of·this·and·code·to·the200 usual).·Your·best·bet·is·to·be·aware·of·this·and·code·to·the
201 intersection·of·the·semantics·and·avoid·edge·cases.</p>201 intersection·of·the·semantics·and·avoid·edge·cases.</p>
202 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>202 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
203 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>203 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
204 <h1·id="allegro_thread">ALLEGRO_THREAD</h1>204 <h1·id="allegro_thread">ALLEGRO_THREAD</h1>
205 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_THREAD·ALLEGRO_THREAD<span·class="op">;</span></span>205 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_THREAD·ALLEGRO_THREAD<span·class="op">;</span></span></code></pre></div>
206 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_THREAD·ALLEGRO_THREAD<span·class="op">;</span></span></code></pre></div> 
207 <p><a206 <p><a
208 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L27">Source207 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L27">Source
209 Code</a></p>208 Code</a></p>
210 <p>An·opaque·structure·representing·a·thread.</p>209 <p>An·opaque·structure·representing·a·thread.</p>
211 <p>Examples:</p>210 <p>Examples:</p>
212 <ul>211 <ul>
213 <li><a212 <li><a
214 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads.c#L97">ex_threads.c</a></li>213 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads.c#L97">ex_threads.c</a></li>
215 <li><a214 <li><a
216 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L150">ex_threads2.c</a></li>215 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L150">ex_threads2.c</a></li>
217 <li><a216 <li><a
218 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L16">ex_loading_thread.c</a></li>217 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L16">ex_loading_thread.c</a></li>
219 </ul>218 </ul>
220 <h1·id="allegro_mutex">ALLEGRO_MUTEX</h1>219 <h1·id="allegro_mutex">ALLEGRO_MUTEX</h1>
221 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MUTEX·ALLEGRO_MUTEX<span·class="op">;</span></span>220 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MUTEX·ALLEGRO_MUTEX<span·class="op">;</span></span></code></pre></div>
222 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_MUTEX·ALLEGRO_MUTEX<span·class="op">;</span></span></code></pre></div> 
223 <p><a221 <p><a
224 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L31">Source222 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L31">Source
225 Code</a></p>223 Code</a></p>
226 <p>An·opaque·structure·representing·a·mutex.</p>224 <p>An·opaque·structure·representing·a·mutex.</p>
227 <p>Examples:</p>225 <p>Examples:</p>
228 <ul>226 <ul>
229 <li><a227 <li><a
230 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L27">ex_threads2.c</a></li>228 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L27">ex_threads2.c</a></li>
231 <li><a229 <li><a
232 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L14">ex_loading_thread.c</a></li>230 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L14">ex_loading_thread.c</a></li>
233 </ul>231 </ul>
234 <h1·id="allegro_cond">ALLEGRO_COND</h1>232 <h1·id="allegro_cond">ALLEGRO_COND</h1>
235 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COND·ALLEGRO_COND<span·class="op">;</span></span>233 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COND·ALLEGRO_COND<span·class="op">;</span></span></code></pre></div>
236 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COND·ALLEGRO_COND<span·class="op">;</span></span></code></pre></div> 
237 <p><a234 <p><a
238 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L35">Source235 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L35">Source
239 Code</a></p>236 Code</a></p>
240 <p>An·opaque·structure·representing·a·condition·variable.</p>237 <p>An·opaque·structure·representing·a·condition·variable.</p>
241 <p>Examples:</p>238 <p>Examples:</p>
242 <ul>239 <ul>
243 <li><a240 <li><a
Offset 585, 12 lines modifiedOffset 582, 12 lines modified
585 href="threads.html#al_broadcast_cond">al_broadcast_cond</a>·but·<a582 href="threads.html#al_broadcast_cond">al_broadcast_cond</a>·but·<a
586 href="threads.html#al_signal_cond">al_signal_cond</a>·may·be·more583 href="threads.html#al_signal_cond">al_signal_cond</a>·may·be·more
587 efficient·when·it’s·applicable.</p>584 efficient·when·it’s·applicable.</p>
588 <p>See·also:·<a585 <p>See·also:·<a
589 href="threads.html#al_broadcast_cond">al_broadcast_cond</a>.</p>586 href="threads.html#al_broadcast_cond">al_broadcast_cond</a>.</p>
590 <p·class="timestamp">587 <p·class="timestamp">
591 Allegro·version·5.2.8588 Allegro·version·5.2.8
592 ·-·Last·updated:·2025-02-08·15:21:57·UTC589 ·-·Last·updated:·2024-01-07·09:01:13·UTC
593 </p>590 </p>
594 </div>591 </div>
595 </body>592 </body>
596 </html>593 </html>
1.54 KB
html2text {}
    
Offset 76, 32 lines modifiedOffset 76, 29 lines modified
76 subtly·on·different·platforms·(more·so·than·usual).·Your·best·bet·is·to·be76 subtly·on·different·platforms·(more·so·than·usual).·Your·best·bet·is·to·be
77 aware·of·this·and·code·to·the·intersection·of·the·semantics·and·avoid·edge77 aware·of·this·and·code·to·the·intersection·of·the·semantics·and·avoid·edge
78 cases.78 cases.
79 These·functions·are·declared·in·the·main·Allegro·header·file:79 These·functions·are·declared·in·the·main·Allegro·header·file:
80 ·#include·<allegro5/allegro.h>80 ·#include·<allegro5/allegro.h>
81 ******·ALLEGRO_THREAD·******81 ******·ALLEGRO_THREAD·******
82 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;82 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;
83 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD; 
84 Source_Code83 Source_Code
85 An·opaque·structure·representing·a·thread.84 An·opaque·structure·representing·a·thread.
86 Examples:85 Examples:
87 ····*·ex_threads.c86 ····*·ex_threads.c
88 ····*·ex_threads2.c87 ····*·ex_threads2.c
89 ····*·ex_loading_thread.c88 ····*·ex_loading_thread.c
90 ******·ALLEGRO_MUTEX·******89 ******·ALLEGRO_MUTEX·******
91 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;90 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;
92 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX; 
93 Source_Code91 Source_Code
94 An·opaque·structure·representing·a·mutex.92 An·opaque·structure·representing·a·mutex.
95 Examples:93 Examples:
96 ····*·ex_threads2.c94 ····*·ex_threads2.c
97 ····*·ex_loading_thread.c95 ····*·ex_loading_thread.c
98 ******·ALLEGRO_COND·******96 ******·ALLEGRO_COND·******
99 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;97 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;
100 typedef·struct·ALLEGRO_COND·ALLEGRO_COND; 
101 Source_Code98 Source_Code
102 An·opaque·structure·representing·a·condition·variable.99 An·opaque·structure·representing·a·condition·variable.
103 Examples:100 Examples:
104 ····*·ex_threads2.c101 ····*·ex_threads2.c
105 ******·al_create_thread·******102 ******·al_create_thread·******
106 ALLEGRO_THREAD·*al_create_thread(103 ALLEGRO_THREAD·*al_create_thread(
107 ···void·*(*proc)(ALLEGRO_THREAD·*thread,·void·*arg),·void·*arg)104 ···void·*(*proc)(ALLEGRO_THREAD·*thread,·void·*arg),·void·*arg)
Offset 301, 8 lines modifiedOffset 298, 8 lines modified
301 ******·al_signal_cond·******298 ******·al_signal_cond·******
302 void·al_signal_cond(ALLEGRO_COND·*cond)299 void·al_signal_cond(ALLEGRO_COND·*cond)
303 Source_Code300 Source_Code
304 Unblock·at·least·one·thread·waiting·on·a·condition·variable.301 Unblock·at·least·one·thread·waiting·on·a·condition·variable.
305 Generally·you·should·use·al_broadcast_cond·but·al_signal_cond·may·be·more302 Generally·you·should·use·al_broadcast_cond·but·al_signal_cond·may·be·more
306 efficient·when·it’s·applicable.303 efficient·when·it’s·applicable.
307 See·also:·al_broadcast_cond.304 See·also:·al_broadcast_cond.
308 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC305 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:13·UTC
937 B
./usr/share/doc/allegro5-doc/refman/time.html
    
Offset 239, 12 lines modifiedOffset 239, 12 lines modified
239 <li><a239 <li><a
240 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L45">ex_timer_pause.c</a></li>240 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L45">ex_timer_pause.c</a></li>
241 <li><a241 <li><a
242 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mouse_focus.c#L92">ex_mouse_focus.c</a></li>242 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mouse_focus.c#L92">ex_mouse_focus.c</a></li>
243 </ul>243 </ul>
244 <p·class="timestamp">244 <p·class="timestamp">
245 Allegro·version·5.2.8245 Allegro·version·5.2.8
246 ·-·Last·updated:·2025-02-08·15:21:57·UTC246 ·-·Last·updated:·2024-01-07·09:01:13·UTC
247 </p>247 </p>
248 </div>248 </div>
249 </body>249 </body>
250 </html>250 </html>
414 B
html2text {}
    
Offset 89, 8 lines modifiedOffset 89, 8 lines modified
89 al_rest(0.000001)89 al_rest(0.000001)
90 might·pause·for·something·like·10ms.·Also·see·the·section·on·Timer·routines·for90 might·pause·for·something·like·10ms.·Also·see·the·section·on·Timer·routines·for
91 easier·ways·to·time·your·program·without·using·up·all·CPU.91 easier·ways·to·time·your·program·without·using·up·all·CPU.
92 Examples:92 Examples:
93 ····*·ex_keyboard_focus.c93 ····*·ex_keyboard_focus.c
94 ····*·ex_timer_pause.c94 ····*·ex_timer_pause.c
95 ····*·ex_mouse_focus.c95 ····*·ex_mouse_focus.c
96 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC96 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:13·UTC
8.17 KB
./usr/share/doc/allegro5-doc/refman/timer.html
    
Offset 183, 58 lines modifiedOffset 183, 53 lines modified
183 <li><a183 <li><a
184 href="#al_get_timer_event_source">al_get_timer_event_source</a></li>184 href="#al_get_timer_event_source">al_get_timer_event_source</a></li>
185 </ul>185 </ul>
186 </nav>186 </nav>
187 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>187 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
188 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>188 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
189 <h1·id="allegro_timer">ALLEGRO_TIMER</h1>189 <h1·id="allegro_timer">ALLEGRO_TIMER</h1>
190 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TIMER·ALLEGRO_TIMER<span·class="op">;</span></span>190 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TIMER·ALLEGRO_TIMER<span·class="op">;</span></span></code></pre></div>
191 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TIMER·ALLEGRO_TIMER<span·class="op">;</span></span></code></pre></div> 
192 <p><a191 <p><a
193 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L46">Source192 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L46">Source
194 Code</a></p>193 Code</a></p>
195 <p>This·is·an·abstract·data·type·representing·a·timer·object.</p>194 <p>This·is·an·abstract·data·type·representing·a·timer·object.</p>
196 <p>Examples:</p>195 <p>Examples:</p>
197 <ul>196 <ul>
198 <li><a197 <li><a
199 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L188">ex_enet_server.c</a></li>198 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L188">ex_enet_server.c</a></li>
200 <li><a199 <li><a
201 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L22">ex_timer_pause.c</a></li>200 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L22">ex_timer_pause.c</a></li>
202 <li><a201 <li><a
203 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L46">ex_user_events.c</a></li>202 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L46">ex_user_events.c</a></li>
204 </ul>203 </ul>
205 <h1·id="allegro_usecs_to_secs">ALLEGRO_USECS_TO_SECS</h1>204 <h1·id="allegro_usecs_to_secs">ALLEGRO_USECS_TO_SECS</h1>
206 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)</span></span>205 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)</span></span></code></pre></div>
207 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)</span></span></code></pre></div> 
208 <p><a206 <p><a
209 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L29">Source207 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L29">Source
210 Code</a></p>208 Code</a></p>
211 <p>Convert·microseconds·to·seconds.</p>209 <p>Convert·microseconds·to·seconds.</p>
212 <h1·id="allegro_msecs_to_secs">ALLEGRO_MSECS_TO_SECS</h1>210 <h1·id="allegro_msecs_to_secs">ALLEGRO_MSECS_TO_SECS</h1>
213 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)</span></span>211 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)</span></span></code></pre></div>
214 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)</span></span></code></pre></div> 
215 <p><a212 <p><a
216 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L33">Source213 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L33">Source
217 Code</a></p>214 Code</a></p>
218 <p>Convert·milliseconds·to·seconds.</p>215 <p>Convert·milliseconds·to·seconds.</p>
219 <h1·id="allegro_bps_to_secs">ALLEGRO_BPS_TO_SECS</h1>216 <h1·id="allegro_bps_to_secs">ALLEGRO_BPS_TO_SECS</h1>
220 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))</span></span>217 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))</span></span></code></pre></div>
221 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))</span></span></code></pre></div> 
222 <p><a218 <p><a
223 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L37">Source219 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L37">Source
224 Code</a></p>220 Code</a></p>
225 <p>Convert·beats·per·second·to·seconds.</p>221 <p>Convert·beats·per·second·to·seconds.</p>
226 <p>Examples:</p>222 <p>Examples:</p>
227 <ul>223 <ul>
228 <li><a224 <li><a
229 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L719">ex_prim.c</a></li>225 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L719">ex_prim.c</a></li>
230 </ul>226 </ul>
231 <h1·id="allegro_bpm_to_secs">ALLEGRO_BPM_TO_SECS</h1>227 <h1·id="allegro_bpm_to_secs">ALLEGRO_BPM_TO_SECS</h1>
232 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))</span></span>228 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))</span></span></code></pre></div>
233 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))</span></span></code></pre></div> 
234 <p><a229 <p><a
235 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L41">Source230 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L41">Source
236 Code</a></p>231 Code</a></p>
237 <p>Convert·beats·per·minute·to·seconds.</p>232 <p>Convert·beats·per·minute·to·seconds.</p>
238 <h1·id="al_create_timer">al_create_timer</h1>233 <h1·id="al_create_timer">al_create_timer</h1>
239 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_TIMER·<span·class="op">*</span>al_create_timer<span·class="op">(</span><span·class="dt">double</span>·speed_secs<span·class="op">)</span></span></code></pre></div>234 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_TIMER·<span·class="op">*</span>al_create_timer<span·class="op">(</span><span·class="dt">double</span>·speed_secs<span·class="op">)</span></span></code></pre></div>
240 <p><a235 <p><a
Offset 428, 12 lines modifiedOffset 423, 12 lines modified
428 <li><a423 <li><a
429 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L39">ex_timer_pause.c</a></li>424 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L39">ex_timer_pause.c</a></li>
430 <li><a425 <li><a
431 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L70">ex_user_events.c</a></li>426 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L70">ex_user_events.c</a></li>
432 </ul>427 </ul>
433 <p·class="timestamp">428 <p·class="timestamp">
434 Allegro·version·5.2.8429 Allegro·version·5.2.8
435 ·-·Last·updated:·2025-02-08·15:21:57·UTC430 ·-·Last·updated:·2024-01-07·09:01:14·UTC
436 </p>431 </p>
437 </div>432 </div>
438 </body>433 </body>
439 </html>434 </html>
1.84 KB
html2text {}
    
Offset 64, 41 lines modifiedOffset 64, 36 lines modified
64 ····*·al_get_timer_speed64 ····*·al_get_timer_speed
65 ····*·al_set_timer_speed65 ····*·al_set_timer_speed
66 ····*·al_get_timer_event_source66 ····*·al_get_timer_event_source
67 These·functions·are·declared·in·the·main·Allegro·header·file:67 These·functions·are·declared·in·the·main·Allegro·header·file:
68 ·#include·<allegro5/allegro.h>68 ·#include·<allegro5/allegro.h>
69 ******·ALLEGRO_TIMER·******69 ******·ALLEGRO_TIMER·******
70 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;70 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;
71 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER; 
72 Source_Code71 Source_Code
73 This·is·an·abstract·data·type·representing·a·timer·object.72 This·is·an·abstract·data·type·representing·a·timer·object.
74 Examples:73 Examples:
75 ····*·ex_enet_server.c74 ····*·ex_enet_server.c
76 ····*·ex_timer_pause.c75 ····*·ex_timer_pause.c
77 ····*·ex_user_events.c76 ····*·ex_user_events.c
78 ******·ALLEGRO_USECS_TO_SECS·******77 ******·ALLEGRO_USECS_TO_SECS·******
79 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)78 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)
80 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0) 
81 Source_Code79 Source_Code
82 Convert·microseconds·to·seconds.80 Convert·microseconds·to·seconds.
83 ******·ALLEGRO_MSECS_TO_SECS·******81 ******·ALLEGRO_MSECS_TO_SECS·******
84 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)82 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)
85 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0) 
86 Source_Code83 Source_Code
87 Convert·milliseconds·to·seconds.84 Convert·milliseconds·to·seconds.
88 ******·ALLEGRO_BPS_TO_SECS·******85 ******·ALLEGRO_BPS_TO_SECS·******
89 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))86 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))
90 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x)) 
91 Source_Code87 Source_Code
92 Convert·beats·per·second·to·seconds.88 Convert·beats·per·second·to·seconds.
93 Examples:89 Examples:
94 ····*·ex_prim.c90 ····*·ex_prim.c
95 ******·ALLEGRO_BPM_TO_SECS·******91 ******·ALLEGRO_BPM_TO_SECS·******
96 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))92 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))
97 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x)) 
98 Source_Code93 Source_Code
99 Convert·beats·per·minute·to·seconds.94 Convert·beats·per·minute·to·seconds.
100 ******·al_create_timer·******95 ******·al_create_timer·******
101 ALLEGRO_TIMER·*al_create_timer(double·speed_secs)96 ALLEGRO_TIMER·*al_create_timer(double·speed_secs)
102 Source_Code97 Source_Code
103 Allocates·and·initializes·a·timer.·If·successful,·a·pointer·to·a·new·timer98 Allocates·and·initializes·a·timer.·If·successful,·a·pointer·to·a·new·timer
104 object·is·returned,·otherwise·NULL·is·returned.·speed_secs·is·in·seconds·per99 object·is·returned,·otherwise·NULL·is·returned.·speed_secs·is·in·seconds·per
Offset 204, 8 lines modifiedOffset 199, 8 lines modified
204 Source_Code199 Source_Code
205 Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type200 Retrieve·the·associated·event·source.·Timers·will·generate·events·of·type
206 ALLEGRO_EVENT_TIMER.201 ALLEGRO_EVENT_TIMER.
207 Examples:202 Examples:
208 ····*·ex_enet_server.c203 ····*·ex_enet_server.c
209 ····*·ex_timer_pause.c204 ····*·ex_timer_pause.c
210 ····*·ex_user_events.c205 ····*·ex_user_events.c
211 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC206 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:14·UTC
9.05 KB
./usr/share/doc/allegro5-doc/refman/touch.html
    
Offset 188, 34 lines modifiedOffset 188, 31 lines modified
188 <li><a188 <li><a
189 href="#al_get_touch_input_mouse_emulation_event_source">al_get_touch_input_mouse_emulation_event_source</a></li>189 href="#al_get_touch_input_mouse_emulation_event_source">al_get_touch_input_mouse_emulation_event_source</a></li>
190 </ul>190 </ul>
191 </nav>191 </nav>
192 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>192 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
193 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>193 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro.h&gt;</span></span></code></pre></div>
194 <h1·id="allegro_touch_input">ALLEGRO_TOUCH_INPUT</h1>194 <h1·id="allegro_touch_input">ALLEGRO_TOUCH_INPUT</h1>
195 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT<span·class="op">;</span></span>195 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT<span·class="op">;</span></span></code></pre></div>
196 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT<span·class="op">;</span></span></code></pre></div> 
197 <p><a196 <p><a
198 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L34">Source197 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L34">Source
199 Code</a></p>198 Code</a></p>
200 <p>An·abstract·data·type·representing·a·physical·touch·screen·or·touch199 <p>An·abstract·data·type·representing·a·physical·touch·screen·or·touch
201 pad.</p>200 pad.</p>
202 <p>Since:·5.1.0</p>201 <p>Since:·5.1.0</p>
203 <h1202 <h1
204 id="allegro_touch_input_max_touch_count">ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT</h1>203 id="allegro_touch_input_max_touch_count">ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT</h1>
205 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16</span></span>204 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16</span></span></code></pre></div>
206 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16</span></span></code></pre></div> 
207 <p><a205 <p><a
208 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L29">Source206 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L29">Source
209 Code</a></p>207 Code</a></p>
210 <p>The·maximum·amount·of·simultaneous·touches·that·can·be·detected.</p>208 <p>The·maximum·amount·of·simultaneous·touches·that·can·be·detected.</p>
211 <p>Since:·5.1.0</p>209 <p>Since:·5.1.0</p>
212 <h1·id="allegro_touch_state">ALLEGRO_TOUCH_STATE</h1>210 <h1·id="allegro_touch_state">ALLEGRO_TOUCH_STATE</h1>
213 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE<span·class="op">;</span></span>211 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE<span·class="op">;</span></span></code></pre></div>
214 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE<span·class="op">;</span></span></code></pre></div> 
215 <p><a212 <p><a
216 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L44">Source213 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L44">Source
217 Code</a></p>214 Code</a></p>
218 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·touch·at·a215 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·touch·at·a
219 particular·instant.</p>216 particular·instant.</p>
220 <p>Public·fields·(read·only):</p>217 <p>Public·fields·(read·only):</p>
221 <ul>218 <ul>
Offset 229, 30 lines modifiedOffset 226, 28 lines modified
229 one).</li>226 one).</li>
230 <li>display·-·The·<a227 <li>display·-·The·<a
231 href="display.html#allegro_display">ALLEGRO_DISPLAY</a>·that·was228 href="display.html#allegro_display">ALLEGRO_DISPLAY</a>·that·was
232 touched.</li>229 touched.</li>
233 </ul>230 </ul>
234 <p>Since:·5.1.0</p>231 <p>Since:·5.1.0</p>
235 <h1·id="allegro_touch_input_state">ALLEGRO_TOUCH_INPUT_STATE</h1>232 <h1·id="allegro_touch_input_state">ALLEGRO_TOUCH_INPUT_STATE</h1>
236 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE<span·class="op">;</span></span>233 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE<span·class="op">;</span></span></code></pre></div>
237 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE<span·class="op">;</span></span></code></pre></div> 
238 <p><a234 <p><a
239 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L39">Source235 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L39">Source
240 Code</a></p>236 Code</a></p>
241 <p>This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches237 <p>This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches
242 at·a·particular·instant.</p>238 at·a·particular·instant.</p>
243 <p>Public·fields·(read·only):</p>239 <p>Public·fields·(read·only):</p>
244 <ul>240 <ul>
245 <li>touches·-·an·array·of·<a241 <li>touches·-·an·array·of·<a
246 href="touch.html#allegro_touch_state">ALLEGRO_TOUCH_STATE</a></li>242 href="touch.html#allegro_touch_state">ALLEGRO_TOUCH_STATE</a></li>
247 </ul>243 </ul>
248 <p>Since:·5.1.0</p>244 <p>Since:·5.1.0</p>
249 <h1·id="allegro_mouse_emulation_mode">ALLEGRO_MOUSE_EMULATION_MODE</h1>245 <h1·id="allegro_mouse_emulation_mode">ALLEGRO_MOUSE_EMULATION_MODE</h1>
250 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_MOUSE_EMULATION_MODE</span>246 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_MOUSE_EMULATION_MODE</span></code></pre></div>
251 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_MOUSE_EMULATION_MODE</span></code></pre></div> 
252 <p><a247 <p><a
253 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L71">Source248 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L71">Source
254 Code</a></p>249 Code</a></p>
255 <p>Type·of·mouse·emulation·to·apply.</p>250 <p>Type·of·mouse·emulation·to·apply.</p>
256 <dl>251 <dl>
257 <dt>ALLEGRO_MOUSE_EMULATION_NONE</dt>252 <dt>ALLEGRO_MOUSE_EMULATION_NONE</dt>
258 <dd>253 <dd>
Offset 426, 12 lines modifiedOffset 421, 12 lines modified
426 <li><a421 <li><a
427 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haiku.c#L975">ex_haiku.c</a></li>422 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haiku.c#L975">ex_haiku.c</a></li>
428 <li><a423 <li><a
429 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_shader.c#L156">ex_prim_shader.c</a></li>424 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_shader.c#L156">ex_prim_shader.c</a></li>
430 </ul>425 </ul>
431 <p·class="timestamp">426 <p·class="timestamp">
432 Allegro·version·5.2.8427 Allegro·version·5.2.8
433 ·-·Last·updated:·2025-02-08·15:21:57·UTC428 ·-·Last·updated:·2024-01-07·09:01:14·UTC
434 </p>429 </p>
435 </div>430 </div>
436 </body>431 </body>
437 </html>432 </html>
2.46 KB
html2text {}
    
Offset 60, 51 lines modifiedOffset 60, 46 lines modified
60 ····*·al_get_mouse_emulation_mode60 ····*·al_get_mouse_emulation_mode
61 ····*·al_get_touch_input_event_source61 ····*·al_get_touch_input_event_source
62 ····*·al_get_touch_input_mouse_emulation_event_source62 ····*·al_get_touch_input_mouse_emulation_event_source
63 These·functions·are·declared·in·the·main·Allegro·header·file:63 These·functions·are·declared·in·the·main·Allegro·header·file:
64 ·#include·<allegro5/allegro.h>64 ·#include·<allegro5/allegro.h>
65 ******·ALLEGRO_TOUCH_INPUT·******65 ******·ALLEGRO_TOUCH_INPUT·******
66 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;66 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;
67 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT; 
68 Source_Code67 Source_Code
69 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.68 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.
70 Since:·5.1.069 Since:·5.1.0
71 ******·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT·******70 ******·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT·******
72 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········1671 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16
73 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16 
74 Source_Code72 Source_Code
75 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.73 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.
76 Since:·5.1.074 Since:·5.1.0
77 ******·ALLEGRO_TOUCH_STATE·******75 ******·ALLEGRO_TOUCH_STATE·******
78 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;76 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;
79 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE; 
80 Source_Code77 Source_Code
81 This·is·a·structure·that·is·used·to·hold·a·â€œsnapshot”·of·a·touch·at·a78 This·is·a·structure·that·is·used·to·hold·a·â€œsnapshot”·of·a·touch·at·a
82 particular·instant.79 particular·instant.
83 Public·fields·(read·only):80 Public·fields·(read·only):
84 ····*·id·-·identifier·of·the·touch.·If·the·touch·is·valid,·this·is·positive.81 ····*·id·-·identifier·of·the·touch.·If·the·touch·is·valid,·this·is·positive.
85 ····*·x·-·touch·x·position82 ····*·x·-·touch·x·position
86 ····*·y·-·touch·y·position83 ····*·y·-·touch·y·position
87 ····*·dx·-·touch·relative·x·position84 ····*·dx·-·touch·relative·x·position
88 ····*·dy·-·touch·relative·y·position85 ····*·dy·-·touch·relative·y·position
89 ····*·primary·-·TRUE·if·this·touch·is·the·primary·one·(usually·the·first·one).86 ····*·primary·-·TRUE·if·this·touch·is·the·primary·one·(usually·the·first·one).
90 ····*·display·-·The·ALLEGRO_DISPLAY·that·was·touched.87 ····*·display·-·The·ALLEGRO_DISPLAY·that·was·touched.
91 Since:·5.1.088 Since:·5.1.0
92 ******·ALLEGRO_TOUCH_INPUT_STATE·******89 ******·ALLEGRO_TOUCH_INPUT_STATE·******
93 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;90 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;
94 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE; 
95 Source_Code91 Source_Code
96 This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches·at·a92 This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches·at·a
97 particular·instant.93 particular·instant.
98 Public·fields·(read·only):94 Public·fields·(read·only):
99 ····*·touches·-·an·array·of·ALLEGRO_TOUCH_STATE95 ····*·touches·-·an·array·of·ALLEGRO_TOUCH_STATE
100 Since:·5.1.096 Since:·5.1.0
101 ******·ALLEGRO_MOUSE_EMULATION_MODE·******97 ******·ALLEGRO_MOUSE_EMULATION_MODE·******
102 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE98 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE
103 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE 
104 Source_Code99 Source_Code
105 Type·of·mouse·emulation·to·apply.100 Type·of·mouse·emulation·to·apply.
106 ··ALLEGRO_MOUSE_EMULATION_NONE101 ··ALLEGRO_MOUSE_EMULATION_NONE
107 ······Disables·mouse·emulation.102 ······Disables·mouse·emulation.
108 ··ALLEGRO_MOUSE_EMULATION_TRANSPARENT103 ··ALLEGRO_MOUSE_EMULATION_TRANSPARENT
109 ······Enables·transparent·mouse·emulation.104 ······Enables·transparent·mouse·emulation.
110 ··ALLEGRO_MOUSE_EMULATION_INCLUSIVE105 ··ALLEGRO_MOUSE_EMULATION_INCLUSIVE
Offset 189, 8 lines modifiedOffset 184, 8 lines modified
189 Since:·5.1.0184 Since:·5.1.0
190 ·····Unstable_API:·Seems·of·limited·value,·as·touch·input·tends·to·have185 ·····Unstable_API:·Seems·of·limited·value,·as·touch·input·tends·to·have
191 ·····different·semantics·compared·to·mouse·input.186 ·····different·semantics·compared·to·mouse·input.
192 Examples:187 Examples:
193 ····*·ex_lockbitmap.c188 ····*·ex_lockbitmap.c
194 ····*·ex_haiku.c189 ····*·ex_haiku.c
195 ····*·ex_prim_shader.c190 ····*·ex_prim_shader.c
196 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC191 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:14·UTC
3.74 KB
./usr/share/doc/allegro5-doc/refman/transformations.html
    
Offset 278, 16 lines modifiedOffset 278, 15 lines modified
278 <span·id="cb4-11"><a·href="#cb4-11"·aria-hidden="true"·tabindex="-1"></a>al_use_transform<span·class="op">(&amp;</span>T<span·class="op">);</span></span></code></pre></div>278 <span·id="cb4-11"><a·href="#cb4-11"·aria-hidden="true"·tabindex="-1"></a>al_use_transform<span·class="op">(&amp;</span>T<span·class="op">);</span></span></code></pre></div>
279 <p>it·does·exactly·the·same·as:</p>279 <p>it·does·exactly·the·same·as:</p>
280 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a>al_identity_transform<span·class="op">(&amp;</span>T<span·class="op">);</span></span>280 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a>al_identity_transform<span·class="op">(&amp;</span>T<span·class="op">);</span></span>
281 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a>al_scale_transform<span·class="op">(&amp;</span>T<span·class="op">,</span>·<span·class="dv">2</span><span·class="op">,</span>·<span·class="dv">2</span><span·class="op">);</span></span>281 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a>al_scale_transform<span·class="op">(&amp;</span>T<span·class="op">,</span>·<span·class="dv">2</span><span·class="op">,</span>·<span·class="dv">2</span><span·class="op">);</span></span>
282 <span·id="cb5-3"><a·href="#cb5-3"·aria-hidden="true"·tabindex="-1"></a>al_translate_transform<span·class="op">(&amp;</span>T<span·class="op">,</span>·<span·class="dv">100</span><span·class="op">,</span>·<span·class="dv">0</span><span·class="op">);</span></span>282 <span·id="cb5-3"><a·href="#cb5-3"·aria-hidden="true"·tabindex="-1"></a>al_translate_transform<span·class="op">(&amp;</span>T<span·class="op">,</span>·<span·class="dv">100</span><span·class="op">,</span>·<span·class="dv">0</span><span·class="op">);</span></span>
283 <span·id="cb5-4"><a·href="#cb5-4"·aria-hidden="true"·tabindex="-1"></a>al_use_transform<span·class="op">(&amp;</span>T<span·class="op">);</span></span></code></pre></div>283 <span·id="cb5-4"><a·href="#cb5-4"·aria-hidden="true"·tabindex="-1"></a>al_use_transform<span·class="op">(&amp;</span>T<span·class="op">);</span></span></code></pre></div>
284 <h1·id="allegro_transform">ALLEGRO_TRANSFORM</h1>284 <h1·id="allegro_transform">ALLEGRO_TRANSFORM</h1>
285 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM<span·class="op">;</span></span>285 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM<span·class="op">;</span></span></code></pre></div>
286 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM<span·class="op">;</span></span></code></pre></div> 
287 <p><a286 <p><a
288 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/transformations.h#L12">Source287 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/transformations.h#L12">Source
289 Code</a></p>288 Code</a></p>
290 <p>Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms289 <p>Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms
291 use·only·a·small·subsection·of·this·matrix,·namely·the·top·left·2x2290 use·only·a·small·subsection·of·this·matrix,·namely·the·top·left·2x2
292 matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.</p>291 matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.</p>
293 <p><em>Fields:</em></p>292 <p><em>Fields:</em></p>
Offset 1060, 12 lines modifiedOffset 1059, 12 lines modified
1060 <li>theta·-·Rotation·angle·in·radians</li>1059 <li>theta·-·Rotation·angle·in·radians</li>
1061 </ul>1060 </ul>
1062 <p>Since:·5.1.7</p>1061 <p>Since:·5.1.7</p>
1063 <p>See·also:·<a1062 <p>See·also:·<a
1064 href="transformations.html#al_horizontal_shear_transform">al_horizontal_shear_transform</a></p>1063 href="transformations.html#al_horizontal_shear_transform">al_horizontal_shear_transform</a></p>
1065 <p·class="timestamp">1064 <p·class="timestamp">
1066 Allegro·version·5.2.81065 Allegro·version·5.2.8
1067 ·-·Last·updated:·2025-02-08·15:21:57·UTC1066 ·-·Last·updated:·2024-01-07·09:01:14·UTC
1068 </p>1067 </p>
1069 </div>1068 </div>
1070 </body>1069 </body>
1071 </html>1070 </html>
949 B
html2text {}
    
Offset 134, 15 lines modifiedOffset 134, 14 lines modified
134 it·does·exactly·the·same·as:134 it·does·exactly·the·same·as:
135 al_identity_transform(&T);135 al_identity_transform(&T);
136 al_scale_transform(&T,·2,·2);136 al_scale_transform(&T,·2,·2);
137 al_translate_transform(&T,·100,·0);137 al_translate_transform(&T,·100,·0);
138 al_use_transform(&T);138 al_use_transform(&T);
139 ******·ALLEGRO_TRANSFORM·******139 ******·ALLEGRO_TRANSFORM·******
140 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;140 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;
141 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM; 
142 Source_Code141 Source_Code
143 Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms·use·only·a142 Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms·use·only·a
144 small·subsection·of·this·matrix,·namely·the·top·left·2x2·matrix,·and·the·right143 small·subsection·of·this·matrix,·namely·the·top·left·2x2·matrix,·and·the·right
145 most·2x1·matrix,·for·a·total·of·6·values.144 most·2x1·matrix,·for·a·total·of·6·values.
146 Fields:145 Fields:
147 ····*·m·-·A·4x4·float·matrix146 ····*·m·-·A·4x4·float·matrix
148 Examples:147 Examples:
Offset 638, 8 lines modifiedOffset 637, 8 lines modified
638 Source_Code637 Source_Code
639 Apply·a·vertical·shear·to·the·transform638 Apply·a·vertical·shear·to·the·transform
640 Parameters:639 Parameters:
641 ····*·trans·-·Transformation·to·alter640 ····*·trans·-·Transformation·to·alter
642 ····*·theta·-·Rotation·angle·in·radians641 ····*·theta·-·Rotation·angle·in·radians
643 Since:·5.1.7642 Since:·5.1.7
644 See·also:·al_horizontal_shear_transform643 See·also:·al_horizontal_shear_transform
645 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC644 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:14·UTC
5.13 KB
./usr/share/doc/allegro5-doc/refman/utf8.html
    
Offset 358, 16 lines modifiedOffset 358, 15 lines modified
358 <p>For·actual·text·processing,·where·you·want·to·specify·positions·with358 <p>For·actual·text·processing,·where·you·want·to·specify·positions·with
359 code·point·indices,·you·should·use·<a359 code·point·indices,·you·should·use·<a
360 href="utf8.html#al_ustr_offset">al_ustr_offset</a>·to·find·the·code·unit360 href="utf8.html#al_ustr_offset">al_ustr_offset</a>·to·find·the·code·unit
361 offset·position.·However,·most·of·the·time·you·would·probably·just·work361 offset·position.·However,·most·of·the·time·you·would·probably·just·work
362 with·byte·offsets.</p>362 with·byte·offsets.</p>
363 <h1·id="utf-8-string-types">UTF-8·string·types</h1>363 <h1·id="utf-8-string-types">UTF-8·string·types</h1>
364 <h2·id="allegro_ustr">ALLEGRO_USTR</h2>364 <h2·id="allegro_ustr">ALLEGRO_USTR</h2>
365 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·_al_tagbstring·ALLEGRO_USTR<span·class="op">;</span></span>365 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·_al_tagbstring·ALLEGRO_USTR<span·class="op">;</span></span></code></pre></div>
366 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·_al_tagbstring·ALLEGRO_USTR<span·class="op">;</span></span></code></pre></div> 
367 <p><a366 <p><a
368 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L12">Source367 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L12">Source
369 Code</a></p>368 Code</a></p>
370 <p>An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain369 <p>An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain
371 UTF-8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,370 UTF-8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,
372 including·NULs.</p>371 including·NULs.</p>
373 <p>Examples:</p>372 <p>Examples:</p>
Offset 376, 16 lines modifiedOffset 375, 15 lines modified
376 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_multiline.cpp#L248">ex_font_multiline.cpp</a></li>375 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_multiline.cpp#L248">ex_font_multiline.cpp</a></li>
377 <li><a376 <li><a
378 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L39">nihgui.cpp</a></li>377 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L39">nihgui.cpp</a></li>
379 <li><a378 <li><a
380 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend.c#L57">ex_blend.c</a></li>379 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend.c#L57">ex_blend.c</a></li>
381 </ul>380 </ul>
382 <h2·id="allegro_ustr_info">ALLEGRO_USTR_INFO</h2>381 <h2·id="allegro_ustr_info">ALLEGRO_USTR_INFO</h2>
383 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·_al_tagbstring·ALLEGRO_USTR_INFO<span·class="op">;</span></span>382 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·_al_tagbstring·ALLEGRO_USTR_INFO<span·class="op">;</span></span></code></pre></div>
384 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">struct</span>·_al_tagbstring·ALLEGRO_USTR_INFO<span·class="op">;</span></span></code></pre></div> 
385 <p><a383 <p><a
386 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L16">Source384 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L16">Source
387 Code</a></p>385 Code</a></p>
388 <p>A·type·that·holds·additional·information·for·an·<a386 <p>A·type·that·holds·additional·information·for·an·<a
389 href="utf8.html#allegro_ustr">ALLEGRO_USTR</a>·that·references·an387 href="utf8.html#allegro_ustr">ALLEGRO_USTR</a>·that·references·an
390 external·memory·buffer.</p>388 external·memory·buffer.</p>
391 <p>See·also:·<a·href="utf8.html#al_ref_cstr">al_ref_cstr</a>,·<a389 <p>See·also:·<a·href="utf8.html#al_ref_cstr">al_ref_cstr</a>,·<a
Offset 1613, 12 lines modifiedOffset 1611, 12 lines modified
1613 points·above·0x10FFFF.</p>1611 points·above·0x10FFFF.</p>
1614 <p>Returns·the·number·of·bytes·written,·which·is·the·same·as·that1612 <p>Returns·the·number·of·bytes·written,·which·is·the·same·as·that
1615 returned·by·<a·href="utf8.html#al_utf16_width">al_utf16_width</a>.</p>1613 returned·by·<a·href="utf8.html#al_utf16_width">al_utf16_width</a>.</p>
1616 <p>See·also:·<a·href="utf8.html#al_utf8_encode">al_utf8_encode</a>,·<a1614 <p>See·also:·<a·href="utf8.html#al_utf8_encode">al_utf8_encode</a>,·<a
1617 href="utf8.html#al_ustr_encode_utf16">al_ustr_encode_utf16</a></p>1615 href="utf8.html#al_ustr_encode_utf16">al_ustr_encode_utf16</a></p>
1618 <p·class="timestamp">1616 <p·class="timestamp">
1619 Allegro·version·5.2.81617 Allegro·version·5.2.8
1620 ·-·Last·updated:·2025-02-08·15:21:57·UTC1618 ·-·Last·updated:·2024-01-07·09:01:14·UTC
1621 </p>1619 </p>
1622 </div>1620 </div>
1623 </body>1621 </body>
1624 </html>1622 </html>
1.58 KB
html2text {}
    
Offset 195, 26 lines modifiedOffset 195, 24 lines modified
195 actually·store·arbitrary·data·in·the·ALLEGRO_USTRs.)195 actually·store·arbitrary·data·in·the·ALLEGRO_USTRs.)
196 For·actual·text·processing,·where·you·want·to·specify·positions·with·code·point196 For·actual·text·processing,·where·you·want·to·specify·positions·with·code·point
197 indices,·you·should·use·al_ustr_offset·to·find·the·code·unit·offset·position.197 indices,·you·should·use·al_ustr_offset·to·find·the·code·unit·offset·position.
198 However,·most·of·the·time·you·would·probably·just·work·with·byte·offsets.198 However,·most·of·the·time·you·would·probably·just·work·with·byte·offsets.
199 ******·UTF-8·string·types·******199 ******·UTF-8·string·types·******
200 *****·ALLEGRO_USTR·*****200 *****·ALLEGRO_USTR·*****
201 typedef·struct·_al_tagbstring·ALLEGRO_USTR;201 typedef·struct·_al_tagbstring·ALLEGRO_USTR;
202 typedef·struct·_al_tagbstring·ALLEGRO_USTR; 
203 Source_Code202 Source_Code
204 An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain·UTF-203 An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain·UTF-
205 8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,·including204 8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,·including
206 NULs.205 NULs.
207 Examples:206 Examples:
208 ····*·ex_font_multiline.cpp207 ····*·ex_font_multiline.cpp
209 ····*·nihgui.cpp208 ····*·nihgui.cpp
210 ····*·ex_blend.c209 ····*·ex_blend.c
211 *****·ALLEGRO_USTR_INFO·*****210 *****·ALLEGRO_USTR_INFO·*****
212 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;211 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;
213 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO; 
214 Source_Code212 Source_Code
215 A·type·that·holds·additional·information·for·an·ALLEGRO_USTR·that·references·an213 A·type·that·holds·additional·information·for·an·ALLEGRO_USTR·that·references·an
216 external·memory·buffer.214 external·memory·buffer.
217 See·also:·al_ref_cstr,·al_ref_buffer·and·al_ref_ustr.215 See·also:·al_ref_cstr,·al_ref_buffer·and·al_ref_ustr.
218 Examples:216 Examples:
219 ····*·ex_font_multiline.cpp217 ····*·ex_font_multiline.cpp
220 ····*·nihgui.cpp218 ····*·nihgui.cpp
Offset 917, 8 lines modifiedOffset 915, 8 lines modified
917 Source_Code915 Source_Code
918 Encode·the·specified·code·point·to·UTF-16·into·the·buffer·s.·The·buffer·must916 Encode·the·specified·code·point·to·UTF-16·into·the·buffer·s.·The·buffer·must
919 have·enough·space·to·hold·the·encoding,·which·takes·either·2·or·4·bytes.·This917 have·enough·space·to·hold·the·encoding,·which·takes·either·2·or·4·bytes.·This
920 routine·will·refuse·to·encode·code·points·above·0x10FFFF.918 routine·will·refuse·to·encode·code·points·above·0x10FFFF.
921 Returns·the·number·of·bytes·written,·which·is·the·same·as·that·returned·by919 Returns·the·number·of·bytes·written,·which·is·the·same·as·that·returned·by
922 al_utf16_width.920 al_utf16_width.
923 See·also:·al_utf8_encode,·al_ustr_encode_utf16921 See·also:·al_utf8_encode,·al_ustr_encode_utf16
924 Allegro·version·5.2.8·-·Last·updated:·2025-02-08·15:21:57·UTC922 Allegro·version·5.2.8·-·Last·updated:·2024-01-07·09:01:14·UTC
39.7 KB
./usr/share/doc/allegro5-doc/refman/video.html
    
Offset 205, 16 lines modifiedOffset 205, 15 lines modified
205 allegro_video.</p>205 allegro_video.</p>
206 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_video.h&gt;</span></span></code></pre></div>206 <div·class="sourceCode"·id="cb1"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb1-1"><a·href="#cb1-1"·aria-hidden="true"·tabindex="-1"></a>·<span·class="pp">#include·</span><span·class="im">&lt;allegro5/allegro_video.h&gt;</span></span></code></pre></div>
207 <p>Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·<a207 <p>Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·<a
208 href="http://xiph.org/"·class="uri">http://xiph.org/</a>·for208 href="http://xiph.org/"·class="uri">http://xiph.org/</a>·for
209 installation·instructions,·licensing·information·and·supported·video209 installation·instructions,·licensing·information·and·supported·video
210 formats.</p>210 formats.</p>
211 <h1·id="allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</h1>211 <h1·id="allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</h1>
212 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_VIDEO_EVENT_TYPE</span>212 <div·class="sourceCode"·id="cb2"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb2-1"><a·href="#cb2-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_VIDEO_EVENT_TYPE</span></code></pre></div>
213 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">enum</span>·ALLEGRO_VIDEO_EVENT_TYPE</span></code></pre></div> 
214 <p><a213 <p><a
215 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L35">Source214 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L35">Source
216 Code</a></p>215 Code</a></p>
217 <p>Events·sent·by·<a216 <p>Events·sent·by·<a
218 href="video.html#al_get_video_event_source">al_get_video_event_source</a>.</p>217 href="video.html#al_get_video_event_source">al_get_video_event_source</a>.</p>
219 <h2218 <h2
220 id="allegro_event_video_frame_show">ALLEGRO_EVENT_VIDEO_FRAME_SHOW</h2>219 id="allegro_event_video_frame_show">ALLEGRO_EVENT_VIDEO_FRAME_SHOW</h2>
Offset 239, 16 lines modifiedOffset 238, 15 lines modified
239 <dt>user.data1·(ALLEGRO_VIDEO·*)</dt>238 <dt>user.data1·(ALLEGRO_VIDEO·*)</dt>
240 <dd>239 <dd>
241 The·video·which·generated·the·event.240 The·video·which·generated·the·event.
242 </dd>241 </dd>
243 </dl>242 </dl>
244 <p>Since:·5.1.0</p>243 <p>Since:·5.1.0</p>
245 <h1·id="allegro_video_position_type">ALLEGRO_VIDEO_POSITION_TYPE</h1>244 <h1·id="allegro_video_position_type">ALLEGRO_VIDEO_POSITION_TYPE</h1>
246 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE<span·class="op">;</span></span>245 <div·class="sourceCode"·id="cb3"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb3-1"><a·href="#cb3-1"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE<span·class="op">;</span></span></code></pre></div>
247 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE<span·class="op">;</span></span></code></pre></div> 
248 <p><a246 <p><a
249 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L51">Source247 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L51">Source
250 Code</a></p>248 Code</a></p>
251 <p>Used·with·<a249 <p>Used·with·<a
252 href="video.html#al_get_video_position">al_get_video_position</a>·to250 href="video.html#al_get_video_position">al_get_video_position</a>·to
253 specify·which·position·to·retrieve.·If·these·get·out·of·sync,·audio·and251 specify·which·position·to·retrieve.·If·these·get·out·of·sync,·audio·and
254 video·may·be·out·of·sync·in·the·display·of·the·video.</p>252 video·may·be·out·of·sync·in·the·display·of·the·video.</p>
Offset 262, 86 lines modifiedOffset 260, 79 lines modified
262 <li><p>ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that260 <li><p>ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that
263 has·been·decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL261 has·been·decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL
264 if·audio·decode·is·driving·the·position,·which·is·common·to·keep·audio262 if·audio·decode·is·driving·the·position,·which·is·common·to·keep·audio
265 and·video·in·sync.</p></li>263 and·video·in·sync.</p></li>
266 </ul>264 </ul>
267 <p>Since:·5.1.11</p>265 <p>Since:·5.1.11</p>
268 <h1·id="al_init_video_addon">al_init_video_addon</h1>266 <h1·id="al_init_video_addon">al_init_video_addon</h1>
269 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>267 <div·class="sourceCode"·id="cb4"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb4-1"><a·href="#cb4-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
270 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_init_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
271 <p><a268 <p><a
272 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L268">Source269 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L268">Source
273 Code</a></p>270 Code</a></p>
274 <p>Initializes·the·video·addon.</p>271 <p>Initializes·the·video·addon.</p>
275 <p>Since:·5.1.12</p>272 <p>Since:·5.1.12</p>
276 <p>Examples:</p>273 <p>Examples:</p>
277 <ul>274 <ul>
278 <li><a275 <li><a
279 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L114">ex_video.c</a></li>276 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L114">ex_video.c</a></li>
280 </ul>277 </ul>
281 <h1278 <h1
282 id="al_is_video_addon_initialized">al_is_video_addon_initialized</h1>279 id="al_is_video_addon_initialized">al_is_video_addon_initialized</h1>
283 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_video_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>280 <div·class="sourceCode"·id="cb5"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb5-1"><a·href="#cb5-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_video_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
284 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">bool</span>·al_is_video_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
285 <p><a281 <p><a
286 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L290">Source282 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L290">Source
287 Code</a></p>283 Code</a></p>
288 <p>Returns·true·if·the·video·addon·is·initialized,·otherwise·returns284 <p>Returns·true·if·the·video·addon·is·initialized,·otherwise·returns
289 false.</p>285 false.</p>
290 <p>Since:·5.2.6</p>286 <p>Since:·5.2.6</p>
291 <h1·id="al_shutdown_video_addon">al_shutdown_video_addon</h1>287 <h1·id="al_shutdown_video_addon">al_shutdown_video_addon</h1>
292 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>288 <div·class="sourceCode"·id="cb6"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb6-1"><a·href="#cb6-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
293 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">void</span>·al_shutdown_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
294 <p><a289 <p><a
295 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L298">Source290 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L298">Source
296 Code</a></p>291 Code</a></p>
297 <p>Shut·down·the·video·addon.·This·is·done·automatically·at·program292 <p>Shut·down·the·video·addon.·This·is·done·automatically·at·program
298 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>293 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>
299 <p>Since:·5.1.12</p>294 <p>Since:·5.1.12</p>
300 <h1·id="al_get_allegro_video_version">al_get_allegro_video_version</h1>295 <h1·id="al_get_allegro_video_version">al_get_allegro_video_version</h1>
301 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_video_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>296 <div·class="sourceCode"·id="cb7"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb7-1"><a·href="#cb7-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_video_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>
302 <span·id="cb7-2"><a·href="#cb7-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">uint32_t</span>·al_get_allegro_video_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div> 
303 <p><a297 <p><a
304 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L311">Source298 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L311">Source
305 Code</a></p>299 Code</a></p>
306 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a300 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
307 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>301 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
308 <p>Since:·5.1.12</p>302 <p>Since:·5.1.12</p>
309 <h1·id="al_open_video">al_open_video</h1>303 <h1·id="al_open_video">al_open_video</h1>
310 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_VIDEO·<span·class="op">*</span>al_open_video<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">)</span></span>304 <div·class="sourceCode"·id="cb8"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb8-1"><a·href="#cb8-1"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_VIDEO·<span·class="op">*</span>al_open_video<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">)</span></span></code></pre></div>
311 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a>ALLEGRO_VIDEO·<span·class="op">*</span>al_open_video<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">)</span></span></code></pre></div> 
312 <p><a305 <p><a
313 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L98">Source306 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L98">Source
314 Code</a></p>307 Code</a></p>
315 <p>Reads·a·video·file.·This·does·not·start·streaming·yet·but·reads·the308 <p>Reads·a·video·file.·This·does·not·start·streaming·yet·but·reads·the
316 meta·info·so·you·can·query·e.g. the·size·or·audio·rate.</p>309 meta·info·so·you·can·query·e.g. the·size·or·audio·rate.</p>
317 <p>Since:·5.1.0</p>310 <p>Since:·5.1.0</p>
318 <p>Examples:</p>311 <p>Examples:</p>
319 <ul>312 <ul>
320 <li><a313 <li><a
321 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L141">ex_video.c</a></li>314 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L141">ex_video.c</a></li>
322 </ul>315 </ul>
323 <h1·id="al_identify_video">al_identify_video</h1>316 <h1·id="al_identify_video">al_identify_video</h1>
324 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>al_identify_video<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">)</span></span>317 <div·class="sourceCode"·id="cb9"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb9-1"><a·href="#cb9-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>al_identify_video<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">)</span></span></code></pre></div>
325 <span·id="cb9-2"><a·href="#cb9-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>al_identify_video<span·class="op">(</span><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>filename<span·class="op">)</span></span></code></pre></div> 
326 <p><a318 <p><a
327 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L327">Source319 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L327">Source
328 Code</a></p>320 Code</a></p>
329 <p>This·works·exactly·as·<a321 <p>This·works·exactly·as·<a
330 href="video.html#al_identify_video_f">al_identify_video_f</a>·but·you322 href="video.html#al_identify_video_f">al_identify_video_f</a>·but·you
331 specify·the·filename·of·the·file·for·which·to·detect·the·type·and·not·a323 specify·the·filename·of·the·file·for·which·to·detect·the·type·and·not·a
332 file·handle.·The·extension,·if·any,·of·the·passed·filename·is·not·taken324 file·handle.·The·extension,·if·any,·of·the·passed·filename·is·not·taken
333 into·account·-·only·the·file·contents.</p>325 into·account·-·only·the·file·contents.</p>
334 <p>Since:·5.2.8</p>326 <p>Since:·5.2.8</p>
335 <p>See·also:·<a327 <p>See·also:·<a
336 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a328 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a
337 href="video.html#al_identify_video_f">al_identify_video_f</a></p>329 href="video.html#al_identify_video_f">al_identify_video_f</a></p>
338 <h1·id="al_identify_video_f">al_identify_video_f</h1>330 <h1·id="al_identify_video_f">al_identify_video_f</h1>
339 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>al_identify_video_f<span·class="op">(</span>ALLEGRO_FILE·<span·class="op">*</span>fp<span·class="op">)</span></span>331 <div·class="sourceCode"·id="cb10"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb10-1"><a·href="#cb10-1"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>al_identify_video_f<span·class="op">(</span>ALLEGRO_FILE·<span·class="op">*</span>fp<span·class="op">)</span></span></code></pre></div>
340 <span·id="cb10-2"><a·href="#cb10-2"·aria-hidden="true"·tabindex="-1"></a><span·class="dt">char</span>·<span·class="dt">const</span>·<span·class="op">*</span>al_identify_video_f<span·class="op">(</span>ALLEGRO_FILE·<span·class="op">*</span>fp<span·class="op">)</span></span></code></pre></div> 
341 <p><a332 <p><a
342 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L319">Source333 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L319">Source
343 Code</a></p>334 Code</a></p>
344 <p>Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by335 <p>Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by
345 reading·the·first·few·bytes.·By·default·Allegro·cannot·recognize·any336 reading·the·first·few·bytes.·By·default·Allegro·cannot·recognize·any
346 file·types,·but·calling·<a337 file·types,·but·calling·<a
347 href="video.html#al_init_video_addon">al_init_video_addon</a>·will·add338 href="video.html#al_init_video_addon">al_init_video_addon</a>·will·add
Offset 350, 120 lines modifiedOffset 341, 111 lines modified
350 type,·including·the·leading·dot.·For·example·“.ogv”.·Returns·NULL·if·the341 type,·including·the·leading·dot.·For·example·“.ogv”.·Returns·NULL·if·the
351 video·type·cannot·be·determined.</p>342 video·type·cannot·be·determined.</p>
352 <p>Since:·5.2.8</p>343 <p>Since:·5.2.8</p>
353 <p>See·also:·<a344 <p>See·also:·<a
354 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a345 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a
355 href="video.html#al_identify_video">al_identify_video</a></p>346 href="video.html#al_identify_video">al_identify_video</a></p>
Max diff block lines reached; 18739/31776 bytes (58.97%) of diff not shown.
8.54 KB
html2text {}
    
Offset 74, 15 lines modifiedOffset 74, 14 lines modified
74 These·functions·are·declared·in·the·following·header·file.·Link·with74 These·functions·are·declared·in·the·following·header·file.·Link·with
75 allegro_video.75 allegro_video.
76 ·#include·<allegro5/allegro_video.h>76 ·#include·<allegro5/allegro_video.h>
77 Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·http://xiph.org/·for77 Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·http://xiph.org/·for
78 installation·instructions,·licensing·information·and·supported·video·formats.78 installation·instructions,·licensing·information·and·supported·video·formats.
79 ******·ALLEGRO_VIDEO_EVENT_TYPE·******79 ******·ALLEGRO_VIDEO_EVENT_TYPE·******
80 enum·ALLEGRO_VIDEO_EVENT_TYPE80 enum·ALLEGRO_VIDEO_EVENT_TYPE
81 enum·ALLEGRO_VIDEO_EVENT_TYPE 
82 Source_Code81 Source_Code
83 Events·sent·by·al_get_video_event_source.82 Events·sent·by·al_get_video_event_source.
84 *****·ALLEGRO_EVENT_VIDEO_FRAME_SHOW·*****83 *****·ALLEGRO_EVENT_VIDEO_FRAME_SHOW·*****
85 This·event·is·sent·when·it·is·time·to·show·a·new·frame.·Once·you·receive·this84 This·event·is·sent·when·it·is·time·to·show·a·new·frame.·Once·you·receive·this
86 event,·you·can·draw·the·current·frame·(as·returned·by·al_get_video_frame).85 event,·you·can·draw·the·current·frame·(as·returned·by·al_get_video_frame).
87 al_get_video_frame·will·continue·returning·the·same·frame·until·the·next86 al_get_video_frame·will·continue·returning·the·same·frame·until·the·next
88 ALLEGRO_EVENT_VIDEO_FRAME_SHOW·is·sent.87 ALLEGRO_EVENT_VIDEO_FRAME_SHOW·is·sent.
Offset 94, 15 lines modifiedOffset 93, 14 lines modified
94 be·possible·to·seek·to·an·earlier·part·of·the·video·and·set·the·video·to·play93 be·possible·to·seek·to·an·earlier·part·of·the·video·and·set·the·video·to·play
95 to·resume·playback.94 to·resume·playback.
96 ··user.data1·(ALLEGRO_VIDEO·*)95 ··user.data1·(ALLEGRO_VIDEO·*)
97 ······The·video·which·generated·the·event.96 ······The·video·which·generated·the·event.
98 Since:·5.1.097 Since:·5.1.0
99 ******·ALLEGRO_VIDEO_POSITION_TYPE·******98 ******·ALLEGRO_VIDEO_POSITION_TYPE·******
100 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;99 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;
101 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE; 
102 Source_Code100 Source_Code
103 Used·with·al_get_video_position·to·specify·which·position·to·retrieve.·If·these101 Used·with·al_get_video_position·to·specify·which·position·to·retrieve.·If·these
104 get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the·display·of·the102 get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the·display·of·the
105 video.103 video.
106 ····*·ALLEGRO_VIDEO_POSITION_ACTUAL·-·The·amount·of·time·the·video·has·been104 ····*·ALLEGRO_VIDEO_POSITION_ACTUAL·-·The·amount·of·time·the·video·has·been
107 ······playing.·If·the·video·has·audio·then·this·value·can·be·ahead·of105 ······playing.·If·the·video·has·audio·then·this·value·can·be·ahead·of
108 ······ALLEGRO_VIDEO_POSITION_VIDEO_DECODE·when·video·decoding·lags.106 ······ALLEGRO_VIDEO_POSITION_VIDEO_DECODE·when·video·decoding·lags.
Offset 112, 160 lines modifiedOffset 110, 142 lines modified
112 ····*·ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that·has·been110 ····*·ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that·has·been
113 ······decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL·if·audio111 ······decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL·if·audio
114 ······decode·is·driving·the·position,·which·is·common·to·keep·audio·and·video112 ······decode·is·driving·the·position,·which·is·common·to·keep·audio·and·video
115 ······in·sync.113 ······in·sync.
116 Since:·5.1.11114 Since:·5.1.11
117 ******·al_init_video_addon·******115 ******·al_init_video_addon·******
118 bool·al_init_video_addon(void)116 bool·al_init_video_addon(void)
119 bool·al_init_video_addon(void) 
120 Source_Code117 Source_Code
121 Initializes·the·video·addon.118 Initializes·the·video·addon.
122 Since:·5.1.12119 Since:·5.1.12
123 Examples:120 Examples:
124 ····*·ex_video.c121 ····*·ex_video.c
125 ******·al_is_video_addon_initialized·******122 ******·al_is_video_addon_initialized·******
126 bool·al_is_video_addon_initialized(void)123 bool·al_is_video_addon_initialized(void)
127 bool·al_is_video_addon_initialized(void) 
128 Source_Code124 Source_Code
129 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.125 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.
130 Since:·5.2.6126 Since:·5.2.6
131 ******·al_shutdown_video_addon·******127 ******·al_shutdown_video_addon·******
132 void·al_shutdown_video_addon(void)128 void·al_shutdown_video_addon(void)
133 void·al_shutdown_video_addon(void) 
134 Source_Code129 Source_Code
135 Shut·down·the·video·addon.·This·is·done·automatically·at·program·exit,·but·can130 Shut·down·the·video·addon.·This·is·done·automatically·at·program·exit,·but·can
136 be·called·any·time·the·user·wishes·as·well.131 be·called·any·time·the·user·wishes·as·well.
137 Since:·5.1.12132 Since:·5.1.12
138 ******·al_get_allegro_video_version·******133 ******·al_get_allegro_video_version·******
139 uint32_t·al_get_allegro_video_version(void)134 uint32_t·al_get_allegro_video_version(void)
140 uint32_t·al_get_allegro_video_version(void) 
141 Source_Code135 Source_Code
142 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as136 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
143 al_get_allegro_version.137 al_get_allegro_version.
144 Since:·5.1.12138 Since:·5.1.12
145 ******·al_open_video·******139 ******·al_open_video·******
146 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)140 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)
147 ALLEGRO_VIDEO·*al_open_video(char·const·*filename) 
148 Source_Code141 Source_Code
149 Reads·a·video·file.·This·does·not·start·streaming·yet·but·reads·the·meta·info142 Reads·a·video·file.·This·does·not·start·streaming·yet·but·reads·the·meta·info
150 so·you·can·query·e.g. the·size·or·audio·rate.143 so·you·can·query·e.g. the·size·or·audio·rate.
151 Since:·5.1.0144 Since:·5.1.0
152 Examples:145 Examples:
153 ····*·ex_video.c146 ····*·ex_video.c
154 ******·al_identify_video·******147 ******·al_identify_video·******
155 char·const·*al_identify_video(char·const·*filename)148 char·const·*al_identify_video(char·const·*filename)
156 char·const·*al_identify_video(char·const·*filename) 
157 Source_Code149 Source_Code
158 This·works·exactly·as·al_identify_video_f·but·you·specify·the·filename·of·the150 This·works·exactly·as·al_identify_video_f·but·you·specify·the·filename·of·the
159 file·for·which·to·detect·the·type·and·not·a·file·handle.·The·extension,·if·any,151 file·for·which·to·detect·the·type·and·not·a·file·handle.·The·extension,·if·any,
160 of·the·passed·filename·is·not·taken·into·account·-·only·the·file·contents.152 of·the·passed·filename·is·not·taken·into·account·-·only·the·file·contents.
161 Since:·5.2.8153 Since:·5.2.8
162 See·also:·al_init_video_addon,·al_identify_video_f154 See·also:·al_init_video_addon,·al_identify_video_f
163 ******·al_identify_video_f·******155 ******·al_identify_video_f·******
164 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)156 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)
165 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp) 
166 Source_Code157 Source_Code
167 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading·the158 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading·the
168 first·few·bytes.·By·default·Allegro·cannot·recognize·any·file·types,·but159 first·few·bytes.·By·default·Allegro·cannot·recognize·any·file·types,·but
169 calling·al_init_video_addon·will·add·detection·of·the·types·it·can·read.160 calling·al_init_video_addon·will·add·detection·of·the·types·it·can·read.
170 Returns·a·pointer·to·a·static·string·with·a·file·extension·for·the·type,161 Returns·a·pointer·to·a·static·string·with·a·file·extension·for·the·type,
171 including·the·leading·dot.·For·example·â€œ.ogv”.·Returns·NULL·if·the·video162 including·the·leading·dot.·For·example·â€œ.ogv”.·Returns·NULL·if·the·video
172 type·cannot·be·determined.163 type·cannot·be·determined.
173 Since:·5.2.8164 Since:·5.2.8
174 See·also:·al_init_video_addon,·al_identify_video165 See·also:·al_init_video_addon,·al_identify_video
175 ******·al_close_video·******166 ******·al_close_video·******
176 void·al_close_video(ALLEGRO_VIDEO·*video)167 void·al_close_video(ALLEGRO_VIDEO·*video)
177 void·al_close_video(ALLEGRO_VIDEO·*video) 
178 Source_Code168 Source_Code
179 Closes·the·video·and·frees·all·allocated·resources.·The·video·pointer·is169 Closes·the·video·and·frees·all·allocated·resources.·The·video·pointer·is
180 invalid·after·the·function·returns.170 invalid·after·the·function·returns.
181 Since:·5.1.0171 Since:·5.1.0
182 Examples:172 Examples:
183 ····*·ex_video.c173 ····*·ex_video.c
184 ******·al_start_video·******174 ******·al_start_video·******
185 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)175 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)
186 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer) 
187 Source_Code176 Source_Code
188 Starts·streaming·the·video·from·the·beginning.177 Starts·streaming·the·video·from·the·beginning.
189 Since:·5.1.0178 Since:·5.1.0
190 Examples:179 Examples:
191 ····*·ex_video.c180 ····*·ex_video.c
192 ******·al_start_video_with_voice·******181 ******·al_start_video_with_voice·******
193 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)182 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)
194 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice) 
195 Source_Code183 Source_Code
196 Like·al_start_video·but·audio·is·routed·to·the·provided·voice.184 Like·al_start_video·but·audio·is·routed·to·the·provided·voice.
197 Since:·5.1.0185 Since:·5.1.0
198 ******·al_get_video_event_source·******186 ******·al_get_video_event_source·******
199 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)187 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)
200 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video) 
201 Source_Code188 Source_Code
202 Get·an·event·source·for·the·video.·The·possible·events·are·described·under189 Get·an·event·source·for·the·video.·The·possible·events·are·described·under
203 ALLEGRO_VIDEO_EVENT_TYPE.190 ALLEGRO_VIDEO_EVENT_TYPE.
204 Since:·5.1.0191 Since:·5.1.0
205 Examples:192 Examples:
206 ····*·ex_video.c193 ····*·ex_video.c
Max diff block lines reached; 3334/8720 bytes (38.23%) of diff not shown.
523 B
./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz
421 B
ALLEGRO_AUDIO_DEPTH.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 enum·ALLEGRO_AUDIO_DEPTH27 enum·ALLEGRO_AUDIO_DEPTH
28 enum·ALLEGRO_AUDIO_DEPTH 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Sample·depth·and·type·as·well·as·signedness.32 Sample·depth·and·type·as·well·as·signedness.
34 Mixers·only·use·32-bit·signed·float·(-1..+1),·or·16-bit·signed·integers.33 Mixers·only·use·32-bit·signed·float·(-1..+1),·or·16-bit·signed·integers.
35 Signedness·is·determined·by·an·\[lq]unsigned\[rq]·bit-flag·applied·to34 Signedness·is·determined·by·an·\[lq]unsigned\[rq]·bit-flag·applied·to
455 B
./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz
351 B
ALLEGRO_AUDIO_DEVICE.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_AUDIO_DEVICE·ALLEGRO_AUDIO_DEVICE;27 typedef·struct·ALLEGRO_AUDIO_DEVICE·ALLEGRO_AUDIO_DEVICE;
28 typedef·struct·ALLEGRO_AUDIO_DEVICE·ALLEGRO_AUDIO_DEVICE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·datatype·that·represents·an·audio·device.32 An·opaque·datatype·that·represents·an·audio·device.
510 B
./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz
398 B
ALLEGRO_AUDIO_EVENT_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 enum·ALLEGRO_AUDIO_EVENT_TYPE27 enum·ALLEGRO_AUDIO_EVENT_TYPE
28 enum·ALLEGRO_AUDIO_EVENT_TYPE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Events·sent·by·al_get_audio_stream_event_source(3alleg5)·or32 Events·sent·by·al_get_audio_stream_event_source(3alleg5)·or
34 al_get_audio_recorder_event_source(3alleg5).33 al_get_audio_recorder_event_source(3alleg5).
35 .SS·ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT34 .SS·ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT
540 B
./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz
432 B
ALLEGRO_AUDIO_PAN_NONE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 #define·ALLEGRO_AUDIO_PAN_NONE······(-1000.0f)27 #define·ALLEGRO_AUDIO_PAN_NONE······(-1000.0f)
28 #define·ALLEGRO_AUDIO_PAN_NONE······(-1000.0f) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·special·value·for·the·pan·property·of·sample·instances·and·audio32 A·special·value·for·the·pan·property·of·sample·instances·and·audio
34 streams.33 streams.
35 Use·this·value·to·disable·panning·on·sample·instances·and·audio·streams,34 Use·this·value·to·disable·panning·on·sample·instances·and·audio·streams,
490 B
./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz
382 B
ALLEGRO_AUDIO_RECORDER.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_AUDIO_RECORDER·ALLEGRO_AUDIO_RECORDER;27 typedef·struct·ALLEGRO_AUDIO_RECORDER·ALLEGRO_AUDIO_RECORDER;
28 typedef·struct·ALLEGRO_AUDIO_RECORDER·ALLEGRO_AUDIO_RECORDER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·datatype·that·represents·a·recording·device.32 An·opaque·datatype·that·represents·a·recording·device.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
564 B
./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz
444 B
ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_AUDIO_RECORDER_EVENT·ALLEGRO_AUDIO_RECORDER_EVENT;27 typedef·struct·ALLEGRO_AUDIO_RECORDER_EVENT·ALLEGRO_AUDIO_RECORDER_EVENT;
28 typedef·struct·ALLEGRO_AUDIO_RECORDER_EVENT·ALLEGRO_AUDIO_RECORDER_EVENT; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Structure·that·holds·the·audio·recorder·event·data.32 Structure·that·holds·the·audio·recorder·event·data.
34 Every·event·type·will·contain:33 Every·event·type·will·contain:
35 .IP·\[bu]·234 .IP·\[bu]·2
576 B
./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz
472 B
ALLEGRO_AUDIO_STREAM.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_AUDIO_STREAM·ALLEGRO_AUDIO_STREAM;27 typedef·struct·ALLEGRO_AUDIO_STREAM·ALLEGRO_AUDIO_STREAM;
28 typedef·struct·ALLEGRO_AUDIO_STREAM·ALLEGRO_AUDIO_STREAM; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_AUDIO_STREAM·object·is·used·to·stream·generated·audio·to·the32 An·ALLEGRO_AUDIO_STREAM·object·is·used·to·stream·generated·audio·to·the
34 sound·device,·in·real-time.33 sound·device,·in·real-time.
35 This·is·done·by·reading·from·a·buffer,·which·is·split·into·a·number·of34 This·is·done·by·reading·from·a·buffer,·which·is·split·into·a·number·of
397 B
./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz
305 B
ALLEGRO_BITMAP.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;27 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;
28 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Abstract·type·representing·a·bitmap·(2D·image).32 Abstract·type·representing·a·bitmap·(2D·image).
486 B
./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz
384 B
ALLEGRO_BITMAP_WRAP.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_BITMAP_WRAP·{27 typedef·enum·ALLEGRO_BITMAP_WRAP·{
28 typedef·enum·ALLEGRO_BITMAP_WRAP·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying32 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying
34 the·texture·coordinates·are·outside·the·usual·bounds.33 the·texture·coordinates·are·outside·the·usual·bounds.
35 .IP·\[bu]·234 .IP·\[bu]·2
416 B
./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz
314 B
ALLEGRO_BPM_TO_SECS.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))27 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))
28 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x)) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Convert·beats·per·minute·to·seconds.32 Convert·beats·per·minute·to·seconds.
414 B
./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz
312 B
ALLEGRO_BPS_TO_SECS.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))27 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))
28 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x)) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Convert·beats·per·second·to·seconds.32 Convert·beats·per·second·to·seconds.
424 B
./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz
320 B
ALLEGRO_CHANNEL_CONF.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 enum·ALLEGRO_CHANNEL_CONF27 enum·ALLEGRO_CHANNEL_CONF
28 enum·ALLEGRO_CHANNEL_CONF 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Speaker·configuration·(mono,·stereo,·2.1,·etc).32 Speaker·configuration·(mono,·stereo,·2.1,·etc).
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_CHANNEL_CONF_134 ALLEGRO_CHANNEL_CONF_1
486 B
./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz
396 B
ALLEGRO_COLOR.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;27 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;
28 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent32 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent
34 way.33 way.
35 Use·al_map_rgb(3alleg5)·et·al.\·and·al_unmap_rgb(3alleg5)·et·al.\·to34 Use·al_map_rgb(3alleg5)·et·al.\·and·al_unmap_rgb(3alleg5)·et·al.\·to
388 B
./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz
300 B
ALLEGRO_COND.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;27 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;
28 typedef·struct·ALLEGRO_COND·ALLEGRO_COND; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·structure·representing·a·condition·variable.32 An·opaque·structure·representing·a·condition·variable.
386 B
./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz
294 B
ALLEGRO_CONFIG.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;27 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;
28 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·abstract·configuration·structure.32 An·abstract·configuration·structure.
494 B
./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz
390 B
ALLEGRO_CONFIG_ENTRY.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;27 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;
28 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration32 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration
34 section.33 section.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
513 B
./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz
405 B
ALLEGRO_CONFIG_SECTION.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;27 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;
28 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·structure·used·for·iterating·across·sections·in·a32 An·opaque·structure·used·for·iterating·across·sections·in·a
34 configuration·structure.33 configuration·structure.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
412 B
./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz
318 B
ALLEGRO_DISPLAY.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;27 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;
28 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·type·representing·an·open·display·or·window.32 An·opaque·type·representing·an·open·display·or·window.
450 B
./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz
346 B
ALLEGRO_DISPLAY_MODE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_DISPLAY_MODE27 typedef·struct·ALLEGRO_DISPLAY_MODE
28 typedef·struct·ALLEGRO_DISPLAY_MODE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Used·for·fullscreen·mode·queries.32 Used·for·fullscreen·mode·queries.
34 Contains·information·about·a·supported·fullscreen·modes.33 Contains·information·about·a·supported·fullscreen·modes.
35 .IP34 .IP
521 B
./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz
431 B
ALLEGRO_EVENT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;27 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;
28 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e.\·it·is32 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e.\·it·is
34 an·object·large·enough·to·hold·the·data·of·any·event·type.33 an·object·large·enough·to·hold·the·data·of·any·event·type.
35 All·events·have·the·following·fields·in·common:34 All·events·have·the·following·fields·in·common:
548 B
./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz
446 B
ALLEGRO_EVENT_QUEUE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;27 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;
28 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·event·queue·holds·events·that·have·been·generated·by·event·sources32 An·event·queue·holds·events·that·have·been·generated·by·event·sources
34 that·are·registered·with·the·queue.33 that·are·registered·with·the·queue.
35 Events·are·stored·in·the·order·they·are·generated.34 Events·are·stored·in·the·order·they·are·generated.
587 B
./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz
483 B
ALLEGRO_EVENT_SOURCE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;27 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;
28 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·event·source·is·any·object·which·can·generate·events.32 An·event·source·is·any·object·which·can·generate·events.
34 For·example,·an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the33 For·example,·an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the
35 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with34 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with
440 B
./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz
340 B
ALLEGRO_EVENT_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;27 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;
28 typedef·unsigned·int·ALLEGRO_EVENT_TYPE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·integer·used·to·distinguish·between·different·types·of·events.32 An·integer·used·to·distinguish·between·different·types·of·events.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
562 B
./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz
446 B
ALLEGRO_EVENT_TYPE_IS_USER.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)27 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)
28 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event32 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event
34 type,·i.e.\·one·of·those·described·in·ALLEGRO_EVENT_TYPE(3alleg5).33 type,·i.e.\·one·of·those·described·in·ALLEGRO_EVENT_TYPE(3alleg5).
431 B
./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz
343 B
ALLEGRO_FILE.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;27 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;
28 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·object·representing·an·open·file.32 An·opaque·object·representing·an·open·file.
34 This·could·be·a·real·file·on·disk·or·a·virtual·file.33 This·could·be·a·real·file·on·disk·or·a·virtual·file.
442 B
./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz
340 B
ALLEGRO_FILECHOOSER.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;27 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;
28 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Opaque·handle·to·a·native·file·dialog.32 Opaque·handle·to·a·native·file·dialog.
524 B
./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz
416 B
ALLEGRO_FILE_INTERFACE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_FILE_INTERFACE27 typedef·struct·ALLEGRO_FILE_INTERFACE
28 typedef·struct·ALLEGRO_FILE_INTERFACE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·structure·containing·function·pointers·to·handle·a·type·of32 A·structure·containing·function·pointers·to·handle·a·type·of
34 \[lq]file\[rq],·real·or·virtual.33 \[lq]file\[rq],·real·or·virtual.
35 See·the·full·discussion·in·al_set_new_file_interface(3alleg5).34 See·the·full·discussion·in·al_set_new_file_interface(3alleg5).
401 B
./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz
303 B
ALLEGRO_FILE_MODE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_FILE_MODE27 typedef·enum·ALLEGRO_FILE_MODE
28 typedef·enum·ALLEGRO_FILE_MODE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Filesystem·modes/types32 Filesystem·modes/types
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_FILEMODE_READ·-·Readable34 ALLEGRO_FILEMODE_READ·-·Readable
519 B
./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz
431 B
ALLEGRO_FONT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;27 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;
28 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·handle·identifying·any·kind·of·font.32 A·handle·identifying·any·kind·of·font.
34 Usually·you·will·create·it·with·al_load_font(3alleg5)·which·supports33 Usually·you·will·create·it·with·al_load_font(3alleg5)·which·supports
35 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.34 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.
534 B
./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz
406 B
ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{27 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{
28 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·values·for·the·callbacks·of·al_for_each_fs_entry(3alleg5)·and·for32 Return·values·for·the·callbacks·of·al_for_each_fs_entry(3alleg5)·and·for
34 that·function·itself.33 that·function·itself.
35 .IP·\[bu]·234 .IP·\[bu]·2
476 B
./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz
380 B
ALLEGRO_FS_ENTRY.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;27 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;
28 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Opaque·filesystem·entry·object.32 Opaque·filesystem·entry·object.
34 Represents·a·file·or·a·directory·(check·with33 Represents·a·file·or·a·directory·(check·with
35 al_get_fs_entry_mode(3alleg5)).34 al_get_fs_entry_mode(3alleg5)).
471 B
./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz
367 B
ALLEGRO_FS_INTERFACE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;27 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;
28 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 The·available·functions·you·can·provide·for·a·filesystem.32 The·available·functions·you·can·provide·for·a·filesystem.
34 They·are:33 They·are:
35 .IP34 .IP
569 B
./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz
461 B
ALLEGRO_GET_EVENT_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)27 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)
28 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Make·an·event·type·identifier,·which·is·a·32-bit·integer.32 Make·an·event·type·identifier,·which·is·a·32-bit·integer.
34 Usually,·but·not·necessarily,·this·will·be·made·from·four·8-bit33 Usually,·but·not·necessarily,·this·will·be·made·from·four·8-bit
35 character·codes,·for·example:34 character·codes,·for·example:
420 B
./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz
330 B
ALLEGRO_GLYPH.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;27 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;
28 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·structure·containing·the·properties·of·a·character·in·a·font.32 A·structure·containing·the·properties·of·a·character·in·a·font.
34 .IP33 .IP
35 .nf34 .nf
463 B
./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz
371 B
ALLEGRO_HAPTIC.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;27 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;
28 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports32 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports
34 force·feedback·or·vibration.33 force·feedback·or·vibration.
35 .SH·SINCE34 .SH·SINCE
483 B
./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz
371 B
ALLEGRO_HAPTIC_CONSTANTS.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 enum·ALLEGRO_HAPTIC_CONSTANTS27 enum·ALLEGRO_HAPTIC_CONSTANTS
28 enum·ALLEGRO_HAPTIC_CONSTANTS 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and32 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and
34 capabilities.33 capabilities.
35 If·the·flag·is·set·in·the·return·value·of34 If·the·flag·is·set·in·the·return·value·of
508 B
./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz
402 B
ALLEGRO_HAPTIC_EFFECT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 struct·ALLEGRO_HAPTIC_EFFECT27 struct·ALLEGRO_HAPTIC_EFFECT
28 struct·ALLEGRO_HAPTIC_EFFECT 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·struct·models·a·particular·haptic·or·vibration·effect.32 This·struct·models·a·particular·haptic·or·vibration·effect.
34 It·needs·to·be·filled·in·correctly·and·uploaded·to·a·haptic·device33 It·needs·to·be·filled·in·correctly·and·uploaded·to·a·haptic·device
35 before·the·device·can·play·it·back.34 before·the·device·can·play·it·back.
608 B
./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz
496 B
ALLEGRO_HAPTIC_EFFECT_ID.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;27 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;
28 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect32 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect
34 and·should·be·considered·opaque.33 and·should·be·considered·opaque.
35 Its·implementation·is·visible·merely·to·allow·allocation·by·the·users·of34 Its·implementation·is·visible·merely·to·allow·allocation·by·the·users·of
570 B
./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz
466 B
ALLEGRO_INDEX_BUFFER.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·struct·ALLEGRO_INDEX_BUFFER·ALLEGRO_INDEX_BUFFER;27 typedef·struct·ALLEGRO_INDEX_BUFFER·ALLEGRO_INDEX_BUFFER;
28 typedef·struct·ALLEGRO_INDEX_BUFFER·ALLEGRO_INDEX_BUFFER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·GPU·index·buffer·that·you·can·use·to·store·indices·of·vertices·in·a32 A·GPU·index·buffer·that·you·can·use·to·store·indices·of·vertices·in·a
34 vertex·buffer·on·the·GPU·instead·of·uploading·them·afresh·during·every33 vertex·buffer·on·the·GPU·instead·of·uploading·them·afresh·during·every
35 drawing·operation.34 drawing·operation.
451 B
./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz
355 B
ALLEGRO_JOYFLAGS.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 enum·ALLEGRO_JOYFLAGS27 enum·ALLEGRO_JOYFLAGS
28 enum·ALLEGRO_JOYFLAGS 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .IP·\[bu]·231 .IP·\[bu]·2
33 ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input32 ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input34 ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input
448 B
./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz
352 B
ALLEGRO_JOYSTICK.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;27 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;
28 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·an·abstract·data·type·representing·a·physical·joystick.32 This·is·an·abstract·data·type·representing·a·physical·joystick.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
572 B
./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz
464 B
ALLEGRO_JOYSTICK_STATE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;27 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;
28 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a32 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a
34 joystick\[cq]s·axes·and·buttons·at·a·particular·instant.33 joystick\[cq]s·axes·and·buttons·at·a·particular·instant.
35 All·fields·public·and·read-only.34 All·fields·public·and·read-only.
582 B
./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz
474 B
ALLEGRO_KEYBOARD_STATE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;27 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;
28 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a32 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a
34 keyboard\[cq]s·state·at·a·particular·instant.33 keyboard\[cq]s·state·at·a·particular·instant.
35 It·contains·the·following·publically·readable·fields:34 It·contains·the·following·publically·readable·fields:
404 B
./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz
308 B
ALLEGRO_LINE_CAP.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·enum·ALLEGRO_LINE_CAP27 typedef·enum·ALLEGRO_LINE_CAP
28 typedef·enum·ALLEGRO_LINE_CAP 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .IP·\[bu]·231 .IP·\[bu]·2
33 ALLEGRO_LINE_CAP_NONE32 ALLEGRO_LINE_CAP_NONE
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_LINE_CAP_SQUARE34 ALLEGRO_LINE_CAP_SQUARE
411 B
./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz
313 B
ALLEGRO_LINE_JOIN.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·enum·ALLEGRO_LINE_JOIN27 typedef·enum·ALLEGRO_LINE_JOIN
28 typedef·enum·ALLEGRO_LINE_JOIN 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .IP·\[bu]·231 .IP·\[bu]·2
33 ALLEGRO_LINE_JOIN_NONE32 ALLEGRO_LINE_JOIN_NONE
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_LINE_JOIN_BEVEL34 ALLEGRO_LINE_JOIN_BEVEL
564 B
./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz
458 B
ALLEGRO_LOCKED_REGION.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;27 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;
28 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to32 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to
34 lock·it·first.33 lock·it·first.
35 The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the34 The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the
480 B
./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz
368 B
ALLEGRO_MEMORY_INTERFACE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;27 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;
28 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·structure·has·the·following·fields.32 This·structure·has·the·following·fields.
34 .IP33 .IP
35 .nf34 .nf
475 B
./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz
387 B
ALLEGRO_MENU.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 typedef·struct·ALLEGRO_MENU·ALLEGRO_MENU;27 typedef·struct·ALLEGRO_MENU·ALLEGRO_MENU;
28 typedef·struct·ALLEGRO_MENU·ALLEGRO_MENU; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·data·type·that·represents·a·menu·that·contains·menu·items.32 An·opaque·data·type·that·represents·a·menu·that·contains·menu·items.
34 Each·of·the·menu·items·may·optionally·include·a·sub-menu.33 Each·of·the·menu·items·may·optionally·include·a·sub-menu.
477 B
./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz
379 B
ALLEGRO_MENU_INFO.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 typedef·struct·ALLEGRO_MENU_INFO·{27 typedef·struct·ALLEGRO_MENU_INFO·{
28 typedef·struct·ALLEGRO_MENU_INFO·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·structure·that·defines·how·to·create·a·complete·menu·system.32 A·structure·that·defines·how·to·create·a·complete·menu·system.
34 For·standard·menu·items,·the·following·format·is·used:33 For·standard·menu·items,·the·following·format·is·used:
35 .IP34 .IP
550 B
./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz
460 B
ALLEGRO_MIXER.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_MIXER·ALLEGRO_MIXER;27 typedef·struct·ALLEGRO_MIXER·ALLEGRO_MIXER;
28 typedef·struct·ALLEGRO_MIXER·ALLEGRO_MIXER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·mixer·mixes·together·attached·streams·into·a·single·buffer.32 A·mixer·mixes·together·attached·streams·into·a·single·buffer.
34 In·the·process,·it·converts·channel·configurations,·sample·frequencies33 In·the·process,·it·converts·channel·configurations,·sample·frequencies
35 and·audio·depths·of·the·attached·sample·instances·and·audio·streams34 and·audio·depths·of·the·attached·sample·instances·and·audio·streams
464 B
./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz
358 B
ALLEGRO_MIXER_QUALITY.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 enum·ALLEGRO_MIXER_QUALITY27 enum·ALLEGRO_MIXER_QUALITY
28 enum·ALLEGRO_MIXER_QUALITY 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .IP·\[bu]·231 .IP·\[bu]·2
33 ALLEGRO_MIXER_QUALITY_POINT·-·point·sampling32 ALLEGRO_MIXER_QUALITY_POINT·-·point·sampling
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_MIXER_QUALITY_LINEAR·-·linear·interpolation34 ALLEGRO_MIXER_QUALITY_LINEAR·-·linear·interpolation
544 B
./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz
440 B
ALLEGRO_MONITOR_INFO.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_MONITOR_INFO27 typedef·struct·ALLEGRO_MONITOR_INFO
28 typedef·struct·ALLEGRO_MONITOR_INFO 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Describes·a·monitor\[cq]s·size·and·position·relative·to·other·monitors.32 Describes·a·monitor\[cq]s·size·and·position·relative·to·other·monitors.
34 x1,·y1·will·be·0,·0·on·the·primary·display.33 x1,·y1·will·be·0,·0·on·the·primary·display.
35 Other·monitors·can·have·negative·values·if·they·are·to·the·left·or·above34 Other·monitors·can·have·negative·values·if·they·are·to·the·left·or·above
466 B
./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz
346 B
ALLEGRO_MOUSE_EMULATION_MODE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE27 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE
28 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Type·of·mouse·emulation·to·apply.32 Type·of·mouse·emulation·to·apply.
34 .TP33 .TP
35 ALLEGRO_MOUSE_EMULATION_NONE34 ALLEGRO_MOUSE_EMULATION_NONE
451 B
./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz
349 B
ALLEGRO_MOUSE_STATE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;27 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;
28 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Public·fields·(read·only):32 Public·fields·(read·only):
34 .IP·\[bu]·233 .IP·\[bu]·2
35 x·-·mouse·x·position34 x·-·mouse·x·position
424 B
./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz
318 B
ALLEGRO_MSECS_TO_SECS.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)27 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)
28 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Convert·milliseconds·to·seconds.32 Convert·milliseconds·to·seconds.
383 B
./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz
293 B
ALLEGRO_MUTEX.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;27 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;
28 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·structure·representing·a·mutex.32 An·opaque·structure·representing·a·mutex.
533 B
./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz
403 B
ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·25527 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255
28 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·the·maximum·size·of·the·title·that·can·be·set·with32 This·is·the·maximum·size·of·the·title·that·can·be·set·with
34 al_set_new_window_title(3alleg5).33 al_set_new_window_title(3alleg5).
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
447 B
./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz
363 B
ALLEGRO_PI.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_PI········3.1415926535897932384627 #define·ALLEGRO_PI········3.14159265358979323846
28 #define·ALLEGRO_PI········3.14159265358979323846 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·\[*p],32 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·\[*p],
34 but·you·can·use·this·one·instead.33 but·you·can·use·this·one·instead.
446 B
./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz
342 B
ALLEGRO_PIXEL_FORMAT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_PIXEL_FORMAT27 typedef·enum·ALLEGRO_PIXEL_FORMAT
28 typedef·enum·ALLEGRO_PIXEL_FORMAT 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Pixel·formats.32 Pixel·formats.
34 Each·pixel·format·specifies·the·exact·size·and·bit·layout·of·a·pixel·in33 Each·pixel·format·specifies·the·exact·size·and·bit·layout·of·a·pixel·in
35 memory.34 memory.
435 B
./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz
339 B
ALLEGRO_PLAYMODE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 enum·ALLEGRO_PLAYMODE27 enum·ALLEGRO_PLAYMODE
28 enum·ALLEGRO_PLAYMODE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Sample·and·stream·playback·mode.32 Sample·and·stream·playback·mode.
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_PLAYMODE_ONCE·-·the·sample/stream·is·played·from·start·to·finish34 ALLEGRO_PLAYMODE_ONCE·-·the·sample/stream·is·played·from·start·to·finish
497 B
./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz
399 B
ALLEGRO_PRIM_ATTR.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·enum·ALLEGRO_PRIM_ATTR27 typedef·enum·ALLEGRO_PRIM_ATTR
28 typedef·enum·ALLEGRO_PRIM_ATTR 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Enumerates·the·types·of·vertex·attributes·that·a·custom·vertex·may·have.32 Enumerates·the·types·of·vertex·attributes·that·a·custom·vertex·may·have.
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_PRIM_POSITION·-·Position·information,·can·be·stored·only·in34 ALLEGRO_PRIM_POSITION·-·Position·information,·can·be·stored·only·in
532 B
./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz
418 B
ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·enum·ALLEGRO_PRIM_BUFFER_FLAGS27 typedef·enum·ALLEGRO_PRIM_BUFFER_FLAGS
28 typedef·enum·ALLEGRO_PRIM_BUFFER_FLAGS 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Flags·to·specify·how·to·create·a·vertex·or·an·index·buffer.32 Flags·to·specify·how·to·create·a·vertex·or·an·index·buffer.
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_PRIM_BUFFER_STREAM·-·Hints·to·the·driver·that·the·buffer·is34 ALLEGRO_PRIM_BUFFER_STREAM·-·Hints·to·the·driver·that·the·buffer·is
507 B
./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz
403 B
ALLEGRO_PRIM_QUALITY.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 #define·ALLEGRO_PRIM_QUALITY·1027 #define·ALLEGRO_PRIM_QUALITY·10
28 #define·ALLEGRO_PRIM_QUALITY·10 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Controls·the·quality·of·the·approximation·of·curved·primitives32 Controls·the·quality·of·the·approximation·of·curved·primitives
34 (e.g.\·circles).33 (e.g.\·circles).
35 Curved·primitives·are·drawn·by·approximating·them·with·a·sequence·of34 Curved·primitives·are·drawn·by·approximating·them·with·a·sequence·of
517 B
./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz
413 B
ALLEGRO_PRIM_STORAGE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·enum·ALLEGRO_PRIM_STORAGE27 typedef·enum·ALLEGRO_PRIM_STORAGE
28 typedef·enum·ALLEGRO_PRIM_STORAGE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Enumerates·the·types·of·storage·an·attribute·of·a·custom·vertex·may·be32 Enumerates·the·types·of·storage·an·attribute·of·a·custom·vertex·may·be
34 stored·in.33 stored·in.
35 Many·of·these·can·only·be·used·for·ALLEGRO_PRIM_USER_ATTR·attributes·and34 Many·of·these·can·only·be·used·for·ALLEGRO_PRIM_USER_ATTR·attributes·and
484 B
./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz
386 B
ALLEGRO_PRIM_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·enum·ALLEGRO_PRIM_TYPE27 typedef·enum·ALLEGRO_PRIM_TYPE
28 typedef·enum·ALLEGRO_PRIM_TYPE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Enumerates·the·types·of·primitives·this·addon·can·draw.32 Enumerates·the·types·of·primitives·this·addon·can·draw.
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_PRIM_POINT_LIST·-·A·list·of·points,·each·vertex·defines·a·point34 ALLEGRO_PRIM_POINT_LIST·-·A·list·of·points,·each·vertex·defines·a·point
430 B
./usr/share/man/man3/ALLEGRO_RENDER_FUNCTION.3alleg5.gz
320 B
ALLEGRO_RENDER_FUNCTION.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_RENDER_FUNCTION·{27 typedef·enum·ALLEGRO_RENDER_FUNCTION·{
28 typedef·enum·ALLEGRO_RENDER_FUNCTION·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Possible·functions·are:32 Possible·functions·are:
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_RENDER_NEVER34 ALLEGRO_RENDER_NEVER
434 B
./usr/share/man/man3/ALLEGRO_RENDER_STATE.3alleg5.gz
330 B
ALLEGRO_RENDER_STATE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_RENDER_STATE·{27 typedef·enum·ALLEGRO_RENDER_STATE·{
28 typedef·enum·ALLEGRO_RENDER_STATE·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Possible·render·states·which·can·be·set·with32 Possible·render·states·which·can·be·set·with
34 al_set_render_state(3alleg5):33 al_set_render_state(3alleg5):
35 .TP34 .TP
515 B
./usr/share/man/man3/ALLEGRO_SAMPLE.3alleg5.gz
423 B
ALLEGRO_SAMPLE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_SAMPLE·ALLEGRO_SAMPLE;27 typedef·struct·ALLEGRO_SAMPLE·ALLEGRO_SAMPLE;
28 typedef·struct·ALLEGRO_SAMPLE·ALLEGRO_SAMPLE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_SAMPLE·object·stores·the·data·necessary·for·playing32 An·ALLEGRO_SAMPLE·object·stores·the·data·necessary·for·playing
34 pre-defined·digital·audio.33 pre-defined·digital·audio.
35 It·holds·a·user-specified·PCM·data·buffer·and·information·about·its34 It·holds·a·user-specified·PCM·data·buffer·and·information·about·its
528 B
./usr/share/man/man3/ALLEGRO_SAMPLE_ID.3alleg5.gz
430 B
ALLEGRO_SAMPLE_ID.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;27 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;
28 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via32 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via
34 al_play_sample(3alleg5).33 al_play_sample(3alleg5).
35 It·can·be·used·to·later·sALLEGRO_BITMAP_WRAPtop·the·sample·with34 It·can·be·used·to·later·sALLEGRO_BITMAP_WRAPtop·the·sample·with
590 B
./usr/share/man/man3/ALLEGRO_SAMPLE_INSTANCE.3alleg5.gz
480 B
ALLEGRO_SAMPLE_INSTANCE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_SAMPLE_INSTANCE·ALLEGRO_SAMPLE_INSTANCE;27 typedef·struct·ALLEGRO_SAMPLE_INSTANCE·ALLEGRO_SAMPLE_INSTANCE;
28 typedef·struct·ALLEGRO_SAMPLE_INSTANCE·ALLEGRO_SAMPLE_INSTANCE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_SAMPLE_INSTANCE·object·represents·a·playable·instance·of·a32 An·ALLEGRO_SAMPLE_INSTANCE·object·represents·a·playable·instance·of·a
34 predefined·sound·effect.33 predefined·sound·effect.
35 It·holds·information·about·how·the·effect·should·be·played:·These34 It·holds·information·about·how·the·effect·should·be·played:·These
435 B
./usr/share/man/man3/ALLEGRO_SEEK.3alleg5.gz
347 B
ALLEGRO_SEEK.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_SEEK27 typedef·enum·ALLEGRO_SEEK
28 typedef·enum·ALLEGRO_SEEK 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .IP·\[bu]·231 .IP·\[bu]·2
33 ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file32 ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position34 ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position
518 B
./usr/share/man/man3/ALLEGRO_SHADER.3alleg5.gz
426 B
ALLEGRO_SHADER.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;27 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;
28 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·ALLEGRO_SHADER(3alleg5)·is·a·program·that·runs·on·the·GPU.32 An·ALLEGRO_SHADER(3alleg5)·is·a·program·that·runs·on·the·GPU.
34 It·combines·both·a·vertex·and·a·pixel·shader.33 It·combines·both·a·vertex·and·a·pixel·shader.
35 (In·OpenGL·terms,·an·ALLEGRO_SHADER(3alleg5)·is·actually·a34 (In·OpenGL·terms,·an·ALLEGRO_SHADER(3alleg5)·is·actually·a
565 B
./usr/share/man/man3/ALLEGRO_SHADER_PLATFORM.3alleg5.gz
455 B
ALLEGRO_SHADER_PLATFORM.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;27 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;
28 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 The·underlying·platform·which·the·ALLEGRO_SHADER(3alleg5)·is·built·on32 The·underlying·platform·which·the·ALLEGRO_SHADER(3alleg5)·is·built·on
34 top·of,·which·dictates·the·language·used·to·program·the·shader.33 top·of,·which·dictates·the·language·used·to·program·the·shader.
35 .IP·\[bu]·234 .IP·\[bu]·2
521 B
./usr/share/man/man3/ALLEGRO_SHADER_TYPE.3alleg5.gz
419 B
ALLEGRO_SHADER_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;27 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;
28 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Used·with·al_attach_shader_source(3alleg5)·and32 Used·with·al_attach_shader_source(3alleg5)·and
34 al_attach_shader_source_file(3alleg5)·to·specify·how·to·interpret·the33 al_attach_shader_source_file(3alleg5)·to·specify·how·to·interpret·the
35 attached·source.34 attached·source.
429 B
./usr/share/man/man3/ALLEGRO_STATE.3alleg5.gz
339 B
ALLEGRO_STATE.3alleg5
    
Offset 21, 15 lines modifiedOffset 21, 14 lines modified
21 ALLEGRO_STATE·-·Allegro·5·API21 ALLEGRO_STATE·-·Allegro·5·API
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
  
26 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;26 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;
27 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE; 
28 \f[R]27 \f[R]
29 .fi28 .fi
30 .SH·DESCRIPTION29 .SH·DESCRIPTION
31 .PP30 .PP
32 Opaque·type·which·is·passed·to31 Opaque·type·which·is·passed·to
33 al_store_state(3alleg5)/al_restore_state(3alleg5).32 al_store_state(3alleg5)/al_restore_state(3alleg5).
34 .PP33 .PP
502 B
./usr/share/man/man3/ALLEGRO_STATE_FLAGS.3alleg5.gz
400 B
ALLEGRO_STATE_FLAGS.3alleg5
    
Offset 21, 15 lines modifiedOffset 21, 14 lines modified
21 ALLEGRO_STATE_FLAGS·-·Allegro·5·API21 ALLEGRO_STATE_FLAGS·-·Allegro·5·API
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
  
26 typedef·enum·ALLEGRO_STATE_FLAGS26 typedef·enum·ALLEGRO_STATE_FLAGS
27 typedef·enum·ALLEGRO_STATE_FLAGS 
28 \f[R]27 \f[R]
29 .fi28 .fi
30 .SH·DESCRIPTION29 .SH·DESCRIPTION
31 .PP30 .PP
32 Flags·which·can·be·passed·to31 Flags·which·can·be·passed·to
33 al_store_state(3alleg5)/al_restore_state(3alleg5)·as·bit·combinations.32 al_store_state(3alleg5)/al_restore_state(3alleg5)·as·bit·combinations.
34 See·al_store_state(3alleg5)·for·the·list·of·flags.33 See·al_store_state(3alleg5)·for·the·list·of·flags.
411 B
./usr/share/man/man3/ALLEGRO_SYSTEM_ID.3alleg5.gz
313 B
ALLEGRO_SYSTEM_ID.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 enum·ALLEGRO_SYSTEM_ID·{27 enum·ALLEGRO_SYSTEM_ID·{
28 enum·ALLEGRO_SYSTEM_ID·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 The·system·Allegro·is·running·on.32 The·system·Allegro·is·running·on.
34 .IP·\[bu]·233 .IP·\[bu]·2
35 ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.34 ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.
407 B
./usr/share/man/man3/ALLEGRO_TEXTLOG.3alleg5.gz
313 B
ALLEGRO_TEXTLOG.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;27 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;
28 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Opaque·handle·to·a·text·log·window.32 Opaque·handle·to·a·text·log·window.
392 B
./usr/share/man/man3/ALLEGRO_THREAD.3alleg5.gz
300 B
ALLEGRO_THREAD.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;27 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;
28 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·structure·representing·a·thread.32 An·opaque·structure·representing·a·thread.
400 B
./usr/share/man/man3/ALLEGRO_TIMER.3alleg5.gz
310 B
ALLEGRO_TIMER.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;27 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;
28 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·an·abstract·data·type·representing·a·timer·object.32 This·is·an·abstract·data·type·representing·a·timer·object.
478 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT.3alleg5.gz
376 B
ALLEGRO_TOUCH_INPUT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;27 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;
28 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.32 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
530 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5.gz
396 B
ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········1627 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16
28 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.32 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
538 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_STATE.3alleg5.gz
424 B
ALLEGRO_TOUCH_INPUT_STATE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;27 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;
28 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches·at32 This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches·at
34 a·particular·instant.33 a·particular·instant.
35 .PP34 .PP
493 B
./usr/share/man/man3/ALLEGRO_TOUCH_STATE.3alleg5.gz
391 B
ALLEGRO_TOUCH_STATE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;27 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;
28 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a·touch32 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a·touch
34 at·a·particular·instant.33 at·a·particular·instant.
35 .PP34 .PP
576 B
./usr/share/man/man3/ALLEGRO_TRANSFORM.3alleg5.gz
478 B
ALLEGRO_TRANSFORM.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;27 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;
28 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Defines·the·generic·transformation·type,·a·4x4·matrix.32 Defines·the·generic·transformation·type,·a·4x4·matrix.
34 2D·transforms·use·only·a·small·subsection·of·this·matrix,·namely·the·top33 2D·transforms·use·only·a·small·subsection·of·this·matrix,·namely·the·top
35 left·2x2·matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.34 left·2x2·matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.
430 B
./usr/share/man/man3/ALLEGRO_USECS_TO_SECS.3alleg5.gz
324 B
ALLEGRO_USECS_TO_SECS.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)27 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)
28 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Convert·microseconds·to·seconds.32 Convert·microseconds·to·seconds.
486 B
./usr/share/man/man3/ALLEGRO_USER_EVENT.3alleg5.gz
386 B
ALLEGRO_USER_EVENT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;27 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;
28 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·event·structure·that·can·be·emitted·by·user·event·sources.32 An·event·structure·that·can·be·emitted·by·user·event·sources.
34 These·are·the·public·fields:33 These·are·the·public·fields:
35 .IP·\[bu]·234 .IP·\[bu]·2
496 B
./usr/share/man/man3/ALLEGRO_USTR.3alleg5.gz
408 B
ALLEGRO_USTR.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·_al_tagbstring·ALLEGRO_USTR;27 typedef·struct·_al_tagbstring·ALLEGRO_USTR;
28 typedef·struct·_al_tagbstring·ALLEGRO_USTR; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 An·opaque·type·representing·a·string.32 An·opaque·type·representing·a·string.
34 ALLEGRO_USTRs·normally·contain·UTF-8·encoded·strings,·but·they·may·be33 ALLEGRO_USTRs·normally·contain·UTF-8·encoded·strings,·but·they·may·be
35 used·to·hold·any·byte·sequences,·including·NULs.34 used·to·hold·any·byte·sequences,·including·NULs.
495 B
./usr/share/man/man3/ALLEGRO_USTR_INFO.3alleg5.gz
397 B
ALLEGRO_USTR_INFO.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;27 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;
28 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·type·that·holds·additional·information·for·an·ALLEGRO_USTR(3alleg5)32 A·type·that·holds·additional·information·for·an·ALLEGRO_USTR(3alleg5)
34 that·references·an·external·memory·buffer.33 that·references·an·external·memory·buffer.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
540 B
./usr/share/man/man3/ALLEGRO_VERTEX.3alleg5.gz
448 B
ALLEGRO_VERTEX.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·struct·ALLEGRO_VERTEX·ALLEGRO_VERTEX;27 typedef·struct·ALLEGRO_VERTEX·ALLEGRO_VERTEX;
28 typedef·struct·ALLEGRO_VERTEX·ALLEGRO_VERTEX; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Defines·the·generic·vertex·type,·with·a·3D·position,·color·and·texture32 Defines·the·generic·vertex·type,·with·a·3D·position,·color·and·texture
34 coordinates·for·a·single·texture.33 coordinates·for·a·single·texture.
35 Note·that·at·this·time,·the·software·driver·for·this·addon·cannot·render34 Note·that·at·this·time,·the·software·driver·for·this·addon·cannot·render
559 B
./usr/share/man/man3/ALLEGRO_VERTEX_BUFFER.3alleg5.gz
453 B
ALLEGRO_VERTEX_BUFFER.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·struct·ALLEGRO_VERTEX_BUFFER·ALLEGRO_VERTEX_BUFFER;27 typedef·struct·ALLEGRO_VERTEX_BUFFER·ALLEGRO_VERTEX_BUFFER;
28 typedef·struct·ALLEGRO_VERTEX_BUFFER·ALLEGRO_VERTEX_BUFFER; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·GPU·vertex·buffer·that·you·can·use·to·store·vertices·on·the·GPU32 A·GPU·vertex·buffer·that·you·can·use·to·store·vertices·on·the·GPU
34 instead·of·uploading·them·afresh·during·every·drawing·operation.33 instead·of·uploading·them·afresh·during·every·drawing·operation.
35 .SH·SINCE34 .SH·SINCE
537 B
./usr/share/man/man3/ALLEGRO_VERTEX_CACHE_SIZE.3alleg5.gz
423 B
ALLEGRO_VERTEX_CACHE_SIZE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 #define·ALLEGRO_VERTEX_CACHE_SIZE·25627 #define·ALLEGRO_VERTEX_CACHE_SIZE·256
28 #define·ALLEGRO_VERTEX_CACHE_SIZE·256 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Defines·the·size·of·the·transformation·vertex·cache·for·the·software32 Defines·the·size·of·the·transformation·vertex·cache·for·the·software
34 renderer.33 renderer.
35 If·you·pass·less·than·this·many·vertices·to·the·primitive·rendering34 If·you·pass·less·than·this·many·vertices·to·the·primitive·rendering
531 B
./usr/share/man/man3/ALLEGRO_VERTEX_DECL.3alleg5.gz
429 B
ALLEGRO_VERTEX_DECL.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·struct·ALLEGRO_VERTEX_DECL·ALLEGRO_VERTEX_DECL;27 typedef·struct·ALLEGRO_VERTEX_DECL·ALLEGRO_VERTEX_DECL;
28 typedef·struct·ALLEGRO_VERTEX_DECL·ALLEGRO_VERTEX_DECL; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·vertex·declaration.32 A·vertex·declaration.
34 This·opaque·structure·is·responsible·for·describing·the·format·and33 This·opaque·structure·is·responsible·for·describing·the·format·and
35 layout·of·a·user·defined·custom·vertex.34 layout·of·a·user·defined·custom·vertex.
533 B
./usr/share/man/man3/ALLEGRO_VERTEX_ELEMENT.3alleg5.gz
425 B
ALLEGRO_VERTEX_ELEMENT.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 typedef·struct·ALLEGRO_VERTEX_ELEMENT·ALLEGRO_VERTEX_ELEMENT;27 typedef·struct·ALLEGRO_VERTEX_ELEMENT·ALLEGRO_VERTEX_ELEMENT;
28 typedef·struct·ALLEGRO_VERTEX_ELEMENT·ALLEGRO_VERTEX_ELEMENT; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·small·structure·describing·a·certain·element·of·a·vertex.32 A·small·structure·describing·a·certain·element·of·a·vertex.
34 E.g.33 E.g.
35 the·position·of·the·vertex,·or·its·color.34 the·position·of·the·vertex,·or·its·color.
455 B
./usr/share/man/man3/ALLEGRO_VIDEO_EVENT_TYPE.3alleg5.gz
343 B
ALLEGRO_VIDEO_EVENT_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 enum·ALLEGRO_VIDEO_EVENT_TYPE27 enum·ALLEGRO_VIDEO_EVENT_TYPE
28 enum·ALLEGRO_VIDEO_EVENT_TYPE 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Events·sent·by·al_get_video_event_source(3alleg5).32 Events·sent·by·al_get_video_event_source(3alleg5).
34 .SS·ALLEGRO_EVENT_VIDEO_FRAME_SHOW33 .SS·ALLEGRO_EVENT_VIDEO_FRAME_SHOW
35 .PP34 .PP
605 B
./usr/share/man/man3/ALLEGRO_VIDEO_POSITION_TYPE.3alleg5.gz
487 B
ALLEGRO_VIDEO_POSITION_TYPE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;27 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;
28 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Used·with·al_get_video_position(3alleg5)·to·specify·which·position·to32 Used·with·al_get_video_position(3alleg5)·to·specify·which·position·to
34 retrieve.33 retrieve.
35 If·these·get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the34 If·these·get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the
554 B
./usr/share/man/man3/ALLEGRO_VOICE.3alleg5.gz
464 B
ALLEGRO_VOICE.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 typedef·struct·ALLEGRO_VOICE·ALLEGRO_VOICE;27 typedef·struct·ALLEGRO_VOICE·ALLEGRO_VOICE;
28 typedef·struct·ALLEGRO_VOICE·ALLEGRO_VOICE; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·voice·represents·an·audio·device·on·the·system,·which·may·be·a·real32 A·voice·represents·an·audio·device·on·the·system,·which·may·be·a·real
34 device,·or·an·abstract·device·provided·by·the·operating·system.33 device,·or·an·abstract·device·provided·by·the·operating·system.
35 To·play·back·audio,·you·would·attach·a·mixer,·sample·instance·or·audio34 To·play·back·audio,·you·would·attach·a·mixer,·sample·instance·or·audio
482 B
./usr/share/man/man3/ALLEGRO_WRITE_MASK_FLAGS.3alleg5.gz
370 B
ALLEGRO_WRITE_MASK_FLAGS.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{27 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{
28 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{ 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled32 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled
34 bit·means·it·is·not.33 bit·means·it·is·not.
35 .IP·\[bu]·234 .IP·\[bu]·2
664 B
./usr/share/man/man3/al_append_menu_item.3alleg5.gz
562 B
al_append_menu_item.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 int·al_append_menu_item(ALLEGRO_MENU·*parent,·char·const·*title,·uint16_t·id,27 int·al_append_menu_item(ALLEGRO_MENU·*parent,·char·const·*title,·uint16_t·id,
28 ···int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)28 ···int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)
29 int·al_append_menu_item(ALLEGRO_MENU·*parent,·char·const·*title,·uint16_t·id, 
30 ···int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Appends·a·menu·item·to·the·end·of·the·menu.33 Appends·a·menu·item·to·the·end·of·the·menu.
36 See·al_insert_menu_item(3alleg5)·for·more·information.34 See·al_insert_menu_item(3alleg5)·for·more·information.
37 .SH·SINCE35 .SH·SINCE
620 B
./usr/share/man/man3/al_append_native_text_log.3alleg5.gz
506 B
al_append_native_text_log.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_append_native_text_log(ALLEGRO_TEXTLOG·*textlog,27 void·al_append_native_text_log(ALLEGRO_TEXTLOG·*textlog,
28 ···char·const·*format,·...)28 ···char·const·*format,·...)
29 void·al_append_native_text_log(ALLEGRO_TEXTLOG·*textlog, 
30 ···char·const·*format,·...) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Appends·a·line·of·text·to·the·message·log·window·and·scrolls·to·the33 Appends·a·line·of·text·to·the·message·log·window·and·scrolls·to·the
36 bottom·(if·the·line·would·not·be·visible·otherwise).34 bottom·(if·the·line·would·not·be·visible·otherwise).
37 This·works·like·printf.35 This·works·like·printf.
603 B
./usr/share/man/man3/al_attach_audio_stream_to_mixer.3alleg5.gz
477 B
al_attach_audio_stream_to_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM·*stream,·ALLEGRO_MIXER·*mixer)27 bool·al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM·*stream,·ALLEGRO_MIXER·*mixer)
28 bool·al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM·*stream,·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Attach·an·audio·stream·to·a·mixer.32 Attach·an·audio·stream·to·a·mixer.
34 The·stream·must·not·already·be·attached·to·anything.33 The·stream·must·not·already·be·attached·to·anything.
35 .PP34 .PP
680 B
./usr/share/man/man3/al_attach_audio_stream_to_voice.3alleg5.gz
554 B
al_attach_audio_stream_to_voice.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM·*stream,27 bool·al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM·*stream,
28 ···ALLEGRO_VOICE·*voice)28 ···ALLEGRO_VOICE·*voice)
29 bool·al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM·*stream, 
30 ···ALLEGRO_VOICE·*voice) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Attaches·an·audio·stream·to·a·voice.33 Attaches·an·audio·stream·to·a·voice.
36 The·same·rules·as·al_attach_sample_instance_to_voice(3alleg5)·apply.34 The·same·rules·as·al_attach_sample_instance_to_voice(3alleg5)·apply.
37 This·may·fail·if·the·driver·can\[cq]t·create·a·voice·with·the·buffer35 This·may·fail·if·the·driver·can\[cq]t·create·a·voice·with·the·buffer
616 B
./usr/share/man/man3/al_attach_mixer_to_mixer.3alleg5.gz
504 B
al_attach_mixer_to_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_attach_mixer_to_mixer(ALLEGRO_MIXER·*stream,·ALLEGRO_MIXER·*mixer)27 bool·al_attach_mixer_to_mixer(ALLEGRO_MIXER·*stream,·ALLEGRO_MIXER·*mixer)
28 bool·al_attach_mixer_to_mixer(ALLEGRO_MIXER·*stream,·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Attaches·the·mixer·passed·as·the·first·argument·onto·the·mixer·passed·as32 Attaches·the·mixer·passed·as·the·first·argument·onto·the·mixer·passed·as
34 the·second·argument.33 the·second·argument.
35 The·first·mixer·(that·is·going·to·be·attached)·must·not·already·be34 The·first·mixer·(that·is·going·to·be·attached)·must·not·already·be
573 B
./usr/share/man/man3/al_attach_mixer_to_voice.3alleg5.gz
461 B
al_attach_mixer_to_voice.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_attach_mixer_to_voice(ALLEGRO_MIXER·*mixer,·ALLEGRO_VOICE·*voice)27 bool·al_attach_mixer_to_voice(ALLEGRO_MIXER·*mixer,·ALLEGRO_VOICE·*voice)
28 bool·al_attach_mixer_to_voice(ALLEGRO_MIXER·*mixer,·ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Attaches·a·mixer·to·a·voice.32 Attaches·a·mixer·to·a·voice.
34 It·must·have·the·same·frequency·and·channel·configuration,·but·the·depth33 It·must·have·the·same·frequency·and·channel·configuration,·but·the·depth
35 may·be·different.34 may·be·different.
619 B
./usr/share/man/man3/al_attach_sample_instance_to_mixer.3alleg5.gz
487 B
al_attach_sample_instance_to_mixer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE·*spl,27 bool·al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE·*spl,
28 ···ALLEGRO_MIXER·*mixer)28 ···ALLEGRO_MIXER·*mixer)
29 bool·al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE·*spl, 
30 ···ALLEGRO_MIXER·*mixer) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Attach·a·sample·instance·to·a·mixer.33 Attach·a·sample·instance·to·a·mixer.
36 The·instance·must·not·already·be·attached·to·anything.34 The·instance·must·not·already·be·attached·to·anything.
37 .PP35 .PP
720 B
./usr/share/man/man3/al_attach_sample_instance_to_voice.3alleg5.gz
588 B
al_attach_sample_instance_to_voice.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE·*spl,27 bool·al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE·*spl,
28 ···ALLEGRO_VOICE·*voice)28 ···ALLEGRO_VOICE·*voice)
29 bool·al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE·*spl, 
30 ···ALLEGRO_VOICE·*voice) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Attaches·a·sample·instance·to·a·voice,·and·allows·it·to·play.33 Attaches·a·sample·instance·to·a·voice,·and·allows·it·to·play.
36 The·instance\[cq]s·gain·and·loop·mode·will·be·ignored,·and·it·must·have34 The·instance\[cq]s·gain·and·loop·mode·will·be·ignored,·and·it·must·have
37 the·same·frequency,·channel·configuration·and·depth·(including35 the·same·frequency,·channel·configuration·and·depth·(including
476 B
./usr/share/man/man3/al_build_menu.3alleg5.gz
386 B
al_build_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_build_menu(ALLEGRO_MENU_INFO·*info)27 ALLEGRO_MENU·*al_build_menu(ALLEGRO_MENU_INFO·*info)
28 ALLEGRO_MENU·*al_build_menu(ALLEGRO_MENU_INFO·*info) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Builds·a·menu·based·on·the·specifications·of·a·sequence·of32 Builds·a·menu·based·on·the·specifications·of·a·sequence·of
34 \f[V]ALLEGRO_MENU_INFO\f[R]·elements.33 \f[V]ALLEGRO_MENU_INFO\f[R]·elements.
35 .PP34 .PP
796 B
./usr/share/man/man3/al_calculate_arc.3alleg5.gz
700 B
al_calculate_arc.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_calculate_arc(float*·dest,·int·stride,·float·cx,·float·cy,27 void·al_calculate_arc(float*·dest,·int·stride,·float·cx,·float·cy,
28 ···float·rx,·float·ry,·float·start_theta,·float·delta_theta,·float·thickness,28 ···float·rx,·float·ry,·float·start_theta,·float·delta_theta,·float·thickness,
29 ···int·num_points)29 ···int·num_points)
30 void·al_calculate_arc(float*·dest,·int·stride,·float·cx,·float·cy, 
31 ···float·rx,·float·ry,·float·start_theta,·float·delta_theta,·float·thickness, 
32 ···int·num_points) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 When·\f[V]thickness·<=·0\f[R]·this·function·computes·positions·of34 When·\f[V]thickness·<=·0\f[R]·this·function·computes·positions·of
38 \f[V]num_points\f[R]·regularly·spaced·points·on·an·elliptical·arc.35 \f[V]num_points\f[R]·regularly·spaced·points·on·an·elliptical·arc.
39 When·\f[V]thickness·>·0\f[R]·this·function·computes·two·sets·of·points,36 When·\f[V]thickness·>·0\f[R]·this·function·computes·two·sets·of·points,
714 B
./usr/share/man/man3/al_calculate_ribbon.3alleg5.gz
612 B
al_calculate_ribbon.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_calculate_ribbon(float*·dest,·int·dest_stride,·const·float·*points,27 void·al_calculate_ribbon(float*·dest,·int·dest_stride,·const·float·*points,
28 ···int·points_stride,·float·thickness,·int·num_segments)28 ···int·points_stride,·float·thickness,·int·num_segments)
29 void·al_calculate_ribbon(float*·dest,·int·dest_stride,·const·float·*points, 
30 ···int·points_stride,·float·thickness,·int·num_segments) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Calculates·a·ribbon·given·an·array·of·points.33 Calculates·a·ribbon·given·an·array·of·points.
36 The·ribbon·will·go·through·all·of·the·passed·points.34 The·ribbon·will·go·through·all·of·the·passed·points.
37 If·\f[V]thickness·<=·0\f[R],·then·\f[V]num_segments\f[R]·of·points·are35 If·\f[V]thickness·<=·0\f[R],·then·\f[V]num_segments\f[R]·of·points·are
679 B
./usr/share/man/man3/al_calculate_spline.3alleg5.gz
577 B
al_calculate_spline.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_calculate_spline(float*·dest,·int·stride,·float·points[8],27 void·al_calculate_spline(float*·dest,·int·stride,·float·points[8],
28 ···float·thickness,·int·num_segments)28 ···float·thickness,·int·num_segments)
29 void·al_calculate_spline(float*·dest,·int·stride,·float·points[8], 
30 ···float·thickness,·int·num_segments) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Calculates·a·B\['e]zier·spline·given·4·control·points.33 Calculates·a·B\['e]zier·spline·given·4·control·points.
36 If·\f[V]thickness·<=·0\f[R],·then·\f[V]num_segments\f[R]·of·points·are34 If·\f[V]thickness·<=·0\f[R],·then·\f[V]num_segments\f[R]·of·points·are
37 required·in·the·destination,·otherwise·twice·as·many·are·needed.35 required·in·the·destination,·otherwise·twice·as·many·are·needed.
510 B
./usr/share/man/man3/al_calloc.3alleg5.gz
428 B
al_calloc.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·al_calloc(c,·n)·\[rs]27 #define·al_calloc(c,·n)·\[rs]
28 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))28 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))
29 #define·al_calloc(c,·n)·\[rs] 
30 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be33 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be
36 overridden.34 overridden.
37 .PP35 .PP
517 B
./usr/share/man/man3/al_clone_menu.3alleg5.gz
427 B
al_clone_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_clone_menu(ALLEGRO_MENU·*menu)27 ALLEGRO_MENU·*al_clone_menu(ALLEGRO_MENU·*menu)
28 ALLEGRO_MENU·*al_clone_menu(ALLEGRO_MENU·*menu) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Makes·a·copy·of·a·menu·so·that·it·can·be·reused·on·another·display.32 Makes·a·copy·of·a·menu·so·that·it·can·be·reused·on·another·display.
34 The·menu·being·cloned·can·be·anything:·a·regular·menu,·a·popup·menu,·or33 The·menu·being·cloned·can·be·anything:·a·regular·menu,·a·popup·menu,·or
35 a·sub-menu.34 a·sub-menu.
514 B
./usr/share/man/man3/al_clone_menu_for_popup.3alleg5.gz
404 B
al_clone_menu_for_popup.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_clone_menu_for_popup(ALLEGRO_MENU·*menu)27 ALLEGRO_MENU·*al_clone_menu_for_popup(ALLEGRO_MENU·*menu)
28 ALLEGRO_MENU·*al_clone_menu_for_popup(ALLEGRO_MENU·*menu) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Exactly·like·al_clone_menu(3alleg5),·except·that·the·copy·is·for·a·popup32 Exactly·like·al_clone_menu(3alleg5),·except·that·the·copy·is·for·a·popup
34 menu.33 menu.
35 .SH·SINCE34 .SH·SINCE
511 B
./usr/share/man/man3/al_close_native_text_log.3alleg5.gz
399 B
al_close_native_text_log.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_close_native_text_log(ALLEGRO_TEXTLOG·*textlog)27 void·al_close_native_text_log(ALLEGRO_TEXTLOG·*textlog)
28 void·al_close_native_text_log(ALLEGRO_TEXTLOG·*textlog) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Closes·a·message·log·window·opened·with·al_open_native_text_log(3alleg5)32 Closes·a·message·log·window·opened·with·al_open_native_text_log(3alleg5)
34 earlier.33 earlier.
35 .PP34 .PP
468 B
./usr/share/man/man3/al_close_video.3alleg5.gz
376 B
al_close_video.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 void·al_close_video(ALLEGRO_VIDEO·*video)27 void·al_close_video(ALLEGRO_VIDEO·*video)
28 void·al_close_video(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Closes·the·video·and·frees·all·allocated·resources.32 Closes·the·video·and·frees·all·allocated·resources.
34 The·video·pointer·is·invalid·after·the·function·returns.33 The·video·pointer·is·invalid·after·the·function·returns.
35 .SH·SINCE34 .SH·SINCE
494 B
./usr/share/man/man3/al_color_cmyk.3alleg5.gz
404 B
al_color_cmyk.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)27 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)
28 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CMYK·values·(cyan,32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CMYK·values·(cyan,
34 magenta,·yellow,·black).33 magenta,·yellow,·black).
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
571 B
./usr/share/man/man3/al_color_cmyk_to_rgb.3alleg5.gz
467 B
al_color_cmyk_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,27 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,
28 ····float·key,·float·*red,·float·*green,·float·*blue)28 ····float·key,·float·*red,·float·*green,·float·*blue)
29 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow, 
30 ····float·key,·float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·CMYK·values·to·RGB·values.33 Convert·CMYK·values·to·RGB·values.
36 .SH·SEE·ALSO34 .SH·SEE·ALSO
37 .PP35 .PP
629 B
./usr/share/man/man3/al_color_distance_ciede2000.3alleg5.gz
511 B
al_color_distance_ciede2000.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 double·al_color_distance_ciede2000(ALLEGRO_COLOR·color1,27 double·al_color_distance_ciede2000(ALLEGRO_COLOR·color1,
28 ······ALLEGRO_COLOR·color2)·{28 ······ALLEGRO_COLOR·color2)·{
29 double·al_color_distance_ciede2000(ALLEGRO_COLOR·color1, 
30 ······ALLEGRO_COLOR·color2)·{ 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 This·function·computes·the·CIEDE2000·color·difference·between·two·RGB33 This·function·computes·the·CIEDE2000·color·difference·between·two·RGB
36 colors.34 colors.
37 This·is·a·visually·uniform·color·difference,·unlike·for·example·the·RGB35 This·is·a·visually·uniform·color·difference,·unlike·for·example·the·RGB
458 B
./usr/share/man/man3/al_color_hsl.3alleg5.gz
370 B
al_color_hsl.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)27 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)
28 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSL·(hue,·saturation,32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSL·(hue,·saturation,
34 lightness)·values.33 lightness)·values.
35 .PP34 .PP
569 B
./usr/share/man/man3/al_color_hsl_to_rgb.3alleg5.gz
467 B
al_color_hsl_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,27 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,
28 ···float·*red,·float·*green,·float·*blue)28 ···float·*red,·float·*green,·float·*blue)
29 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness, 
30 ···float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·values·in·HSL·color·model·to·RGB·color·model.33 Convert·values·in·HSL·color·model·to·RGB·color·model.
36 .PP34 .PP
37 Parameters:35 Parameters:
454 B
./usr/share/man/man3/al_color_hsv.3alleg5.gz
366 B
al_color_hsv.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)27 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)
28 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSV·(hue,·saturation,32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSV·(hue,·saturation,
34 value)·values.33 value)·values.
35 .PP34 .PP
561 B
./usr/share/man/man3/al_color_hsv_to_rgb.3alleg5.gz
459 B
al_color_hsv_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,27 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,
28 ···float·*red,·float·*green,·float·*blue)28 ···float·*red,·float·*green,·float·*blue)
29 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value, 
30 ···float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·values·in·HSV·color·model·to·RGB·color·model.33 Convert·values·in·HSV·color·model·to·RGB·color·model.
36 .PP34 .PP
37 Parameters:35 Parameters:
491 B
./usr/share/man/man3/al_color_html.3alleg5.gz
401 B
al_color_html.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_html(char·const·*string)27 ALLEGRO_COLOR·al_color_html(char·const·*string)
28 ALLEGRO_COLOR·al_color_html(char·const·*string) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Interprets·an·HTML-style·hex·number·(e.g.\·#00faff)·as·a·color.32 Interprets·an·HTML-style·hex·number·(e.g.\·#00faff)·as·a·color.
34 The·accepted·format·is·the·same·as·al_color_html_to_rgb(3alleg5).33 The·accepted·format·is·the·same·as·al_color_html_to_rgb(3alleg5).
35 .PP34 .PP
636 B
./usr/share/man/man3/al_color_html_to_rgb.3alleg5.gz
532 B
al_color_html_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 bool·al_color_html_to_rgb(char·const·*string,27 bool·al_color_html_to_rgb(char·const·*string,
28 ···float·*red,·float·*green,·float·*blue)28 ···float·*red,·float·*green,·float·*blue)
29 bool·al_color_html_to_rgb(char·const·*string, 
30 ···float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Interprets·an·HTML-style·hex·number·(e.g.\·#00faff)·as·a·color.33 Interprets·an·HTML-style·hex·number·(e.g.\·#00faff)·as·a·color.
36 The·only·accepted·formats·are·\[lq]#RRGGBB\[rq]·and·\[lq]RRGGBB\[rq]34 The·only·accepted·formats·are·\[lq]#RRGGBB\[rq]·and·\[lq]RRGGBB\[rq]
37 where·R,·G,·B·are·hexadecimal·digits·[0-9A-Fa-f].35 where·R,·G,·B·are·hexadecimal·digits·[0-9A-Fa-f].
535 B
./usr/share/man/man3/al_color_lab.3alleg5.gz
447 B
al_color_lab.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_lab(float·l,·float·a,·float·b)27 ALLEGRO_COLOR·al_color_lab(float·l,·float·a,·float·b)
28 ALLEGRO_COLOR·al_color_lab(float·l,·float·a,·float·b) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·L*a*b*·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·L*a*b*·values.
34 The·L*·component·corresponds·to·luminance·from·0..1.33 The·L*·component·corresponds·to·luminance·from·0..1.
35 The·a*·and·b*·components·are·in·the·range·-1..+1.34 The·a*·and·b*·components·are·in·the·range·-1..+1.
529 B
./usr/share/man/man3/al_color_lab_to_rgb.3alleg5.gz
427 B
al_color_lab_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_lab_to_rgb(float·l,·float·a,·float·b,27 void·al_color_lab_to_rgb(float·l,·float·a,·float·b,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_lab_to_rgb(float·l,·float·a,·float·b, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·CIE·L*a*b*·color·values·to·RGB·color·space.33 Convert·CIE·L*a*b*·color·values·to·RGB·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
524 B
./usr/share/man/man3/al_color_lch.3alleg5.gz
436 B
al_color_lch.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_lch(float·l,·float·c,·float·h)27 ALLEGRO_COLOR·al_color_lch(float·l,·float·c,·float·h)
28 ALLEGRO_COLOR·al_color_lch(float·l,·float·c,·float·h) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·LCH·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·LCH·values.
34 LCH·colors·are·very·similar·to·HSL,·with·the·same·meaning·of·L·and·H·and33 LCH·colors·are·very·similar·to·HSL,·with·the·same·meaning·of·L·and·H·and
35 C·corresponding·to·S.34 C·corresponding·to·S.
526 B
./usr/share/man/man3/al_color_lch_to_rgb.3alleg5.gz
424 B
al_color_lch_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_lch_to_rgb(float·l,·float·c,·float·h,27 void·al_color_lch_to_rgb(float·l,·float·c,·float·h,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_lch_to_rgb(float·l,·float·c,·float·h, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·CIE·LCH·color·values·to·RGB·color·space.33 Convert·CIE·LCH·color·values·to·RGB·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
555 B
./usr/share/man/man3/al_color_linear.3alleg5.gz
461 B
al_color_linear.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_linear(float·r,·float·g,·float·b)27 ALLEGRO_COLOR·al_color_linear(float·r,·float·g,·float·b)
28 ALLEGRO_COLOR·al_color_linear(float·r,·float·g,·float·b) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·linear·sRGB·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·linear·sRGB·values.
34 Allegro·RGB·values·are·assumed·to·be·sRGB.33 Allegro·RGB·values·are·assumed·to·be·sRGB.
35 The·sRGB·standard·is·in·wide·use·by·various·display·devices.34 The·sRGB·standard·is·in·wide·use·by·various·display·devices.
570 B
./usr/share/man/man3/al_color_linear_to_rgb.3alleg5.gz
462 B
al_color_linear_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_linear_to_rgb(float·r,·float·g,·float·b,27 void·al_color_linear_to_rgb(float·r,·float·g,·float·b,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_linear_to_rgb(float·r,·float·g,·float·b, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·linear·sRGB·color·values·to·gamma·corrected·(i.e.\·normal)·RGB33 Convert·linear·sRGB·color·values·to·gamma·corrected·(i.e.\·normal)·RGB
36 values.34 values.
37 .SH·SINCE35 .SH·SINCE
461 B
./usr/share/man/man3/al_color_name.3alleg5.gz
371 B
al_color_name.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_name(char·const·*name)27 ALLEGRO_COLOR·al_color_name(char·const·*name)
28 ALLEGRO_COLOR·al_color_name(char·const·*name) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·with·the·given·name.32 Return·an·ALLEGRO_COLOR(3alleg5)·with·the·given·name.
34 If·the·color·is·not·found·then·black·is·returned.33 If·the·color·is·not·found·then·black·is·returned.
35 .PP34 .PP
503 B
./usr/share/man/man3/al_color_name_to_rgb.3alleg5.gz
399 B
al_color_name_to_rgb.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 bool·al_color_name_to_rgb(char·const·*name,·float·*r,·float·*g,·float·*b)27 bool·al_color_name_to_rgb(char·const·*name,·float·*r,·float·*g,·float·*b)
28 bool·al_color_name_to_rgb(char·const·*name,·float·*r,·float·*g,·float·*b) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Parameters:32 Parameters:
34 .IP·\[bu]·233 .IP·\[bu]·2
35 name·-·The·(lowercase)·name·of·the·color.34 name·-·The·(lowercase)·name·of·the·color.
539 B
./usr/share/man/man3/al_color_oklab.3alleg5.gz
447 B
al_color_oklab.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_oklab(float·l,·float·a,·float·b)27 ALLEGRO_COLOR·al_color_oklab(float·l,·float·a,·float·b)
28 ALLEGRO_COLOR·al_color_oklab(float·l,·float·a,·float·b) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·Oklab·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·Oklab·values.
34 The·L·component·corresponds·to·luminance·from·0..1.33 The·L·component·corresponds·to·luminance·from·0..1.
35 The·a·and·b·components·are·in·the·range·-1..+1.34 The·a·and·b·components·are·in·the·range·-1..+1.
530 B
./usr/share/man/man3/al_color_oklab_to_rgb.3alleg5.gz
424 B
al_color_oklab_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_oklab_to_rgb(float·ol,·float·oa,·float·ob,27 void·al_color_oklab_to_rgb(float·ol,·float·oa,·float·ob,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_oklab_to_rgb(float·ol,·float·oa,·float·ob, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·Oklab·color·values·to·RGB.33 Convert·Oklab·color·values·to·RGB.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
617 B
./usr/share/man/man3/al_color_rgb_to_cmyk.3alleg5.gz
513 B
al_color_rgb_to_cmyk.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_cmyk(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_cmyk(float·red,·float·green,·float·blue,
28 ···float·*cyan,·float·*magenta,·float·*yellow,·float·*key)28 ···float·*cyan,·float·*magenta,·float·*yellow,·float·*key)
29 void·al_color_rgb_to_cmyk(float·red,·float·green,·float·blue, 
30 ···float·*cyan,·float·*magenta,·float·*yellow,·float·*key) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Each·RGB·color·can·be·represented·in·CMYK·with·a·K·component·of·0·with33 Each·RGB·color·can·be·represented·in·CMYK·with·a·K·component·of·0·with
36 the·following·formula:34 the·following·formula:
37 .IP35 .IP
654 B
./usr/share/man/man3/al_color_rgb_to_hsl.3alleg5.gz
552 B
al_color_rgb_to_hsl.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_hsl(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_hsl(float·red,·float·green,·float·blue,
28 ···float·*hue,·float·*saturation,·float·*lightness)28 ···float·*hue,·float·*saturation,·float·*lightness)
29 void·al_color_rgb_to_hsl(float·red,·float·green,·float·blue, 
30 ···float·*hue,·float·*saturation,·float·*lightness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue33 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue
36 in·degrees·from·0..360·and·saturation·and·lightness·in·the·range·0..1.34 in·degrees·from·0..360·and·saturation·and·lightness·in·the·range·0..1.
37 .SH·SEE·ALSO35 .SH·SEE·ALSO
642 B
./usr/share/man/man3/al_color_rgb_to_hsv.3alleg5.gz
540 B
al_color_rgb_to_hsv.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_hsv(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_hsv(float·red,·float·green,·float·blue,
28 ···float·*hue,·float·*saturation,·float·*value)28 ···float·*hue,·float·*saturation,·float·*value)
29 void·al_color_rgb_to_hsv(float·red,·float·green,·float·blue, 
30 ···float·*hue,·float·*saturation,·float·*value) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue33 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue
36 in·degrees·from·0..360·and·saturation·and·value·in·the·range·0..1.34 in·degrees·from·0..360·and·saturation·and·value·in·the·range·0..1.
37 .SH·SEE·ALSO35 .SH·SEE·ALSO
529 B
./usr/share/man/man3/al_color_rgb_to_html.3alleg5.gz
425 B
al_color_rgb_to_html.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,
28 ····char·*string)28 ····char·*string)
29 void·al_color_rgb_to_html(float·red,·float·green,·float·blue, 
30 ····char·*string) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Create·an·HTML-style·string·representation·of·an·ALLEGRO_COLOR(3alleg5),33 Create·an·HTML-style·string·representation·of·an·ALLEGRO_COLOR(3alleg5),
36 e.g.\·#00faff.34 e.g.\·#00faff.
37 .PP35 .PP
517 B
./usr/share/man/man3/al_color_rgb_to_lab.3alleg5.gz
415 B
al_color_rgb_to_lab.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_lab(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_lab(float·red,·float·green,·float·blue,
28 ···float·*l,·float·*a,·float·*b)28 ···float·*l,·float·*a,·float·*b)
29 void·al_color_rgb_to_lab(float·red,·float·green,·float·blue, 
30 ···float·*l,·float·*a,·float·*b) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·RGB·values·to·L*a*b*·color·space.33 Convert·RGB·values·to·L*a*b*·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
518 B
./usr/share/man/man3/al_color_rgb_to_lch.3alleg5.gz
416 B
al_color_rgb_to_lch.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_lch(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_lch(float·red,·float·green,·float·blue,
28 ···float·*l,·float·*c,·float·*h)28 ···float·*l,·float·*c,·float·*h)
29 void·al_color_rgb_to_lch(float·red,·float·green,·float·blue, 
30 ···float·*l,·float·*c,·float·*h) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·RGB·values·to·CIE·LCH·color·space.33 Convert·RGB·values·to·CIE·LCH·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
566 B
./usr/share/man/man3/al_color_rgb_to_linear.3alleg5.gz
458 B
al_color_rgb_to_linear.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_linear(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_linear(float·red,·float·green,·float·blue,
28 ···float·*r,·float·*g,·float·*b)28 ···float·*r,·float·*g,·float·*b)
29 void·al_color_rgb_to_linear(float·red,·float·green,·float·blue, 
30 ···float·*r,·float·*g,·float·*b) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·gamma·corrected·sRGB·values·(i.e.\·normal·RGB)·to·linear·sRGB33 Convert·gamma·corrected·sRGB·values·(i.e.\·normal·RGB)·to·linear·sRGB
36 space.34 space.
37 .SH·SINCE35 .SH·SINCE
525 B
./usr/share/man/man3/al_color_rgb_to_name.3alleg5.gz
421 B
al_color_rgb_to_name.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 char·const·*al_color_rgb_to_name(float·r,·float·g,·float·b)27 char·const·*al_color_rgb_to_name(float·r,·float·g,·float·b)
28 char·const·*al_color_rgb_to_name(float·r,·float·g,·float·b) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Given·an·RGB·triplet·with·components·in·the·range·0..1,·find·a·color32 Given·an·RGB·triplet·with·components·in·the·range·0..1,·find·a·color
34 name·describing·it·approximately.33 name·describing·it·approximately.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
538 B
./usr/share/man/man3/al_color_rgb_to_oklab.3alleg5.gz
432 B
al_color_rgb_to_oklab.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_oklab(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_oklab(float·red,·float·green,·float·blue,
28 ···float·*ol,·float·*oa,·float·*ob)28 ···float·*ol,·float·*oa,·float·*ob)
29 void·al_color_rgb_to_oklab(float·red,·float·green,·float·blue, 
30 ···float·*ol,·float·*oa,·float·*ob) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·RGB·values·to·the·Oklab·color·space.33 Convert·RGB·values·to·the·Oklab·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
516 B
./usr/share/man/man3/al_color_rgb_to_xyy.3alleg5.gz
414 B
al_color_rgb_to_xyy.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_xyy(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_xyy(float·red,·float·green,·float·blue,
28 ···float·*x,·float·*y,·float·*y2)28 ···float·*x,·float·*y,·float·*y2)
29 void·al_color_rgb_to_xyy(float·red,·float·green,·float·blue, 
30 ···float·*x,·float·*y,·float·*y2) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·RGB·values·to·xyY·color·space.33 Convert·RGB·values·to·xyY·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
514 B
./usr/share/man/man3/al_color_rgb_to_xyz.3alleg5.gz
412 B
al_color_rgb_to_xyz.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_xyz(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_xyz(float·red,·float·green,·float·blue,
28 ···float·*x,·float·*y,·float·*z)28 ···float·*x,·float·*y,·float·*z)
29 void·al_color_rgb_to_xyz(float·red,·float·green,·float·blue, 
30 ···float·*x,·float·*y,·float·*z) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·RGB·values·to·XYZ·color·space.33 Convert·RGB·values·to·XYZ·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
517 B
./usr/share/man/man3/al_color_rgb_to_yuv.3alleg5.gz
415 B
al_color_rgb_to_yuv.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_rgb_to_yuv(float·red,·float·green,·float·blue,27 void·al_color_rgb_to_yuv(float·red,·float·green,·float·blue,
28 ···float·*y,·float·*u,·float·*v)28 ···float·*y,·float·*u,·float·*v)
29 void·al_color_rgb_to_yuv(float·red,·float·green,·float·blue, 
30 ···float·*y,·float·*u,·float·*v) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·RGB·values·to·YUV·color·space.33 Convert·RGB·values·to·YUV·color·space.
36 .SH·SEE·ALSO34 .SH·SEE·ALSO
37 .PP35 .PP
499 B
./usr/share/man/man3/al_color_xyy.3alleg5.gz
411 B
al_color_xyy.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_xyy(float·x,·float·y,·float·y2)27 ALLEGRO_COLOR·al_color_xyy(float·x,·float·y,·float·y2)
28 ALLEGRO_COLOR·al_color_xyy(float·x,·float·y,·float·y2) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·xyY·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·xyY·values.
34 The·Y·component·in·the·xyY·color·space·is·the·same·as·the·Y·in·XYZ.33 The·Y·component·in·the·xyY·color·space·is·the·same·as·the·Y·in·XYZ.
35 .PP34 .PP
524 B
./usr/share/man/man3/al_color_xyy_to_rgb.3alleg5.gz
422 B
al_color_xyy_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_xyy_to_rgb(float·x,·float·y,·float·y2,27 void·al_color_xyy_to_rgb(float·x,·float·y,·float·y2,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_xyy_to_rgb(float·x,·float·y,·float·y2, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·xyY·color·values·to·RGB·color·space.33 Convert·xyY·color·values·to·RGB·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
502 B
./usr/share/man/man3/al_color_xyz.3alleg5.gz
414 B
al_color_xyz.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_xyz(float·x,·float·y,·float·z)27 ALLEGRO_COLOR·al_color_xyz(float·x,·float·y,·float·z)
28 ALLEGRO_COLOR·al_color_xyz(float·x,·float·y,·float·z) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·XYZ·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·XYZ·values.
34 The·CIE·1931·XYZ·color·space·consists·of·three·components·in·the·range33 The·CIE·1931·XYZ·color·space·consists·of·three·components·in·the·range
35 0..1.34 0..1.
522 B
./usr/share/man/man3/al_color_xyz_to_rgb.3alleg5.gz
420 B
al_color_xyz_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_xyz_to_rgb(float·x,·float·y,·float·z,27 void·al_color_xyz_to_rgb(float·x,·float·y,·float·z,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_xyz_to_rgb(float·x,·float·y,·float·z, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·XYZ·color·values·to·RGB·color·space.33 Convert·XYZ·color·values·to·RGB·color·space.
36 .SH·SINCE34 .SH·SINCE
37 .PP35 .PP
442 B
./usr/share/man/man3/al_color_yuv.3alleg5.gz
354 B
al_color_yuv.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 ALLEGRO_COLOR·al_color_yuv(float·y,·float·u,·float·v)27 ALLEGRO_COLOR·al_color_yuv(float·y,·float·u,·float·v)
28 ALLEGRO_COLOR·al_color_yuv(float·y,·float·u,·float·v) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·YUV·values.32 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·YUV·values.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
525 B
./usr/share/man/man3/al_color_yuv_to_rgb.3alleg5.gz
423 B
al_color_yuv_to_rgb.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 void·al_color_yuv_to_rgb(float·y,·float·u,·float·v,27 void·al_color_yuv_to_rgb(float·y,·float·u,·float·v,
28 ····float·*red,·float·*green,·float·*blue)28 ····float·*red,·float·*green,·float·*blue)
29 void·al_color_yuv_to_rgb(float·y,·float·u,·float·v, 
30 ····float·*red,·float·*green,·float·*blue) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Convert·YUV·color·values·to·RGB·color·space.33 Convert·YUV·color·values·to·RGB·color·space.
36 .SH·SEE·ALSO34 .SH·SEE·ALSO
37 .PP35 .PP
803 B
./usr/share/man/man3/al_create_audio_recorder.3alleg5.gz
691 B
al_create_audio_recorder.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_RECORDER·*al_create_audio_recorder(size_t·fragment_count,27 ALLEGRO_AUDIO_RECORDER·*al_create_audio_recorder(size_t·fragment_count,
28 ···unsigned·int·samples,·unsigned·int·frequency,28 ···unsigned·int·samples,·unsigned·int·frequency,
29 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)29 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
30 ALLEGRO_AUDIO_RECORDER·*al_create_audio_recorder(size_t·fragment_count, 
31 ···unsigned·int·samples,·unsigned·int·frequency, 
32 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Creates·an·audio·recorder·using·the·system\[cq]s·default·recording34 Creates·an·audio·recorder·using·the·system\[cq]s·default·recording
38 device.35 device.
39 (So·if·the·returned·device·does·not·work,·try·updating·the·system\[cq]s36 (So·if·the·returned·device·does·not·work,·try·updating·the·system\[cq]s
796 B
./usr/share/man/man3/al_create_audio_stream.3alleg5.gz
688 B
al_create_audio_stream.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_STREAM·*al_create_audio_stream(size_t·fragment_count,27 ALLEGRO_AUDIO_STREAM·*al_create_audio_stream(size_t·fragment_count,
28 ···unsigned·int·frag_samples,·unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,28 ···unsigned·int·frag_samples,·unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,
29 ···ALLEGRO_CHANNEL_CONF·chan_conf)29 ···ALLEGRO_CHANNEL_CONF·chan_conf)
30 ALLEGRO_AUDIO_STREAM·*al_create_audio_stream(size_t·fragment_count, 
31 ···unsigned·int·frag_samples,·unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth, 
32 ···ALLEGRO_CHANNEL_CONF·chan_conf) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Creates·an·ALLEGRO_AUDIO_STREAM(3alleg5).34 Creates·an·ALLEGRO_AUDIO_STREAM(3alleg5).
38 The·stream·will·be·set·to·play·by·default.35 The·stream·will·be·set·to·play·by·default.
39 It·will·feed·audio·data·from·a·buffer,·which·is·split·into·a·number·of36 It·will·feed·audio·data·from·a·buffer,·which·is·split·into·a·number·of
520 B
./usr/share/man/man3/al_create_builtin_font.3alleg5.gz
412 B
al_create_builtin_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 ALLEGRO_FONT·*al_create_builtin_font(void)27 ALLEGRO_FONT·*al_create_builtin_font(void)
28 ALLEGRO_FONT·*al_create_builtin_font(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Creates·a·monochrome·bitmap·font·(8x8·pixels·per·character).32 Creates·a·monochrome·bitmap·font·(8x8·pixels·per·character).
34 .PP33 .PP
35 This·font·is·primarily·intended·to·be·used·for·displaying·information·in34 This·font·is·primarily·intended·to·be·used·for·displaying·information·in
656 B
./usr/share/man/man3/al_create_index_buffer.3alleg5.gz
548 B
al_create_index_buffer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 ALLEGRO_INDEX_BUFFER*·al_create_index_buffer(int·index_size,27 ALLEGRO_INDEX_BUFFER*·al_create_index_buffer(int·index_size,
28 ····const·void*·initial_data,·int·num_indices,·int·flags)28 ····const·void*·initial_data,·int·num_indices,·int·flags)
29 ALLEGRO_INDEX_BUFFER*·al_create_index_buffer(int·index_size, 
30 ····const·void*·initial_data,·int·num_indices,·int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Creates·a·index·buffer.33 Creates·a·index·buffer.
36 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system34 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system
37 only·supports·write-only·buffers).35 only·supports·write-only·buffers).
433 B
./usr/share/man/man3/al_create_menu.3alleg5.gz
341 B
al_create_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_create_menu(void)27 ALLEGRO_MENU·*al_create_menu(void)
28 ALLEGRO_MENU·*al_create_menu(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Creates·a·menu·container·that·can·hold·menu·items.32 Creates·a·menu·container·that·can·hold·menu·items.
34 .PP33 .PP
35 Returns·\f[V]NULL\f[R]·on·failure.34 Returns·\f[V]NULL\f[R]·on·failure.
633 B
./usr/share/man/man3/al_create_mixer.3alleg5.gz
539 B
al_create_mixer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_MIXER·*al_create_mixer(unsigned·int·freq,27 ALLEGRO_MIXER·*al_create_mixer(unsigned·int·freq,
28 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)28 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
29 ALLEGRO_MIXER·*al_create_mixer(unsigned·int·freq, 
30 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Creates·a·mixer·to·attach·sample·instances,·audio·streams,·or·other33 Creates·a·mixer·to·attach·sample·instances,·audio·streams,·or·other
36 mixers·to.34 mixers·to.
37 It·will·mix·into·a·buffer·at·the·requested·frequency·(in·Hz)·and·channel35 It·will·mix·into·a·buffer·at·the·requested·frequency·(in·Hz)·and·channel
679 B
./usr/share/man/man3/al_create_native_file_dialog.3alleg5.gz
559 B
al_create_native_file_dialog.3alleg5
    
Offset 26, 19 lines modifiedOffset 26, 14 lines modified
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(27 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(
28 ···char·const·*initial_path,28 ···char·const·*initial_path,
29 ···char·const·*title,29 ···char·const·*title,
30 ···char·const·*patterns,30 ···char·const·*patterns,
31 ···int·mode)31 ···int·mode)
32 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog( 
33 ···char·const·*initial_path, 
34 ···char·const·*title, 
35 ···char·const·*patterns, 
36 ···int·mode) 
37 \f[R]32 \f[R]
38 .fi33 .fi
39 .SH·DESCRIPTION34 .SH·DESCRIPTION
40 .PP35 .PP
41 Creates·a·new·native·file·dialog.36 Creates·a·new·native·file·dialog.
42 You·should·only·have·one·such·dialog·opened·at·a·time.37 You·should·only·have·one·such·dialog·opened·at·a·time.
43 .PP38 .PP
558 B
./usr/share/man/man3/al_create_popup_menu.3alleg5.gz
454 B
al_create_popup_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_create_popup_menu(void)27 ALLEGRO_MENU·*al_create_popup_menu(void)
28 ALLEGRO_MENU·*al_create_popup_menu(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Creates·a·menu·container·for·popup·menus.32 Creates·a·menu·container·for·popup·menus.
34 Only·the·root·(outermost)·menu·should·be·created·with·this·function.33 Only·the·root·(outermost)·menu·should·be·created·with·this·function.
35 Sub·menus·of·popups·should·be·created·with·al_create_menu(3alleg5).34 Sub·menus·of·popups·should·be·created·with·al_create_menu(3alleg5).
772 B
./usr/share/man/man3/al_create_sample.3alleg5.gz
676 B
al_create_sample.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_SAMPLE·*al_create_sample(void·*buf,·unsigned·int·samples,27 ALLEGRO_SAMPLE·*al_create_sample(void·*buf,·unsigned·int·samples,
28 ···unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,28 ···unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,
29 ···ALLEGRO_CHANNEL_CONF·chan_conf,·bool·free_buf)29 ···ALLEGRO_CHANNEL_CONF·chan_conf,·bool·free_buf)
30 ALLEGRO_SAMPLE·*al_create_sample(void·*buf,·unsigned·int·samples, 
31 ···unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth, 
32 ···ALLEGRO_CHANNEL_CONF·chan_conf,·bool·free_buf) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Create·a·sample·data·structure·from·the·supplied·buffer.34 Create·a·sample·data·structure·from·the·supplied·buffer.
38 If·\f[V]free_buf\f[R]·is·true·then·the·buffer·will·be·freed·with35 If·\f[V]free_buf\f[R]·is·true·then·the·buffer·will·be·freed·with
39 al_free(3alleg5)·when·the·sample·data·structure·is·destroyed.36 al_free(3alleg5)·when·the·sample·data·structure·is·destroyed.
617 B
./usr/share/man/man3/al_create_sample_instance.3alleg5.gz
503 B
al_create_sample_instance.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_SAMPLE_INSTANCE·*al_create_sample_instance(ALLEGRO_SAMPLE·*sample_data)27 ALLEGRO_SAMPLE_INSTANCE·*al_create_sample_instance(ALLEGRO_SAMPLE·*sample_data)
28 ALLEGRO_SAMPLE_INSTANCE·*al_create_sample_instance(ALLEGRO_SAMPLE·*sample_data) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Creates·a·sample·instance,·using·the·supplied·sample·data.32 Creates·a·sample·instance,·using·the·supplied·sample·data.
34 The·instance·must·be·attached·to·a·mixer·(or·voice)·in·order·to·actually33 The·instance·must·be·attached·to·a·mixer·(or·voice)·in·order·to·actually
35 produce·output.34 produce·output.
687 B
./usr/share/man/man3/al_create_vertex_buffer.3alleg5.gz
577 B
al_create_vertex_buffer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 ALLEGRO_VERTEX_BUFFER*·al_create_vertex_buffer(ALLEGRO_VERTEX_DECL*·decl,27 ALLEGRO_VERTEX_BUFFER*·al_create_vertex_buffer(ALLEGRO_VERTEX_DECL*·decl,
28 ···const·void*·initial_data,·int·num_vertices,·int·flags)28 ···const·void*·initial_data,·int·num_vertices,·int·flags)
29 ALLEGRO_VERTEX_BUFFER*·al_create_vertex_buffer(ALLEGRO_VERTEX_DECL*·decl, 
30 ···const·void*·initial_data,·int·num_vertices,·int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Creates·a·vertex·buffer.33 Creates·a·vertex·buffer.
36 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system34 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system
37 only·supports·write-only·buffers).35 only·supports·write-only·buffers).
584 B
./usr/share/man/man3/al_create_vertex_decl.3alleg5.gz
478 B
al_create_vertex_decl.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 ALLEGRO_VERTEX_DECL*·al_create_vertex_decl(const·ALLEGRO_VERTEX_ELEMENT*·elements,·int·stride)27 ALLEGRO_VERTEX_DECL*·al_create_vertex_decl(const·ALLEGRO_VERTEX_ELEMENT*·elements,·int·stride)
28 ALLEGRO_VERTEX_DECL*·al_create_vertex_decl(const·ALLEGRO_VERTEX_ELEMENT*·elements,·int·stride) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Creates·a·vertex·declaration,·which·describes·a·custom·vertex·format.32 Creates·a·vertex·declaration,·which·describes·a·custom·vertex·format.
34 .PP33 .PP
35 \f[I]Parameters:\f[R]34 \f[I]Parameters:\f[R]
630 B
./usr/share/man/man3/al_create_voice.3alleg5.gz
536 B
al_create_voice.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_VOICE·*al_create_voice(unsigned·int·freq,27 ALLEGRO_VOICE·*al_create_voice(unsigned·int·freq,
28 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)28 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
29 ALLEGRO_VOICE·*al_create_voice(unsigned·int·freq, 
30 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Creates·a·voice·structure·and·allocates·a·voice·from·the·digital·sound33 Creates·a·voice·structure·and·allocates·a·voice·from·the·digital·sound
36 driver.34 driver.
37 The·passed·frequency·(in·Hz),·sample·format·and·channel·configuration35 The·passed·frequency·(in·Hz),·sample·format·and·channel·configuration
553 B
./usr/share/man/man3/al_destroy_audio_recorder.3alleg5.gz
439 B
al_destroy_audio_recorder.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)27 void·al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
28 void·al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·the·audio·recorder·and·frees·all·resources·associated·with·it.32 Destroys·the·audio·recorder·and·frees·all·resources·associated·with·it.
34 It·is·safe·to·destroy·a·recorder·that·is·recording.33 It·is·safe·to·destroy·a·recorder·that·is·recording.
35 .PP34 .PP
536 B
./usr/share/man/man3/al_destroy_audio_stream.3alleg5.gz
426 B
al_destroy_audio_stream.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)27 void·al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
28 void·al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroy·an·audio·stream·which·was·created·with32 Destroy·an·audio·stream·which·was·created·with
34 al_create_audio_stream(3alleg5)·or·al_load_audio_stream(3alleg5).33 al_create_audio_stream(3alleg5)·or·al_load_audio_stream(3alleg5).
35 .RS34 .RS
435 B
./usr/share/man/man3/al_destroy_font.3alleg5.gz
341 B
al_destroy_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_destroy_font(ALLEGRO_FONT·*f)27 void·al_destroy_font(ALLEGRO_FONT·*f)
28 void·al_destroy_font(ALLEGRO_FONT·*f) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Frees·the·memory·being·used·by·a·font·structure.32 Frees·the·memory·being·used·by·a·font·structure.
34 Does·nothing·if·passed·NULL.33 Does·nothing·if·passed·NULL.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
488 B
./usr/share/man/man3/al_destroy_index_buffer.3alleg5.gz
378 B
al_destroy_index_buffer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)27 void·al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)
28 void·al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·a·index·buffer.32 Destroys·a·index·buffer.
34 Does·nothing·if·passed·NULL.33 Does·nothing·if·passed·NULL.
35 .SH·SINCE34 .SH·SINCE
534 B
./usr/share/man/man3/al_destroy_menu.3alleg5.gz
440 B
al_destroy_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_destroy_menu(ALLEGRO_MENU·*menu)27 void·al_destroy_menu(ALLEGRO_MENU·*menu)
28 void·al_destroy_menu(ALLEGRO_MENU·*menu) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·an·entire·menu,·including·its·sub-menus.32 Destroys·an·entire·menu,·including·its·sub-menus.
34 Any·references·to·it·or·a·sub-menu·are·no·longer·valid.33 Any·references·to·it·or·a·sub-menu·are·no·longer·valid.
35 It·is·safe·to·call·this·on·a·menu·that·is·currently·being·displayed.34 It·is·safe·to·call·this·on·a·menu·that·is·currently·being·displayed.
398 B
./usr/share/man/man3/al_destroy_mixer.3alleg5.gz
302 B
al_destroy_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_destroy_mixer(ALLEGRO_MIXER·*mixer)27 void·al_destroy_mixer(ALLEGRO_MIXER·*mixer)
28 void·al_destroy_mixer(ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·the·mixer.32 Destroys·the·mixer.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
507 B
./usr/share/man/man3/al_destroy_native_file_dialog.3alleg5.gz
385 B
al_destroy_native_file_dialog.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)27 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)
28 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Frees·up·all·resources·used·by·the·file·dialog.32 Frees·up·all·resources·used·by·the·file·dialog.
519 B
./usr/share/man/man3/al_destroy_sample.3alleg5.gz
421 B
al_destroy_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_destroy_sample(ALLEGRO_SAMPLE·*spl)27 void·al_destroy_sample(ALLEGRO_SAMPLE·*spl)
28 void·al_destroy_sample(ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Free·the·sample·data·structure.32 Free·the·sample·data·structure.
34 If·it·was·created·with·the·\f[V]free_buf\f[R]·parameter·set·to·true,33 If·it·was·created·with·the·\f[V]free_buf\f[R]·parameter·set·to·true,
35 then·the·buffer·will·be·freed·with·al_free(3alleg5).34 then·the·buffer·will·be·freed·with·al_free(3alleg5).
585 B
./usr/share/man/man3/al_destroy_sample_instance.3alleg5.gz
469 B
al_destroy_sample_instance.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)27 void·al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
28 void·al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Detaches·the·sample·instance·from·anything·it·may·be·attached·to·and32 Detaches·the·sample·instance·from·anything·it·may·be·attached·to·and
34 frees·it·(the·sample·data,·i.e.\·its·ALLEGRO_SAMPLE,·is·\f[I]not\f[R]33 frees·it·(the·sample·data,·i.e.\·its·ALLEGRO_SAMPLE,·is·\f[I]not\f[R]
35 freed!).34 freed!).
497 B
./usr/share/man/man3/al_destroy_vertex_buffer.3alleg5.gz
385 B
al_destroy_vertex_buffer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)27 void·al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)
28 void·al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·a·vertex·buffer.32 Destroys·a·vertex·buffer.
34 Does·nothing·if·passed·NULL.33 Does·nothing·if·passed·NULL.
35 .SH·SINCE34 .SH·SINCE
469 B
./usr/share/man/man3/al_destroy_vertex_decl.3alleg5.gz
361 B
al_destroy_vertex_decl.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL*·decl)27 void·al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL*·decl)
28 void·al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL*·decl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·a·vertex·declaration.32 Destroys·a·vertex·declaration.
34 .PP33 .PP
35 \f[I]Parameters:\f[R]34 \f[I]Parameters:\f[R]
472 B
./usr/share/man/man3/al_destroy_voice.3alleg5.gz
376 B
al_destroy_voice.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_destroy_voice(ALLEGRO_VOICE·*voice)27 void·al_destroy_voice(ALLEGRO_VOICE·*voice)
28 void·al_destroy_voice(ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Destroys·the·voice·and·deallocates·it·from·the·digital·driver.32 Destroys·the·voice·and·deallocates·it·from·the·digital·driver.
34 Does·nothing·if·the·voice·is·NULL.33 Does·nothing·if·the·voice·is·NULL.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
497 B
./usr/share/man/man3/al_detach_audio_stream.3alleg5.gz
389 B
al_detach_audio_stream.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_detach_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)27 bool·al_detach_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
28 bool·al_detach_audio_stream(ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Detach·the·stream·from·whatever·it\[cq]s·attached·to,·if·anything.32 Detach·the·stream·from·whatever·it\[cq]s·attached·to,·if·anything.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
435 B
./usr/share/man/man3/al_detach_mixer.3alleg5.gz
341 B
al_detach_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_detach_mixer(ALLEGRO_MIXER·*mixer)27 bool·al_detach_mixer(ALLEGRO_MIXER·*mixer)
28 bool·al_detach_mixer(ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Detach·the·mixer·from·whatever·it·is·attached·to,·if·anything.32 Detach·the·mixer·from·whatever·it·is·attached·to,·if·anything.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
511 B
./usr/share/man/man3/al_detach_sample_instance.3alleg5.gz
397 B
al_detach_sample_instance.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)27 bool·al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
28 bool·al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Detach·the·sample·instance·from·whatever·it\[cq]s·attached·to,·if32 Detach·the·sample·instance·from·whatever·it\[cq]s·attached·to,·if
34 anything.33 anything.
35 .PP34 .PP
440 B
./usr/share/man/man3/al_detach_voice.3alleg5.gz
346 B
al_detach_voice.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_detach_voice(ALLEGRO_VOICE·*voice)27 void·al_detach_voice(ALLEGRO_VOICE·*voice)
28 void·al_detach_voice(ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Detaches·the·mixer,·sample·instance·or·audio·stream·from·the·voice.32 Detaches·the·mixer,·sample·instance·or·audio·stream·from·the·voice.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
536 B
./usr/share/man/man3/al_disable_menu_event_source.3alleg5.gz
416 B
al_disable_menu_event_source.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_disable_menu_event_source(ALLEGRO_MENU·*menu)27 void·al_disable_menu_event_source(ALLEGRO_MENU·*menu)
28 void·al_disable_menu_event_source(ALLEGRO_MENU·*menu) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Disables·a·unique·event·source·for·the·menu,·causing·it·to·use·the32 Disables·a·unique·event·source·for·the·menu,·causing·it·to·use·the
34 default·event·source.33 default·event·source.
35 .SH·SINCE34 .SH·SINCE
794 B
./usr/share/man/man3/al_do_multiline_text.3alleg5.gz
690 B
al_do_multiline_text.3alleg5
    
Offset 25, 18 lines modifiedOffset 25, 14 lines modified
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_do_multiline_text(const·ALLEGRO_FONT·*font,27 void·al_do_multiline_text(const·ALLEGRO_FONT·*font,
28 ···float·max_width,·const·char·*text,28 ···float·max_width,·const·char·*text,
29 ···bool·(*cb)(int·line_num,·const·char·*line,·int·size,·void·*extra),29 ···bool·(*cb)(int·line_num,·const·char·*line,·int·size,·void·*extra),
30 ···void·*extra)30 ···void·*extra)
31 void·al_do_multiline_text(const·ALLEGRO_FONT·*font, 
32 ···float·max_width,·const·char·*text, 
33 ···bool·(*cb)(int·line_num,·const·char·*line,·int·size,·void·*extra), 
34 ···void·*extra) 
35 \f[R]31 \f[R]
36 .fi32 .fi
37 .SH·DESCRIPTION33 .SH·DESCRIPTION
38 .PP34 .PP
39 This·function·processes·the·\f[V]text\f[R]·and·splits·it·into·lines·as35 This·function·processes·the·\f[V]text\f[R]·and·splits·it·into·lines·as
40 al_draw_multiline_text(3alleg5)·would,·and·then·calls·the·callback36 al_draw_multiline_text(3alleg5)·would,·and·then·calls·the·callback
41 \f[V]cb\f[R]·once·for·every·line.37 \f[V]cb\f[R]·once·for·every·line.
754 B
./usr/share/man/man3/al_do_multiline_ustr.3alleg5.gz
650 B
al_do_multiline_ustr.3alleg5
    
Offset 25, 18 lines modifiedOffset 25, 14 lines modified
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_do_multiline_ustr(const·ALLEGRO_FONT·*font,·float·max_width,27 void·al_do_multiline_ustr(const·ALLEGRO_FONT·*font,·float·max_width,
28 ···const·ALLEGRO_USTR·*ustr,28 ···const·ALLEGRO_USTR·*ustr,
29 ···bool·(*cb)(int·line_num,·const·ALLEGRO_USTR·*·line,·void·*extra),29 ···bool·(*cb)(int·line_num,·const·ALLEGRO_USTR·*·line,·void·*extra),
30 ···void·*extra)30 ···void·*extra)
31 void·al_do_multiline_ustr(const·ALLEGRO_FONT·*font,·float·max_width, 
32 ···const·ALLEGRO_USTR·*ustr, 
33 ···bool·(*cb)(int·line_num,·const·ALLEGRO_USTR·*·line,·void·*extra), 
34 ···void·*extra) 
35 \f[R]31 \f[R]
36 .fi32 .fi
37 .SH·DESCRIPTION33 .SH·DESCRIPTION
38 .PP34 .PP
39 Like·al_do_multiline_text(3alleg5),·but·using·ALLEGRO_USTR·instead·of·a35 Like·al_do_multiline_text(3alleg5),·but·using·ALLEGRO_USTR·instead·of·a
40 NUL-terminated·char·array·for·text.36 NUL-terminated·char·array·for·text.
41 .SH·SINCE37 .SH·SINCE
596 B
./usr/share/man/man3/al_drain_audio_stream.3alleg5.gz
490 B
al_drain_audio_stream.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_drain_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)27 void·al_drain_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
28 void·al_drain_audio_stream(ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 You·should·call·this·to·finalise·an·audio·stream·that·you·will·no·longer32 You·should·call·this·to·finalise·an·audio·stream·that·you·will·no·longer
34 be·feeding,·to·wait·for·all·pending·buffers·to·finish·playing.33 be·feeding,·to·wait·for·all·pending·buffers·to·finish·playing.
35 The·stream\[cq]s·playing·state·will·change·to·false.34 The·stream\[cq]s·playing·state·will·change·to·false.
536 B
./usr/share/man/man3/al_draw_arc.3alleg5.gz
450 B
al_draw_arc.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_arc(float·cx,·float·cy,·float·r,·float·start_theta,27 void·al_draw_arc(float·cx,·float·cy,·float·r,·float·start_theta,
28 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)28 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_arc(float·cx,·float·cy,·float·r,·float·start_theta, 
30 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·arc.33 Draws·an·arc.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
490 B
./usr/share/man/man3/al_draw_circle.3alleg5.gz
398 B
al_draw_circle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color,27 void·al_draw_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color,
28 ···float·thickness)28 ···float·thickness)
29 void·al_draw_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color, 
30 ···float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·outlined·circle.33 Draws·an·outlined·circle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
519 B
./usr/share/man/man3/al_draw_ellipse.3alleg5.gz
425 B
al_draw_ellipse.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_ellipse(float·cx,·float·cy,·float·rx,·float·ry,27 void·al_draw_ellipse(float·cx,·float·cy,·float·rx,·float·ry,
28 ···ALLEGRO_COLOR·color,·float·thickness)28 ···ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_ellipse(float·cx,·float·cy,·float·rx,·float·ry, 
30 ···ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·outlined·ellipse.33 Draws·an·outlined·ellipse.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
635 B
./usr/share/man/man3/al_draw_elliptical_arc.3alleg5.gz
527 B
al_draw_elliptical_arc.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_elliptical_arc(float·cx,·float·cy,·float·rx,·float·ry,·float·start_theta,27 void·al_draw_elliptical_arc(float·cx,·float·cy,·float·rx,·float·ry,·float·start_theta,
28 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)28 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_elliptical_arc(float·cx,·float·cy,·float·rx,·float·ry,·float·start_theta, 
30 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·elliptical·arc.33 Draws·an·elliptical·arc.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
501 B
./usr/share/man/man3/al_draw_filled_circle.3alleg5.gz
395 B
al_draw_filled_circle.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color)27 void·al_draw_filled_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color)
28 void·al_draw_filled_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Draws·a·filled·circle.32 Draws·a·filled·circle.
34 .PP33 .PP
35 \f[I]Parameters:\f[R]34 \f[I]Parameters:\f[R]
524 B
./usr/share/man/man3/al_draw_filled_ellipse.3alleg5.gz
416 B
al_draw_filled_ellipse.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_ellipse(float·cx,·float·cy,·float·rx,·float·ry,27 void·al_draw_filled_ellipse(float·cx,·float·cy,·float·rx,·float·ry,
28 ···ALLEGRO_COLOR·color)28 ···ALLEGRO_COLOR·color)
29 void·al_draw_filled_ellipse(float·cx,·float·cy,·float·rx,·float·ry, 
30 ···ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·filled·ellipse.33 Draws·a·filled·ellipse.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
610 B
./usr/share/man/man3/al_draw_filled_pieslice.3alleg5.gz
500 B
al_draw_filled_pieslice.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,27 void·al_draw_filled_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,
28 ···float·delta_theta,·ALLEGRO_COLOR·color)28 ···float·delta_theta,·ALLEGRO_COLOR·color)
29 void·al_draw_filled_pieslice(float·cx,·float·cy,·float·r,·float·start_theta, 
30 ···float·delta_theta,·ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·filled·pieslice·(filled·circular·sector).33 Draws·a·filled·pieslice·(filled·circular·sector).
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
584 B
./usr/share/man/man3/al_draw_filled_polygon.3alleg5.gz
476 B
al_draw_filled_polygon.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_polygon(const·float·*vertices,·int·vertex_count,27 void·al_draw_filled_polygon(const·float·*vertices,·int·vertex_count,
28 ···ALLEGRO_COLOR·color)28 ···ALLEGRO_COLOR·color)
29 void·al_draw_filled_polygon(const·float·*vertices,·int·vertex_count, 
30 ···ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draw·a·filled,·simple·polygon.33 Draw·a·filled,·simple·polygon.
36 Simple·means·it·does·not·have·to·be·convex·but·must·not·be34 Simple·means·it·does·not·have·to·be·convex·but·must·not·be
37 self-overlapping.35 self-overlapping.
727 B
./usr/share/man/man3/al_draw_filled_polygon_with_holes.3alleg5.gz
597 B
al_draw_filled_polygon_with_holes.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_polygon_with_holes(const·float·*vertices,27 void·al_draw_filled_polygon_with_holes(const·float·*vertices,
28 ···const·int·*vertex_counts,·ALLEGRO_COLOR·color)28 ···const·int·*vertex_counts,·ALLEGRO_COLOR·color)
29 void·al_draw_filled_polygon_with_holes(const·float·*vertices, 
30 ···const·int·*vertex_counts,·ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·filled·simple·polygon·with·zero·or·more·other·simple·polygons33 Draws·a·filled·simple·polygon·with·zero·or·more·other·simple·polygons
36 subtracted·from·it·-·the·holes.34 subtracted·from·it·-·the·holes.
37 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·filled35 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·filled
538 B
./usr/share/man/man3/al_draw_filled_rectangle.3alleg5.gz
426 B
al_draw_filled_rectangle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
28 ···ALLEGRO_COLOR·color)28 ···ALLEGRO_COLOR·color)
29 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·filled·rectangle.33 Draws·a·filled·rectangle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
635 B
./usr/share/man/man3/al_draw_filled_rounded_rectangle.3alleg5.gz
507 B
al_draw_filled_rounded_rectangle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_filled_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
28 ···float·rx,·float·ry,·ALLEGRO_COLOR·color)28 ···float·rx,·float·ry,·ALLEGRO_COLOR·color)
29 void·al_draw_filled_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···float·rx,·float·ry,·ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·filled·rounded·rectangle.33 Draws·an·filled·rounded·rectangle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
571 B
./usr/share/man/man3/al_draw_filled_triangle.3alleg5.gz
461 B
al_draw_filled_triangle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,
28 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)28 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)
29 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···float·x3,·float·y3,·ALLEGRO_COLOR·color) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·filled·triangle.33 Draws·a·filled·triangle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
634 B
./usr/share/man/man3/al_draw_glyph.3alleg5.gz
544 B
al_draw_glyph.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_glyph(const·ALLEGRO_FONT·*f,·ALLEGRO_COLOR·color,·float·x,·float·y,27 void·al_draw_glyph(const·ALLEGRO_FONT·*f,·ALLEGRO_COLOR·color,·float·x,·float·y,
28 ···int·codepoint)28 ···int·codepoint)
29 void·al_draw_glyph(const·ALLEGRO_FONT·*f,·ALLEGRO_COLOR·color,·float·x,·float·y, 
30 ···int·codepoint) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·the·glyph·that·corresponds·with·\f[V]codepoint\f[R]·in·the·given33 Draws·the·glyph·that·corresponds·with·\f[V]codepoint\f[R]·in·the·given
36 \f[V]color\f[R]·using·the·given·\f[V]font\f[R].34 \f[V]color\f[R]·using·the·given·\f[V]font\f[R].
37 If·\f[V]font\f[R]·does·not·have·such·a·glyph,·nothing·will·be·drawn.35 If·\f[V]font\f[R]·does·not·have·such·a·glyph,·nothing·will·be·drawn.
757 B
./usr/share/man/man3/al_draw_indexed_buffer.3alleg5.gz
649 B
al_draw_indexed_buffer.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 int·al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,27 int·al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,
28 ···ALLEGRO_BITMAP*·texture,·ALLEGRO_INDEX_BUFFER*·index_buffer,28 ···ALLEGRO_BITMAP*·texture,·ALLEGRO_INDEX_BUFFER*·index_buffer,
29 ···int·start,·int·end,·int·type)29 ···int·start,·int·end,·int·type)
30 int·al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer, 
31 ···ALLEGRO_BITMAP*·texture,·ALLEGRO_INDEX_BUFFER*·index_buffer, 
32 ···int·start,·int·end,·int·type) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Draws·a·subset·of·the·passed·vertex·buffer.34 Draws·a·subset·of·the·passed·vertex·buffer.
38 This·function·uses·an·index·buffer·to·specify·which·vertices·to·use.35 This·function·uses·an·index·buffer·to·specify·which·vertices·to·use.
39 Both·buffers·must·not·be·locked.36 Both·buffers·must·not·be·locked.
691 B
./usr/share/man/man3/al_draw_indexed_prim.3alleg5.gz
587 B
al_draw_indexed_prim.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 int·al_draw_indexed_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,27 int·al_draw_indexed_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,
28 ···ALLEGRO_BITMAP*·texture,·const·int*·indices,·int·num_vtx,·int·type)28 ···ALLEGRO_BITMAP*·texture,·const·int*·indices,·int·num_vtx,·int·type)
29 int·al_draw_indexed_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl, 
30 ···ALLEGRO_BITMAP*·texture,·const·int*·indices,·int·num_vtx,·int·type) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·subset·of·the·passed·vertex·array.33 Draws·a·subset·of·the·passed·vertex·array.
36 This·function·uses·an·index·array·to·specify·which·vertices·to·use.34 This·function·uses·an·index·array·to·specify·which·vertices·to·use.
37 .PP35 .PP
661 B
./usr/share/man/man3/al_draw_justified_text.3alleg5.gz
553 B
al_draw_justified_text.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_justified_text(const·ALLEGRO_FONT·*font,27 void·al_draw_justified_text(const·ALLEGRO_FONT·*font,
28 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,28 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,
29 ···float·y,·float·diff,·int·flags,·const·char·*text)29 ···float·y,·float·diff,·int·flags,·const·char·*text)
30 void·al_draw_justified_text(const·ALLEGRO_FONT·*font, 
31 ···ALLEGRO_COLOR·color,·float·x1,·float·x2, 
32 ···float·y,·float·diff,·int·flags,·const·char·*text) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Like·al_draw_text(3alleg5),·but·justifies·the·string·to·the·region34 Like·al_draw_text(3alleg5),·but·justifies·the·string·to·the·region
38 x1-x2.35 x1-x2.
39 .PP36 .PP
746 B
./usr/share/man/man3/al_draw_justified_textf.3alleg5.gz
636 B
al_draw_justified_textf.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_justified_textf(const·ALLEGRO_FONT·*f,27 void·al_draw_justified_textf(const·ALLEGRO_FONT·*f,
28 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,·float·y,28 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,·float·y,
29 ···float·diff,·int·flags,·const·char·*format,·...)29 ···float·diff,·int·flags,·const·char·*format,·...)
30 void·al_draw_justified_textf(const·ALLEGRO_FONT·*f, 
31 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,·float·y, 
32 ···float·diff,·int·flags,·const·char·*format,·...) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Formatted·text·output,·using·a·printf()·style·format·string.34 Formatted·text·output,·using·a·printf()·style·format·string.
38 All·parameters·have·the·same·meaning·as·with35 All·parameters·have·the·same·meaning·as·with
39 al_draw_justified_text(3alleg5)·otherwise.36 al_draw_justified_text(3alleg5)·otherwise.
735 B
./usr/share/man/man3/al_draw_justified_ustr.3alleg5.gz
627 B
al_draw_justified_ustr.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_justified_ustr(const·ALLEGRO_FONT·*font,27 void·al_draw_justified_ustr(const·ALLEGRO_FONT·*font,
28 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,28 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,
29 ···float·y,·float·diff,·int·flags,·const·ALLEGRO_USTR·*ustr)29 ···float·y,·float·diff,·int·flags,·const·ALLEGRO_USTR·*ustr)
30 void·al_draw_justified_ustr(const·ALLEGRO_FONT·*font, 
31 ···ALLEGRO_COLOR·color,·float·x1,·float·x2, 
32 ···float·y,·float·diff,·int·flags,·const·ALLEGRO_USTR·*ustr) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Like·al_draw_justified_text(3alleg5),·except·the·text·is·passed·as·an34 Like·al_draw_justified_text(3alleg5),·except·the·text·is·passed·as·an
38 ALLEGRO_USTR·instead·of·a·NUL-terminated·char·array.35 ALLEGRO_USTR·instead·of·a·NUL-terminated·char·array.
39 .SH·SEE·ALSO36 .SH·SEE·ALSO
515 B
./usr/share/man/man3/al_draw_line.3alleg5.gz
427 B
al_draw_line.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,
28 ···ALLEGRO_COLOR·color,·float·thickness)28 ···ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·line·segment·between·two·points.33 Draws·a·line·segment·between·two·points.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
772 B
./usr/share/man/man3/al_draw_multiline_text.3alleg5.gz
664 B
al_draw_multiline_text.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_multiline_text(const·ALLEGRO_FONT·*font,27 void·al_draw_multiline_text(const·ALLEGRO_FONT·*font,
28 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,28 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
29 ·····int·flags,·const·char·*text)29 ·····int·flags,·const·char·*text)
30 void·al_draw_multiline_text(const·ALLEGRO_FONT·*font, 
31 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height, 
32 ·····int·flags,·const·char·*text) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Like·al_draw_text(3alleg5),·but·this·function·supports·drawing·multiple34 Like·al_draw_text(3alleg5),·but·this·function·supports·drawing·multiple
38 lines·of·text.35 lines·of·text.
39 It·will·break·\f[V]text\f[R]·in·lines·based·on·its·contents·and·the36 It·will·break·\f[V]text\f[R]·in·lines·based·on·its·contents·and·the
786 B
./usr/share/man/man3/al_draw_multiline_textf.3alleg5.gz
676 B
al_draw_multiline_textf.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_multiline_textf(const·ALLEGRO_FONT·*font,27 void·al_draw_multiline_textf(const·ALLEGRO_FONT·*font,
28 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,28 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
29 ·····int·flags,·const·char·*format,·...)29 ·····int·flags,·const·char·*format,·...)
30 void·al_draw_multiline_textf(const·ALLEGRO_FONT·*font, 
31 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height, 
32 ·····int·flags,·const·char·*format,·...) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Formatted·text·output,·using·a·printf()·style·format·string.34 Formatted·text·output,·using·a·printf()·style·format·string.
38 All·parameters·have·the·same·meaning·as·with35 All·parameters·have·the·same·meaning·as·with
39 al_draw_multiline_text(3alleg5)·otherwise.36 al_draw_multiline_text(3alleg5)·otherwise.
766 B
./usr/share/man/man3/al_draw_multiline_ustr.3alleg5.gz
658 B
al_draw_multiline_ustr.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_multiline_ustr(const·ALLEGRO_FONT·*font,27 void·al_draw_multiline_ustr(const·ALLEGRO_FONT·*font,
28 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,28 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
29 ·····int·flags,·const·ALLEGRO_USTR·*ustr)29 ·····int·flags,·const·ALLEGRO_USTR·*ustr)
30 void·al_draw_multiline_ustr(const·ALLEGRO_FONT·*font, 
31 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height, 
32 ·····int·flags,·const·ALLEGRO_USTR·*ustr) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Like·al_draw_multiline_text(3alleg5),·except·the·text·is·passed·as·an34 Like·al_draw_multiline_text(3alleg5),·except·the·text·is·passed·as·an
38 ALLEGRO_USTR·instead·of·a·NUL-terminated·char·array.35 ALLEGRO_USTR·instead·of·a·NUL-terminated·char·array.
39 .SH·SINCE36 .SH·SINCE
597 B
./usr/share/man/man3/al_draw_pieslice.3alleg5.gz
501 B
al_draw_pieslice.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,27 void·al_draw_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,
28 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)28 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_pieslice(float·cx,·float·cy,·float·r,·float·start_theta, 
30 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·pieslice·(outlined·circular·sector).33 Draws·a·pieslice·(outlined·circular·sector).
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
656 B
./usr/share/man/man3/al_draw_polygon.3alleg5.gz
562 B
al_draw_polygon.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_polygon(const·float·*vertices,·int·vertex_count,27 void·al_draw_polygon(const·float·*vertices,·int·vertex_count,
28 ···int·join_style,·ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)28 ···int·join_style,·ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)
29 void·al_draw_polygon(const·float·*vertices,·int·vertex_count, 
30 ···int·join_style,·ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draw·an·unfilled·polygon.33 Draw·an·unfilled·polygon.
36 This·is·the·same·as·passing·\f[V]ALLEGRO_LINE_CAP_CLOSED\f[R]·to34 This·is·the·same·as·passing·\f[V]ALLEGRO_LINE_CAP_CLOSED\f[R]·to
37 al_draw_polyline(3alleg5).35 al_draw_polyline(3alleg5).
717 B
./usr/share/man/man3/al_draw_polyline.3alleg5.gz
621 B
al_draw_polyline.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_polyline(const·float*·vertices,·int·vertex_stride,27 void·al_draw_polyline(const·float*·vertices,·int·vertex_stride,
28 ···int·vertex_count,·int·join_style,·int·cap_style,28 ···int·vertex_count,·int·join_style,·int·cap_style,
29 ···ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)29 ···ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)
30 void·al_draw_polyline(const·float*·vertices,·int·vertex_stride, 
31 ···int·vertex_count,·int·join_style,·int·cap_style, 
32 ···ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Draw·a·series·of·line·segments.34 Draw·a·series·of·line·segments.
38 .IP·\[bu]·235 .IP·\[bu]·2
39 vertices·-·Interleaved·array·of·(x,·y)·vertex·coordinates36 vertices·-·Interleaved·array·of·(x,·y)·vertex·coordinates
571 B
./usr/share/man/man3/al_draw_prim.3alleg5.gz
483 B
al_draw_prim.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 int·al_draw_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,27 int·al_draw_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,
28 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)28 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)
29 int·al_draw_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl, 
30 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·subset·of·the·passed·vertex·array.33 Draws·a·subset·of·the·passed·vertex·array.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
533 B
./usr/share/man/man3/al_draw_rectangle.3alleg5.gz
435 B
al_draw_rectangle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
28 ···ALLEGRO_COLOR·color,·float·thickness)28 ···ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·outlined·rectangle.33 Draws·an·outlined·rectangle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
663 B
./usr/share/man/man3/al_draw_ribbon.3alleg5.gz
571 B
al_draw_ribbon.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_ribbon(const·float·*points,·int·points_stride,·ALLEGRO_COLOR·color,27 void·al_draw_ribbon(const·float·*points,·int·points_stride,·ALLEGRO_COLOR·color,
28 ···float·thickness,·int·num_segments)28 ···float·thickness,·int·num_segments)
29 void·al_draw_ribbon(const·float·*points,·int·points_stride,·ALLEGRO_COLOR·color, 
30 ···float·thickness,·int·num_segments) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·ribbon·given·an·array·of·points.33 Draws·a·ribbon·given·an·array·of·points.
36 The·ribbon·will·go·through·all·of·the·passed·points.34 The·ribbon·will·go·through·all·of·the·passed·points.
37 The·points·buffer·should·consist·of·regularly·spaced·doublets·of·floats,35 The·points·buffer·should·consist·of·regularly·spaced·doublets·of·floats,
629 B
./usr/share/man/man3/al_draw_rounded_rectangle.3alleg5.gz
515 B
al_draw_rounded_rectangle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
28 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)28 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·outlined·rounded·rectangle.33 Draws·an·outlined·rounded·rectangle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
849 B
./usr/share/man/man3/al_draw_soft_line.3alleg5.gz
751 B
al_draw_soft_line.3alleg5
    
Offset 25, 18 lines modifiedOffset 25, 14 lines modified
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_soft_line(ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·uintptr_t·state,27 void·al_draw_soft_line(ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·uintptr_t·state,
28 ···void·(*first)(uintptr_t,·int,·int,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),28 ···void·(*first)(uintptr_t,·int,·int,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),
29 ···void·(*step)(uintptr_t,·int),29 ···void·(*step)(uintptr_t,·int),
30 ···void·(*draw)(uintptr_t,·int,·int))30 ···void·(*draw)(uintptr_t,·int,·int))
31 void·al_draw_soft_line(ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·uintptr_t·state, 
32 ···void·(*first)(uintptr_t,·int,·int,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*), 
33 ···void·(*step)(uintptr_t,·int), 
34 ···void·(*draw)(uintptr_t,·int,·int)) 
35 \f[R]31 \f[R]
36 .fi32 .fi
37 .SH·DESCRIPTION33 .SH·DESCRIPTION
38 .PP34 .PP
39 Draws·a·line·using·the·software·rasterizer·and·user·supplied·pixel35 Draws·a·line·using·the·software·rasterizer·and·user·supplied·pixel
40 functions.36 functions.
41 For·help·in·understanding·what·these·functions·do,·see·the37 For·help·in·understanding·what·these·functions·do,·see·the
1000 B
./usr/share/man/man3/al_draw_soft_triangle.3alleg5.gz
894 B
al_draw_soft_triangle.3alleg5
    
Offset 27, 20 lines modifiedOffset 27, 14 lines modified
  
27 void·al_draw_soft_triangle(27 void·al_draw_soft_triangle(
28 ···ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·ALLEGRO_VERTEX*·v3,·uintptr_t·state,28 ···ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·ALLEGRO_VERTEX*·v3,·uintptr_t·state,
29 ···void·(*init)(uintptr_t,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),29 ···void·(*init)(uintptr_t,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),
30 ···void·(*first)(uintptr_t,·int,·int,·int,·int),30 ···void·(*first)(uintptr_t,·int,·int,·int,·int),
31 ···void·(*step)(uintptr_t,·int),31 ···void·(*step)(uintptr_t,·int),
32 ···void·(*draw)(uintptr_t,·int,·int,·int))32 ···void·(*draw)(uintptr_t,·int,·int,·int))
33 void·al_draw_soft_triangle( 
34 ···ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·ALLEGRO_VERTEX*·v3,·uintptr_t·state, 
35 ···void·(*init)(uintptr_t,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*), 
36 ···void·(*first)(uintptr_t,·int,·int,·int,·int), 
37 ···void·(*step)(uintptr_t,·int), 
38 ···void·(*draw)(uintptr_t,·int,·int,·int)) 
39 \f[R]33 \f[R]
40 .fi34 .fi
41 .SH·DESCRIPTION35 .SH·DESCRIPTION
42 .PP36 .PP
43 Draws·a·triangle·using·the·software·rasterizer·and·user·supplied·pixel37 Draws·a·triangle·using·the·software·rasterizer·and·user·supplied·pixel
44 functions.38 functions.
45 For·help·in·understanding·what·these·functions·do,·see·the39 For·help·in·understanding·what·these·functions·do,·see·the
496 B
./usr/share/man/man3/al_draw_spline.3alleg5.gz
404 B
al_draw_spline.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_spline(float·points[8],·ALLEGRO_COLOR·color,·float·thickness)27 void·al_draw_spline(float·points[8],·ALLEGRO_COLOR·color,·float·thickness)
28 void·al_draw_spline(float·points[8],·ALLEGRO_COLOR·color,·float·thickness) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Draws·a·B\['e]zier·spline·given·4·control·points.32 Draws·a·B\['e]zier·spline·given·4·control·points.
34 .PP33 .PP
35 \f[I]Parameters:\f[R]34 \f[I]Parameters:\f[R]
624 B
./usr/share/man/man3/al_draw_text.3alleg5.gz
536 B
al_draw_text.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_text(const·ALLEGRO_FONT·*font,27 void·al_draw_text(const·ALLEGRO_FONT·*font,
28 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,28 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,
29 ···char·const·*text)·29 ···char·const·*text)·
30 void·al_draw_text(const·ALLEGRO_FONT·*font, 
31 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags, 
32 ···char·const·*text)· 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Writes·the·NUL-terminated·string·\f[V]text\f[R]·onto·the·target·bitmap34 Writes·the·NUL-terminated·string·\f[V]text\f[R]·onto·the·target·bitmap
38 at·position·\f[V]x\f[R],·\f[V]y\f[R],·using·the·specified35 at·position·\f[V]x\f[R],·\f[V]y\f[R],·using·the·specified
39 \f[V]font\f[R].36 \f[V]font\f[R].
636 B
./usr/share/man/man3/al_draw_textf.3alleg5.gz
546 B
al_draw_textf.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_textf(const·ALLEGRO_FONT·*font,·ALLEGRO_COLOR·color,27 void·al_draw_textf(const·ALLEGRO_FONT·*font,·ALLEGRO_COLOR·color,
28 ···float·x,·float·y,·int·flags,28 ···float·x,·float·y,·int·flags,
29 ···const·char·*format,·...)29 ···const·char·*format,·...)
30 void·al_draw_textf(const·ALLEGRO_FONT·*font,·ALLEGRO_COLOR·color, 
31 ···float·x,·float·y,·int·flags, 
32 ···const·char·*format,·...) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Formatted·text·output,·using·a·printf()·style·format·string.34 Formatted·text·output,·using·a·printf()·style·format·string.
38 All·parameters·have·the·same·meaning·as·with·al_draw_text(3alleg5)35 All·parameters·have·the·same·meaning·as·with·al_draw_text(3alleg5)
39 otherwise.36 otherwise.
566 B
./usr/share/man/man3/al_draw_triangle.3alleg5.gz
470 B
al_draw_triangle.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,27 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,
28 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)28 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)
29 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2, 
30 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·an·outlined·triangle.33 Draws·an·outlined·triangle.
36 .PP34 .PP
37 \f[I]Parameters:\f[R]35 \f[I]Parameters:\f[R]
621 B
./usr/share/man/man3/al_draw_ustr.3alleg5.gz
533 B
al_draw_ustr.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_draw_ustr(const·ALLEGRO_FONT·*font,27 void·al_draw_ustr(const·ALLEGRO_FONT·*font,
28 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,28 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,
29 ···const·ALLEGRO_USTR·*ustr)·29 ···const·ALLEGRO_USTR·*ustr)·
30 void·al_draw_ustr(const·ALLEGRO_FONT·*font, 
31 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags, 
32 ···const·ALLEGRO_USTR·*ustr)· 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Like·al_draw_text(3alleg5),·except·the·text·is·passed·as·an·ALLEGRO_USTR34 Like·al_draw_text(3alleg5),·except·the·text·is·passed·as·an·ALLEGRO_USTR
38 instead·of·a·NUL-terminated·char·array.35 instead·of·a·NUL-terminated·char·array.
39 .SH·SEE·ALSO36 .SH·SEE·ALSO
685 B
./usr/share/man/man3/al_draw_vertex_buffer.3alleg5.gz
579 B
al_draw_vertex_buffer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 int·al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,27 int·al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,
28 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)28 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)
29 int·al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer, 
30 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Draws·a·subset·of·the·passed·vertex·buffer.33 Draws·a·subset·of·the·passed·vertex·buffer.
36 The·vertex·buffer·must·not·be·locked.34 The·vertex·buffer·must·not·be·locked.
37 Additionally,·to·draw·onto·memory·bitmaps·or·with·memory·bitmap·textures35 Additionally,·to·draw·onto·memory·bitmaps·or·with·memory·bitmap·textures
625 B
./usr/share/man/man3/al_enable_menu_event_source.3alleg5.gz
507 B
al_enable_menu_event_source.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_EVENT_SOURCE·*al_enable_menu_event_source(ALLEGRO_MENU·*menu)27 ALLEGRO_EVENT_SOURCE·*al_enable_menu_event_source(ALLEGRO_MENU·*menu)
28 ALLEGRO_EVENT_SOURCE·*al_enable_menu_event_source(ALLEGRO_MENU·*menu) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Enables·a·unique·event·source·for·this·menu.32 Enables·a·unique·event·source·for·this·menu.
34 It·and·all·of·its·sub-menus·will·use·this·event·source.33 It·and·all·of·its·sub-menus·will·use·this·event·source.
35 (It·is·safe·to·call·this·multiple·times·on·the·same·menu.)34 (It·is·safe·to·call·this·multiple·times·on·the·same·menu.)
636 B
./usr/share/man/man3/al_fill_silence.3alleg5.gz
542 B
al_fill_silence.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_fill_silence(void·*buf,·unsigned·int·samples,27 void·al_fill_silence(void·*buf,·unsigned·int·samples,
28 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)28 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
29 void·al_fill_silence(void·*buf,·unsigned·int·samples, 
30 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Fill·a·buffer·with·silence,·for·the·given·format·and·channel33 Fill·a·buffer·with·silence,·for·the·given·format·and·channel
36 configuration.34 configuration.
37 The·buffer·must·have·enough·space·for·the·given·number·of·samples,·and35 The·buffer·must·have·enough·space·for·the·given·number·of·samples,·and
549 B
./usr/share/man/man3/al_find_menu.3alleg5.gz
461 B
al_find_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_find_menu(ALLEGRO_MENU·*haystack,·uint16_t·id)27 ALLEGRO_MENU·*al_find_menu(ALLEGRO_MENU·*haystack,·uint16_t·id)
28 ALLEGRO_MENU·*al_find_menu(ALLEGRO_MENU·*haystack,·uint16_t·id) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Searches·in·the·\f[V]haystack\f[R]·menu·for·any·submenu·with·the·given32 Searches·in·the·\f[V]haystack\f[R]·menu·for·any·submenu·with·the·given
34 \f[V]id\f[R].33 \f[V]id\f[R].
35 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an34 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an
617 B
./usr/share/man/man3/al_find_menu_item.3alleg5.gz
519 B
al_find_menu_item.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_find_menu_item(ALLEGRO_MENU·*haystack,·uint16_t·id,·ALLEGRO_MENU·**menu,27 bool·al_find_menu_item(ALLEGRO_MENU·*haystack,·uint16_t·id,·ALLEGRO_MENU·**menu,
28 ···int·*index)28 ···int·*index)
29 bool·al_find_menu_item(ALLEGRO_MENU·*haystack,·uint16_t·id,·ALLEGRO_MENU·**menu, 
30 ···int·*index) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Searches·in·the·\f[V]haystack\f[R]·menu·for·an·item·with·the·given33 Searches·in·the·\f[V]haystack\f[R]·menu·for·an·item·with·the·given
36 \f[V]id\f[R].34 \f[V]id\f[R].
37 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an35 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an
386 B
./usr/share/man/man3/al_fixed.3alleg5.gz
306 B
al_fixed.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 typedef·int32_t·al_fixed;27 typedef·int32_t·al_fixed;
28 typedef·int32_t·al_fixed; 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 A·fixed·point·number.32 A·fixed·point·number.
34 .PP33 .PP
35 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and34 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and
476 B
./usr/share/man/man3/al_free.3alleg5.gz
398 B
al_free.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·al_free(p)·\[rs]27 #define·al_free(p)·\[rs]
28 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))28 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))
29 #define·al_free(p)·\[rs] 
30 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be33 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be
36 overridden.34 overridden.
37 .PP35 .PP
515 B
./usr/share/man/man3/al_get_allegro_acodec_version.3alleg5.gz
393 B
al_get_allegro_acodec_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_acodec.h>26 #include·<allegro5/allegro_acodec.h>
  
27 uint32_t·al_get_allegro_acodec_version(void)27 uint32_t·al_get_allegro_acodec_version(void)
28 uint32_t·al_get_allegro_acodec_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
508 B
./usr/share/man/man3/al_get_allegro_audio_version.3alleg5.gz
388 B
al_get_allegro_audio_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 uint32_t·al_get_allegro_audio_version(void)27 uint32_t·al_get_allegro_audio_version(void)
28 uint32_t·al_get_allegro_audio_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
508 B
./usr/share/man/man3/al_get_allegro_color_version.3alleg5.gz
388 B
al_get_allegro_color_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_color.h>26 #include·<allegro5/allegro_color.h>
  
27 uint32_t·al_get_allegro_color_version(void)27 uint32_t·al_get_allegro_color_version(void)
28 uint32_t·al_get_allegro_color_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
501 B
./usr/share/man/man3/al_get_allegro_font_version.3alleg5.gz
383 B
al_get_allegro_font_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 uint32_t·al_get_allegro_font_version(void)27 uint32_t·al_get_allegro_font_version(void)
28 uint32_t·al_get_allegro_font_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
508 B
./usr/share/man/man3/al_get_allegro_image_version.3alleg5.gz
388 B
al_get_allegro_image_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_image.h>26 #include·<allegro5/allegro_image.h>
  
27 uint32_t·al_get_allegro_image_version(void)27 uint32_t·al_get_allegro_image_version(void)
28 uint32_t·al_get_allegro_image_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
522 B
./usr/share/man/man3/al_get_allegro_memfile_version.3alleg5.gz
398 B
al_get_allegro_memfile_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_memfile.h>26 #include·<allegro5/allegro_memfile.h>
  
27 uint32_t·al_get_allegro_memfile_version(void)27 uint32_t·al_get_allegro_memfile_version(void)
28 uint32_t·al_get_allegro_memfile_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
564 B
./usr/share/man/man3/al_get_allegro_native_dialog_version.3alleg5.gz
428 B
al_get_allegro_native_dialog_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 uint32_t·al_get_allegro_native_dialog_version(void)27 uint32_t·al_get_allegro_native_dialog_version(void)
28 uint32_t·al_get_allegro_native_dialog_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
515 B
./usr/share/man/man3/al_get_allegro_physfs_version.3alleg5.gz
393 B
al_get_allegro_physfs_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_physfs.h>26 #include·<allegro5/allegro_physfs.h>
  
27 uint32_t·al_get_allegro_physfs_version(void)27 uint32_t·al_get_allegro_physfs_version(void)
28 uint32_t·al_get_allegro_physfs_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
543 B
./usr/share/man/man3/al_get_allegro_primitives_version.3alleg5.gz
413 B
al_get_allegro_primitives_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 uint32_t·al_get_allegro_primitives_version(void)27 uint32_t·al_get_allegro_primitives_version(void)
28 uint32_t·al_get_allegro_primitives_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
494 B
./usr/share/man/man3/al_get_allegro_ttf_version.3alleg5.gz
378 B
al_get_allegro_ttf_version.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 uint32_t·al_get_allegro_ttf_version(void)27 uint32_t·al_get_allegro_ttf_version(void)
28 uint32_t·al_get_allegro_ttf_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
519 B
./usr/share/man/man3/al_get_allegro_video_version.3alleg5.gz
399 B
al_get_allegro_video_version.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 uint32_t·al_get_allegro_video_version(void)27 uint32_t·al_get_allegro_video_version(void)
28 uint32_t·al_get_allegro_video_version(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as32 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
34 al_get_allegro_version(3alleg5).33 al_get_allegro_version(3alleg5).
35 .SH·SINCE34 .SH·SINCE
553 B
./usr/share/man/man3/al_get_audio_depth_size.3alleg5.gz
443 B
al_get_audio_depth_size.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 size_t·al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH·depth)27 size_t·al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH·depth)
28 size_t·al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH·depth) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·size·of·a·sample,·in·bytes,·for·the·given·format.32 Return·the·size·of·a·sample,·in·bytes,·for·the·given·format.
34 The·format·is·one·of·the·values·listed·under33 The·format·is·one·of·the·values·listed·under
35 ALLEGRO_AUDIO_DEPTH(3alleg5).34 ALLEGRO_AUDIO_DEPTH(3alleg5).
517 B
./usr/share/man/man3/al_get_audio_device_name.3alleg5.gz
405 B
al_get_audio_device_name.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 const·char*·al_get_audio_device_name(const·ALLEGRO_AUDIO_DEVICE·*·device)27 const·char*·al_get_audio_device_name(const·ALLEGRO_AUDIO_DEVICE·*·device)
28 const·char*·al_get_audio_device_name(const·ALLEGRO_AUDIO_DEVICE·*·device) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·user·friendly·display·name·of·the·device.32 Get·the·user·friendly·display·name·of·the·device.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
511 B
./usr/share/man/man3/al_get_audio_output_device.3alleg5.gz
395 B
al_get_audio_output_device.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 const·ALLEGRO_AUDIO_DEVICE*·al_get_audio_output_device(int·index)27 const·ALLEGRO_AUDIO_DEVICE*·al_get_audio_output_device(int·index)
28 const·ALLEGRO_AUDIO_DEVICE*·al_get_audio_output_device(int·index) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·output·audio·device·of·the·specified·index.32 Get·the·output·audio·device·of·the·specified·index.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
554 B
./usr/share/man/man3/al_get_audio_recorder_event.3alleg5.gz
436 B
al_get_audio_recorder_event.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_RECORDER_EVENT·*al_get_audio_recorder_event(ALLEGRO_EVENT·*event)27 ALLEGRO_AUDIO_RECORDER_EVENT·*al_get_audio_recorder_event(ALLEGRO_EVENT·*event)
28 ALLEGRO_AUDIO_RECORDER_EVENT·*al_get_audio_recorder_event(ALLEGRO_EVENT·*event) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·event·as·an·ALLEGRO_AUDIO_RECORDER_EVENT(3alleg5).32 Returns·the·event·as·an·ALLEGRO_AUDIO_RECORDER_EVENT(3alleg5).
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
610 B
./usr/share/man/man3/al_get_audio_recorder_event_source.3alleg5.gz
478 B
al_get_audio_recorder_event_source.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_EVENT_SOURCE·*al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER·*r)27 ALLEGRO_EVENT_SOURCE·*al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER·*r)
28 ALLEGRO_EVENT_SOURCE·*al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER·*r) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·event·source·for·the·recorder·that·generates·the·various32 Returns·the·event·source·for·the·recorder·that·generates·the·various
34 recording·events.33 recording·events.
35 .SH·SINCE34 .SH·SINCE
530 B
./usr/share/man/man3/al_get_audio_stream_attached.3alleg5.gz
410 B
al_get_audio_stream_attached.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_audio_stream_attached(const·ALLEGRO_AUDIO_STREAM·*stream)27 bool·al_get_audio_stream_attached(const·ALLEGRO_AUDIO_STREAM·*stream)
28 bool·al_get_audio_stream_attached(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·whether·the·stream·is·attached·to·something.32 Return·whether·the·stream·is·attached·to·something.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
547 B
./usr/share/man/man3/al_get_audio_stream_channels.3alleg5.gz
427 B
al_get_audio_stream_channels.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_CHANNEL_CONF·al_get_audio_stream_channels(27 ALLEGRO_CHANNEL_CONF·al_get_audio_stream_channels(
28 ···const·ALLEGRO_AUDIO_STREAM·*stream)28 ···const·ALLEGRO_AUDIO_STREAM·*stream)
29 ALLEGRO_CHANNEL_CONF·al_get_audio_stream_channels( 
30 ···const·ALLEGRO_AUDIO_STREAM·*stream) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Return·the·stream·channel·configuration.33 Return·the·stream·channel·configuration.
36 .SH·SEE·ALSO34 .SH·SEE·ALSO
37 .PP35 .PP
517 B
./usr/share/man/man3/al_get_audio_stream_depth.3alleg5.gz
403 B
al_get_audio_stream_depth.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_DEPTH·al_get_audio_stream_depth(27 ALLEGRO_AUDIO_DEPTH·al_get_audio_stream_depth(
28 ···const·ALLEGRO_AUDIO_STREAM·*stream)28 ···const·ALLEGRO_AUDIO_STREAM·*stream)
29 ALLEGRO_AUDIO_DEPTH·al_get_audio_stream_depth( 
30 ···const·ALLEGRO_AUDIO_STREAM·*stream) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Return·the·stream·audio·depth.33 Return·the·stream·audio·depth.
36 .SH·SEE·ALSO34 .SH·SEE·ALSO
37 .PP35 .PP
612 B
./usr/share/man/man3/al_get_audio_stream_event_source.3alleg5.gz
484 B
al_get_audio_stream_event_source.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_EVENT_SOURCE·*al_get_audio_stream_event_source(27 ALLEGRO_EVENT_SOURCE·*al_get_audio_stream_event_source(
28 ···ALLEGRO_AUDIO_STREAM·*stream)28 ···ALLEGRO_AUDIO_STREAM·*stream)
29 ALLEGRO_EVENT_SOURCE·*al_get_audio_stream_event_source( 
30 ···ALLEGRO_AUDIO_STREAM·*stream) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Retrieve·the·associated·event·source.33 Retrieve·the·associated·event·source.
36 .PP34 .PP
37 See·al_get_audio_stream_fragment(3alleg5)·for·a·description·of·the35 See·al_get_audio_stream_fragment(3alleg5)·for·a·description·of·the
589 B
./usr/share/man/man3/al_get_audio_stream_fragment.3alleg5.gz
469 B
al_get_audio_stream_fragment.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·*al_get_audio_stream_fragment(const·ALLEGRO_AUDIO_STREAM·*stream)27 void·*al_get_audio_stream_fragment(const·ALLEGRO_AUDIO_STREAM·*stream)
28 void·*al_get_audio_stream_fragment(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 When·using·Allegro\[cq]s·audio·streaming,·you·will·use·this·function·to32 When·using·Allegro\[cq]s·audio·streaming,·you·will·use·this·function·to
34 continuously·provide·new·sample·data·to·a·stream.33 continuously·provide·new·sample·data·to·a·stream.
35 .PP34 .PP
631 B
./usr/share/man/man3/al_get_audio_stream_fragments.3alleg5.gz
509 B
al_get_audio_stream_fragments.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_audio_stream_fragments(const·ALLEGRO_AUDIO_STREAM·*stream)27 unsigned·int·al_get_audio_stream_fragments(const·ALLEGRO_AUDIO_STREAM·*stream)
28 unsigned·int·al_get_audio_stream_fragments(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·number·of·fragments·this·stream·uses.32 Returns·the·number·of·fragments·this·stream·uses.
34 This·is·the·same·value·as·passed·to·al_create_audio_stream(3alleg5)·when33 This·is·the·same·value·as·passed·to·al_create_audio_stream(3alleg5)·when
35 a·new·stream·is·created.34 a·new·stream·is·created.
518 B
./usr/share/man/man3/al_get_audio_stream_frequency.3alleg5.gz
396 B
al_get_audio_stream_frequency.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_audio_stream_frequency(const·ALLEGRO_AUDIO_STREAM·*stream)27 unsigned·int·al_get_audio_stream_frequency(const·ALLEGRO_AUDIO_STREAM·*stream)
28 unsigned·int·al_get_audio_stream_frequency(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·stream·frequency·(in·Hz).32 Return·the·stream·frequency·(in·Hz).
496 B
./usr/share/man/man3/al_get_audio_stream_gain.3alleg5.gz
384 B
al_get_audio_stream_gain.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_audio_stream_gain(const·ALLEGRO_AUDIO_STREAM·*stream)27 float·al_get_audio_stream_gain(const·ALLEGRO_AUDIO_STREAM·*stream)
28 float·al_get_audio_stream_gain(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·playback·gain·of·the·stream.32 Return·the·playback·gain·of·the·stream.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
500 B
./usr/share/man/man3/al_get_audio_stream_length.3alleg5.gz
384 B
al_get_audio_stream_length.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_audio_stream_length(const·ALLEGRO_AUDIO_STREAM·*stream)27 unsigned·int·al_get_audio_stream_length(const·ALLEGRO_AUDIO_STREAM·*stream)
28 unsigned·int·al_get_audio_stream_length(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·stream·length·in·samples.32 Return·the·stream·length·in·samples.
553 B
./usr/share/man/man3/al_get_audio_stream_length_secs.3alleg5.gz
427 B
al_get_audio_stream_length_secs.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 double·al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM·*stream)27 double·al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM·*stream)
28 double·al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·length·of·the·stream·in·seconds,·if·known.32 Return·the·length·of·the·stream·in·seconds,·if·known.
34 Otherwise·returns·zero.33 Otherwise·returns·zero.
35 .PP34 .PP
483 B
./usr/share/man/man3/al_get_audio_stream_pan.3alleg5.gz
373 B
al_get_audio_stream_pan.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_audio_stream_pan(const·ALLEGRO_AUDIO_STREAM·*stream)27 float·al_get_audio_stream_pan(const·ALLEGRO_AUDIO_STREAM·*stream)
28 float·al_get_audio_stream_pan(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·pan·value·of·the·stream.32 Get·the·pan·value·of·the·stream.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
600 B
./usr/share/man/man3/al_get_audio_stream_played_samples.3alleg5.gz
468 B
al_get_audio_stream_played_samples.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 uint64_t·al_get_audio_stream_played_samples(const·ALLEGRO_AUDIO_STREAM·*stream)27 uint64_t·al_get_audio_stream_played_samples(const·ALLEGRO_AUDIO_STREAM·*stream)
28 uint64_t·al_get_audio_stream_played_samples(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·number·of·samples·consumed·by·the·parent·since·the·audio·stream32 Get·the·number·of·samples·consumed·by·the·parent·since·the·audio·stream
34 was·started.33 was·started.
35 .SH·SINCE34 .SH·SINCE
510 B
./usr/share/man/man3/al_get_audio_stream_playing.3alleg5.gz
392 B
al_get_audio_stream_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_audio_stream_playing(const·ALLEGRO_AUDIO_STREAM·*stream)27 bool·al_get_audio_stream_playing(const·ALLEGRO_AUDIO_STREAM·*stream)
28 bool·al_get_audio_stream_playing(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·true·if·the·stream·is·playing.32 Return·true·if·the·stream·is·playing.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
538 B
./usr/share/man/man3/al_get_audio_stream_playmode.3alleg5.gz
418 B
al_get_audio_stream_playmode.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_PLAYMODE·al_get_audio_stream_playmode(27 ALLEGRO_PLAYMODE·al_get_audio_stream_playmode(
28 ···const·ALLEGRO_AUDIO_STREAM·*stream)28 ···const·ALLEGRO_AUDIO_STREAM·*stream)
29 ALLEGRO_PLAYMODE·al_get_audio_stream_playmode( 
30 ···const·ALLEGRO_AUDIO_STREAM·*stream) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Return·the·playback·mode·of·the·stream.33 Return·the·playback·mode·of·the·stream.
36 .SH·SEE·ALSO34 .SH·SEE·ALSO
37 .PP35 .PP
649 B
./usr/share/man/man3/al_get_audio_stream_position_secs.3alleg5.gz
519 B
al_get_audio_stream_position_secs.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 double·al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM·*stream)27 double·al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM·*stream)
28 double·al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·position·of·the·stream·in·seconds.32 Return·the·position·of·the·stream·in·seconds.
34 Currently·this·can·only·be·called·on·streams·created·with33 Currently·this·can·only·be·called·on·streams·created·with
35 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),34 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
512 B
./usr/share/man/man3/al_get_audio_stream_speed.3alleg5.gz
398 B
al_get_audio_stream_speed.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_audio_stream_speed(const·ALLEGRO_AUDIO_STREAM·*stream)27 float·al_get_audio_stream_speed(const·ALLEGRO_AUDIO_STREAM·*stream)
28 float·al_get_audio_stream_speed(const·ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·relative·playback·speed·of·the·stream.32 Return·the·relative·playback·speed·of·the·stream.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
683 B
./usr/share/man/man3/al_get_available_audio_stream_fragments.3alleg5.gz
541 B
al_get_available_audio_stream_fragments.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_available_audio_stream_fragments(27 unsigned·int·al_get_available_audio_stream_fragments(
28 ···const·ALLEGRO_AUDIO_STREAM·*stream)28 ···const·ALLEGRO_AUDIO_STREAM·*stream)
29 unsigned·int·al_get_available_audio_stream_fragments( 
30 ···const·ALLEGRO_AUDIO_STREAM·*stream) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Returns·the·number·of·available·fragments·in·the·stream,·that·is,33 Returns·the·number·of·available·fragments·in·the·stream,·that·is,
36 fragments·which·are·not·currently·filled·with·data·for·playback.34 fragments·which·are·not·currently·filled·with·data·for·playback.
37 .SH·SEE·ALSO35 .SH·SEE·ALSO
536 B
./usr/share/man/man3/al_get_channel_count.3alleg5.gz
432 B
al_get_channel_count.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 size_t·al_get_channel_count(ALLEGRO_CHANNEL_CONF·conf)27 size_t·al_get_channel_count(ALLEGRO_CHANNEL_CONF·conf)
28 size_t·al_get_channel_count(ALLEGRO_CHANNEL_CONF·conf) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·number·of·channels·for·the·given·channel·configuration,·which32 Return·the·number·of·channels·for·the·given·channel·configuration,·which
34 is·one·of·the·values·listed·under·ALLEGRO_CHANNEL_CONF(3alleg5).33 is·one·of·the·values·listed·under·ALLEGRO_CHANNEL_CONF(3alleg5).
639 B
./usr/share/man/man3/al_get_default_menu_event_source.3alleg5.gz
511 B
al_get_default_menu_event_source.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_EVENT_SOURCE·*al_get_default_menu_event_source(void)27 ALLEGRO_EVENT_SOURCE·*al_get_default_menu_event_source(void)
28 ALLEGRO_EVENT_SOURCE·*al_get_default_menu_event_source(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·default·event·source·used·for·menu·clicks.32 Returns·the·default·event·source·used·for·menu·clicks.
34 If·a·menu·was·not·given·its·own·event·source·via33 If·a·menu·was·not·given·its·own·event·source·via
35 al_enable_menu_event_source(3alleg5),·then·it·will·use·this·default34 al_enable_menu_event_source(3alleg5),·then·it·will·use·this·default
567 B
./usr/share/man/man3/al_get_default_mixer.3alleg5.gz
463 B
al_get_default_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_MIXER·*al_get_default_mixer(void)27 ALLEGRO_MIXER·*al_get_default_mixer(void)
28 ALLEGRO_MIXER·*al_get_default_mixer(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·default·mixer,·or·NULL·if·one·has·not·been·set.32 Return·the·default·mixer,·or·NULL·if·one·has·not·been·set.
34 Although·different·configurations·of·mixers·and·voices·can·be·used,·in33 Although·different·configurations·of·mixers·and·voices·can·be·used,·in
35 most·cases·a·single·mixer·attached·to·a·voice·is·what·you·want.34 most·cases·a·single·mixer·attached·to·a·voice·is·what·you·want.
439 B
./usr/share/man/man3/al_get_default_voice.3alleg5.gz
335 B
al_get_default_voice.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_VOICE·*al_get_default_voice(void)27 ALLEGRO_VOICE·*al_get_default_voice(void)
28 ALLEGRO_VOICE·*al_get_default_voice(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·default·voice·or·NULL·if·there·is·none.32 Returns·the·default·voice·or·NULL·if·there·is·none.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
525 B
./usr/share/man/man3/al_get_display_menu.3alleg5.gz
423 B
al_get_display_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_get_display_menu(ALLEGRO_DISPLAY·*display)27 ALLEGRO_MENU·*al_get_display_menu(ALLEGRO_DISPLAY·*display)
28 ALLEGRO_MENU·*al_get_display_menu(ALLEGRO_DISPLAY·*display) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·menu·associated·with·the·\f[V]display\f[R],·or32 Returns·the·menu·associated·with·the·\f[V]display\f[R],·or
34 \f[V]NULL\f[R]·if·it·does·not·have·a·menu.33 \f[V]NULL\f[R]·if·it·does·not·have·a·menu.
35 .SH·SINCE34 .SH·SINCE
463 B
./usr/share/man/man3/al_get_fallback_font.3alleg5.gz
359 B
al_get_fallback_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 ALLEGRO_FONT·*al_get_fallback_font(ALLEGRO_FONT·*font)27 ALLEGRO_FONT·*al_get_fallback_font(ALLEGRO_FONT·*font)
28 ALLEGRO_FONT·*al_get_fallback_font(ALLEGRO_FONT·*font) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Retrieves·the·fallback·font·for·this·font·or·NULL.32 Retrieves·the·fallback·font·for·this·font·or·NULL.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
431 B
./usr/share/man/man3/al_get_font_ascent.3alleg5.gz
331 B
al_get_font_ascent.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)27 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)
28 int·al_get_font_ascent(const·ALLEGRO_FONT·*f) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·ascent·of·the·specified·font.32 Returns·the·ascent·of·the·specified·font.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
438 B
./usr/share/man/man3/al_get_font_descent.3alleg5.gz
336 B
al_get_font_descent.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_font_descent(const·ALLEGRO_FONT·*f)27 int·al_get_font_descent(const·ALLEGRO_FONT·*f)
28 int·al_get_font_descent(const·ALLEGRO_FONT·*f) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·descent·of·the·specified·font.32 Returns·the·descent·of·the·specified·font.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
592 B
./usr/share/man/man3/al_get_font_line_height.3alleg5.gz
482 B
al_get_font_line_height.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)27 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)
28 int·al_get_font_line_height(const·ALLEGRO_FONT·*f) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.32 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.
34 For·bitmap·fonts·this·is·simply·the·height·of·all·glyph·bitmaps.33 For·bitmap·fonts·this·is·simply·the·height·of·all·glyph·bitmaps.
35 For·truetype·fonts·it·is·whatever·the·font·file·specifies.34 For·truetype·fonts·it·is·whatever·the·font·file·specifies.
569 B
./usr/share/man/man3/al_get_font_ranges.3alleg5.gz
469 B
al_get_font_ranges.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_font_ranges(ALLEGRO_FONT·*f,·int·ranges_count,·int·*ranges)27 int·al_get_font_ranges(ALLEGRO_FONT·*f,·int·ranges_count,·int·*ranges)
28 int·al_get_font_ranges(ALLEGRO_FONT·*f,·int·ranges_count,·int·*ranges) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Gets·information·about·all·glyphs·contained·in·a·font,·as·a·list·of32 Gets·information·about·all·glyphs·contained·in·a·font,·as·a·list·of
34 ranges.33 ranges.
35 Ranges·have·the·same·format·as·with·al_grab_font_from_bitmap(3alleg5).34 Ranges·have·the·same·format·as·with·al_grab_font_from_bitmap(3alleg5).
614 B
./usr/share/man/man3/al_get_glyph.3alleg5.gz
526 B
al_get_glyph.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 bool·al_get_glyph(const·ALLEGRO_FONT·*f,·int·prev_codepoint,·int·codepoint,·ALLEGRO_GLYPH·*glyph)27 bool·al_get_glyph(const·ALLEGRO_FONT·*f,·int·prev_codepoint,·int·codepoint,·ALLEGRO_GLYPH·*glyph)
28 bool·al_get_glyph(const·ALLEGRO_FONT·*f,·int·prev_codepoint,·int·codepoint,·ALLEGRO_GLYPH·*glyph) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Gets·all·the·information·about·a·glyph,·including·the·bitmap,·needed·to32 Gets·all·the·information·about·a·glyph,·including·the·bitmap,·needed·to
34 draw·it·yourself.33 draw·it·yourself.
35 prev_codepoint·is·the·codepoint·in·the·string·before·the·one·you·want·to34 prev_codepoint·is·the·codepoint·in·the·string·before·the·one·you·want·to
666 B
./usr/share/man/man3/al_get_glyph_advance.3alleg5.gz
562 B
al_get_glyph_advance.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_glyph_advance(const·ALLEGRO_FONT·*f,·int·codepoint1,·int·codepoint2)27 int·al_get_glyph_advance(const·ALLEGRO_FONT·*f,·int·codepoint1,·int·codepoint2)
28 int·al_get_glyph_advance(const·ALLEGRO_FONT·*f,·int·codepoint1,·int·codepoint2) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·function·returns·by·how·much·the·x·position·should·be·advanced·for32 This·function·returns·by·how·much·the·x·position·should·be·advanced·for
34 left·to·right·text·drawing·when·the·glyph·that·corresponds·to·codepoint133 left·to·right·text·drawing·when·the·glyph·that·corresponds·to·codepoint1
35 has·been·drawn,·and·the·glyph·that·corresponds·to·codepoint2·will·be·the34 has·been·drawn,·and·the·glyph·that·corresponds·to·codepoint2·will·be·the
690 B
./usr/share/man/man3/al_get_glyph_dimensions.3alleg5.gz
580 B
al_get_glyph_dimensions.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 bool·al_get_glyph_dimensions(const·ALLEGRO_FONT·*f,27 bool·al_get_glyph_dimensions(const·ALLEGRO_FONT·*f,
28 ···int·codepoint,·int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)28 ···int·codepoint,·int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
29 bool·al_get_glyph_dimensions(const·ALLEGRO_FONT·*f, 
30 ···int·codepoint,·int·*bbx,·int·*bby,·int·*bbw,·int·*bbh) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Sometimes,·the·al_get_glyph_width(3alleg5)·or33 Sometimes,·the·al_get_glyph_width(3alleg5)·or
36 al_get_glyph_advance(3alleg5)·functions·are·not·enough·for·exact·glyph34 al_get_glyph_advance(3alleg5)·functions·are·not·enough·for·exact·glyph
37 placement,·so·this·function·returns·some·additional·information,35 placement,·so·this·function·returns·some·additional·information,
580 B
./usr/share/man/man3/al_get_glyph_width.3alleg5.gz
480 B
al_get_glyph_width.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_glyph_width(const·ALLEGRO_FONT·*f,·int·codepoint)27 int·al_get_glyph_width(const·ALLEGRO_FONT·*f,·int·codepoint)
28 int·al_get_glyph_width(const·ALLEGRO_FONT·*f,·int·codepoint) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·function·returns·the·width·in·pixels·of·the·glyph·that·corresponds32 This·function·returns·the·width·in·pixels·of·the·glyph·that·corresponds
34 with·\f[V]codepoint\f[R]·in·the·font·\f[V]font\f[R].33 with·\f[V]codepoint\f[R]·in·the·font·\f[V]font\f[R].
35 Returns·zero·if·the·font·does·not·have·such·a·glyph.34 Returns·zero·if·the·font·does·not·have·such·a·glyph.
479 B
./usr/share/man/man3/al_get_index_buffer_size.3alleg5.gz
367 B
al_get_index_buffer_size.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 int·al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER*·buffer)27 int·al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER*·buffer)
28 int·al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER*·buffer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·size·of·the·index·buffer32 Returns·the·size·of·the·index·buffer
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
552 B
./usr/share/man/man3/al_get_menu_item_caption.3alleg5.gz
440 B
al_get_menu_item_caption.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 const·char·*al_get_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos)27 const·char·*al_get_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos)
28 const·char·*al_get_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·caption·associated·with·the·menu·item.32 Returns·the·caption·associated·with·the·menu·item.
34 It·is·valid·as·long·as·the·caption·is·not·modified.33 It·is·valid·as·long·as·the·caption·is·not·modified.
35 .PP34 .PP
525 B
./usr/share/man/man3/al_get_menu_item_flags.3alleg5.gz
417 B
al_get_menu_item_flags.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 int·al_get_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos)27 int·al_get_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos)
28 int·al_get_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·currently·set·flags.32 Returns·the·currently·set·flags.
34 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available33 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available
35 flags.34 flags.
610 B
./usr/share/man/man3/al_get_menu_item_icon.3alleg5.gz
504 B
al_get_menu_item_icon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_BITMAP·*al_get_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos)27 ALLEGRO_BITMAP·*al_get_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos)
28 ALLEGRO_BITMAP·*al_get_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·icon·associated·with·the·menu.32 Returns·the·icon·associated·with·the·menu.
34 It·is·safe·to·draw·to·the·returned·bitmap,·but·you·must·call33 It·is·safe·to·draw·to·the·returned·bitmap,·but·you·must·call
35 al_set_menu_item_icon(3alleg5)·in·order·for·the·changes·to·be·applied.34 al_set_menu_item_icon(3alleg5)·in·order·for·the·changes·to·be·applied.
471 B
./usr/share/man/man3/al_get_mixer_attached.3alleg5.gz
365 B
al_get_mixer_attached.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_mixer_attached(const·ALLEGRO_MIXER·*mixer)27 bool·al_get_mixer_attached(const·ALLEGRO_MIXER·*mixer)
28 bool·al_get_mixer_attached(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·true·if·the·mixer·is·attached·to·something.32 Return·true·if·the·mixer·is·attached·to·something.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
492 B
./usr/share/man/man3/al_get_mixer_channels.3alleg5.gz
386 B
al_get_mixer_channels.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_CHANNEL_CONF·al_get_mixer_channels(const·ALLEGRO_MIXER·*mixer)27 ALLEGRO_CHANNEL_CONF·al_get_mixer_channels(const·ALLEGRO_MIXER·*mixer)
28 ALLEGRO_CHANNEL_CONF·al_get_mixer_channels(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·mixer·channel·configuration.32 Return·the·mixer·channel·configuration.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
462 B
./usr/share/man/man3/al_get_mixer_depth.3alleg5.gz
362 B
al_get_mixer_depth.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_DEPTH·al_get_mixer_depth(const·ALLEGRO_MIXER·*mixer)27 ALLEGRO_AUDIO_DEPTH·al_get_mixer_depth(const·ALLEGRO_MIXER·*mixer)
28 ALLEGRO_AUDIO_DEPTH·al_get_mixer_depth(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·mixer·audio·depth.32 Return·the·mixer·audio·depth.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
478 B
./usr/share/man/man3/al_get_mixer_frequency.3alleg5.gz
370 B
al_get_mixer_frequency.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_mixer_frequency(const·ALLEGRO_MIXER·*mixer)27 unsigned·int·al_get_mixer_frequency(const·ALLEGRO_MIXER·*mixer)
28 unsigned·int·al_get_mixer_frequency(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·mixer·frequency·(in·Hz).32 Return·the·mixer·frequency·(in·Hz).
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
457 B
./usr/share/man/man3/al_get_mixer_gain.3alleg5.gz
359 B
al_get_mixer_gain.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_mixer_gain(const·ALLEGRO_MIXER·*mixer)27 float·al_get_mixer_gain(const·ALLEGRO_MIXER·*mixer)
28 float·al_get_mixer_gain(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·mixer·gain·(amplification·factor).32 Return·the·mixer·gain·(amplification·factor).
34 The·default·is·1.0.33 The·default·is·1.0.
35 .SH·SINCE34 .SH·SINCE
451 B
./usr/share/man/man3/al_get_mixer_playing.3alleg5.gz
347 B
al_get_mixer_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_mixer_playing(const·ALLEGRO_MIXER·*mixer)27 bool·al_get_mixer_playing(const·ALLEGRO_MIXER·*mixer)
28 bool·al_get_mixer_playing(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·true·if·the·mixer·is·playing.32 Return·true·if·the·mixer·is·playing.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
474 B
./usr/share/man/man3/al_get_mixer_quality.3alleg5.gz
370 B
al_get_mixer_quality.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_MIXER_QUALITY·al_get_mixer_quality(const·ALLEGRO_MIXER·*mixer)27 ALLEGRO_MIXER_QUALITY·al_get_mixer_quality(const·ALLEGRO_MIXER·*mixer)
28 ALLEGRO_MIXER_QUALITY·al_get_mixer_quality(const·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·mixer·quality.32 Return·the·mixer·quality.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
553 B
./usr/share/man/man3/al_get_native_file_dialog_count.3alleg5.gz
427 B
al_get_native_file_dialog_count.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)27 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)
28 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.32 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.
685 B
./usr/share/man/man3/al_get_native_file_dialog_path.3alleg5.gz
561 B
al_get_native_file_dialog_path.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 const·char·*al_get_native_file_dialog_path(27 const·char·*al_get_native_file_dialog_path(
28 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)28 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)
29 const·char·*al_get_native_file_dialog_path( 
30 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Returns·one·of·the·selected·paths·with·index·\f[V]i\f[R].33 Returns·one·of·the·selected·paths·with·index·\f[V]i\f[R].
36 The·index·should·range·from·\f[V]0\f[R]·to·the·return·value·of34 The·index·should·range·from·\f[V]0\f[R]·to·the·return·value·of
37 al_get_native_file_dialog_count(3alleg5)·\f[V]-1\f[R].35 al_get_native_file_dialog_count(3alleg5)·\f[V]-1\f[R].
593 B
./usr/share/man/man3/al_get_native_text_log_event_source.3alleg5.gz
459 B
al_get_native_text_log_event_source.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_EVENT_SOURCE·*al_get_native_text_log_event_source(27 ALLEGRO_EVENT_SOURCE·*al_get_native_text_log_event_source(
28 ···ALLEGRO_TEXTLOG·*textlog)28 ···ALLEGRO_TEXTLOG·*textlog)
29 ALLEGRO_EVENT_SOURCE·*al_get_native_text_log_event_source( 
30 ···ALLEGRO_TEXTLOG·*textlog) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Get·an·event·source·for·a·text·log·window.33 Get·an·event·source·for·a·text·log·window.
36 The·possible·events·are:34 The·possible·events·are:
37 .TP35 .TP
487 B
./usr/share/man/man3/al_get_num_audio_output_devices.3alleg5.gz
361 B
al_get_num_audio_output_devices.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 int·al_get_num_audio_output_devices()27 int·al_get_num_audio_output_devices()
28 int·al_get_num_audio_output_devices() 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·number·of·available·audio·output·devices·on·the·system.32 Get·the·number·of·available·audio·output·devices·on·the·system.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
512 B
./usr/share/man/man3/al_get_sample.3alleg5.gz
422 B
al_get_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_SAMPLE·*al_get_sample(ALLEGRO_SAMPLE_INSTANCE·*spl)27 ALLEGRO_SAMPLE·*al_get_sample(ALLEGRO_SAMPLE_INSTANCE·*spl)
28 ALLEGRO_SAMPLE·*al_get_sample(ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·sample·data·that·the·sample·instance·plays.32 Return·the·sample·data·that·the·sample·instance·plays.
34 .PP33 .PP
35 Note·this·returns·a·pointer·to·an·internal·structure,·\f[I]not\f[R]·the34 Note·this·returns·a·pointer·to·an·internal·structure,·\f[I]not\f[R]·the
504 B
./usr/share/man/man3/al_get_sample_channels.3alleg5.gz
396 B
al_get_sample_channels.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_CHANNEL_CONF·al_get_sample_channels(const·ALLEGRO_SAMPLE·*spl)27 ALLEGRO_CHANNEL_CONF·al_get_sample_channels(const·ALLEGRO_SAMPLE·*spl)
28 ALLEGRO_CHANNEL_CONF·al_get_sample_channels(const·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·channel·configuration·of·the·sample.32 Return·the·channel·configuration·of·the·sample.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
443 B
./usr/share/man/man3/al_get_sample_data.3alleg5.gz
343 B
al_get_sample_data.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·*al_get_sample_data(const·ALLEGRO_SAMPLE·*spl)27 void·*al_get_sample_data(const·ALLEGRO_SAMPLE·*spl)
28 void·*al_get_sample_data(const·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·a·pointer·to·the·raw·sample·data.32 Return·a·pointer·to·the·raw·sample·data.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
474 B
./usr/share/man/man3/al_get_sample_depth.3alleg5.gz
372 B
al_get_sample_depth.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_DEPTH·al_get_sample_depth(const·ALLEGRO_SAMPLE·*spl)27 ALLEGRO_AUDIO_DEPTH·al_get_sample_depth(const·ALLEGRO_SAMPLE·*spl)
28 ALLEGRO_AUDIO_DEPTH·al_get_sample_depth(const·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·audio·depth·of·the·sample.32 Return·the·audio·depth·of·the·sample.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
490 B
./usr/share/man/man3/al_get_sample_frequency.3alleg5.gz
380 B
al_get_sample_frequency.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_sample_frequency(const·ALLEGRO_SAMPLE·*spl)27 unsigned·int·al_get_sample_frequency(const·ALLEGRO_SAMPLE·*spl)
28 unsigned·int·al_get_sample_frequency(const·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·frequency·(in·Hz)·of·the·sample.32 Return·the·frequency·(in·Hz)·of·the·sample.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
557 B
./usr/share/man/man3/al_get_sample_instance_attached.3alleg5.gz
431 B
al_get_sample_instance_attached.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_sample_instance_attached(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 bool·al_get_sample_instance_attached(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 bool·al_get_sample_instance_attached(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·whether·the·sample·instance·is·attached·to·something.32 Return·whether·the·sample·instance·is·attached·to·something.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
595 B
./usr/share/man/man3/al_get_sample_instance_channels.3alleg5.gz
469 B
al_get_sample_instance_channels.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_CHANNEL_CONF·al_get_sample_instance_channels(27 ALLEGRO_CHANNEL_CONF·al_get_sample_instance_channels(
28 ···const·ALLEGRO_SAMPLE_INSTANCE·*spl)28 ···const·ALLEGRO_SAMPLE_INSTANCE·*spl)
29 ALLEGRO_CHANNEL_CONF·al_get_sample_instance_channels( 
30 ···const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Return·the·channel·configuration·of·the·sample·instance\[cq]s·sample33 Return·the·channel·configuration·of·the·sample·instance\[cq]s·sample
36 data.34 data.
37 .SH·SEE·ALSO35 .SH·SEE·ALSO
573 B
./usr/share/man/man3/al_get_sample_instance_depth.3alleg5.gz
453 B
al_get_sample_instance_depth.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_DEPTH·al_get_sample_instance_depth(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 ALLEGRO_AUDIO_DEPTH·al_get_sample_instance_depth(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 ALLEGRO_AUDIO_DEPTH·al_get_sample_instance_depth(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·audio·depth·of·the·sample·instance\[cq]s·sample·data.32 Return·the·audio·depth·of·the·sample·instance\[cq]s·sample·data.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
570 B
./usr/share/man/man3/al_get_sample_instance_frequency.3alleg5.gz
442 B
al_get_sample_instance_frequency.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_sample_instance_frequency(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 unsigned·int·al_get_sample_instance_frequency(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 unsigned·int·al_get_sample_instance_frequency(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·frequency·(in·Hz)·of·the·sample·instance\[cq]s·sample·data.32 Return·the·frequency·(in·Hz)·of·the·sample·instance\[cq]s·sample·data.
523 B
./usr/share/man/man3/al_get_sample_instance_gain.3alleg5.gz
405 B
al_get_sample_instance_gain.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_sample_instance_gain(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 float·al_get_sample_instance_gain(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 float·al_get_sample_instance_gain(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·playback·gain·of·the·sample·instance.32 Return·the·playback·gain·of·the·sample·instance.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
618 B
./usr/share/man/man3/al_get_sample_instance_length.3alleg5.gz
496 B
al_get_sample_instance_length.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_sample_instance_length(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 unsigned·int·al_get_sample_instance_length(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 unsigned·int·al_get_sample_instance_length(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·length·of·the·sample·instance·in·sample·values.32 Return·the·length·of·the·sample·instance·in·sample·values.
34 This·property·may·differ·from·the·length·of·the·instance\[cq]s·sample33 This·property·may·differ·from·the·length·of·the·instance\[cq]s·sample
35 data.34 data.
510 B
./usr/share/man/man3/al_get_sample_instance_pan.3alleg5.gz
394 B
al_get_sample_instance_pan.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_sample_instance_pan(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 float·al_get_sample_instance_pan(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 float·al_get_sample_instance_pan(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·pan·value·of·the·sample·instance.32 Get·the·pan·value·of·the·sample·instance.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
613 B
./usr/share/man/man3/al_get_sample_instance_playing.3alleg5.gz
489 B
al_get_sample_instance_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_sample_instance_playing(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 bool·al_get_sample_instance_playing(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 bool·al_get_sample_instance_playing(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·true·if·the·sample·instance·is·in·the·playing·state.32 Return·true·if·the·sample·instance·is·in·the·playing·state.
34 This·may·be·true·even·if·the·instance·is·not·attached·to·anything.33 This·may·be·true·even·if·the·instance·is·not·attached·to·anything.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
569 B
./usr/share/man/man3/al_get_sample_instance_playmode.3alleg5.gz
443 B
al_get_sample_instance_playmode.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_PLAYMODE·al_get_sample_instance_playmode(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 ALLEGRO_PLAYMODE·al_get_sample_instance_playmode(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 ALLEGRO_PLAYMODE·al_get_sample_instance_playmode(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·playback·mode·of·the·sample·instance.32 Return·the·playback·mode·of·the·sample·instance.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
560 B
./usr/share/man/man3/al_get_sample_instance_position.3alleg5.gz
434 B
al_get_sample_instance_position.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_sample_instance_position(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 unsigned·int·al_get_sample_instance_position(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 unsigned·int·al_get_sample_instance_position(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·the·playback·position·of·a·sample·instance.32 Get·the·playback·position·of·a·sample·instance.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
539 B
./usr/share/man/man3/al_get_sample_instance_speed.3alleg5.gz
419 B
al_get_sample_instance_speed.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_sample_instance_speed(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 float·al_get_sample_instance_speed(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 float·al_get_sample_instance_speed(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·relative·playback·speed·of·the·sample·instance.32 Return·the·relative·playback·speed·of·the·sample·instance.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
557 B
./usr/share/man/man3/al_get_sample_instance_time.3alleg5.gz
439 B
al_get_sample_instance_time.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 float·al_get_sample_instance_time(const·ALLEGRO_SAMPLE_INSTANCE·*spl)27 float·al_get_sample_instance_time(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
28 float·al_get_sample_instance_time(const·ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·length·of·the·sample·instance·in·seconds,·assuming·a·playback32 Return·the·length·of·the·sample·instance·in·seconds,·assuming·a·playback
34 speed·of·1.0.33 speed·of·1.0.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
478 B
./usr/share/man/man3/al_get_sample_length.3alleg5.gz
374 B
al_get_sample_length.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_sample_length(const·ALLEGRO_SAMPLE·*spl)27 unsigned·int·al_get_sample_length(const·ALLEGRO_SAMPLE·*spl)
28 unsigned·int·al_get_sample_length(const·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·length·of·the·sample·in·sample·values.32 Return·the·length·of·the·sample·in·sample·values.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
695 B
./usr/share/man/man3/al_get_text_dimensions.3alleg5.gz
587 B
al_get_text_dimensions.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_get_text_dimensions(const·ALLEGRO_FONT·*f,27 void·al_get_text_dimensions(const·ALLEGRO_FONT·*f,
28 ···char·const·*text,28 ···char·const·*text,
29 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)29 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
30 void·al_get_text_dimensions(const·ALLEGRO_FONT·*f, 
31 ···char·const·*text, 
32 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Sometimes,·the·al_get_text_width(3alleg5)·and34 Sometimes,·the·al_get_text_width(3alleg5)·and
38 al_get_font_line_height(3alleg5)·functions·are·not·enough·for·exact·text35 al_get_font_line_height(3alleg5)·functions·are·not·enough·for·exact·text
39 placement,·so·this·function·returns·some·additional·information.36 placement,·so·this·function·returns·some·additional·information.
484 B
./usr/share/man/man3/al_get_text_width.3alleg5.gz
386 B
al_get_text_width.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_text_width(const·ALLEGRO_FONT·*f,·const·char·*str)27 int·al_get_text_width(const·ALLEGRO_FONT·*f,·const·char·*str)
28 int·al_get_text_width(const·ALLEGRO_FONT·*f,·const·char·*str) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Calculates·the·length·of·a·string·in·a·particular·font,·in·pixels.32 Calculates·the·length·of·a·string·in·a·particular·font,·in·pixels.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
663 B
./usr/share/man/man3/al_get_ustr_dimensions.3alleg5.gz
555 B
al_get_ustr_dimensions.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_get_ustr_dimensions(const·ALLEGRO_FONT·*f,27 void·al_get_ustr_dimensions(const·ALLEGRO_FONT·*f,
28 ···ALLEGRO_USTR·const·*ustr,28 ···ALLEGRO_USTR·const·*ustr,
29 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)29 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
30 void·al_get_ustr_dimensions(const·ALLEGRO_FONT·*f, 
31 ···ALLEGRO_USTR·const·*ustr, 
32 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Like·al_get_text_dimensions(3alleg5),·except·the·text·is·passed·as·an34 Like·al_get_text_dimensions(3alleg5),·except·the·text·is·passed·as·an
38 ALLEGRO_USTR·instead·of·a·NUL-terminated·char·array.35 ALLEGRO_USTR·instead·of·a·NUL-terminated·char·array.
39 .SH·SEE·ALSO36 .SH·SEE·ALSO
496 B
./usr/share/man/man3/al_get_ustr_width.3alleg5.gz
398 B
al_get_ustr_width.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 int·al_get_ustr_width(const·ALLEGRO_FONT·*f,·ALLEGRO_USTR·const·*ustr)27 int·al_get_ustr_width(const·ALLEGRO_FONT·*f,·ALLEGRO_USTR·const·*ustr)
28 int·al_get_ustr_width(const·ALLEGRO_FONT·*f,·ALLEGRO_USTR·const·*ustr) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Like·al_get_text_width(3alleg5)·but·expects·an·ALLEGRO_USTR.32 Like·al_get_text_width(3alleg5)·but·expects·an·ALLEGRO_USTR.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
488 B
./usr/share/man/man3/al_get_vertex_buffer_size.3alleg5.gz
374 B
al_get_vertex_buffer_size.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 int·al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER*·buffer)27 int·al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER*·buffer)
28 int·al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER*·buffer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·size·of·the·vertex·buffer32 Returns·the·size·of·the·vertex·buffer
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
465 B
./usr/share/man/man3/al_get_video_audio_rate.3alleg5.gz
355 B
al_get_video_audio_rate.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 double·al_get_video_audio_rate(ALLEGRO_VIDEO·*video)27 double·al_get_video_audio_rate(ALLEGRO_VIDEO·*video)
28 double·al_get_video_audio_rate(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·audio·rate·of·the·video,·in·Hz.32 Returns·the·audio·rate·of·the·video,·in·Hz.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
559 B
./usr/share/man/man3/al_get_video_event_source.3alleg5.gz
445 B
al_get_video_event_source.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)27 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)
28 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Get·an·event·source·for·the·video.32 Get·an·event·source·for·the·video.
34 The·possible·events·are·described·under33 The·possible·events·are·described·under
35 ALLEGRO_VIDEO_EVENT_TYPE(3alleg5).34 ALLEGRO_VIDEO_EVENT_TYPE(3alleg5).
469 B
./usr/share/man/man3/al_get_video_fps.3alleg5.gz
373 B
al_get_video_fps.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 double·al_get_video_fps(ALLEGRO_VIDEO·*video)27 double·al_get_video_fps(ALLEGRO_VIDEO·*video)
28 double·al_get_video_fps(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·speed·of·the·video·in·frames·per·second.32 Returns·the·speed·of·the·video·in·frames·per·second.
34 Often·this·will·not·be·an·integer·value.33 Often·this·will·not·be·an·integer·value.
35 .SH·SINCE34 .SH·SINCE
561 B
./usr/share/man/man3/al_get_video_frame.3alleg5.gz
461 B
al_get_video_frame.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 ALLEGRO_BITMAP·*al_get_video_frame(ALLEGRO_VIDEO·*video)27 ALLEGRO_BITMAP·*al_get_video_frame(ALLEGRO_VIDEO·*video)
28 ALLEGRO_BITMAP·*al_get_video_frame(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·current·video·frame.32 Returns·the·current·video·frame.
34 The·bitmap·is·owned·by·the·video·so·do·not·attempt·to·free·it.33 The·bitmap·is·owned·by·the·video·so·do·not·attempt·to·free·it.
35 The·bitmap·will·stay·valid·until·the·next·call·to·al_get_video_frame.34 The·bitmap·will·stay·valid·until·the·next·call·to·al_get_video_frame.
611 B
./usr/share/man/man3/al_get_video_position.3alleg5.gz
505 B
al_get_video_position.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 double·al_get_video_position(ALLEGRO_VIDEO·*video,·ALLEGRO_VIDEO_POSITION_TYPE·which)27 double·al_get_video_position(ALLEGRO_VIDEO·*video,·ALLEGRO_VIDEO_POSITION_TYPE·which)
28 double·al_get_video_position(ALLEGRO_VIDEO·*video,·ALLEGRO_VIDEO_POSITION_TYPE·which) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·current·position·of·the·video·stream·in·seconds·since·the32 Returns·the·current·position·of·the·video·stream·in·seconds·since·the
34 beginning.33 beginning.
35 The·parameter·is·one·of·the·ALLEGRO_VIDEO_POSITION_TYPE(3alleg5)34 The·parameter·is·one·of·the·ALLEGRO_VIDEO_POSITION_TYPE(3alleg5)
601 B
./usr/share/man/man3/al_get_video_scaled_height.3alleg5.gz
485 B
al_get_video_scaled_height.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 float·al_get_video_scaled_height(ALLEGRO_VIDEO·*video)27 float·al_get_video_scaled_height(ALLEGRO_VIDEO·*video)
28 float·al_get_video_scaled_height(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·height·with·which·the·video·frame·should·be·drawn.32 Returns·the·height·with·which·the·video·frame·should·be·drawn.
34 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value33 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value
35 larger·than·the·height·of·the·frame·bitmap.34 larger·than·the·height·of·the·frame·bitmap.
593 B
./usr/share/man/man3/al_get_video_scaled_width.3alleg5.gz
479 B
al_get_video_scaled_width.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 float·al_get_video_scaled_width(ALLEGRO_VIDEO·*video)27 float·al_get_video_scaled_width(ALLEGRO_VIDEO·*video)
28 float·al_get_video_scaled_width(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·the·width·with·which·the·video·frame·should·be·drawn.32 Returns·the·width·with·which·the·video·frame·should·be·drawn.
34 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value33 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value
35 larger·than·the·width·of·the·frame·bitmap.34 larger·than·the·width·of·the·frame·bitmap.
499 B
./usr/share/man/man3/al_get_voice_channels.3alleg5.gz
393 B
al_get_voice_channels.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_CHANNEL_CONF·al_get_voice_channels(const·ALLEGRO_VOICE·*voice)27 ALLEGRO_CHANNEL_CONF·al_get_voice_channels(const·ALLEGRO_VOICE·*voice)
28 ALLEGRO_CHANNEL_CONF·al_get_voice_channels(const·ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·channel·configuration·of·the·voice.32 Return·the·channel·configuration·of·the·voice.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
469 B
./usr/share/man/man3/al_get_voice_depth.3alleg5.gz
369 B
al_get_voice_depth.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_DEPTH·al_get_voice_depth(const·ALLEGRO_VOICE·*voice)27 ALLEGRO_AUDIO_DEPTH·al_get_voice_depth(const·ALLEGRO_VOICE·*voice)
28 ALLEGRO_AUDIO_DEPTH·al_get_voice_depth(const·ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·audio·depth·of·the·voice.32 Return·the·audio·depth·of·the·voice.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
479 B
./usr/share/man/man3/al_get_voice_frequency.3alleg5.gz
371 B
al_get_voice_frequency.3alleg5
    
Offset 22, 13 lines modifiedOffset 22, 12 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_voice_frequency(const·ALLEGRO_VOICE·*voice)27 unsigned·int·al_get_voice_frequency(const·ALLEGRO_VOICE·*voice)
28 unsigned·int·al_get_voice_frequency(const·ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·the·frequency·of·the·voice·(in·Hz),·e.g.\·44100.32 Return·the·frequency·of·the·voice·(in·Hz),·e.g.\·44100.
461 B
./usr/share/man/man3/al_get_voice_playing.3alleg5.gz
357 B
al_get_voice_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_get_voice_playing(const·ALLEGRO_VOICE·*voice)27 bool·al_get_voice_playing(const·ALLEGRO_VOICE·*voice)
28 bool·al_get_voice_playing(const·ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Return·true·if·the·voice·is·currently·playing.32 Return·true·if·the·voice·is·currently·playing.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
554 B
./usr/share/man/man3/al_get_voice_position.3alleg5.gz
448 B
al_get_voice_position.3alleg5
    
Offset 21, 15 lines modifiedOffset 21, 14 lines modified
21 al_get_voice_position·-·Allegro·5·API21 al_get_voice_position·-·Allegro·5·API
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 unsigned·int·al_get_vALLEGRO_TIMEOUT 
28 unsigned·int·al_get_voice_position(const·ALLEGRO_VOICE·*voice)27 unsigned·int·al_get_voice_position(const·ALLEGRO_VOICE·*voice)
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 When·the·voice·has·a·non-streaming·object·attached·to·it,·e.g.\·a32 When·the·voice·has·a·non-streaming·object·attached·to·it,·e.g.\·a
34 sample,·returns·the·voice\[cq]s·current·sample·position.33 sample,·returns·the·voice\[cq]s·current·sample·position.
626 B
./usr/share/man/man3/al_grab_font_from_bitmap.3alleg5.gz
514 B
al_grab_font_from_bitmap.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 ALLEGRO_FONT·*al_grab_font_from_bitmap(ALLEGRO_BITMAP·*bmp,27 ALLEGRO_FONT·*al_grab_font_from_bitmap(ALLEGRO_BITMAP·*bmp,
28 ···int·ranges_n,·const·int·ranges[])28 ···int·ranges_n,·const·int·ranges[])
29 ALLEGRO_FONT·*al_grab_font_from_bitmap(ALLEGRO_BITMAP·*bmp, 
30 ···int·ranges_n,·const·int·ranges[]) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Creates·a·new·font·from·an·Allegro·bitmap.33 Creates·a·new·font·from·an·Allegro·bitmap.
36 You·can·delete·the·bitmap·after·the·function·returns·as·the·font·will34 You·can·delete·the·bitmap·after·the·function·returns·as·the·font·will
37 contain·a·copy·for·itself.35 contain·a·copy·for·itself.
604 B
./usr/share/man/man3/al_identify_sample.3alleg5.gz
504 B
al_identify_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 char·const·*al_identify_sample(char·const·*filename)27 char·const·*al_identify_sample(char·const·*filename)
28 char·const·*al_identify_sample(char·const·*filename) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·works·exactly·as·al_identify_sample_f(3alleg5)·but·you·specify·the32 This·works·exactly·as·al_identify_sample_f(3alleg5)·but·you·specify·the
34 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.33 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.
35 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account34 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account
547 B
./usr/share/man/man3/al_identify_sample_f.3alleg5.gz
443 B
al_identify_sample_f.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 char·const·*al_identify_sample_f(ALLEGRO_FILE·*fp)27 char·const·*al_identify_sample_f(ALLEGRO_FILE·*fp)
28 char·const·*al_identify_sample_f(ALLEGRO_FILE·*fp) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Tries·to·guess·the·audio·file·type·of·the·open·ALLEGRO_FILE·by·reading32 Tries·to·guess·the·audio·file·type·of·the·open·ALLEGRO_FILE·by·reading
34 the·first·few·bytes.33 the·first·few·bytes.
35 By·default·Allegro·cannot·recognize·any·file·types,·but·calling34 By·default·Allegro·cannot·recognize·any·file·types,·but·calling
597 B
./usr/share/man/man3/al_identify_video.3alleg5.gz
499 B
al_identify_video.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 char·const·*al_identify_video(char·const·*filename)27 char·const·*al_identify_video(char·const·*filename)
28 char·const·*al_identify_video(char·const·*filename) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·works·exactly·as·al_identify_video_f(3alleg5)·but·you·specify·the32 This·works·exactly·as·al_identify_video_f(3alleg5)·but·you·specify·the
34 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.33 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.
35 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account34 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account
541 B
./usr/share/man/man3/al_identify_video_f.3alleg5.gz
439 B
al_identify_video_f.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)27 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)
28 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading32 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading
34 the·first·few·bytes.33 the·first·few·bytes.
35 By·default·Allegro·cannot·recognize·any·file·types,·but·calling34 By·default·Allegro·cannot·recognize·any·file·types,·but·calling
508 B
./usr/share/man/man3/al_init.3alleg5.gz
430 B
al_init.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))27 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))
28 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit)) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Like·al_install_system(3alleg5),·but·automatically·passes·in·the·version32 Like·al_install_system(3alleg5),·but·automatically·passes·in·the·version
34 and·uses·the·atexit·function·visible·in·the·current·binary.33 and·uses·the·atexit·function·visible·in·the·current·binary.
35 .RS34 .RS
507 B
./usr/share/man/man3/al_init_acodec_addon.3alleg5.gz
403 B
al_init_acodec_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_acodec.h>26 #include·<allegro5/allegro_acodec.h>
  
27 bool·al_init_acodec_addon(void)27 bool·al_init_acodec_addon(void)
28 bool·al_init_acodec_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·function·registers·all·the·known·audio·file·type·handlers·for32 This·function·registers·all·the·known·audio·file·type·handlers·for
34 al_load_sample(3alleg5),·al_save_sample(3alleg5),33 al_load_sample(3alleg5),·al_save_sample(3alleg5),
35 al_load_audio_stream(3alleg5),·etc.34 al_load_audio_stream(3alleg5),·etc.
434 B
./usr/share/man/man3/al_init_font_addon.3alleg5.gz
334 B
al_init_font_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 bool·al_init_font_addon(void)27 bool·al_init_font_addon(void)
28 bool·al_init_font_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Initialise·the·font·addon.32 Initialise·the·font·addon.
34 .PP33 .PP
35 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to34 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to
495 B
./usr/share/man/man3/al_init_image_addon.3alleg5.gz
393 B
al_init_image_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_image.h>26 #include·<allegro5/allegro_image.h>
  
27 bool·al_init_image_addon(void)27 bool·al_init_image_addon(void)
28 bool·al_init_image_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Initializes·the·image·addon.32 Initializes·the·image·addon.
34 This·registers·bitmap·format·handlers·for·al_load_bitmap(3alleg5),33 This·registers·bitmap·format·handlers·for·al_load_bitmap(3alleg5),
35 al_load_bitmap_f(3alleg5),·al_save_bitmap(3alleg5),34 al_load_bitmap_f(3alleg5),·al_save_bitmap(3alleg5),
484 B
./usr/share/man/man3/al_init_native_dialog_addon.3alleg5.gz
366 B
al_init_native_dialog_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_init_native_dialog_addon(void)27 bool·al_init_native_dialog_addon(void)
28 bool·al_init_native_dialog_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Initialise·the·native·dialog·addon.32 Initialise·the·native·dialog·addon.
34 .PP33 .PP
35 Returns·true·on·success,·false·on·error.34 Returns·true·on·success,·false·on·error.
474 B
./usr/share/man/man3/al_init_primitives_addon.3alleg5.gz
362 B
al_init_primitives_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 bool·al_init_primitives_addon(void)27 bool·al_init_primitives_addon(void)
28 bool·al_init_primitives_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Initializes·the·primitives·addon.32 Initializes·the·primitives·addon.
34 .PP33 .PP
35 \f[I]Returns:\f[R]·True·on·success,·false·on·failure.34 \f[I]Returns:\f[R]·True·on·success,·false·on·failure.
490 B
./usr/share/man/man3/al_init_ttf_addon.3alleg5.gz
392 B
al_init_ttf_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 bool·al_init_ttf_addon(void)27 bool·al_init_ttf_addon(void)
28 bool·al_init_ttf_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Call·this·after·al_init_font_addon(3alleg5)·to·make32 Call·this·after·al_init_font_addon(3alleg5)·to·make
34 al_load_font(3alleg5)·recognize·\[lq].ttf\[rq]·and·other·formats33 al_load_font(3alleg5)·recognize·\[lq].ttf\[rq]·and·other·formats
35 supported·by·al_load_ttf_font(3alleg5).34 supported·by·al_load_ttf_font(3alleg5).
390 B
./usr/share/man/man3/al_init_video_addon.3alleg5.gz
288 B
al_init_video_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 bool·al_init_video_addon(void)27 bool·al_init_video_addon(void)
28 bool·al_init_video_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Initializes·the·video·addon.32 Initializes·the·video·addon.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
720 B
./usr/share/man/man3/al_insert_menu_item.3alleg5.gz
618 B
al_insert_menu_item.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 int·al_insert_menu_item(ALLEGRO_MENU·*parent,·int·pos,·char·const·*title,27 int·al_insert_menu_item(ALLEGRO_MENU·*parent,·int·pos,·char·const·*title,
28 ···uint16_t·id,·int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)28 ···uint16_t·id,·int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)
29 int·al_insert_menu_item(ALLEGRO_MENU·*parent,·int·pos,·char·const·*title, 
30 ···uint16_t·id,·int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Inserts·a·menu·item·at·the·spot·specified.33 Inserts·a·menu·item·at·the·spot·specified.
36 See·the·introductory·text·for·a·detailed·explanation·of·how·the34 See·the·introductory·text·for·a·detailed·explanation·of·how·the
37 \f[V]pos\f[R]·parameter·is·interpreted.35 \f[V]pos\f[R]·parameter·is·interpreted.
405 B
./usr/share/man/man3/al_install_audio.3alleg5.gz
309 B
al_install_audio.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_install_audio(void)27 bool·al_install_audio(void)
28 bool·al_install_audio(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Install·the·audio·subsystem.32 Install·the·audio·subsystem.
34 .PP33 .PP
35 Returns·true·on·success,·false·on·failure.34 Returns·true·on·success,·false·on·failure.
498 B
./usr/share/man/man3/al_is_acodec_addon_initialized.3alleg5.gz
374 B
al_is_acodec_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_acodec.h>26 #include·<allegro5/allegro_acodec.h>
  
27 bool·al_is_acodec_addon_initialized(void)27 bool·al_is_acodec_addon_initialized(void)
28 bool·al_is_acodec_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns32 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns
34 false.33 false.
35 .SH·SINCE34 .SH·SINCE
449 B
./usr/share/man/man3/al_is_audio_installed.3alleg5.gz
343 B
al_is_audio_installed.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_is_audio_installed(void)27 bool·al_is_audio_installed(void)
28 bool·al_is_audio_installed(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·al_install_audio(3alleg5)·was·called·previously·and32 Returns·true·if·al_install_audio(3alleg5)·was·called·previously·and
34 returned·successfully.33 returned·successfully.
551 B
./usr/share/man/man3/al_is_audio_recorder_recording.3alleg5.gz
427 B
al_is_audio_recorder_recording.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER·*r)27 bool·al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER·*r)
28 bool·al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER·*r) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·audio·recorder·is·currently·capturing·data·and32 Returns·true·if·the·audio·recorder·is·currently·capturing·data·and
34 generating·events.33 generating·events.
35 .SH·SINCE34 .SH·SINCE
486 B
./usr/share/man/man3/al_is_font_addon_initialized.3alleg5.gz
366 B
al_is_font_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 bool·al_is_font_addon_initialized(void)27 bool·al_is_font_addon_initialized(void)
28 bool·al_is_font_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.32 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
494 B
./usr/share/man/man3/al_is_image_addon_initialized.3alleg5.gz
372 B
al_is_image_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_image.h>26 #include·<allegro5/allegro_image.h>
  
27 bool·al_is_image_addon_initialized(void)27 bool·al_is_image_addon_initialized(void)
28 bool·al_is_image_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.32 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
554 B
./usr/share/man/man3/al_is_native_dialog_addon_initialized.3alleg5.gz
416 B
al_is_native_dialog_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_is_native_dialog_addon_initialized(void)27 bool·al_is_native_dialog_addon_initialized(void)
28 bool·al_is_native_dialog_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise32 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise
34 returns·false.33 returns·false.
35 .SH·SINCE34 .SH·SINCE
530 B
./usr/share/man/man3/al_is_primitives_addon_initialized.3alleg5.gz
398 B
al_is_primitives_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 bool·al_is_primitives_addon_initialized(void)27 bool·al_is_primitives_addon_initialized(void)
28 bool·al_is_primitives_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns32 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns
34 false.33 false.
35 .SH·SINCE34 .SH·SINCE
478 B
./usr/share/man/man3/al_is_ttf_addon_initialized.3alleg5.gz
360 B
al_is_ttf_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 bool·al_is_ttf_addon_initialized(void)27 bool·al_is_ttf_addon_initialized(void)
28 bool·al_is_ttf_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·TTF·addon·is·initialized,·otherwise·returns·false.32 Returns·true·if·the·TTF·addon·is·initialized,·otherwise·returns·false.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
494 B
./usr/share/man/man3/al_is_video_addon_initialized.3alleg5.gz
372 B
al_is_video_addon_initialized.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 bool·al_is_video_addon_initialized(void)27 bool·al_is_video_addon_initialized(void)
28 bool·al_is_video_addon_initialized(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.32 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
441 B
./usr/share/man/man3/al_is_video_playing.3alleg5.gz
339 B
al_is_video_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 bool·al_is_video_playing(ALLEGRO_VIDEO·*video)27 bool·al_is_video_playing(ALLEGRO_VIDEO·*video)
28 bool·al_is_video_playing(ALLEGRO_VIDEO·*video) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·true·if·the·video·is·currently·playing.32 Returns·true·if·the·video·is·currently·playing.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
620 B
./usr/share/man/man3/al_load_audio_stream.3alleg5.gz
516 B
al_load_audio_stream.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream(const·char·*filename,27 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream(const·char·*filename,
28 ···size_t·buffer_count,·unsigned·int·samples)28 ···size_t·buffer_count,·unsigned·int·samples)
29 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream(const·char·*filename, 
30 ···size_t·buffer_count,·unsigned·int·samples) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Loads·an·audio·file·from·disk·as·it·is·needed.33 Loads·an·audio·file·from·disk·as·it·is·needed.
36 .PP34 .PP
37 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be35 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be
686 B
./usr/share/man/man3/al_load_audio_stream_f.3alleg5.gz
578 B
al_load_audio_stream_f.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream_f(ALLEGRO_FILE*·fp,·const·char·*ident,27 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream_f(ALLEGRO_FILE*·fp,·const·char·*ident,
28 ···size_t·buffer_count,·unsigned·int·samples)28 ···size_t·buffer_count,·unsigned·int·samples)
29 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream_f(ALLEGRO_FILE*·fp,·const·char·*ident, 
30 ···size_t·buffer_count,·unsigned·int·samples) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Loads·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream·as·it·is·needed.33 Loads·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream·as·it·is·needed.
36 .PP34 .PP
37 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be35 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be
526 B
./usr/share/man/man3/al_load_bitmap_font.3alleg5.gz
424 B
al_load_bitmap_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 ALLEGRO_FONT·*al_load_bitmap_font(const·char·*fname)27 ALLEGRO_FONT·*al_load_bitmap_font(const·char·*fname)
28 ALLEGRO_FONT·*al_load_bitmap_font(const·char·*fname) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Load·a·bitmap·font·from·a·file.32 Load·a·bitmap·font·from·a·file.
34 This·is·done·by·first·calling·al_load_bitmap_flags(3alleg5)·and·then33 This·is·done·by·first·calling·al_load_bitmap_flags(3alleg5)·and·then
35 al_grab_font_from_bitmap(3alleg5).34 al_grab_font_from_bitmap(3alleg5).
590 B
./usr/share/man/man3/al_load_bitmap_font_flags.3alleg5.gz
476 B
al_load_bitmap_font_flags.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 ALLEGRO_FONT·*al_load_bitmap_font_flags(const·char·*fname,·int·flags)27 ALLEGRO_FONT·*al_load_bitmap_font_flags(const·char·*fname,·int·flags)
28 ALLEGRO_FONT·*al_load_bitmap_font_flags(const·char·*fname,·int·flags) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Like·al_load_bitmap_font(3alleg5)·but·additionally·takes·a·flags32 Like·al_load_bitmap_font(3alleg5)·but·additionally·takes·a·flags
34 parameter·which·is·a·bitfield·containing·a·combination·of·the·following:33 parameter·which·is·a·bitfield·containing·a·combination·of·the·following:
35 .TP34 .TP
551 B
./usr/share/man/man3/al_load_font.3alleg5.gz
463 B
al_load_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)27 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)
28 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Loads·a·font·from·disk.32 Loads·a·font·from·disk.
34 This·will·use·al_load_bitmap_font_flags(3alleg5)·if·you·pass·the·name·of33 This·will·use·al_load_bitmap_font_flags(3alleg5)·if·you·pass·the·name·of
35 a·known·bitmap·format,·or·else·al_load_ttf_font(3alleg5).34 a·known·bitmap·format,·or·else·al_load_ttf_font(3alleg5).
512 B
./usr/share/man/man3/al_load_sample.3alleg5.gz
420 B
al_load_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_SAMPLE·*al_load_sample(const·char·*filename)27 ALLEGRO_SAMPLE·*al_load_sample(const·char·*filename)
28 ALLEGRO_SAMPLE·*al_load_sample(const·char·*filename) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Loads·a·few·different·audio·file·formats·based·on·their·extension.32 Loads·a·few·different·audio·file·formats·based·on·their·extension.
34 .PP33 .PP
35 Note·that·this·stores·the·entire·file·in·memory·at·once,·which·may·be34 Note·that·this·stores·the·entire·file·in·memory·at·once,·which·may·be
575 B
./usr/share/man/man3/al_load_sample_f.3alleg5.gz
479 B
al_load_sample_f.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_SAMPLE·*al_load_sample_f(ALLEGRO_FILE*·fp,·const·char·*ident)27 ALLEGRO_SAMPLE·*al_load_sample_f(ALLEGRO_FILE*·fp,·const·char·*ident)
28 ALLEGRO_SAMPLE·*al_load_sample_f(ALLEGRO_FILE*·fp,·const·char·*ident) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Loads·an·audio·file·from·an·ALLEGRO_FILE(3alleg5)·stream·into·an32 Loads·an·audio·file·from·an·ALLEGRO_FILE(3alleg5)·stream·into·an
34 ALLEGRO_SAMPLE(3alleg5).33 ALLEGRO_SAMPLE(3alleg5).
35 The·file·type·is·determined·by·the·passed·`ident'·parameter,·which·is·a34 The·file·type·is·determined·by·the·passed·`ident'·parameter,·which·is·a
563 B
./usr/share/man/man3/al_load_ttf_font.3alleg5.gz
467 B
al_load_ttf_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 ALLEGRO_FONT·*al_load_ttf_font(char·const·*filename,·int·size,·int·flags)27 ALLEGRO_FONT·*al_load_ttf_font(char·const·*filename,·int·size,·int·flags)
28 ALLEGRO_FONT·*al_load_ttf_font(char·const·*filename,·int·size,·int·flags) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Loads·a·TrueType·font·from·a·file·using·the·FreeType·library.32 Loads·a·TrueType·font·from·a·file·using·the·FreeType·library.
34 Quoting·from·the·FreeType·FAQ·this·means·support·for·many·different·font33 Quoting·from·the·FreeType·FAQ·this·means·support·for·many·different·font
35 formats:34 formats:
612 B
./usr/share/man/man3/al_load_ttf_font_f.3alleg5.gz
512 B
al_load_ttf_font_f.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 ALLEGRO_FONT·*al_load_ttf_font_f(ALLEGRO_FILE·*file,27 ALLEGRO_FONT·*al_load_ttf_font_f(ALLEGRO_FILE·*file,
28 ····char·const·*filename,·int·size,·int·flags)28 ····char·const·*filename,·int·size,·int·flags)
29 ALLEGRO_FONT·*al_load_ttf_font_f(ALLEGRO_FILE·*file, 
30 ····char·const·*filename,·int·size,·int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·al_load_ttf_font(3alleg5),·but·the·font·is·read·from·the·file33 Like·al_load_ttf_font(3alleg5),·but·the·font·is·read·from·the·file
36 handle.34 handle.
37 The·filename·is·only·used·to·find·possible·additional·files·next·to·a35 The·filename·is·only·used·to·find·possible·additional·files·next·to·a
594 B
./usr/share/man/man3/al_load_ttf_font_stretch.3alleg5.gz
482 B
al_load_ttf_font_stretch.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 ALLEGRO_FONT·*al_load_ttf_font_stretch(char·const·*filename,·int·w,·int·h,27 ALLEGRO_FONT·*al_load_ttf_font_stretch(char·const·*filename,·int·w,·int·h,
28 ···int·flags)28 ···int·flags)
29 ALLEGRO_FONT·*al_load_ttf_font_stretch(char·const·*filename,·int·w,·int·h, 
30 ···int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·al_load_ttf_font(3alleg5),·except·it·takes·separate·width·and33 Like·al_load_ttf_font(3alleg5),·except·it·takes·separate·width·and
36 height·parameters·instead·of·a·single·size·parameter.34 height·parameters·instead·of·a·single·size·parameter.
37 .PP35 .PP
676 B
./usr/share/man/man3/al_load_ttf_font_stretch_f.3alleg5.gz
560 B
al_load_ttf_font_stretch_f.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 ALLEGRO_FONT·*al_load_ttf_font_stretch_f(ALLEGRO_FILE·*file,27 ALLEGRO_FONT·*al_load_ttf_font_stretch_f(ALLEGRO_FILE·*file,
28 ····char·const·*filename,·int·w,·int·h,·int·flags)28 ····char·const·*filename,·int·w,·int·h,·int·flags)
29 ALLEGRO_FONT·*al_load_ttf_font_stretch_f(ALLEGRO_FILE·*file, 
30 ····char·const·*filename,·int·w,·int·h,·int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·al_load_ttf_font_stretch(3alleg5),·but·the·font·is·read·from·the33 Like·al_load_ttf_font_stretch(3alleg5),·but·the·font·is·read·from·the
36 file·handle.34 file·handle.
37 The·filename·is·only·used·to·find·possible·additional·files·next·to·a35 The·filename·is·only·used·to·find·possible·additional·files·next·to·a
657 B
./usr/share/man/man3/al_lock_index_buffer.3alleg5.gz
553 B
al_lock_index_buffer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void*·al_lock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer,·int·offset,27 void*·al_lock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer,·int·offset,
28 ····int·length,·int·flags)28 ····int·length,·int·flags)
29 void*·al_lock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer,·int·offset, 
30 ····int·length,·int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Locks·a·index·buffer·so·you·can·access·its·data.33 Locks·a·index·buffer·so·you·can·access·its·data.
36 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested34 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested
37 from·a·write·only·buffer·and·if·the·buffer·is·already·locked.35 from·a·write·only·buffer·and·if·the·buffer·is·already·locked.
583 B
./usr/share/man/man3/al_lock_sample_id.3alleg5.gz
485 B
al_lock_sample_id.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)27 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
28 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Locks·a·ALLEGRO_SAMPLE_ID(3alleg5),·returning·the·underlying32 Locks·a·ALLEGRO_SAMPLE_ID(3alleg5),·returning·the·underlying
34 ALLEGRO_SAMPLE_INSTANCE(3alleg5).33 ALLEGRO_SAMPLE_INSTANCE(3alleg5).
35 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such34 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such
664 B
./usr/share/man/man3/al_lock_vertex_buffer.3alleg5.gz
558 B
al_lock_vertex_buffer.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void*·al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer,·int·offset,27 void*·al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer,·int·offset,
28 ···int·length,·int·flags)28 ···int·length,·int·flags)
29 void*·al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer,·int·offset, 
30 ···int·length,·int·flags) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Locks·a·vertex·buffer·so·you·can·access·its·data.33 Locks·a·vertex·buffer·so·you·can·access·its·data.
36 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested34 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested
37 from·a·write·only·buffer,·or·if·the·buffer·is·already·locked.35 from·a·write·only·buffer,·or·if·the·buffer·is·already·locked.
494 B
./usr/share/man/man3/al_malloc.3alleg5.gz
412 B
al_malloc.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·al_malloc(n)·\[rs]27 #define·al_malloc(n)·\[rs]
28 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))28 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))
29 #define·al_malloc(n)·\[rs] 
30 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be33 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be
36 overridden.34 overridden.
37 .PP35 .PP
576 B
./usr/share/man/man3/al_open_memfile.3alleg5.gz
482 B
al_open_memfile.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_memfile.h>26 #include·<allegro5/allegro_memfile.h>
  
27 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)27 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)
28 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Returns·a·file·handle·to·the·block·of·memory.32 Returns·a·file·handle·to·the·block·of·memory.
34 All·read·and·write·operations·act·upon·the·memory·directly,·so·it·must33 All·read·and·write·operations·act·upon·the·memory·directly,·so·it·must
35 not·be·freed·while·the·file·remains·open.34 not·be·freed·while·the·file·remains·open.
614 B
./usr/share/man/man3/al_open_native_text_log.3alleg5.gz
504 B
al_open_native_text_log.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_TEXTLOG·*al_open_native_text_log(char·const·*title,·int·flags)27 ALLEGRO_TEXTLOG·*al_open_native_text_log(char·const·*title,·int·flags)
28 ALLEGRO_TEXTLOG·*al_open_native_text_log(char·const·*title,·int·flags) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Opens·a·window·to·which·you·can·append·log·messages·with32 Opens·a·window·to·which·you·can·append·log·messages·with
34 al_append_native_text_log(3alleg5).33 al_append_native_text_log(3alleg5).
35 This·can·be·useful·for·debugging·if·you·don\[cq]t·want·to·depend·on·a34 This·can·be·useful·for·debugging·if·you·don\[cq]t·want·to·depend·on·a
488 B
./usr/share/man/man3/al_open_video.3alleg5.gz
398 B
al_open_video.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)27 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)
28 ALLEGRO_VIDEO·*al_open_video(char·const·*filename) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Reads·a·video·file.32 Reads·a·video·file.
34 This·does·not·start·streaming·yet·but·reads·the·meta·info·so·you·can33 This·does·not·start·streaming·yet·but·reads·the·meta·info·so·you·can
35 query·e.g.\·the·size·or·audio·rate.34 query·e.g.\·the·size·or·audio·rate.
531 B
./usr/share/man/man3/al_play_audio_stream.3alleg5.gz
427 B
al_play_audio_stream.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)27 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)
28 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Loads·and·plays·an·audio·file·from·disk·as·it·is·needed.32 Loads·and·plays·an·audio·file·from·disk·as·it·is·needed.
34 This·API·can·only·play·one·audio·stream·at·a·time.33 This·API·can·only·play·one·audio·stream·at·a·time.
35 .PP34 .PP
546 B
./usr/share/man/man3/al_play_audio_stream_f.3alleg5.gz
438 B
al_play_audio_stream_f.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream_f(ALLEGRO_FILE·*fp,·const·char·*ident)27 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream_f(ALLEGRO_FILE·*fp,·const·char·*ident)
28 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream_f(ALLEGRO_FILE·*fp,·const·char·*ident) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Loads·and·plays·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream·as·it·is32 Loads·and·plays·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream·as·it·is
34 needed.33 needed.
35 .PP34 .PP
642 B
./usr/share/man/man3/al_play_sample.3alleg5.gz
550 B
al_play_sample.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,27 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,
28 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)28 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)
29 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed, 
30 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Plays·a·sample·on·one·of·the·sample·instances·created·by33 Plays·a·sample·on·one·of·the·sample·instances·created·by
36 al_reserve_samples(3alleg5).34 al_reserve_samples(3alleg5).
37 Returns·true·on·success,·false·on·failure.35 Returns·true·on·success,·false·on·failure.
501 B
./usr/share/man/man3/al_play_sample_instance.3alleg5.gz
391 B
al_play_sample_instance.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)27 bool·al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
28 bool·al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Play·the·sample·instance.32 Play·the·sample·instance.
34 Returns·true·on·success,·false·on·failure.33 Returns·true·on·success,·false·on·failure.
35 .SH·SEE·ALSO34 .SH·SEE·ALSO
578 B
./usr/share/man/man3/al_popup_menu.3alleg5.gz
488 B
al_popup_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_popup_menu(ALLEGRO_MENU·*popup,·ALLEGRO_DISPLAY·*display)27 bool·al_popup_menu(ALLEGRO_MENU·*popup,·ALLEGRO_DISPLAY·*display)
28 bool·al_popup_menu(ALLEGRO_MENU·*popup,·ALLEGRO_DISPLAY·*display) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Displays·a·context·menu·next·to·the·mouse·cursor.32 Displays·a·context·menu·next·to·the·mouse·cursor.
34 The·menu·must·have·been·created·with·al_create_popup_menu(3alleg5).33 The·menu·must·have·been·created·with·al_create_popup_menu(3alleg5).
35 It·generates·events·just·like·a·regular·display·menu·does.34 It·generates·events·just·like·a·regular·display·menu·does.
519 B
./usr/share/man/man3/al_realloc.3alleg5.gz
435 B
al_realloc.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro.h>26 #include·<allegro5/allegro.h>
  
27 #define·al_realloc(p,·n)·\[rs]27 #define·al_realloc(p,·n)·\[rs]
28 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))28 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))
29 #define·al_realloc(p,·n)·\[rs] 
30 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be33 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be
36 overridden.34 overridden.
37 .PP35 .PP
810 B
./usr/share/man/man3/al_register_audio_stream_loader.3alleg5.gz
684 B
al_register_audio_stream_loader.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_audio_stream_loader(const·char·*ext,27 bool·al_register_audio_stream_loader(const·char·*ext,
28 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(const·char·*filename,28 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(const·char·*filename,
29 ······size_t·buffer_count,·unsigned·int·samples))29 ······size_t·buffer_count,·unsigned·int·samples))
30 bool·al_register_audio_stream_loader(const·char·*ext, 
31 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(const·char·*filename, 
32 ······size_t·buffer_count,·unsigned·int·samples)) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Register·a·handler·for·al_load_audio_stream(3alleg5)·and34 Register·a·handler·for·al_load_audio_stream(3alleg5)·and
38 al_play_audio_stream(3alleg5).35 al_play_audio_stream(3alleg5).
39 The·given·function·will·be·used·to·open·streams·from·files·with·the36 The·given·function·will·be·used·to·open·streams·from·files·with·the
818 B
./usr/share/man/man3/al_register_audio_stream_loader_f.3alleg5.gz
688 B
al_register_audio_stream_loader_f.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_audio_stream_loader_f(const·char·*ext,27 bool·al_register_audio_stream_loader_f(const·char·*ext,
28 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(ALLEGRO_FILE*·fp,28 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(ALLEGRO_FILE*·fp,
29 ······size_t·buffer_count,·unsigned·int·samples))29 ······size_t·buffer_count,·unsigned·int·samples))
30 bool·al_register_audio_stream_loader_f(const·char·*ext, 
31 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(ALLEGRO_FILE*·fp, 
32 ······size_t·buffer_count,·unsigned·int·samples)) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Register·a·handler·for·al_load_audio_stream_f(3alleg5)·and34 Register·a·handler·for·al_load_audio_stream_f(3alleg5)·and
38 al_play_audio_stream_f(3alleg5).35 al_play_audio_stream_f(3alleg5).
39 The·given·function·will·be·used·to·open·streams·from·files·with·the36 The·given·function·will·be·used·to·open·streams·from·files·with·the
630 B
./usr/share/man/man3/al_register_font_loader.3alleg5.gz
520 B
al_register_font_loader.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 bool·al_register_font_loader(char·const·*extension,27 bool·al_register_font_loader(char·const·*extension,
28 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))28 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))
29 bool·al_register_font_loader(char·const·*extension, 
30 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of33 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of
36 this·format.34 this·format.
37 .PP35 .PP
705 B
./usr/share/man/man3/al_register_sample_identifier.3alleg5.gz
583 B
al_register_sample_identifier.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_sample_identifier(const·char·*ext,27 bool·al_register_sample_identifier(const·char·*ext,
28 ···bool·(*identifier)(ALLEGRO_FILE*·fp))28 ···bool·(*identifier)(ALLEGRO_FILE*·fp))
29 bool·al_register_sample_identifier(const·char·*ext, 
30 ···bool·(*identifier)(ALLEGRO_FILE*·fp)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Register·an·identify·handler·for·al_identify_sample(3alleg5).33 Register·an·identify·handler·for·al_identify_sample(3alleg5).
36 The·given·function·will·be·used·to·detect·files·for·the·given·extension.34 The·given·function·will·be·used·to·detect·files·for·the·given·extension.
37 It·will·be·called·with·a·single·argument·of·type·ALLEGRO_FILE(3alleg5)35 It·will·be·called·with·a·single·argument·of·type·ALLEGRO_FILE(3alleg5)
641 B
./usr/share/man/man3/al_register_sample_loader.3alleg5.gz
527 B
al_register_sample_loader.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_sample_loader(const·char·*ext,27 bool·al_register_sample_loader(const·char·*ext,
28 ···ALLEGRO_SAMPLE·*(*loader)(const·char·*filename))28 ···ALLEGRO_SAMPLE·*(*loader)(const·char·*filename))
29 bool·al_register_sample_loader(const·char·*ext, 
30 ···ALLEGRO_SAMPLE·*(*loader)(const·char·*filename)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Register·a·handler·for·al_load_sample(3alleg5).33 Register·a·handler·for·al_load_sample(3alleg5).
36 The·given·function·will·be·used·to·handle·the·loading·of·sample·files34 The·given·function·will·be·used·to·handle·the·loading·of·sample·files
37 with·the·given·extension.35 with·the·given·extension.
647 B
./usr/share/man/man3/al_register_sample_loader_f.3alleg5.gz
529 B
al_register_sample_loader_f.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_sample_loader_f(const·char·*ext,27 bool·al_register_sample_loader_f(const·char·*ext,
28 ···ALLEGRO_SAMPLE·*(*loader)(ALLEGRO_FILE*·fp))28 ···ALLEGRO_SAMPLE·*(*loader)(ALLEGRO_FILE*·fp))
29 bool·al_register_sample_loader_f(const·char·*ext, 
30 ···ALLEGRO_SAMPLE·*(*loader)(ALLEGRO_FILE*·fp)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Register·a·handler·for·al_load_sample_f(3alleg5).33 Register·a·handler·for·al_load_sample_f(3alleg5).
36 The·given·function·will·be·used·to·handle·the·loading·of·sample·files34 The·given·function·will·be·used·to·handle·the·loading·of·sample·files
37 with·the·given·extension.35 with·the·given·extension.
652 B
./usr/share/man/man3/al_register_sample_saver.3alleg5.gz
540 B
al_register_sample_saver.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_sample_saver(const·char·*ext,27 bool·al_register_sample_saver(const·char·*ext,
28 ···bool·(*saver)(const·char·*filename,·ALLEGRO_SAMPLE·*spl))28 ···bool·(*saver)(const·char·*filename,·ALLEGRO_SAMPLE·*spl))
29 bool·al_register_sample_saver(const·char·*ext, 
30 ···bool·(*saver)(const·char·*filename,·ALLEGRO_SAMPLE·*spl)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Register·a·handler·for·al_save_sample(3alleg5).33 Register·a·handler·for·al_save_sample(3alleg5).
36 The·given·function·will·be·used·to·handle·the·saving·of·sample·files34 The·given·function·will·be·used·to·handle·the·saving·of·sample·files
37 with·the·given·extension.35 with·the·given·extension.
658 B
./usr/share/man/man3/al_register_sample_saver_f.3alleg5.gz
542 B
al_register_sample_saver_f.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_register_sample_saver_f(const·char·*ext,27 bool·al_register_sample_saver_f(const·char·*ext,
28 ···bool·(*saver)(ALLEGRO_FILE*·fp,·ALLEGRO_SAMPLE·*spl))28 ···bool·(*saver)(ALLEGRO_FILE*·fp,·ALLEGRO_SAMPLE·*spl))
29 bool·al_register_sample_saver_f(const·char·*ext, 
30 ···bool·(*saver)(ALLEGRO_FILE*·fp,·ALLEGRO_SAMPLE·*spl)) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Register·a·handler·for·al_save_sample_f(3alleg5).33 Register·a·handler·for·al_save_sample_f(3alleg5).
36 The·given·function·will·be·used·to·handle·the·saving·of·sample·files34 The·given·function·will·be·used·to·handle·the·saving·of·sample·files
37 with·the·given·extension.35 with·the·given·extension.
547 B
./usr/share/man/man3/al_remove_display_menu.3alleg5.gz
439 B
al_remove_display_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 ALLEGRO_MENU·*al_remove_display_menu(ALLEGRO_DISPLAY·*display)27 ALLEGRO_MENU·*al_remove_display_menu(ALLEGRO_DISPLAY·*display)
28 ALLEGRO_MENU·*al_remove_display_menu(ALLEGRO_DISPLAY·*display) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Detaches·the·menu·associated·with·the·display·and·returns·it.32 Detaches·the·menu·associated·with·the·display·and·returns·it.
34 The·menu·can·then·be·used·on·a·different·display.33 The·menu·can·then·be·used·on·a·different·display.
35 .PP34 .PP
551 B
./usr/share/man/man3/al_remove_menu_item.3alleg5.gz
449 B
al_remove_menu_item.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_remove_menu_item(ALLEGRO_MENU·*menu,·int·pos)27 bool·al_remove_menu_item(ALLEGRO_MENU·*menu,·int·pos)
28 bool·al_remove_menu_item(ALLEGRO_MENU·*menu,·int·pos) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Removes·the·specified·item·from·the·menu·and·destroys·it.32 Removes·the·specified·item·from·the·menu·and·destroys·it.
34 If·the·item·contains·a·sub-menu,·it·too·is·destroyed.33 If·the·item·contains·a·sub-menu,·it·too·is·destroyed.
35 Any·references·to·it·are·invalidated.34 Any·references·to·it·are·invalidated.
517 B
./usr/share/man/man3/al_reserve_samples.3alleg5.gz
417 B
al_reserve_samples.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_reserve_samples(int·reserve_samples)27 bool·al_reserve_samples(int·reserve_samples)
28 bool·al_reserve_samples(int·reserve_samples) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default32 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default
34 mixer.33 mixer.
35 If·no·default·mixer·is·set·when·this·function·is·called,·then·it·will34 If·no·default·mixer·is·set·when·this·function·is·called,·then·it·will
525 B
./usr/share/man/man3/al_restore_default_mixer.3alleg5.gz
413 B
al_restore_default_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_restore_default_mixer(void)27 bool·al_restore_default_mixer(void)
28 bool·al_restore_default_mixer(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Restores·Allegro\[cq]s·default·mixer·and·attaches·it·to·the·default32 Restores·Allegro\[cq]s·default·mixer·and·attaches·it·to·the·default
34 voice.33 voice.
35 If·the·default·mixer·hasn\[cq]t·been·created·before,·it·will·be·created.34 If·the·default·mixer·hasn\[cq]t·been·created·before,·it·will·be·created.
554 B
./usr/share/man/man3/al_rewind_audio_stream.3alleg5.gz
446 B
al_rewind_audio_stream.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)27 bool·al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
28 bool·al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM·*stream) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·streaming·file·playing·position·to·the·beginning.32 Set·the·streaming·file·playing·position·to·the·beginning.
34 Returns·true·on·success.33 Returns·true·on·success.
35 Currently·this·can·only·be·called·on·streams·created·with34 Currently·this·can·only·be·called·on·streams·created·with
507 B
./usr/share/man/man3/al_save_sample.3alleg5.gz
415 B
al_save_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_save_sample(const·char·*filename,·ALLEGRO_SAMPLE·*spl)27 bool·al_save_sample(const·char·*filename,·ALLEGRO_SAMPLE·*spl)
28 bool·al_save_sample(const·char·*filename,·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Writes·a·sample·into·a·file.32 Writes·a·sample·into·a·file.
34 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be33 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be
35 \[lq].wav\[rq].34 \[lq].wav\[rq].
577 B
./usr/share/man/man3/al_save_sample_f.3alleg5.gz
481 B
al_save_sample_f.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_save_sample_f(ALLEGRO_FILE·*fp,·const·char·*ident,·ALLEGRO_SAMPLE·*spl)27 bool·al_save_sample_f(ALLEGRO_FILE·*fp,·const·char·*ident,·ALLEGRO_SAMPLE·*spl)
28 bool·al_save_sample_f(ALLEGRO_FILE·*fp,·const·char·*ident,·ALLEGRO_SAMPLE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Writes·a·sample·into·a·ALLEGRO_FILE(3alleg5)·filestream.32 Writes·a·sample·into·a·ALLEGRO_FILE(3alleg5)·filestream.
34 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be33 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be
35 \[lq].wav\[rq].34 \[lq].wav\[rq].
589 B
./usr/share/man/man3/al_seek_audio_stream_secs.3alleg5.gz
475 B
al_seek_audio_stream_secs.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM·*stream,·double·time)27 bool·al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM·*stream,·double·time)
28 bool·al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM·*stream,·double·time) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·streaming·file·playing·position·to·time.32 Set·the·streaming·file·playing·position·to·time.
34 Returns·true·on·success.33 Returns·true·on·success.
35 Currently·this·can·only·be·called·on·streams·created·with34 Currently·this·can·only·be·called·on·streams·created·with
509 B
./usr/share/man/man3/al_seek_video.3alleg5.gz
419 B
al_seek_video.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds)27 bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds)
28 bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Seek·to·a·different·position·in·the·video.32 Seek·to·a·different·position·in·the·video.
34 Currently·only·seeking·to·the·beginning·of·the·video·is·supported.33 Currently·only·seeking·to·the·beginning·of·the·video·is·supported.
35 .SH·SINCE34 .SH·SINCE
654 B
./usr/share/man/man3/al_set_audio_stream_fragment.3alleg5.gz
534 B
al_set_audio_stream_fragment.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM·*stream,·void·*val)27 bool·al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM·*stream,·void·*val)
28 bool·al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM·*stream,·void·*val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·function·needs·to·be·called·for·every·successful·call·of32 This·function·needs·to·be·called·for·every·successful·call·of
34 al_get_audio_stream_fragment(3alleg5)·to·indicate·that·the·buffer33 al_get_audio_stream_fragment(3alleg5)·to·indicate·that·the·buffer
35 (pointed·to·by·\f[V]val\f[R])·is·filled·with·new·data.34 (pointed·to·by·\f[V]val\f[R])·is·filled·with·new·data.
531 B
./usr/share/man/man3/al_set_audio_stream_gain.3alleg5.gz
419 B
al_set_audio_stream_gain.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM·*stream,·float·val)27 bool·al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
28 bool·al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM·*stream,·float·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·playback·gain·of·the·stream.32 Set·the·playback·gain·of·the·stream.
34 .PP33 .PP
35 Returns·true·on·success,·false·on·failure.34 Returns·true·on·success,·false·on·failure.
669 B
./usr/share/man/man3/al_set_audio_stream_loop_secs.3alleg5.gz
547 B
al_set_audio_stream_loop_secs.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM·*stream,27 bool·al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM·*stream,
28 ···double·start,·double·end)28 ···double·start,·double·end)
29 bool·al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM·*stream, 
30 ···double·start,·double·end) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Sets·the·loop·points·for·the·stream·in·seconds.33 Sets·the·loop·points·for·the·stream·in·seconds.
36 Currently·this·can·only·be·called·on·streams·created·with34 Currently·this·can·only·be·called·on·streams·created·with
37 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),35 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
618 B
./usr/share/man/man3/al_set_audio_stream_pan.3alleg5.gz
508 B
al_set_audio_stream_pan.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM·*stream,·float·val)27 bool·al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
28 bool·al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM·*stream,·float·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·pan·value·on·an·audio·stream.32 Set·the·pan·value·on·an·audio·stream.
34 A·value·of·-1.0·means·to·play·the·stream·only·through·the·left·speaker;33 A·value·of·-1.0·means·to·play·the·stream·only·through·the·left·speaker;
35 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is34 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is
548 B
./usr/share/man/man3/al_set_audio_stream_playing.3alleg5.gz
430 B
al_set_audio_stream_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM·*stream,·bool·val)27 bool·al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM·*stream,·bool·val)
28 bool·al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM·*stream,·bool·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Change·whether·the·stream·is·playing.32 Change·whether·the·stream·is·playing.
34 .PP33 .PP
35 Returns·true·on·success,·false·on·failure.34 Returns·true·on·success,·false·on·failure.
571 B
./usr/share/man/man3/al_set_audio_stream_playmode.3alleg5.gz
451 B
al_set_audio_stream_playmode.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM·*stream,27 bool·al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM·*stream,
28 ···ALLEGRO_PLAYMODE·val)28 ···ALLEGRO_PLAYMODE·val)
29 bool·al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM·*stream, 
30 ···ALLEGRO_PLAYMODE·val) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Set·the·playback·mode·of·the·stream.33 Set·the·playback·mode·of·the·stream.
36 .PP34 .PP
37 Returns·true·on·success,·false·on·failure.35 Returns·true·on·success,·false·on·failure.
528 B
./usr/share/man/man3/al_set_audio_stream_speed.3alleg5.gz
414 B
al_set_audio_stream_speed.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM·*stream,·float·val)27 bool·al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
28 bool·al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM·*stream,·float·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·relative·playback·speed·of·the·stream.32 Set·the·relative·playback·speed·of·the·stream.
34 1.0·means·normal·speed.33 1.0·means·normal·speed.
35 .PP34 .PP
546 B
./usr/share/man/man3/al_set_default_mixer.3alleg5.gz
442 B
al_set_default_mixer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_default_mixer(ALLEGRO_MIXER·*mixer)27 bool·al_set_default_mixer(ALLEGRO_MIXER·*mixer)
28 bool·al_set_default_mixer(ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Sets·the·default·mixer.32 Sets·the·default·mixer.
34 All·samples·started·with·al_play_sample(3alleg5)·will·be·stopped·and·all33 All·samples·started·with·al_play_sample(3alleg5)·will·be·stopped·and·all
35 sample·instances·returned·by·al_lock_sample_id(3alleg5)·will·be34 sample·instances·returned·by·al_lock_sample_id(3alleg5)·will·be
524 B
./usr/share/man/man3/al_set_default_voice.3alleg5.gz
420 B
al_set_default_voice.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_set_default_voice(ALLEGRO_VOICE·*voice)27 void·al_set_default_voice(ALLEGRO_VOICE·*voice)
28 void·al_set_default_voice(ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 You·can·call·this·before·calling·al_restore_default_mixer·to·provide·the32 You·can·call·this·before·calling·al_restore_default_mixer·to·provide·the
34 voice·which·should·be·used.33 voice·which·should·be·used.
35 Any·previous·voice·will·be·destroyed.34 Any·previous·voice·will·be·destroyed.
586 B
./usr/share/man/man3/al_set_display_menu.3alleg5.gz
484 B
al_set_display_menu.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_set_display_menu(ALLEGRO_DISPLAY·*display,·ALLEGRO_MENU·*menu)27 bool·al_set_display_menu(ALLEGRO_DISPLAY·*display,·ALLEGRO_MENU·*menu)
28 bool·al_set_display_menu(ALLEGRO_DISPLAY·*display,·ALLEGRO_MENU·*menu) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Associates·the·\f[V]menu\f[R]·with·the·\f[V]display\f[R]·and·shows·it.32 Associates·the·\f[V]menu\f[R]·with·the·\f[V]display\f[R]·and·shows·it.
34 If·there·was·a·previous·menu·associated·with·the·display,·it·will·be33 If·there·was·a·previous·menu·associated·with·the·display,·it·will·be
35 destroyed.34 destroyed.
577 B
./usr/share/man/man3/al_set_fallback_font.3alleg5.gz
473 B
al_set_fallback_font.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_set_fallback_font(ALLEGRO_FONT·*font,·ALLEGRO_FONT·*fallback)27 void·al_set_fallback_font(ALLEGRO_FONT·*font,·ALLEGRO_FONT·*fallback)
28 void·al_set_fallback_font(ALLEGRO_FONT·*font,·ALLEGRO_FONT·*fallback) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Sets·a·font·which·is·used·instead·if·a·character·is·not·present.32 Sets·a·font·which·is·used·instead·if·a·character·is·not·present.
34 Can·be·chained,·but·make·sure·there·is·no·loop·as·that·would·crash·the33 Can·be·chained,·but·make·sure·there·is·no·loop·as·that·would·crash·the
35 application!34 application!
613 B
./usr/share/man/man3/al_set_menu_item_caption.3alleg5.gz
501 B
al_set_menu_item_caption.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_set_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos,·const·char·*caption)27 void·al_set_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos,·const·char·*caption)
28 void·al_set_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos,·const·char·*caption) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Updates·the·menu·item·caption·with·the·new·\f[V]caption\f[R].32 Updates·the·menu·item·caption·with·the·new·\f[V]caption\f[R].
34 This·will·invalidate·any·previous·calls·to33 This·will·invalidate·any·previous·calls·to
35 al_get_menu_item_caption(3alleg5).34 al_get_menu_item_caption(3alleg5).
551 B
./usr/share/man/man3/al_set_menu_item_flags.3alleg5.gz
443 B
al_set_menu_item_flags.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_set_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)27 void·al_set_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)
28 void·al_set_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Updates·the·menu·item\[cq]s·flags.32 Updates·the·menu·item\[cq]s·flags.
34 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available33 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available
35 flags.34 flags.
636 B
./usr/share/man/man3/al_set_menu_item_icon.3alleg5.gz
530 B
al_set_menu_item_icon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_set_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos,·ALLEGRO_BITMAP·*icon)27 void·al_set_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos,·ALLEGRO_BITMAP·*icon)
28 void·al_set_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos,·ALLEGRO_BITMAP·*icon) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Sets·the·icon·for·the·specified·menu·item.32 Sets·the·icon·for·the·specified·menu·item.
34 The·menu·assumes·ownership·of·the·\f[V]ALLEGRO_BITMAP\f[R]·and·may33 The·menu·assumes·ownership·of·the·\f[V]ALLEGRO_BITMAP\f[R]·and·may
35 invalidate·the·pointer,·so·you·must·clone·it·if·you·wish·to·continue34 invalidate·the·pointer,·so·you·must·clone·it·if·you·wish·to·continue
532 B
./usr/share/man/man3/al_set_mixer_frequency.3alleg5.gz
424 B
al_set_mixer_frequency.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_mixer_frequency(ALLEGRO_MIXER·*mixer,·unsigned·int·val)27 bool·al_set_mixer_frequency(ALLEGRO_MIXER·*mixer,·unsigned·int·val)
28 bool·al_set_mixer_frequency(ALLEGRO_MIXER·*mixer,·unsigned·int·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·mixer·frequency·(in·Hz).32 Set·the·mixer·frequency·(in·Hz).
34 This·will·only·work·if·the·mixer·is·not·attached·to·anything.33 This·will·only·work·if·the·mixer·is·not·attached·to·anything.
35 .PP34 .PP
489 B
./usr/share/man/man3/al_set_mixer_gain.3alleg5.gz
391 B
al_set_mixer_gain.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_mixer_gain(ALLEGRO_MIXER·*mixer,·float·new_gain)27 bool·al_set_mixer_gain(ALLEGRO_MIXER·*mixer,·float·new_gain)
28 bool·al_set_mixer_gain(ALLEGRO_MIXER·*mixer,·float·new_gain) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·mixer·gain·(amplification·factor).32 Set·the·mixer·gain·(amplification·factor).
34 .PP33 .PP
35 Returns·true·on·success,·false·on·failure.34 Returns·true·on·success,·false·on·failure.
489 B
./usr/share/man/man3/al_set_mixer_playing.3alleg5.gz
385 B
al_set_mixer_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_mixer_playing(ALLEGRO_MIXER·*mixer,·bool·val)27 bool·al_set_mixer_playing(ALLEGRO_MIXER·*mixer,·bool·val)
28 bool·al_set_mixer_playing(ALLEGRO_MIXER·*mixer,·bool·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Change·whether·the·mixer·is·playing.32 Change·whether·the·mixer·is·playing.
34 .PP33 .PP
35 Returns·true·on·success,·false·on·failure.34 Returns·true·on·success,·false·on·failure.
818 B
./usr/share/man/man3/al_set_mixer_postprocess_callback.3alleg5.gz
688 B
al_set_mixer_postprocess_callback.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_mixer_postprocess_callback(ALLEGRO_MIXER·*mixer,27 bool·al_set_mixer_postprocess_callback(ALLEGRO_MIXER·*mixer,
28 ···void·(*pp_callback)(void·*buf,·unsigned·int·samples,·void·*data),28 ···void·(*pp_callback)(void·*buf,·unsigned·int·samples,·void·*data),
29 ···void·*pp_callback_userdata)29 ···void·*pp_callback_userdata)
30 bool·al_set_mixer_postprocess_callback(ALLEGRO_MIXER·*mixer, 
31 ···void·(*pp_callback)(void·*buf,·unsigned·int·samples,·void·*data), 
32 ···void·*pp_callback_userdata) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Sets·a·post-processing·filter·function·that\[cq]s·called·after·the34 Sets·a·post-processing·filter·function·that\[cq]s·called·after·the
38 attached·streams·have·been·mixed.35 attached·streams·have·been·mixed.
39 The·buffer\[cq]s·format·will·be·whatever·the·mixer·was·created·with.36 The·buffer\[cq]s·format·will·be·whatever·the·mixer·was·created·with.
552 B
./usr/share/man/man3/al_set_mixer_quality.3alleg5.gz
448 B
al_set_mixer_quality.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_mixer_quality(ALLEGRO_MIXER·*mixer,·ALLEGRO_MIXER_QUALITY·new_quality)27 bool·al_set_mixer_quality(ALLEGRO_MIXER·*mixer,·ALLEGRO_MIXER_QUALITY·new_quality)
28 bool·al_set_mixer_quality(ALLEGRO_MIXER·*mixer,·ALLEGRO_MIXER_QUALITY·new_quality) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·mixer·quality.32 Set·the·mixer·quality.
34 This·can·only·succeed·if·the·mixer·does·not·have·anything·attached·to33 This·can·only·succeed·if·the·mixer·does·not·have·anything·attached·to
35 it.34 it.
534 B
./usr/share/man/man3/al_set_physfs_file_interface.3alleg5.gz
414 B
al_set_physfs_file_interface.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_physfs.h>26 #include·<allegro5/allegro_physfs.h>
  
27 void·al_set_physfs_file_interface(void)27 void·al_set_physfs_file_interface(void)
28 void·al_set_physfs_file_interface(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 This·function·sets·\f[I]both\f[R]·the·ALLEGRO_FILE_INTERFACE(3alleg5)32 This·function·sets·\f[I]both\f[R]·the·ALLEGRO_FILE_INTERFACE(3alleg5)
34 and·ALLEGRO_FS_INTERFACE(3alleg5)·for·the·calling·thread.33 and·ALLEGRO_FS_INTERFACE(3alleg5)·for·the·calling·thread.
35 .PP34 .PP
499 B
./usr/share/man/man3/al_set_sample.3alleg5.gz
409 B
al_set_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample(ALLEGRO_SAMPLE_INSTANCE·*spl,·ALLEGRO_SAMPLE·*data)27 bool·al_set_sample(ALLEGRO_SAMPLE_INSTANCE·*spl,·ALLEGRO_SAMPLE·*data)
28 bool·al_set_sample(ALLEGRO_SAMPLE_INSTANCE·*spl,·ALLEGRO_SAMPLE·*data) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Change·the·sample·data·that·a·sample·instance·plays.32 Change·the·sample·data·that·a·sample·instance·plays.
34 This·can·be·quite·an·involved·process.33 This·can·be·quite·an·involved·process.
35 .PP34 .PP
718 B
./usr/share/man/man3/al_set_sample_instance_channel_matrix.3alleg5.gz
580 B
al_set_sample_instance_channel_matrix.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE·*spl,·const·float·*matrix)27 bool·al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE·*spl,·const·float·*matrix)
28 bool·al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE·*spl,·const·float·*matrix) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·matrix·used·to·mix·the·channels·coming·from·this·instance·into32 Set·the·matrix·used·to·mix·the·channels·coming·from·this·instance·into
34 the·mixer·it·is·attached·to.33 the·mixer·it·is·attached·to.
35 Normally·Allegro·derives·the·values·of·this·matrix·from·the·gain·and·pan34 Normally·Allegro·derives·the·values·of·this·matrix·from·the·gain·and·pan
558 B
./usr/share/man/man3/al_set_sample_instance_gain.3alleg5.gz
440 B
al_set_sample_instance_gain.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)27 bool·al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
28 bool·al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·playback·gain·of·the·sample·instance.32 Set·the·playback·gain·of·the·sample·instance.
34 .PP33 .PP
35 Returns·true·on·success,·false·on·failure.34 Returns·true·on·success,·false·on·failure.
674 B
./usr/share/man/man3/al_set_sample_instance_length.3alleg5.gz
552 B
al_set_sample_instance_length.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE·*spl,27 bool·al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE·*spl,
28 ···unsigned·int·val)28 ···unsigned·int·val)
29 bool·al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE·*spl, 
30 ···unsigned·int·val) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Set·the·length·of·the·sample·instance·in·sample·values.33 Set·the·length·of·the·sample·instance·in·sample·values.
36 This·can·be·used·to·play·only·parts·of·the·underlying·sample.34 This·can·be·used·to·play·only·parts·of·the·underlying·sample.
37 Be·careful·not·to·exceed·the·actual·length·of·the·sample·data,·though.35 Be·careful·not·to·exceed·the·actual·length·of·the·sample·data,·though.
638 B
./usr/share/man/man3/al_set_sample_instance_pan.3alleg5.gz
522 B
al_set_sample_instance_pan.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)27 bool·al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
28 bool·al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·pan·value·on·a·sample·instance.32 Set·the·pan·value·on·a·sample·instance.
34 A·value·of·-1.0·means·to·play·the·sample·only·through·the·left·speaker;33 A·value·of·-1.0·means·to·play·the·sample·only·through·the·left·speaker;
35 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is34 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is
602 B
./usr/share/man/man3/al_set_sample_instance_playing.3alleg5.gz
478 B
al_set_sample_instance_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE·*spl,·bool·val)27 bool·al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE·*spl,·bool·val)
28 bool·al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE·*spl,·bool·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Change·whether·the·sample·instance·is·playing.32 Change·whether·the·sample·instance·is·playing.
34 .PP33 .PP
35 The·instance·does·not·need·to·be·attached·to·anything·(since:·5.1.8).34 The·instance·does·not·need·to·be·attached·to·anything·(since:·5.1.8).
598 B
./usr/share/man/man3/al_set_sample_instance_playmode.3alleg5.gz
472 B
al_set_sample_instance_playmode.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE·*spl,27 bool·al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE·*spl,
28 ···ALLEGRO_PLAYMODE·val)28 ···ALLEGRO_PLAYMODE·val)
29 bool·al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE·*spl, 
30 ···ALLEGRO_PLAYMODE·val) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Set·the·playback·mode·of·the·sample·instance.33 Set·the·playback·mode·of·the·sample·instance.
36 .PP34 .PP
37 Returns·true·on·success,·false·on·failure.35 Returns·true·on·success,·false·on·failure.
592 B
./usr/share/man/man3/al_set_sample_instance_position.3alleg5.gz
466 B
al_set_sample_instance_position.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE·*spl,27 bool·al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE·*spl,
28 ···unsigned·int·val)28 ···unsigned·int·val)
29 bool·al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE·*spl, 
30 ···unsigned·int·val) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Set·the·playback·position·of·a·sample·instance.33 Set·the·playback·position·of·a·sample·instance.
36 .PP34 .PP
37 Returns·true·on·success,·false·on·failure.35 Returns·true·on·success,·false·on·failure.
555 B
./usr/share/man/man3/al_set_sample_instance_speed.3alleg5.gz
435 B
al_set_sample_instance_speed.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)27 bool·al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
28 bool·al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·relative·playback·speed·of·the·sample·instance.32 Set·the·relative·playback·speed·of·the·sample·instance.
34 1.0·means·normal·speed.33 1.0·means·normal·speed.
35 .PP34 .PP
449 B
./usr/share/man/man3/al_set_video_playing.3alleg5.gz
345 B
al_set_video_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 void·al_set_video_playing(ALLEGRO_VIDEO·*video,·bool·play)27 void·al_set_video_playing(ALLEGRO_VIDEO·*video,·bool·play)
28 void·al_set_video_playing(ALLEGRO_VIDEO·*video,·bool·play) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Paused·or·resumes·playback.32 Paused·or·resumes·playback.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
547 B
./usr/share/man/man3/al_set_voice_playing.3alleg5.gz
443 B
al_set_voice_playing.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_voice_playing(ALLEGRO_VOICE·*voice,·bool·val)27 bool·al_set_voice_playing(ALLEGRO_VOICE·*voice,·bool·val)
28 bool·al_set_voice_playing(ALLEGRO_VOICE·*voice,·bool·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Change·whether·a·voice·is·playing·or·not.32 Change·whether·a·voice·is·playing·or·not.
34 This·can·only·work·if·the·voice·has·a·non-streaming·object·attached·to33 This·can·only·work·if·the·voice·has·a·non-streaming·object·attached·to
35 it,·e.g.\·a·sample·instance.34 it,·e.g.\·a·sample·instance.
551 B
./usr/share/man/man3/al_set_voice_position.3alleg5.gz
445 B
al_set_voice_position.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_set_voice_position(ALLEGRO_VOICE·*voice,·unsigned·int·val)27 bool·al_set_voice_position(ALLEGRO_VOICE·*voice,·unsigned·int·val)
28 bool·al_set_voice_position(ALLEGRO_VOICE·*voice,·unsigned·int·val) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Set·the·voice·position.32 Set·the·voice·position.
34 This·can·only·work·if·the·voice·has·a·non-streaming·object·attached·to33 This·can·only·work·if·the·voice·has·a·non-streaming·object·attached·to
35 it,·e.g.\·a·sample·instance.34 it,·e.g.\·a·sample·instance.
604 B
./usr/share/man/man3/al_show_native_file_dialog.3alleg5.gz
488 B
al_show_native_file_dialog.3alleg5
    
Offset 23, 16 lines modifiedOffset 23, 14 lines modified
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,27 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,
28 ···ALLEGRO_FILECHOOSER·*dialog)28 ···ALLEGRO_FILECHOOSER·*dialog)
29 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display, 
30 ···ALLEGRO_FILECHOOSER·*dialog) 
31 \f[R]29 \f[R]
32 .fi30 .fi
33 .SH·DESCRIPTION31 .SH·DESCRIPTION
34 .PP32 .PP
35 Show·the·dialog·window.33 Show·the·dialog·window.
36 The·display·may·be·NULL,·otherwise·the·given·display·is·treated·as·the34 The·display·may·be·NULL,·otherwise·the·given·display·is·treated·as·the
37 parent·if·possible.35 parent·if·possible.
741 B
./usr/share/man/man3/al_show_native_message_box.3alleg5.gz
625 B
al_show_native_message_box.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,27 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,
28 ···char·const·*title,·char·const·*heading,·char·const·*text,28 ···char·const·*title,·char·const·*heading,·char·const·*text,
29 ···char·const·*buttons,·int·flags)29 ···char·const·*buttons,·int·flags)
30 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display, 
31 ···char·const·*title,·char·const·*heading,·char·const·*text, 
32 ···char·const·*buttons,·int·flags) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Show·a·native·GUI·message·box.34 Show·a·native·GUI·message·box.
38 This·can·be·used·for·example·to·display·an·error·message·if·creation·of35 This·can·be·used·for·example·to·display·an·error·message·if·creation·of
39 an·initial·display·fails.36 an·initial·display·fails.
486 B
./usr/share/man/man3/al_shutdown_font_addon.3alleg5.gz
378 B
al_shutdown_font_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_font.h>26 #include·<allegro5/allegro_font.h>
  
27 void·al_shutdown_font_addon(void)27 void·al_shutdown_font_addon(void)
28 void·al_shutdown_font_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Shut·down·the·font·addon.32 Shut·down·the·font·addon.
34 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time33 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
35 the·user·wishes·as·well.34 the·user·wishes·as·well.
494 B
./usr/share/man/man3/al_shutdown_image_addon.3alleg5.gz
384 B
al_shutdown_image_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_image.h>26 #include·<allegro5/allegro_image.h>
  
27 void·al_shutdown_image_addon(void)27 void·al_shutdown_image_addon(void)
28 void·al_shutdown_image_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Shut·down·the·image·addon.32 Shut·down·the·image·addon.
34 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time33 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
35 the·user·wishes·as·well.34 the·user·wishes·as·well.
476 B
./usr/share/man/man3/al_shutdown_native_dialog_addon.3alleg5.gz
350 B
al_shutdown_native_dialog_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 void·al_shutdown_native_dialog_addon(void)27 void·al_shutdown_native_dialog_addon(void)
28 void·al_shutdown_native_dialog_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Shut·down·the·native·dialog·addon.32 Shut·down·the·native·dialog·addon.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
534 B
./usr/share/man/man3/al_shutdown_primitives_addon.3alleg5.gz
414 B
al_shutdown_primitives_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_shutdown_primitives_addon(void)27 void·al_shutdown_primitives_addon(void)
28 void·al_shutdown_primitives_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Shut·down·the·primitives·addon.32 Shut·down·the·primitives·addon.
34 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time33 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
35 the·user·wishes·as·well.34 the·user·wishes·as·well.
427 B
./usr/share/man/man3/al_shutdown_ttf_addon.3alleg5.gz
321 B
al_shutdown_ttf_addon.3alleg5
    
Offset 22, 14 lines modifiedOffset 22, 13 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_ttf.h>26 #include·<allegro5/allegro_ttf.h>
  
27 void·al_shutdown_ttf_addon(void)27 void·al_shutdown_ttf_addon(void)
28 void·al_shutdown_ttf_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Unloads·the·ttf·addon·again.32 Unloads·the·ttf·addon·again.
34 You·normally·don\[cq]t·need·to·call·this.33 You·normally·don\[cq]t·need·to·call·this.
494 B
./usr/share/man/man3/al_shutdown_video_addon.3alleg5.gz
384 B
al_shutdown_video_addon.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 void·al_shutdown_video_addon(void)27 void·al_shutdown_video_addon(void)
28 void·al_shutdown_video_addon(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Shut·down·the·video·addon.32 Shut·down·the·video·addon.
34 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time33 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
35 the·user·wishes·as·well.34 the·user·wishes·as·well.
554 B
./usr/share/man/man3/al_start_audio_recorder.3alleg5.gz
444 B
al_start_audio_recorder.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)27 bool·al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
28 bool·al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Begin·recording·into·the·fragment·buffer.32 Begin·recording·into·the·fragment·buffer.
34 Once·a·complete·fragment·has·been·captured·(as·specified·in33 Once·a·complete·fragment·has·been·captured·(as·specified·in
35 al_create_audio_recorder(3alleg5)),·an34 al_create_audio_recorder(3alleg5)),·an
454 B
./usr/share/man/man3/al_start_video.3alleg5.gz
362 B
al_start_video.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)27 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)
28 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Starts·streaming·the·video·from·the·beginning.32 Starts·streaming·the·video·from·the·beginning.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
545 B
./usr/share/man/man3/al_start_video_with_voice.3alleg5.gz
431 B
al_start_video_with_voice.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_video.h>26 #include·<allegro5/allegro_video.h>
  
27 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)27 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)
28 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Like·al_start_video(3alleg5)·but·audio·is·routed·to·the·provided·voice.32 Like·al_start_video(3alleg5)·but·audio·is·routed·to·the·provided·voice.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
564 B
./usr/share/man/man3/al_stop_audio_recorder.3alleg5.gz
456 B
al_stop_audio_recorder.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)27 void·al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
28 void·al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Stop·capturing·audio·data.32 Stop·capturing·audio·data.
34 Note·that·the·audio·recorder·is·still·active·and·consuming·resources,·so33 Note·that·the·audio·recorder·is·still·active·and·consuming·resources,·so
35 if·you·are·finished·recording·you·should·destroy·it·with34 if·you·are·finished·recording·you·should·destroy·it·with
428 B
./usr/share/man/man3/al_stop_sample.3alleg5.gz
336 B
al_stop_sample.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)27 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)
28 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Stop·the·sample·started·by·al_play_sample(3alleg5).32 Stop·the·sample·started·by·al_play_sample(3alleg5).
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
469 B
./usr/share/man/man3/al_stop_sample_instance.3alleg5.gz
359 B
al_stop_sample_instance.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 bool·al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)27 bool·al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
28 bool·al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Stop·an·sample·instance·playing.32 Stop·an·sample·instance·playing.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
393 B
./usr/share/man/man3/al_stop_samples.3alleg5.gz
299 B
al_stop_samples.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_stop_samples(void)27 void·al_stop_samples(void)
28 void·al_stop_samples(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Stop·all·samples·started·by·al_play_sample(3alleg5).32 Stop·all·samples·started·by·al_play_sample(3alleg5).
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
577 B
./usr/share/man/man3/al_toggle_menu_item_flags.3alleg5.gz
463 B
al_toggle_menu_item_flags.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_native_dialog.h>26 #include·<allegro5/allegro_native_dialog.h>
  
27 int·al_toggle_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)27 int·al_toggle_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)
28 int·al_toggle_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Toggles·the·specified·menu·item\[cq]s·flags.32 Toggles·the·specified·menu·item\[cq]s·flags.
34 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available33 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available
35 flags.34 flags.
799 B
./usr/share/man/man3/al_triangulate_polygon.3alleg5.gz
691 B
al_triangulate_polygon.3alleg5
    
Offset 24, 17 lines modifiedOffset 24, 14 lines modified
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 bool·al_triangulate_polygon(27 bool·al_triangulate_polygon(
28 ···const·float*·vertices,·size_t·vertex_stride,·const·int*·vertex_counts,28 ···const·float*·vertices,·size_t·vertex_stride,·const·int*·vertex_counts,
29 ···void·(*emit_triangle)(int,·int,·int,·void*),·void*·userdata)29 ···void·(*emit_triangle)(int,·int,·int,·void*),·void*·userdata)
30 bool·al_triangulate_polygon( 
31 ···const·float*·vertices,·size_t·vertex_stride,·const·int*·vertex_counts, 
32 ···void·(*emit_triangle)(int,·int,·int,·void*),·void*·userdata) 
33 \f[R]30 \f[R]
34 .fi31 .fi
35 .SH·DESCRIPTION32 .SH·DESCRIPTION
36 .PP33 .PP
37 Divides·a·simple·polygon·into·triangles,·with·zero·or·more·other·simple34 Divides·a·simple·polygon·into·triangles,·with·zero·or·more·other·simple
38 polygons·subtracted·from·it·-·the·holes.35 polygons·subtracted·from·it·-·the·holes.
39 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·main36 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·main
390 B
./usr/share/man/man3/al_uninstall_audio.3alleg5.gz
290 B
al_uninstall_audio.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_uninstall_audio(void)27 void·al_uninstall_audio(void)
28 void·al_uninstall_audio(void) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Uninstalls·the·audio·subsystem.32 Uninstalls·the·audio·subsystem.
34 .SH·SEE·ALSO33 .SH·SEE·ALSO
35 .PP34 .PP
474 B
./usr/share/man/man3/al_unlock_index_buffer.3alleg5.gz
366 B
al_unlock_index_buffer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)27 void·al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)
28 void·al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Unlocks·a·previously·locked·index·buffer.32 Unlocks·a·previously·locked·index·buffer.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP
574 B
./usr/share/man/man3/al_unlock_sample_id.3alleg5.gz
472 B
al_unlock_sample_id.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_audio.h>26 #include·<allegro5/allegro_audio.h>
  
27 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)27 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
28 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Unlocks·a·ALLEGRO_SAMPLE_ID(3alleg5),·allowing·future·calls·to32 Unlocks·a·ALLEGRO_SAMPLE_ID(3alleg5),·allowing·future·calls·to
34 al_play_sample(3alleg5)·to·reuse·it·if·possible.33 al_play_sample(3alleg5)·to·reuse·it·if·possible.
35 Note·that·after·the·id·is·unlocked,·the·ALLEGRO_SAMPLE_INSTANCE(3alleg5)34 Note·that·after·the·id·is·unlocked,·the·ALLEGRO_SAMPLE_INSTANCE(3alleg5)
483 B
./usr/share/man/man3/al_unlock_vertex_buffer.3alleg5.gz
373 B
al_unlock_vertex_buffer.3alleg5
    
Offset 22, 15 lines modifiedOffset 22, 14 lines modified
22 .SH·SYNOPSIS22 .SH·SYNOPSIS
23 .IP23 .IP
24 .nf24 .nf
25 \f[C]25 \f[C]
26 #include·<allegro5/allegro_primitives.h>26 #include·<allegro5/allegro_primitives.h>
  
27 void·al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)27 void·al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)
28 void·al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer) 
29 \f[R]28 \f[R]
30 .fi29 .fi
31 .SH·DESCRIPTION30 .SH·DESCRIPTION
32 .PP31 .PP
33 Unlocks·a·previously·locked·vertex·buffer.32 Unlocks·a·previously·locked·vertex·buffer.
34 .SH·SINCE33 .SH·SINCE
35 .PP34 .PP