1.52 MB
/srv/reproducible-results/rbuild-debian/r-b-build.m9XGMs6h/b1/allegro5_5.2.10.0+dfsg-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.m9XGMs6h/b2/allegro5_5.2.10.0+dfsg-1_arm64.changes
972 B
Files
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
  
1 ·ca961583f85f5a58566ce6b534c8f5f4·1400444·doc·optional·allegro5-doc_5.2.10.0+dfsg-1_all.deb1 ·3486a384b64530eeb0a36f381d8794fb·1408444·doc·optional·allegro5-doc_5.2.10.0+dfsg-1_all.deb
2 ·897fcce54ba41da8a3b38f87effb7498·19288·libdevel·optional·liballegro-acodec5-dev_5.2.10.0+dfsg-1_arm64.deb2 ·897fcce54ba41da8a3b38f87effb7498·19288·libdevel·optional·liballegro-acodec5-dev_5.2.10.0+dfsg-1_arm64.deb
3 ·21e36b9e9a5214567a8a3872fad2e7e1·63336·debug·optional·liballegro-acodec5.2t64-dbgsym_5.2.10.0+dfsg-1_arm64.deb3 ·21e36b9e9a5214567a8a3872fad2e7e1·63336·debug·optional·liballegro-acodec5.2t64-dbgsym_5.2.10.0+dfsg-1_arm64.deb
4 ·a1b557363279b5441514550b154e2374·38048·libs·optional·liballegro-acodec5.2t64_5.2.10.0+dfsg-1_arm64.deb4 ·a1b557363279b5441514550b154e2374·38048·libs·optional·liballegro-acodec5.2t64_5.2.10.0+dfsg-1_arm64.deb
5 ·612e0397af17320c7071b7bdd4a0c20c·22060·libdevel·optional·liballegro-audio5-dev_5.2.10.0+dfsg-1_arm64.deb5 ·612e0397af17320c7071b7bdd4a0c20c·22060·libdevel·optional·liballegro-audio5-dev_5.2.10.0+dfsg-1_arm64.deb
6 ·e94b88ab0fb2f2e1fbc936a6ea33ffc9·106912·debug·optional·liballegro-audio5.2t64-dbgsym_5.2.10.0+dfsg-1_arm64.deb6 ·e94b88ab0fb2f2e1fbc936a6ea33ffc9·106912·debug·optional·liballegro-audio5.2t64-dbgsym_5.2.10.0+dfsg-1_arm64.deb
7 ·bc36f1e2fa8f0081c8316f0603143861·56836·libs·optional·liballegro-audio5.2t64_5.2.10.0+dfsg-1_arm64.deb7 ·bc36f1e2fa8f0081c8316f0603143861·56836·libs·optional·liballegro-audio5.2t64_5.2.10.0+dfsg-1_arm64.deb
8 ·aa83ce97685d69f037ac94b2ce3c418f·20340·libdevel·optional·liballegro-dialog5-dev_5.2.10.0+dfsg-1_arm64.deb8 ·aa83ce97685d69f037ac94b2ce3c418f·20340·libdevel·optional·liballegro-dialog5-dev_5.2.10.0+dfsg-1_arm64.deb
1.52 MB
allegro5-doc_5.2.10.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·2024-11-29·14:21:22.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-11-29·14:21:22.000000·debian-binary
2 -rw-r--r--···0········0········0····31660·2024-11-29·14:21:22.000000·control.tar.xz2 -rw-r--r--···0········0········0····31664·2024-11-29·14:21:22.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1368592·2024-11-29·14:21:22.000000·data.tar.xz3 -rw-r--r--···0········0········0··1376588·2024-11-29·14:21:22.000000·data.tar.xz
579 B
control.tar.xz
551 B
control.tar
481 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.10.0+dfsg-13 Version:·2:5.2.10.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:·56296 Installed-Size:·5782
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.52 MB
data.tar.xz
1.52 MB
data.tar
203 KB
file list
    
Offset 198, 402 lines modifiedOffset 198, 402 lines modified
198 -rw-r--r--···0·root·········(0)·root·········(0)·····5396·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_window_maximized.c198 -rw-r--r--···0·root·········(0)·root·········(0)·····5396·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_window_maximized.c
199 -rw-r--r--···0·root·········(0)·root·········(0)·····2660·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_window_title.c199 -rw-r--r--···0·root·········(0)·root·········(0)·····2660·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_window_title.c
200 -rw-r--r--···0·root·········(0)·root·········(0)·····6511·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_windows.c200 -rw-r--r--···0·root·········(0)·root·········(0)·····6511·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_windows.c
201 -rw-r--r--···0·root·········(0)·root·········(0)·····1674·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_winfull.c201 -rw-r--r--···0·root·········(0)·root·········(0)·····1674·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/ex_winfull.c
202 -rw-r--r--···0·root·········(0)·root·········(0)····19521·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/nihgui.cpp202 -rw-r--r--···0·root·········(0)·root·········(0)····19521·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/nihgui.cpp
203 -rw-r--r--···0·root·········(0)·root·········(0)·····6456·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/nihgui.hpp203 -rw-r--r--···0·root·········(0)·root·········(0)·····6456·2024-11-28·03:18:53.000000·./usr/share/doc/allegro5-doc/examples/nihgui.hpp
204 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/204 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/
205 -rw-r--r--···0·root·········(0)·root·········(0)····11782·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/acodec.html205 -rw-r--r--···0·root·········(0)·root·········(0)····12204·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/acodec.html
206 -rw-r--r--···0·root·········(0)·root·········(0)···234053·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/audio.html206 -rw-r--r--···0·root·········(0)·root·········(0)···282019·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/audio.html
207 -rw-r--r--···0·root·········(0)·root·········(0)····36350·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/autosuggest.js207 -rw-r--r--···0·root·········(0)·root·········(0)····36350·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/autosuggest.js
208 -rw-r--r--···0·root·········(0)·root·········(0)····66897·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/color.html208 -rw-r--r--···0·root·········(0)·root·········(0)····86641·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/color.html
209 -rw-r--r--···0·root·········(0)·root·········(0)····37788·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/config.html209 -rw-r--r--···0·root·········(0)·root·········(0)····38404·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/config.html
210 -rw-r--r--···0·root·········(0)·root·········(0)····17712·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/direct3d.html210 -rw-r--r--···0·root·········(0)·root·········(0)····17712·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/direct3d.html
211 -rw-r--r--···0·root·········(0)·root·········(0)····89023·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/display.html211 -rw-r--r--···0·root·········(0)·root·········(0)····89395·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/display.html
212 -rw-r--r--···0·root·········(0)·root·········(0)····82072·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/events.html212 -rw-r--r--···0·root·········(0)·root·········(0)····84172·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/events.html
213 -rw-r--r--···0·root·········(0)·root·········(0)····62308·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/file.html213 -rw-r--r--···0·root·········(0)·root·········(0)····62816·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/file.html
214 -rw-r--r--···0·root·········(0)·root·········(0)····56556·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/fixed.html214 -rw-r--r--···0·root·········(0)·root·········(0)····56732·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/fixed.html
215 -rw-r--r--···0·root·········(0)·root·········(0)····95359·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/font.html215 -rw-r--r--···0·root·········(0)·root·········(0)···118391·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/font.html
216 -rw-r--r--···0·root·········(0)·root·········(0)····42369·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/fshook.html216 -rw-r--r--···0·root·········(0)·root·········(0)····43136·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/fshook.html
217 -rw-r--r--···0·root·········(0)·root·········(0)····13488·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html217 -rw-r--r--···0·root·········(0)·root·········(0)····13650·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html
218 -rw-r--r--···0·root·········(0)·root·········(0)····17055·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/getting_started.html218 -rw-r--r--···0·root·········(0)·root·········(0)····17055·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/getting_started.html
219 -rw-r--r--···0·root·········(0)·root·········(0)···224378·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/graphics.html219 -rw-r--r--···0·root·········(0)·root·········(0)···225908·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/graphics.html
220 -rw-r--r--···0·root·········(0)·root·········(0)····69780·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/haptic.html220 -rw-r--r--···0·root·········(0)·root·········(0)····70455·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/haptic.html
221 -rw-r--r--···0·root·········(0)·root·········(0)····12333·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/image.html221 -rw-r--r--···0·root·········(0)·root·········(0)····13270·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/image.html
222 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/222 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/
223 -rw-r--r--···0·root·········(0)·root·········(0)····21480·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/LINE_CAP.png223 -rw-r--r--···0·root·········(0)·root·········(0)····21480·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/LINE_CAP.png
224 -rw-r--r--···0·root·········(0)·root·········(0)····15893·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/LINE_JOIN.png224 -rw-r--r--···0·root·········(0)·root·········(0)····15893·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/LINE_JOIN.png
225 -rw-r--r--···0·root·········(0)·root·········(0)····65065·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/audio.png225 -rw-r--r--···0·root·········(0)·root·········(0)····65065·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/audio.png
226 -rw-r--r--···0·root·········(0)·root·········(0)····16058·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/primitives1.png226 -rw-r--r--···0·root·········(0)·root·········(0)····16058·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/primitives1.png
227 -rw-r--r--···0·root·········(0)·root·········(0)····25805·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/primitives2.png227 -rw-r--r--···0·root·········(0)·root·········(0)····25805·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/images/primitives2.png
228 -rw-r--r--···0·root·········(0)·root·········(0)·····6773·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/index.html228 -rw-r--r--···0·root·········(0)·root·········(0)·····6773·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/index.html
229 -rw-r--r--···0·root·········(0)·root·········(0)···110785·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/index_all.html229 -rw-r--r--···0·root·········(0)·root·········(0)···110785·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/index_all.html
230 -rw-r--r--···0·root·········(0)·root·········(0)····35289·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/joystick.html230 -rw-r--r--···0·root·········(0)·root·········(0)····35825·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/joystick.html
231 -rw-r--r--···0·root·········(0)·root·········(0)····24132·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/keyboard.html231 -rw-r--r--···0·root·········(0)·root·········(0)····24344·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/keyboard.html
232 -rw-r--r--···0·root·········(0)·root·········(0)·····9013·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/main.html232 -rw-r--r--···0·root·········(0)·root·········(0)·····9013·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/main.html
233 -rw-r--r--···0·root·········(0)·root·········(0)····10521·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/memfile.html233 -rw-r--r--···0·root·········(0)·root·········(0)····11156·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/memfile.html
234 -rw-r--r--···0·root·········(0)·root·········(0)····24142·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/memory.html234 -rw-r--r--···0·root·········(0)·root·········(0)····27358·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/memory.html
235 -rw-r--r--···0·root·········(0)·root·········(0)····10394·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/misc.html235 -rw-r--r--···0·root·········(0)·root·········(0)····10569·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/misc.html
236 -rw-r--r--···0·root·········(0)·root·········(0)····15363·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/monitor.html236 -rw-r--r--···0·root·········(0)·root·········(0)····15525·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/monitor.html
237 -rw-r--r--···0·root·········(0)·root·········(0)····43913·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/mouse.html237 -rw-r--r--···0·root·········(0)·root·········(0)····44119·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/mouse.html
238 -rw-r--r--···0·root·········(0)·root·········(0)····80347·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/native_dialog.html238 -rw-r--r--···0·root·········(0)·root·········(0)····94550·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/native_dialog.html
239 -rw-r--r--···0·root·········(0)·root·········(0)····27233·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/opengl.html239 -rw-r--r--···0·root·········(0)·root·········(0)····27233·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/opengl.html
240 -rw-r--r--···0·root·········(0)·root·········(0)·····3973·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/pandoc.css240 -rw-r--r--···0·root·········(0)·root·········(0)·····3973·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/pandoc.css
241 -rw-r--r--···0·root·········(0)·root·········(0)····38119·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/path.html241 -rw-r--r--···0·root·········(0)·root·········(0)····38119·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/path.html
242 -rw-r--r--···0·root·········(0)·root·········(0)····11854·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/physfs.html242 -rw-r--r--···0·root·········(0)·root·········(0)····12287·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/physfs.html
243 -rw-r--r--···0·root·········(0)·root·········(0)····31625·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/platform.html243 -rw-r--r--···0·root·········(0)·root·········(0)····31625·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/platform.html
244 -rw-r--r--···0·root·········(0)·root·········(0)···145966·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/primitives.html244 -rw-r--r--···0·root·········(0)·root·········(0)···174891·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/primitives.html
245 -rw-r--r--···0·root·········(0)·root·········(0)····72292·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/search_index.js245 -rw-r--r--···0·root·········(0)·root·········(0)····72292·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/search_index.js
246 -rw-r--r--···0·root·········(0)·root·········(0)····45920·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/shader.html246 -rw-r--r--···0·root·········(0)·root·········(0)····46532·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/shader.html
247 -rw-r--r--···0·root·········(0)·root·········(0)····15871·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/state.html247 -rw-r--r--···0·root·········(0)·root·········(0)····16224·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/state.html
248 -rw-r--r--···0·root·········(0)·root·········(0)····72351·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/system.html248 -rw-r--r--···0·root·········(0)·root·········(0)····72892·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/system.html
249 -rw-r--r--···0·root·········(0)·root·········(0)····35452·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/threads.html249 -rw-r--r--···0·root·········(0)·root·········(0)····36034·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/threads.html
250 -rw-r--r--···0·root·········(0)·root·········(0)····12633·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/time.html250 -rw-r--r--···0·root·········(0)·root·········(0)····12633·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/time.html
251 -rw-r--r--···0·root·········(0)·root·········(0)····26749·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/timer.html251 -rw-r--r--···0·root·········(0)·root·········(0)····28713·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/timer.html
252 -rw-r--r--···0·root·········(0)·root·········(0)····22267·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/touch.html252 -rw-r--r--···0·root·········(0)·root·········(0)····23245·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/touch.html
253 -rw-r--r--···0·root·········(0)·root·········(0)····82433·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/transformations.html253 -rw-r--r--···0·root·········(0)·root·········(0)····82635·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/transformations.html
254 -rw-r--r--···0·root·········(0)·root·········(0)···104512·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/utf8.html254 -rw-r--r--···0·root·········(0)·root·········(0)···104905·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/utf8.html
255 -rw-r--r--···0·root·········(0)·root·········(0)····31892·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/video.html255 -rw-r--r--···0·root·········(0)·root·········(0)····37236·2024-11-29·14:21:22.000000·./usr/share/doc/allegro5-doc/refman/video.html
256 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/doc-base/256 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/doc-base/
257 -rw-r--r--···0·root·········(0)·root·········(0)······300·2024-11-29·14:18:22.000000·./usr/share/doc-base/allegro5-doc.allegro5257 -rw-r--r--···0·root·········(0)·root·········(0)······300·2024-11-29·14:18:22.000000·./usr/share/doc-base/allegro5-doc.allegro5
258 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/man/258 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/man/
259 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/man/man3/259 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-29·14:21:22.000000·./usr/share/man/man3/
260 -rw-r--r--···0·root·········(0)·root·········(0)······405·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz260 -rw-r--r--···0·root·········(0)·root·········(0)······408·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz
261 -rw-r--r--···0·root·········(0)·root·········(0)······254·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz261 -rw-r--r--···0·root·········(0)·root·········(0)······258·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz
262 -rw-r--r--···0·root·········(0)·root·········(0)······554·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz262 -rw-r--r--···0·root·········(0)·root·········(0)······556·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz
263 -rw-r--r--···0·root·········(0)·root·········(0)······554·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz263 -rw-r--r--···0·root·········(0)·root·········(0)······559·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz
264 -rw-r--r--···0·root·········(0)·root·········(0)······316·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz264 -rw-r--r--···0·root·········(0)·root·········(0)······320·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz
265 -rw-r--r--···0·root·········(0)·root·········(0)······474·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz265 -rw-r--r--···0·root·········(0)·root·········(0)······478·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz
266 -rw-r--r--···0·root·········(0)·root·········(0)·····1124·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz266 -rw-r--r--···0·root·········(0)·root·········(0)·····1127·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz
267 -rw-r--r--···0·root·········(0)·root·········(0)······247·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz267 -rw-r--r--···0·root·········(0)·root·········(0)······250·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz
268 -rw-r--r--···0·root·········(0)·root·········(0)······459·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz268 -rw-r--r--···0·root·········(0)·root·········(0)······461·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz
269 -rw-r--r--···0·root·········(0)·root·········(0)······250·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz269 -rw-r--r--···0·root·········(0)·root·········(0)······252·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz
270 -rw-r--r--···0·root·········(0)·root·········(0)······245·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz270 -rw-r--r--···0·root·········(0)·root·········(0)······249·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz
271 -rw-r--r--···0·root·········(0)·root·········(0)······281·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz271 -rw-r--r--···0·root·········(0)·root·········(0)······283·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz
272 -rw-r--r--···0·root·········(0)·root·········(0)······313·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz272 -rw-r--r--···0·root·········(0)·root·········(0)······316·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz
273 -rw-r--r--···0·root·········(0)·root·········(0)······244·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz273 -rw-r--r--···0·root·········(0)·root·········(0)······249·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz
274 -rw-r--r--···0·root·········(0)·root·········(0)······235·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz274 -rw-r--r--···0·root·········(0)·root·········(0)······239·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz
275 -rw-r--r--···0·root·········(0)·root·········(0)······303·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz275 -rw-r--r--···0·root·········(0)·root·········(0)······306·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz
276 -rw-r--r--···0·root·········(0)·root·········(0)······300·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz276 -rw-r--r--···0·root·········(0)·root·········(0)······304·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz
277 -rw-r--r--···0·root·········(0)·root·········(0)······247·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz277 -rw-r--r--···0·root·········(0)·root·········(0)······251·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz
278 -rw-r--r--···0·root·········(0)·root·········(0)······458·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz278 -rw-r--r--···0·root·········(0)·root·········(0)······461·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz
279 -rw-r--r--···0·root·········(0)·root·········(0)·····5117·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz279 -rw-r--r--···0·root·········(0)·root·········(0)·····5119·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz
280 -rw-r--r--···0·root·········(0)·root·········(0)······364·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz280 -rw-r--r--···0·root·········(0)·root·········(0)······369·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz
281 -rw-r--r--···0·root·········(0)·root·········(0)······398·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz281 -rw-r--r--···0·root·········(0)·root·········(0)······402·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz
282 -rw-r--r--···0·root·········(0)·root·········(0)······295·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz282 -rw-r--r--···0·root·········(0)·root·········(0)······299·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz
283 -rw-r--r--···0·root·········(0)·root·········(0)······307·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz283 -rw-r--r--···0·root·········(0)·root·········(0)······310·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz
284 -rw-r--r--···0·root·········(0)·root·········(0)······268·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz284 -rw-r--r--···0·root·········(0)·root·········(0)······273·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz
285 -rw-r--r--···0·root·········(0)·root·········(0)······248·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz285 -rw-r--r--···0·root·········(0)·root·········(0)······252·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz
286 -rw-r--r--···0·root·········(0)·root·········(0)······772·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz286 -rw-r--r--···0·root·········(0)·root·········(0)······775·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz
287 -rw-r--r--···0·root·········(0)·root·········(0)······312·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz287 -rw-r--r--···0·root·········(0)·root·········(0)······314·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz
288 -rw-r--r--···0·root·········(0)·root·········(0)······409·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz288 -rw-r--r--···0·root·········(0)·root·········(0)······413·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz
289 -rw-r--r--···0·root·········(0)·root·········(0)······418·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz289 -rw-r--r--···0·root·········(0)·root·········(0)······422·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz
290 -rw-r--r--···0·root·········(0)·root·········(0)······314·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz290 -rw-r--r--···0·root·········(0)·root·········(0)······318·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz
291 -rw-r--r--···0·root·········(0)·root·········(0)······509·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz291 -rw-r--r--···0·root·········(0)·root·········(0)······511·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz
292 -rw-r--r--···0·root·········(0)·root·········(0)······689·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz292 -rw-r--r--···0·root·········(0)·root·········(0)······692·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz
293 -rw-r--r--···0·root·········(0)·root·········(0)······786·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz293 -rw-r--r--···0·root·········(0)·root·········(0)······789·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz
294 -rw-r--r--···0·root·········(0)·root·········(0)······426·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz294 -rw-r--r--···0·root·········(0)·root·········(0)······431·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz
295 -rw-r--r--···0·root·········(0)·root·········(0)······813·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz295 -rw-r--r--···0·root·········(0)·root·········(0)······816·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz
296 -rw-r--r--···0·root·········(0)·root·········(0)·····3142·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz296 -rw-r--r--···0·root·········(0)·root·········(0)·····3144·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz
297 -rw-r--r--···0·root·········(0)·root·········(0)······453·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz297 -rw-r--r--···0·root·········(0)·root·········(0)······457·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz
298 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz298 -rw-r--r--···0·root·········(0)·root·········(0)······367·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz
299 -rw-r--r--···0·root·········(0)·root·········(0)······335·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz299 -rw-r--r--···0·root·········(0)·root·········(0)······336·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz
300 -rw-r--r--···0·root·········(0)·root·········(0)······275·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz300 -rw-r--r--···0·root·········(0)·root·········(0)······279·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz
301 -rw-r--r--···0·root·········(0)·root·········(0)······413·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz301 -rw-r--r--···0·root·········(0)·root·········(0)······418·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz
302 -rw-r--r--···0·root·········(0)·root·········(0)······453·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz302 -rw-r--r--···0·root·········(0)·root·········(0)······457·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz
303 -rw-r--r--···0·root·········(0)·root·········(0)······428·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz303 -rw-r--r--···0·root·········(0)·root·········(0)······430·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz
304 -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz304 -rw-r--r--···0·root·········(0)·root·········(0)······406·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz
305 -rw-r--r--···0·root·········(0)·root·········(0)······794·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz305 -rw-r--r--···0·root·········(0)·root·········(0)······798·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz
306 -rw-r--r--···0·root·········(0)·root·········(0)······368·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz306 -rw-r--r--···0·root·········(0)·root·········(0)······372·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz
307 -rw-r--r--···0·root·········(0)·root·········(0)······289·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz307 -rw-r--r--···0·root·········(0)·root·········(0)······293·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz
308 -rw-r--r--···0·root·········(0)·root·········(0)······706·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz308 -rw-r--r--···0·root·········(0)·root·········(0)······709·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz
309 -rw-r--r--···0·root·········(0)·root·········(0)······502·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz309 -rw-r--r--···0·root·········(0)·root·········(0)······506·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz
310 -rw-r--r--···0·root·········(0)·root·········(0)······296·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz310 -rw-r--r--···0·root·········(0)·root·········(0)······299·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz
311 -rw-r--r--···0·root·········(0)·root·········(0)······461·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz311 -rw-r--r--···0·root·········(0)·root·········(0)······464·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz
312 -rw-r--r--···0·root·········(0)·root·········(0)······445·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz312 -rw-r--r--···0·root·········(0)·root·········(0)······448·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz
313 -rw-r--r--···0·root·········(0)·root·········(0)······455·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz313 -rw-r--r--···0·root·········(0)·root·········(0)······458·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz
314 -rw-r--r--···0·root·········(0)·root·········(0)······243·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz314 -rw-r--r--···0·root·········(0)·root·········(0)······247·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz
315 -rw-r--r--···0·root·········(0)·root·········(0)······236·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz315 -rw-r--r--···0·root·········(0)·root·········(0)······240·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz
316 -rw-r--r--···0·root·········(0)·root·········(0)······298·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz316 -rw-r--r--···0·root·········(0)·root·········(0)······302·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz
317 -rw-r--r--···0·root·········(0)·root·········(0)······290·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz317 -rw-r--r--···0·root·········(0)·root·········(0)······296·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz
318 -rw-r--r--···0·root·········(0)·root·········(0)·····2159·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz318 -rw-r--r--···0·root·········(0)·root·········(0)·····2161·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz
319 -rw-r--r--···0·root·········(0)·root·········(0)······467·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz319 -rw-r--r--···0·root·········(0)·root·········(0)······469·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz
320 -rw-r--r--···0·root·········(0)·root·········(0)·····1138·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz320 -rw-r--r--···0·root·········(0)·root·········(0)·····1140·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz
321 -rw-r--r--···0·root·········(0)·root·········(0)······568·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz321 -rw-r--r--···0·root·········(0)·root·········(0)······571·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz
322 -rw-r--r--···0·root·········(0)·root·········(0)······358·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz322 -rw-r--r--···0·root·········(0)·root·········(0)······360·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz
323 -rw-r--r--···0·root·········(0)·root·········(0)······902·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz323 -rw-r--r--···0·root·········(0)·root·········(0)······904·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz
324 -rw-r--r--···0·root·········(0)·root·········(0)······484·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz324 -rw-r--r--···0·root·········(0)·root·········(0)······485·2024-11-29·14:21:22.000000·./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz
Max diff block lines reached; 172989/207677 bytes (83.30%) of diff not shown.
5.0 KB
./usr/share/doc/allegro5-doc/refman/acodec.html
    
Offset 181, 15 lines modifiedOffset 181, 16 lines modified
181 id="toc-al_get_allegro_acodec_version">al_get_allegro_acodec_version</a></li>181 id="toc-al_get_allegro_acodec_version">al_get_allegro_acodec_version</a></li>
182 </ul>182 </ul>
183 </nav>183 </nav>
184 <p>These·functions·are·declared·in·the·following·header·file.·Link·with184 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
185 allegro_acodec.</p>185 allegro_acodec.</p>
186 <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>186 <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>
187 <h1·id="al_init_acodec_addon">al_init_acodec_addon</h1>187 <h1·id="al_init_acodec_addon">al_init_acodec_addon</h1>
188 <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>188 <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>
 189 <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>
189 <p><a190 <p><a
190 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L21">Source191 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L21">Source
191 Code</a></p>192 Code</a></p>
192 <p>This·function·registers·all·the·known·audio·file·type·handlers·for·<a193 <p>This·function·registers·all·the·known·audio·file·type·handlers·for·<a
193 href="audio.html#al_load_sample">al_load_sample</a>,·<a194 href="audio.html#al_load_sample">al_load_sample</a>,·<a
194 href="audio.html#al_save_sample">al_save_sample</a>,·<a195 href="audio.html#al_save_sample">al_save_sample</a>,·<a
195 href="audio.html#al_load_audio_stream">al_load_audio_stream</a>,196 href="audio.html#al_load_audio_stream">al_load_audio_stream</a>,
Offset 220, 15 lines modifiedOffset 221, 16 lines modified
220 <li><a221 <li><a
221 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L39">ex_acodec_multi.c</a></li>222 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L39">ex_acodec_multi.c</a></li>
222 <li><a223 <li><a
223 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L30">ex_kcm_direct.c</a></li>224 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L30">ex_kcm_direct.c</a></li>
224 </ul>225 </ul>
225 <h1226 <h1
226 id="al_is_acodec_addon_initialized">al_is_acodec_addon_initialized</h1>227 id="al_is_acodec_addon_initialized">al_is_acodec_addon_initialized</h1>
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="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>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="dt">bool</span>·al_is_acodec_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>
 229 <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>
228 <p><a230 <p><a
229 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L99">Source231 href="https://github.com/liballeg/allegro5/blob/master/addons/acodec/acodec.c#L99">Source
230 Code</a></p>232 Code</a></p>
231 <p>Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns233 <p>Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns
232 false.</p>234 false.</p>
233 <p>Since:·5.2.6</p>235 <p>Since:·5.2.6</p>
234 <h1236 <h1
1.81 KB
html2text {}
    
Offset 47, 14 lines modifiedOffset 47, 15 lines modified
47 ····*·_\x8a_\x8l_\x8__\x8i_\x8s_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8a_\x8d_\x8d_\x8o_\x8n_\x8__\x8i_\x8n_\x8i_\x8t_\x8i_\x8a_\x8l_\x8i_\x8z_\x8e_\x8d47 ····*·_\x8a_\x8l_\x8__\x8i_\x8s_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8a_\x8d_\x8d_\x8o_\x8n_\x8__\x8i_\x8n_\x8i_\x8t_\x8i_\x8a_\x8l_\x8i_\x8z_\x8e_\x8d
48 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n48 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n
49 These·functions·are·declared·in·the·following·header·file.·Link·with49 These·functions·are·declared·in·the·following·header·file.·Link·with
50 allegro_acodec.50 allegro_acodec.
51 ·#include·<allegro5/allegro_acodec.h>51 ·#include·<allegro5/allegro_acodec.h>
52 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_a\x8ac\x8co\x8od\x8de\x8ec\x8c_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*52 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_a\x8ac\x8co\x8od\x8de\x8ec\x8c_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
53 bool·al_init_acodec_addon(void)53 bool·al_init_acodec_addon(void)
 54 bool·al_init_acodec_addon(void)
54 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e55 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
55 This·function·registers·all·the·known·audio·file·type·handlers·for56 This·function·registers·all·the·known·audio·file·type·handlers·for
56 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m,·etc.57 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m,·etc.
57 Depending·on·what·libraries·are·available,·the·full·set·of·recognised58 Depending·on·what·libraries·are·available,·the·full·set·of·recognised
58 extensions·is:·.wav,·.flac,·.ogg,·.opus,·.it,·.mod,·.s3m,·.xm,·.voc.59 extensions·is:·.wav,·.flac,·.ogg,·.opus,·.it,·.mod,·.s3m,·.xm,·.voc.
59 L\x8Li\x8im\x8mi\x8it\x8ta\x8at\x8ti\x8io\x8on\x8ns\x8s:\x8:60 L\x8Li\x8im\x8mi\x8it\x8ta\x8at\x8ti\x8io\x8on\x8ns\x8s:\x8:
60 ····*·Saving·is·only·supported·for·wav·files.61 ····*·Saving·is·only·supported·for·wav·files.
Offset 70, 14 lines modifiedOffset 71, 15 lines modified
70 Return·true·on·success.71 Return·true·on·success.
71 Examples:72 Examples:
72 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c73 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c
73 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c74 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c
74 ····*·_\x8e_\x8x_\x8__\x8k_\x8c_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8._\x8c75 ····*·_\x8e_\x8x_\x8__\x8k_\x8c_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8._\x8c
75 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_a\x8ac\x8co\x8od\x8de\x8ec\x8c_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*76 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_a\x8ac\x8co\x8od\x8de\x8ec\x8c_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*
76 bool·al_is_acodec_addon_initialized(void)77 bool·al_is_acodec_addon_initialized(void)
 78 bool·al_is_acodec_addon_initialized(void)
77 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e79 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
78 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns·false.80 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns·false.
79 Since:·5.2.681 Since:·5.2.6
80 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_a\x8ac\x8co\x8od\x8de\x8ec\x8c_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*82 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_a\x8ac\x8co\x8od\x8de\x8ec\x8c_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
81 uint32_t·al_get_allegro_acodec_version(void)83 uint32_t·al_get_allegro_acodec_version(void)
82 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e84 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
83 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as85 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
359 KB
./usr/share/doc/allegro5-doc/refman/audio.html
    
Offset 554, 15 lines modifiedOffset 554, 16 lines modified
554 <p>If·you·want·to·play·large·audio·files·(e.g. background·music)·without554 <p>If·you·want·to·play·large·audio·files·(e.g. background·music)·without
555 loading·the·whole·file·at·once·you·can·use·<a555 loading·the·whole·file·at·once·you·can·use·<a
556 href="audio.html#al_play_audio_stream">al_play_audio_stream</a>·(after556 href="audio.html#al_play_audio_stream">al_play_audio_stream</a>·(after
557 calling·<a·href="audio.html#al_reserve_samples">al_reserve_samples</a>).557 calling·<a·href="audio.html#al_reserve_samples">al_reserve_samples</a>).
558 This·will·load·and·play·an·<code>ALLEGRO_AUDIO_STREAM</code>.·Note·that558 This·will·load·and·play·an·<code>ALLEGRO_AUDIO_STREAM</code>.·Note·that
559 the·basic·API·only·supports·one·such·audio·stream·playing·at·once.</p>559 the·basic·API·only·supports·one·such·audio·stream·playing·at·once.</p>
560 <h2·id="allegro_sample_id">ALLEGRO_SAMPLE_ID</h2>560 <h2·id="allegro_sample_id">ALLEGRO_SAMPLE_ID</h2>
561 <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>561 <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>
 562 <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>
562 <p><a563 <p><a
563 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/allegro5/allegro_audio.h#L151">Source564 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/allegro5/allegro_audio.h#L151">Source
564 Code</a></p>565 Code</a></p>
565 <p>An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·<a566 <p>An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·<a
566 href="audio.html#al_play_sample">al_play_sample</a>.·It·can·be·used·to567 href="audio.html#al_play_sample">al_play_sample</a>.·It·can·be·used·to
567 later·stop·the·sample·with·<a568 later·stop·the·sample·with·<a
568 href="audio.html#al_stop_sample">al_stop_sample</a>.·The·underlying569 href="audio.html#al_stop_sample">al_stop_sample</a>.·The·underlying
Offset 570, 15 lines modifiedOffset 571, 16 lines modified
570 href="audio.html#al_lock_sample_id">al_lock_sample_id</a>.</p>571 href="audio.html#al_lock_sample_id">al_lock_sample_id</a>.</p>
571 <p>Examples:</p>572 <p>Examples:</p>
572 <ul>573 <ul>
573 <li><a574 <li><a
574 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_simple.c#L33">ex_audio_simple.c</a></li>575 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_simple.c#L33">ex_audio_simple.c</a></li>
575 </ul>576 </ul>
576 <h2·id="al_install_audio">al_install_audio</h2>577 <h2·id="al_install_audio">al_install_audio</h2>
577 <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>578 <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>
 579 <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>
578 <p><a580 <p><a
579 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L422">Source581 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L422">Source
580 Code</a></p>582 Code</a></p>
581 <p>Install·the·audio·subsystem.</p>583 <p>Install·the·audio·subsystem.</p>
582 <p>Returns·true·on·success,·false·on·failure.</p>584 <p>Returns·true·on·success,·false·on·failure.</p>
583 <blockquote>585 <blockquote>
584 <p>Note:·most·users·will·call·<a586 <p>Note:·most·users·will·call·<a
Offset 597, 15 lines modifiedOffset 599, 16 lines modified
597 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_devices.c#L20">ex_audio_devices.c</a></li>599 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_devices.c#L20">ex_audio_devices.c</a></li>
598 <li><a600 <li><a
599 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L95">ex_saw.c</a></li>601 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L95">ex_saw.c</a></li>
600 <li><a602 <li><a
601 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L53">ex_stream_file.c</a></li>603 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L53">ex_stream_file.c</a></li>
602 </ul>604 </ul>
603 <h2·id="al_uninstall_audio">al_uninstall_audio</h2>605 <h2·id="al_uninstall_audio">al_uninstall_audio</h2>
604 <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>606 <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>
 607 <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>
605 <p><a608 <p><a
606 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L441">Source609 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L441">Source
607 Code</a></p>610 Code</a></p>
608 <p>Uninstalls·the·audio·subsystem.</p>611 <p>Uninstalls·the·audio·subsystem.</p>
609 <p>See·also:·<a612 <p>See·also:·<a
610 href="audio.html#al_install_audio">al_install_audio</a></p>613 href="audio.html#al_install_audio">al_install_audio</a></p>
611 <p>Examples:</p>614 <p>Examples:</p>
Offset 614, 23 lines modifiedOffset 617, 25 lines modified
614 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L123">ex_saw.c</a></li>617 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_saw.c#L123">ex_saw.c</a></li>
615 <li><a618 <li><a
616 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L133">ex_stream_file.c</a></li>619 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_file.c#L133">ex_stream_file.c</a></li>
617 <li><a620 <li><a
618 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L134">ex_acodec_multi.c</a></li>621 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L134">ex_acodec_multi.c</a></li>
619 </ul>622 </ul>
620 <h2·id="al_is_audio_installed">al_is_audio_installed</h2>623 <h2·id="al_is_audio_installed">al_is_audio_installed</h2>
621 <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>624 <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>
 625 <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>
622 <p><a626 <p><a
623 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L456">Source627 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/audio.c#L456">Source
624 Code</a></p>628 Code</a></p>
625 <p>Returns·true·if·<a629 <p>Returns·true·if·<a
626 href="audio.html#al_install_audio">al_install_audio</a>·was·called630 href="audio.html#al_install_audio">al_install_audio</a>·was·called
627 previously·and·returned·successfully.</p>631 previously·and·returned·successfully.</p>
628 <h2·id="al_reserve_samples">al_reserve_samples</h2>632 <h2·id="al_reserve_samples">al_reserve_samples</h2>
629 <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>633 <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>
 634 <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>
630 <p><a635 <p><a
631 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L207">Source636 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L207">Source
632 Code</a></p>637 Code</a></p>
633 <p>Reserves·a·number·of·sample·instances,·attaching·them·to·the·default638 <p>Reserves·a·number·of·sample·instances,·attaching·them·to·the·default
634 mixer.·If·no·default·mixer·is·set·when·this·function·is·called,·then·it639 mixer.·If·no·default·mixer·is·set·when·this·function·is·called,·then·it
635 will·create·one·and·attach·it·to·the·default·voice.·If·no·default·voice640 will·create·one·and·attach·it·to·the·default·voice.·If·no·default·voice
636 has·been·set,·it,·too,·will·be·created.</p>641 has·been·set,·it,·too,·will·be·created.</p>
Offset 658, 15 lines modifiedOffset 663, 17 lines modified
658 <li><a663 <li><a
659 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_props.cpp#L167">ex_audio_props.cpp</a></li>664 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_props.cpp#L167">ex_audio_props.cpp</a></li>
660 <li><a665 <li><a
661 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resample_test.c#L182">ex_resample_test.c</a></li>666 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resample_test.c#L182">ex_resample_test.c</a></li>
662 </ul>667 </ul>
663 <h2·id="al_play_sample">al_play_sample</h2>668 <h2·id="al_play_sample">al_play_sample</h2>
664 <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>669 <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>
 670 <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>
 671 <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>
665 <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>672 <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>
666 <p><a673 <p><a
667 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L342">Source674 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L342">Source
668 Code</a></p>675 Code</a></p>
669 <p>Plays·a·sample·on·one·of·the·sample·instances·created·by·<a676 <p>Plays·a·sample·on·one·of·the·sample·instances·created·by·<a
670 href="audio.html#al_reserve_samples">al_reserve_samples</a>.·Returns677 href="audio.html#al_reserve_samples">al_reserve_samples</a>.·Returns
671 true·on·success,·false·on·failure.·Playback·may·fail·because·all·the678 true·on·success,·false·on·failure.·Playback·may·fail·because·all·the
672 reserved·sample·instances·are·currently·used.</p>679 reserved·sample·instances·are·currently·used.</p>
Offset 699, 15 lines modifiedOffset 706, 16 lines modified
699 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L107">ex_acodec_multi.c</a></li>706 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L107">ex_acodec_multi.c</a></li>
700 <li><a707 <li><a
701 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L80">ex_kcm_direct.c</a></li>708 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L80">ex_kcm_direct.c</a></li>
702 <li><a709 <li><a
703 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L90">ex_mixer_chain.c</a></li>710 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L90">ex_mixer_chain.c</a></li>
704 </ul>711 </ul>
705 <h2·id="al_stop_sample">al_stop_sample</h2>712 <h2·id="al_stop_sample">al_stop_sample</h2>
706 <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>713 <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>
 714 <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>
707 <p><a715 <p><a
708 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L401">Source716 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L401">Source
709 Code</a></p>717 Code</a></p>
710 <p>Stop·the·sample·started·by·<a718 <p>Stop·the·sample·started·by·<a
711 href="audio.html#al_play_sample">al_play_sample</a>.</p>719 href="audio.html#al_play_sample">al_play_sample</a>.</p>
712 <p>See·also:·<a720 <p>See·also:·<a
713 href="audio.html#al_stop_samples">al_stop_samples</a></p>721 href="audio.html#al_stop_samples">al_stop_samples</a></p>
Offset 717, 28 lines modifiedOffset 725, 30 lines modified
717 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L123">ex_acodec_multi.c</a></li>725 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_acodec_multi.c#L123">ex_acodec_multi.c</a></li>
718 <li><a726 <li><a
719 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L88">ex_kcm_direct.c</a></li>727 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_kcm_direct.c#L88">ex_kcm_direct.c</a></li>
720 <li><a728 <li><a
721 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L108">ex_mixer_chain.c</a></li>729 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mixer_chain.c#L108">ex_mixer_chain.c</a></li>
722 </ul>730 </ul>
723 <h2·id="al_stop_samples">al_stop_samples</h2>731 <h2·id="al_stop_samples">al_stop_samples</h2>
724 <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>732 <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>
 733 <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>
725 <p><a734 <p><a
726 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L451">Source735 href="https://github.com/liballeg/allegro5/blob/master/addons/audio/kcm_sample.c#L451">Source
727 Code</a></p>736 Code</a></p>
728 <p>Stop·all·samples·started·by·<a737 <p>Stop·all·samples·started·by·<a
729 href="audio.html#al_play_sample">al_play_sample</a>.</p>738 href="audio.html#al_play_sample">al_play_sample</a>.</p>
730 <p>See·also:·<a·href="audio.html#al_stop_sample">al_stop_sample</a></p>739 <p>See·also:·<a·href="audio.html#al_stop_sample">al_stop_sample</a></p>
Max diff block lines reached; 242696/255403 bytes (95.02%) of diff not shown.
110 KB
html2text {}
    
Offset 228, 49 lines modifiedOffset 228, 54 lines modified
228 samples,·you·can·use·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D·that·al_play_sample·returns.228 samples,·you·can·use·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D·that·al_play_sample·returns.
229 If·you·want·to·play·large·audio·files·(e.g. background·music)·without·loading229 If·you·want·to·play·large·audio·files·(e.g. background·music)·without·loading
230 the·whole·file·at·once·you·can·use·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m·(after·calling230 the·whole·file·at·once·you·can·use·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m·(after·calling
231 _\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s).·This·will·load·and·play·an·ALLEGRO_AUDIO_STREAM.·Note·that231 _\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s).·This·will·load·and·play·an·ALLEGRO_AUDIO_STREAM.·Note·that
232 the·basic·API·only·supports·one·such·audio·stream·playing·at·once.232 the·basic·API·only·supports·one·such·audio·stream·playing·at·once.
233 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SA\x8AM\x8MP\x8PL\x8LE\x8E_\x8_I\x8ID\x8D·*\x8**\x8**\x8**\x8**\x8*233 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SA\x8AM\x8MP\x8PL\x8LE\x8E_\x8_I\x8ID\x8D·*\x8**\x8**\x8**\x8**\x8*
234 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;234 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;
 235 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;
235 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e236 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
236 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.·It237 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.·It
237 can·be·used·to·later·stop·the·sample·with·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.·The·underlying238 can·be·used·to·later·stop·the·sample·with·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.·The·underlying
238 ALLEGRO_SAMPLE_INSTANCE·can·be·extracted·using·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d.239 ALLEGRO_SAMPLE_INSTANCE·can·be·extracted·using·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d.
239 Examples:240 Examples:
240 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c241 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c
241 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8l_\x8_a\x8au\x8ud\x8di\x8io\x8o·*\x8**\x8**\x8**\x8**\x8*242 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8l_\x8_a\x8au\x8ud\x8di\x8io\x8o·*\x8**\x8**\x8**\x8**\x8*
242 bool·al_install_audio(void)243 bool·al_install_audio(void)
 244 bool·al_install_audio(void)
243 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e245 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
244 Install·the·audio·subsystem.246 Install·the·audio·subsystem.
245 Returns·true·on·success,·false·on·failure.247 Returns·true·on·success,·false·on·failure.
246 ·····Note:·most·users·will·call·_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s·and248 ·····Note:·most·users·will·call·_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s·and
247 ·····_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8a_\x8d_\x8d_\x8o_\x8n·after·this.249 ·····_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8a_\x8d_\x8d_\x8o_\x8n·after·this.
248 See·also:·_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8a_\x8u_\x8d_\x8i_\x8o,·_\x8a_\x8l_\x8__\x8i_\x8s_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8e_\x8d,250 See·also:·_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8a_\x8u_\x8d_\x8i_\x8o,·_\x8a_\x8l_\x8__\x8i_\x8s_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8e_\x8d,
249 _\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8a_\x8d_\x8d_\x8o_\x8n251 _\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
250 Examples:252 Examples:
251 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8d_\x8e_\x8v_\x8i_\x8c_\x8e_\x8s_\x8._\x8c253 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8d_\x8e_\x8v_\x8i_\x8c_\x8e_\x8s_\x8._\x8c
252 ····*·_\x8e_\x8x_\x8__\x8s_\x8a_\x8w_\x8._\x8c254 ····*·_\x8e_\x8x_\x8__\x8s_\x8a_\x8w_\x8._\x8c
253 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c255 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c
254 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_u\x8un\x8ni\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8l_\x8_a\x8au\x8ud\x8di\x8io\x8o·*\x8**\x8**\x8**\x8**\x8*256 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_u\x8un\x8ni\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8l_\x8_a\x8au\x8ud\x8di\x8io\x8o·*\x8**\x8**\x8**\x8**\x8*
255 void·al_uninstall_audio(void)257 void·al_uninstall_audio(void)
 258 void·al_uninstall_audio(void)
256 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e259 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
257 Uninstalls·the·audio·subsystem.260 Uninstalls·the·audio·subsystem.
258 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8a_\x8u_\x8d_\x8i_\x8o261 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8a_\x8u_\x8d_\x8i_\x8o
259 Examples:262 Examples:
260 ····*·_\x8e_\x8x_\x8__\x8s_\x8a_\x8w_\x8._\x8c263 ····*·_\x8e_\x8x_\x8__\x8s_\x8a_\x8w_\x8._\x8c
261 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c264 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c
262 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c265 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c
263 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_a\x8au\x8ud\x8di\x8io\x8o_\x8_i\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8le\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*266 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_a\x8au\x8ud\x8di\x8io\x8o_\x8_i\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8le\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*
264 bool·al_is_audio_installed(void)267 bool·al_is_audio_installed(void)
 268 bool·al_is_audio_installed(void)
265 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e269 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
266 Returns·true·if·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8a_\x8u_\x8d_\x8i_\x8o·was·called·previously·and·returned270 Returns·true·if·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8a_\x8u_\x8d_\x8i_\x8o·was·called·previously·and·returned
267 successfully.271 successfully.
268 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*272 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*
269 bool·al_reserve_samples(int·reserve_samples)273 bool·al_reserve_samples(int·reserve_samples)
 274 bool·al_reserve_samples(int·reserve_samples)
270 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e275 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
271 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default·mixer.·If276 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default·mixer.·If
272 no·default·mixer·is·set·when·this·function·is·called,·then·it·will·create·one277 no·default·mixer·is·set·when·this·function·is·called,·then·it·will·create·one
273 and·attach·it·to·the·default·voice.·If·no·default·voice·has·been·set,·it,·too,278 and·attach·it·to·the·default·voice.·If·no·default·voice·has·been·set,·it,·too,
274 will·be·created.279 will·be·created.
275 If·you·call·this·function·a·second·time·with·a·smaller·number·of·samples,·then280 If·you·call·this·function·a·second·time·with·a·smaller·number·of·samples,·then
276 the·excess·internal·sample·instances·will·be·destroyed·causing·some·sounds·to281 the·excess·internal·sample·instances·will·be·destroyed·causing·some·sounds·to
Offset 287, 14 lines modifiedOffset 292, 16 lines modified
287 Examples:292 Examples:
288 ····*·_\x8e_\x8x_\x8__\x8s_\x8a_\x8w_\x8._\x8c293 ····*·_\x8e_\x8x_\x8__\x8s_\x8a_\x8w_\x8._\x8c
289 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8p_\x8r_\x8o_\x8p_\x8s_\x8._\x8c_\x8p_\x8p294 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8p_\x8r_\x8o_\x8p_\x8s_\x8._\x8c_\x8p_\x8p
290 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8t_\x8e_\x8s_\x8t_\x8._\x8c295 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8t_\x8e_\x8s_\x8t_\x8._\x8c
291 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_p\x8pl\x8la\x8ay\x8y_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*296 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_p\x8pl\x8la\x8ay\x8y_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
292 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,297 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,
293 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)298 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)
 299 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,
 300 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)
294 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e301 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
295 Plays·a·sample·on·one·of·the·sample·instances·created·by·_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s.302 Plays·a·sample·on·one·of·the·sample·instances·created·by·_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s.
296 Returns·true·on·success,·false·on·failure.·Playback·may·fail·because·all·the303 Returns·true·on·success,·false·on·failure.·Playback·may·fail·because·all·the
297 reserved·sample·instances·are·currently·used.304 reserved·sample·instances·are·currently·used.
298 Parameters:305 Parameters:
299 ····*·gain·-·relative·volume·at·which·the·sample·is·played;·1.0·is·normal.306 ····*·gain·-·relative·volume·at·which·the·sample·is·played;·1.0·is·normal.
300 ····*·pan·-·0.0·is·centred,·-1.0·is·left,·1.0·is·right,·or307 ····*·pan·-·0.0·is·centred,·-1.0·is·left,·1.0·is·right,·or
Offset 310, 30 lines modifiedOffset 317, 33 lines modified
310 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D,·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d.317 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D,·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d.
311 Examples:318 Examples:
312 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c319 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c
313 ····*·_\x8e_\x8x_\x8__\x8k_\x8c_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8._\x8c320 ····*·_\x8e_\x8x_\x8__\x8k_\x8c_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8._\x8c
314 ····*·_\x8e_\x8x_\x8__\x8m_\x8i_\x8x_\x8e_\x8r_\x8__\x8c_\x8h_\x8a_\x8i_\x8n_\x8._\x8c321 ····*·_\x8e_\x8x_\x8__\x8m_\x8i_\x8x_\x8e_\x8r_\x8__\x8c_\x8h_\x8a_\x8i_\x8n_\x8._\x8c
315 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8to\x8op\x8p_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*322 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8to\x8op\x8p_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
316 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)323 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)
 324 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)
317 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e325 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
318 Stop·the·sample·started·by·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.326 Stop·the·sample·started·by·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.
319 See·also:·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s327 See·also:·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s
320 Examples:328 Examples:
321 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c329 ····*·_\x8e_\x8x_\x8__\x8a_\x8c_\x8o_\x8d_\x8e_\x8c_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8._\x8c
322 ····*·_\x8e_\x8x_\x8__\x8k_\x8c_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8._\x8c330 ····*·_\x8e_\x8x_\x8__\x8k_\x8c_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8._\x8c
323 ····*·_\x8e_\x8x_\x8__\x8m_\x8i_\x8x_\x8e_\x8r_\x8__\x8c_\x8h_\x8a_\x8i_\x8n_\x8._\x8c331 ····*·_\x8e_\x8x_\x8__\x8m_\x8i_\x8x_\x8e_\x8r_\x8__\x8c_\x8h_\x8a_\x8i_\x8n_\x8._\x8c
324 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8to\x8op\x8p_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*332 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8to\x8op\x8p_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*
325 void·al_stop_samples(void)333 void·al_stop_samples(void)
 334 void·al_stop_samples(void)
326 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e335 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
327 Stop·all·samples·started·by·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.336 Stop·all·samples·started·by·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e.
328 See·also:·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e337 See·also:·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e
329 Examples:338 Examples:
330 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c339 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c
331 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_l\x8lo\x8oc\x8ck\x8k_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e_\x8_i\x8id\x8d·*\x8**\x8**\x8**\x8**\x8*340 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_l\x8lo\x8oc\x8ck\x8k_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e_\x8_i\x8id\x8d·*\x8**\x8**\x8**\x8**\x8*
332 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)341 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
 342 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
333 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e343 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
334 Locks·a·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D,·returning·the·underlying·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8C_\x8E.344 Locks·a·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D,·returning·the·underlying·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8C_\x8E.
335 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such·as345 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such·as
336 volume,·pan,·etc)·while·the·sound·is·playing.346 volume,·pan,·etc)·while·the·sound·is·playing.
337 This·function·will·return·NULL·if·the·sound·corresponding·to·the·id·is·no347 This·function·will·return·NULL·if·the·sound·corresponding·to·the·id·is·no
338 longer·playing.348 longer·playing.
339 While·locked,·ALLEGRO_SAMPLE_ID·will·be·unavailable·to·additional·calls·to349 While·locked,·ALLEGRO_SAMPLE_ID·will·be·unavailable·to·additional·calls·to
Offset 343, 26 lines modifiedOffset 353, 28 lines modified
343 See·also:·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d353 See·also:·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d
344 Since:·5.2.3354 Since:·5.2.3
345 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·New·API.355 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·New·API.
346 Examples:356 Examples:
347 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c357 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c
348 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_u\x8un\x8nl\x8lo\x8oc\x8ck\x8k_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e_\x8_i\x8id\x8d·*\x8**\x8**\x8**\x8**\x8*358 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_u\x8un\x8nl\x8lo\x8oc\x8ck\x8k_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e_\x8_i\x8id\x8d·*\x8**\x8**\x8**\x8**\x8*
349 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)359 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
 360 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
350 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e361 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
351 Unlocks·a·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D,·allowing·future·calls·to·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e·to·reuse362 Unlocks·a·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8D,·allowing·future·calls·to·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e·to·reuse
352 it·if·possible.·Note·that·after·the·id·is·unlocked,·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8C_\x8E363 it·if·possible.·Note·that·after·the·id·is·unlocked,·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8A_\x8M_\x8P_\x8L_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8C_\x8E
353 that·was·previously·returned·by·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d·will·possibly·be·playing·a364 that·was·previously·returned·by·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d·will·possibly·be·playing·a
354 different·sound,·so·you·should·only·use·it·after·locking·the·id·again.365 different·sound,·so·you·should·only·use·it·after·locking·the·id·again.
355 See·also:·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d366 See·also:·_\x8a_\x8l_\x8__\x8p_\x8l_\x8a_\x8y_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8d
356 Since:·5.2.3367 Since:·5.2.3
357 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·New·API.368 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·New·API.
358 Examples:369 Examples:
359 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c370 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8._\x8c
360 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_p\x8pl\x8la\x8ay\x8y_\x8_a\x8au\x8ud\x8di\x8io\x8o_\x8_s\x8st\x8tr\x8re\x8ea\x8am\x8m·*\x8**\x8**\x8**\x8**\x8*371 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_p\x8pl\x8la\x8ay\x8y_\x8_a\x8au\x8ud\x8di\x8io\x8o_\x8_s\x8st\x8tr\x8re\x8ea\x8am\x8m·*\x8**\x8**\x8**\x8**\x8*
361 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)372 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)
 373 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)
Max diff block lines reached; 104780/112556 bytes (93.09%) of diff not shown.
103 KB
./usr/share/doc/allegro5-doc/refman/color.html
    
Offset 263, 15 lines modifiedOffset 263, 16 lines modified
263 between·the·three·color·channels·into·account·as·well.·In·general,·most263 between·the·three·color·channels·into·account·as·well.·In·general,·most
264 monitors·nowadays·try·to·be·close·to·the·sRGB·specification.·And·so·if264 monitors·nowadays·try·to·be·close·to·the·sRGB·specification.·And·so·if
265 in·an·Allegro·game·you·display·something·with·color</p>265 in·an·Allegro·game·you·display·something·with·color</p>
266 <p>al_map_rgb_f(0.5,·0.5,·0,5)</p>266 <p>al_map_rgb_f(0.5,·0.5,·0,5)</p>
267 <p>then·it·will·appear·at·about·half·brightness·(even·though·the·actual267 <p>then·it·will·appear·at·about·half·brightness·(even·though·the·actual
268 brightness·output·of·the·monitor·will·be·less·than·half).</p>268 brightness·output·of·the·monitor·will·be·less·than·half).</p>
269 <h1·id="al_color_cmyk">al_color_cmyk</h1>269 <h1·id="al_color_cmyk">al_color_cmyk</h1>
270 <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>270 <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>
 271 <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>
271 <p><a272 <p><a
272 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L480">Source273 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L480">Source
273 Code</a></p>274 Code</a></p>
274 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>275 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>
275 structure·from·CMYK·values·(cyan,·magenta,·yellow,·black).</p>276 structure·from·CMYK·values·(cyan,·magenta,·yellow,·black).</p>
276 <p>See·also:·<a277 <p>See·also:·<a
277 href="color.html#al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</a>,·<a278 href="color.html#al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</a>,·<a
Offset 279, 28 lines modifiedOffset 280, 31 lines modified
279 <p>Examples:</p>280 <p>Examples:</p>
280 <ul>281 <ul>
281 <li><a282 <li><a
282 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>283 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>
283 </ul>284 </ul>
284 <h1·id="al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</h1>285 <h1·id="al_color_cmyk_to_rgb">al_color_cmyk_to_rgb</h1>
285 <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>286 <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>
 287 <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>
 288 <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>
286 <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>289 <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>
287 <p><a290 <p><a
288 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L446">Source291 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L446">Source
289 Code</a></p>292 Code</a></p>
290 <p>Convert·CMYK·values·to·RGB·values.</p>293 <p>Convert·CMYK·values·to·RGB·values.</p>
291 <p>See·also:·<a·href="color.html#al_color_cmyk">al_color_cmyk</a>,·<a294 <p>See·also:·<a·href="color.html#al_color_cmyk">al_color_cmyk</a>,·<a
292 href="color.html#al_color_rgb_to_cmyk">al_color_rgb_to_cmyk</a></p>295 href="color.html#al_color_rgb_to_cmyk">al_color_rgb_to_cmyk</a></p>
293 <p>Examples:</p>296 <p>Examples:</p>
294 <ul>297 <ul>
295 <li><a298 <li><a
296 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>299 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L124">ex_color.cpp</a></li>
297 </ul>300 </ul>
298 <h1·id="al_color_hsl">al_color_hsl</h1>301 <h1·id="al_color_hsl">al_color_hsl</h1>
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>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>302 <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>
 303 <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>
300 <p><a304 <p><a
301 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L436">Source305 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L436">Source
302 Code</a></p>306 Code</a></p>
303 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>307 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>
304 structure·from·HSL·(hue,·saturation,·lightness)·values.</p>308 structure·from·HSL·(hue,·saturation,·lightness)·values.</p>
305 <p>Parameters:</p>309 <p>Parameters:</p>
306 <ul>310 <ul>
Offset 318, 15 lines modifiedOffset 322, 17 lines modified
318 <li><a322 <li><a
319 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_clip.c#L50">ex_clip.c</a></li>323 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_clip.c#L50">ex_clip.c</a></li>
320 <li><a324 <li><a
321 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>325 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>
322 </ul>326 </ul>
323 <h1·id="al_color_hsl_to_rgb">al_color_hsl_to_rgb</h1>327 <h1·id="al_color_hsl_to_rgb">al_color_hsl_to_rgb</h1>
324 <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>328 <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>
 329 <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>
 330 <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>
325 <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>331 <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>
326 <p><a332 <p><a
327 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L367">Source333 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L367">Source
328 Code</a></p>334 Code</a></p>
329 <p>Convert·values·in·HSL·color·model·to·RGB·color·model.</p>335 <p>Convert·values·in·HSL·color·model·to·RGB·color·model.</p>
330 <p>Parameters:</p>336 <p>Parameters:</p>
331 <ul>337 <ul>
332 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>338 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>
Offset 342, 15 lines modifiedOffset 348, 16 lines modified
342 <ul>348 <ul>
343 <li><a349 <li><a
344 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L101">ex_color.cpp</a></li>350 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L101">ex_color.cpp</a></li>
345 <li><a351 <li><a
346 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>352 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_palette.c#L89">ex_palette.c</a></li>
347 </ul>353 </ul>
348 <h1·id="al_color_hsv">al_color_hsv</h1>354 <h1·id="al_color_hsv">al_color_hsv</h1>
349 <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>355 <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>
 356 <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>
350 <p><a357 <p><a
351 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L339">Source358 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L339">Source
352 Code</a></p>359 Code</a></p>
353 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>360 <p>Return·an·<a·href="graphics.html#allegro_color">ALLEGRO_COLOR</a>
354 structure·from·HSV·(hue,·saturation,·value)·values.</p>361 structure·from·HSV·(hue,·saturation,·value)·values.</p>
355 <p>Parameters:</p>362 <p>Parameters:</p>
356 <ul>363 <ul>
Offset 368, 15 lines modifiedOffset 375, 17 lines modified
368 <li><a375 <li><a
369 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>376 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>
370 <li><a377 <li><a
371 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L95">ex_multisample.c</a></li>378 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L95">ex_multisample.c</a></li>
372 </ul>379 </ul>
373 <h1·id="al_color_hsv_to_rgb">al_color_hsv_to_rgb</h1>380 <h1·id="al_color_hsv_to_rgb">al_color_hsv_to_rgb</h1>
374 <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>381 <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>
 382 <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>
 383 <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>
375 <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>384 <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>
376 <p><a385 <p><a
377 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L266">Source386 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L266">Source
378 Code</a></p>387 Code</a></p>
379 <p>Convert·values·in·HSV·color·model·to·RGB·color·model.</p>388 <p>Convert·values·in·HSV·color·model·to·RGB·color·model.</p>
380 <p>Parameters:</p>389 <p>Parameters:</p>
381 <ul>390 <ul>
382 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>391 <li>hue·-·Color·hue·angle·in·the·range·0..360</li>
Offset 390, 15 lines modifiedOffset 399, 16 lines modified
390 href="color.html#al_color_hsl_to_rgb">al_color_hsl_to_rgb</a></p>399 href="color.html#al_color_hsl_to_rgb">al_color_hsl_to_rgb</a></p>
391 <p>Examples:</p>400 <p>Examples:</p>
392 <ul>401 <ul>
393 <li><a402 <li><a
394 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>403 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_color.cpp#L92">ex_color.cpp</a></li>
395 </ul>404 </ul>
396 <h1·id="al_color_html">al_color_html</h1>405 <h1·id="al_color_html">al_color_html</h1>
397 <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>406 <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>
 407 <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>
398 <p><a408 <p><a
399 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L568">Source409 href="https://github.com/liballeg/allegro5/blob/master/addons/color/color.c#L568">Source
400 Code</a></p>410 Code</a></p>
401 <p>Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The411 <p>Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The
402 accepted·format·is·the·same·as·<a412 accepted·format·is·the·same·as·<a
403 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>.</p>413 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>.</p>
404 <p>Returns·the·interpreted·color,·or414 <p>Returns·the·interpreted·color,·or
Offset 409, 15 lines modifiedOffset 419, 17 lines modified
409 Allegro·5.0.x.</p>419 Allegro·5.0.x.</p>
410 </blockquote>420 </blockquote>
411 <p>See·also:·<a421 <p>See·also:·<a
412 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>,·<a422 href="color.html#al_color_html_to_rgb">al_color_html_to_rgb</a>,·<a
413 href="color.html#al_color_rgb_to_html">al_color_rgb_to_html</a></p>423 href="color.html#al_color_rgb_to_html">al_color_rgb_to_html</a></p>
414 <h1·id="al_color_html_to_rgb">al_color_html_to_rgb</h1>424 <h1·id="al_color_html_to_rgb">al_color_html_to_rgb</h1>
415 <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>425 <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>
 426 <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; 62947/79015 bytes (79.66%) of diff not shown.
25.4 KB
html2text {}
    
Offset 99, 106 lines modifiedOffset 99, 120 lines modified
99 try·to·be·close·to·the·sRGB·specification.·And·so·if·in·an·Allegro·game·you99 try·to·be·close·to·the·sRGB·specification.·And·so·if·in·an·Allegro·game·you
100 display·something·with·color100 display·something·with·color
101 al_map_rgb_f(0.5,·0.5,·0,5)101 al_map_rgb_f(0.5,·0.5,·0,5)
102 then·it·will·appear·at·about·half·brightness·(even·though·the·actual·brightness102 then·it·will·appear·at·about·half·brightness·(even·though·the·actual·brightness
103 output·of·the·monitor·will·be·less·than·half).103 output·of·the·monitor·will·be·less·than·half).
104 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_c\x8cm\x8my\x8yk\x8k·*\x8**\x8**\x8**\x8**\x8**\x8*104 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_c\x8cm\x8my\x8yk\x8k·*\x8**\x8**\x8**\x8**\x8**\x8*
105 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)105 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)
 106 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)
106 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e107 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
107 Return·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R·structure·from·CMYK·values·(cyan,·magenta,·yellow,108 Return·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R·structure·from·CMYK·values·(cyan,·magenta,·yellow,
108 black).109 black).
109 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8c_\x8m_\x8y_\x8k_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8c_\x8m_\x8y_\x8k110 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8c_\x8m_\x8y_\x8k_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8c_\x8m_\x8y_\x8k
110 Examples:111 Examples:
111 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p112 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
112 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_c\x8cm\x8my\x8yk\x8k_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*113 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_c\x8cm\x8my\x8yk\x8k_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*
113 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,114 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,
114 ····float·key,·float·*red,·float·*green,·float·*blue)115 ····float·key,·float·*red,·float·*green,·float·*blue)
 116 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,
 117 ····float·key,·float·*red,·float·*green,·float·*blue)
115 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e118 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
116 Convert·CMYK·values·to·RGB·values.119 Convert·CMYK·values·to·RGB·values.
117 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8c_\x8m_\x8y_\x8k,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8c_\x8m_\x8y_\x8k120 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8c_\x8m_\x8y_\x8k,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8c_\x8m_\x8y_\x8k
118 Examples:121 Examples:
119 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p122 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
120 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sl\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*123 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sl\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*
121 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)124 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)
 125 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)
122 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e126 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
123 Return·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R·structure·from·HSL·(hue,·saturation,·lightness)·values.127 Return·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R·structure·from·HSL·(hue,·saturation,·lightness)·values.
124 Parameters:128 Parameters:
125 ····*·hue·-·Color·hue·angle·in·the·range·0..360129 ····*·hue·-·Color·hue·angle·in·the·range·0..360
126 ····*·saturation·-·Color·saturation·in·the·range·0..1130 ····*·saturation·-·Color·saturation·in·the·range·0..1
127 ····*·lightness·-·Color·lightness·in·the·range·0..1131 ····*·lightness·-·Color·lightness·in·the·range·0..1
128 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v132 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v
129 Examples:133 Examples:
130 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p134 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
131 ····*·_\x8e_\x8x_\x8__\x8c_\x8l_\x8i_\x8p_\x8._\x8c135 ····*·_\x8e_\x8x_\x8__\x8c_\x8l_\x8i_\x8p_\x8._\x8c
132 ····*·_\x8e_\x8x_\x8__\x8p_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e_\x8._\x8c136 ····*·_\x8e_\x8x_\x8__\x8p_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e_\x8._\x8c
133 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sl\x8l_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*137 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sl\x8l_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*
134 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,
135 ···float·*red,·float·*green,·float·*blue)139 ···float·*red,·float·*green,·float·*blue)
 140 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,
 141 ···float·*red,·float·*green,·float·*blue)
136 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e142 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
137 Convert·values·in·HSL·color·model·to·RGB·color·model.143 Convert·values·in·HSL·color·model·to·RGB·color·model.
138 Parameters:144 Parameters:
139 ····*·hue·-·Color·hue·angle·in·the·range·0..360145 ····*·hue·-·Color·hue·angle·in·the·range·0..360
140 ····*·saturation·-·Color·saturation·in·the·range·0..1146 ····*·saturation·-·Color·saturation·in·the·range·0..1
141 ····*·lightness·-·Color·lightness·in·the·range·0..1147 ····*·lightness·-·Color·lightness·in·the·range·0..1
142 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1148 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1
143 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8s_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b149 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8s_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b
144 Examples:150 Examples:
145 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p151 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
146 ····*·_\x8e_\x8x_\x8__\x8p_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e_\x8._\x8c152 ····*·_\x8e_\x8x_\x8__\x8p_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e_\x8._\x8c
147 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sv\x8v·*\x8**\x8**\x8**\x8**\x8**\x8*153 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sv\x8v·*\x8**\x8**\x8**\x8**\x8**\x8*
148 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)154 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)
 155 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)
149 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e156 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
150 Return·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R·structure·from·HSV·(hue,·saturation,·value)·values.157 Return·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R·structure·from·HSV·(hue,·saturation,·value)·values.
151 Parameters:158 Parameters:
152 ····*·hue·-·Color·hue·angle·in·the·range·0..360159 ····*·hue·-·Color·hue·angle·in·the·range·0..360
153 ····*·saturation·-·Color·saturation·in·the·range·0..1160 ····*·saturation·-·Color·saturation·in·the·range·0..1
154 ····*·value·-·Color·value·in·the·range·0..1161 ····*·value·-·Color·value·in·the·range·0..1
155 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l162 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l
156 Examples:163 Examples:
157 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8l_\x8i_\x8n_\x8e_\x8._\x8c_\x8p_\x8p164 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8l_\x8i_\x8n_\x8e_\x8._\x8c_\x8p_\x8p
158 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p165 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
159 ····*·_\x8e_\x8x_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8._\x8c166 ····*·_\x8e_\x8x_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8._\x8c
160 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sv\x8v_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*167 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8hs\x8sv\x8v_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*
161 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,168 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,
162 ···float·*red,·float·*green,·float·*blue)169 ···float·*red,·float·*green,·float·*blue)
 170 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,
 171 ···float·*red,·float·*green,·float·*blue)
163 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e172 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
164 Convert·values·in·HSV·color·model·to·RGB·color·model.173 Convert·values·in·HSV·color·model·to·RGB·color·model.
165 Parameters:174 Parameters:
166 ····*·hue·-·Color·hue·angle·in·the·range·0..360175 ····*·hue·-·Color·hue·angle·in·the·range·0..360
167 ····*·saturation·-·Color·saturation·in·the·range·0..1176 ····*·saturation·-·Color·saturation·in·the·range·0..1
168 ····*·value·-·Color·value·in·the·range·0..1177 ····*·value·-·Color·value·in·the·range·0..1
169 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1178 ····*·red,·green,·blue·-·returned·RGB·values·in·the·range·0..1
170 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8s_\x8v,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b179 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8s_\x8v,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8v,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8s_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b
171 Examples:180 Examples:
172 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p181 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
173 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8ht\x8tm\x8ml\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*182 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8ht\x8tm\x8ml\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*
174 ALLEGRO_COLOR·al_color_html(char·const·*string)183 ALLEGRO_COLOR·al_color_html(char·const·*string)
 184 ALLEGRO_COLOR·al_color_html(char·const·*string)
175 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e185 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
176 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·accepted186 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·accepted
177 format·is·the·same·as·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b.187 format·is·the·same·as·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b.
178 Returns·the·interpreted·color,·or·al_map_rgba(0,·0,·0,·0)·if·the·string·could188 Returns·the·interpreted·color,·or·al_map_rgba(0,·0,·0,·0)·if·the·string·could
179 not·be·parsed.189 not·be·parsed.
180 ·····N\x8No\x8ot\x8te\x8e:·the·behaviour·on·invalid·strings·is·different·from·Allegro190 ·····N\x8No\x8ot\x8te\x8e:·the·behaviour·on·invalid·strings·is·different·from·Allegro
181 ·····5.0.x.191 ·····5.0.x.
182 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8t_\x8m_\x8l192 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8t_\x8m_\x8l
183 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8ht\x8tm\x8ml\x8l_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*193 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_h\x8ht\x8tm\x8ml\x8l_\x8_t\x8to\x8o_\x8_r\x8rg\x8gb\x8b·*\x8**\x8**\x8**\x8**\x8**\x8*
184 bool·al_color_html_to_rgb(char·const·*string,194 bool·al_color_html_to_rgb(char·const·*string,
185 ···float·*red,·float·*green,·float·*blue)195 ···float·*red,·float·*green,·float·*blue)
 196 bool·al_color_html_to_rgb(char·const·*string,
 197 ···float·*red,·float·*green,·float·*blue)
186 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e198 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
187 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·only199 Interprets·an·HTML-style·hex·number·(e.g. #00faff)·as·a·color.·The·only
188 accepted·formats·are·“#RRGGBB”·and·“RRGGBB”·where·R,·G,·B·are·hexadecimal200 accepted·formats·are·“#RRGGBB”·and·“RRGGBB”·where·R,·G,·B·are·hexadecimal
189 digits·[0-9A-Fa-f].201 digits·[0-9A-Fa-f].
190 Returns·true·on·success,·false·on·failure.·On·failure·all·components·are·set·to202 Returns·true·on·success,·false·on·failure.·On·failure·all·components·are·set·to
191 zero.203 zero.
192 ·····N\x8No\x8ot\x8te\x8e:·the·behaviour·on·invalid·strings·is·different·from·Allegro204 ·····N\x8No\x8ot\x8te\x8e:·the·behaviour·on·invalid·strings·is·different·from·Allegro
193 ·····5.0.x.205 ·····5.0.x.
194 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8t_\x8m_\x8l206 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8r_\x8g_\x8b_\x8__\x8t_\x8o_\x8__\x8h_\x8t_\x8m_\x8l
195 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_r\x8rg\x8gb\x8b_\x8_t\x8to\x8o_\x8_h\x8ht\x8tm\x8ml\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*207 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_r\x8rg\x8gb\x8b_\x8_t\x8to\x8o_\x8_h\x8ht\x8tm\x8ml\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*
196 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,208 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,
197 ····char·*string)209 ····char·*string)
 210 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,
 211 ····char·*string)
198 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e212 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
199 Create·an·HTML-style·string·representation·of·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R,·e.g. #00faff.213 Create·an·HTML-style·string·representation·of·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8C_\x8O_\x8L_\x8O_\x8R,·e.g. #00faff.
200 Parameters:214 Parameters:
201 ····*·red,·green,·blue·-·The·color·components·in·the·range·0..1.215 ····*·red,·green,·blue·-·The·color·components·in·the·range·0..1.
202 ····*·string·-·A·pointer·to·a·buffer·of·at·least·8·bytes,·into·which·the·result216 ····*·string·-·A·pointer·to·a·buffer·of·at·least·8·bytes,·into·which·the·result
203 ······will·be·written·(including·the·NUL·terminator).217 ······will·be·written·(including·the·NUL·terminator).
204 Example:218 Example:
Offset 206, 24 lines modifiedOffset 220, 26 lines modified
206 al_color_rgb_to_html(1,·0,·0,·html);220 al_color_rgb_to_html(1,·0,·0,·html);
207 Now·html·will·contain·“#ff0000”.221 Now·html·will·contain·“#ff0000”.
208 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b222 See·also:·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l,·_\x8a_\x8l_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8__\x8h_\x8t_\x8m_\x8l_\x8__\x8t_\x8o_\x8__\x8r_\x8g_\x8b
209 Examples:223 Examples:
210 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p224 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8l_\x8o_\x8r_\x8._\x8c_\x8p_\x8p
211 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_n\x8na\x8am\x8me\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*225 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8co\x8ol\x8lo\x8or\x8r_\x8_n\x8na\x8am\x8me\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
Max diff block lines reached; 18760/25951 bytes (72.29%) of diff not shown.
7.81 KB
./usr/share/doc/allegro5-doc/refman/config.html
    
Offset 253, 30 lines modifiedOffset 253, 32 lines modified
253 an·actual·program):</p>253 an·actual·program):</p>
254 <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>254 <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>
255 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;</span><span·class="sc">%s\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>255 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;</span><span·class="sc">%s\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>
256 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;</span><span·class="sc">%s\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>256 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;</span><span·class="sc">%s\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>
257 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;</span><span·class="sc">%s\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>257 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a>printf<span·class="op">(</span><span·class="st">&quot;</span><span·class="sc">%s\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>
258 <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>258 <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>
259 <h1·id="allegro_config">ALLEGRO_CONFIG</h1>259 <h1·id="allegro_config">ALLEGRO_CONFIG</h1>
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><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG·ALLEGRO_CONFIG<span·class="op">;</span></span></code></pre></div>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><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_CONFIG·ALLEGRO_CONFIG<span·class="op">;</span></span>
 261 <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>
261 <p><a262 <p><a
262 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L12">Source263 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L12">Source
263 Code</a></p>264 Code</a></p>
264 <p>An·abstract·configuration·structure.</p>265 <p>An·abstract·configuration·structure.</p>
265 <p>Examples:</p>266 <p>Examples:</p>
266 <ul>267 <ul>
267 <li><a268 <li><a
268 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L26">ex_config.c</a></li>269 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L26">ex_config.c</a></li>
269 <li><a270 <li><a
270 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vsync.c#L14">ex_vsync.c</a></li>271 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vsync.c#L14">ex_vsync.c</a></li>
271 <li><a272 <li><a
272 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_seek.c#L239">ex_stream_seek.c</a></li>273 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_stream_seek.c#L239">ex_stream_seek.c</a></li>
273 </ul>274 </ul>
274 <h1·id="allegro_config_section">ALLEGRO_CONFIG_SECTION</h1>275 <h1·id="allegro_config_section">ALLEGRO_CONFIG_SECTION</h1>
275 <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>276 <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>
 277 <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>
276 <p><a278 <p><a
277 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L16">Source279 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L16">Source
278 Code</a></p>280 Code</a></p>
279 <p>An·opaque·structure·used·for·iterating·across·sections·in·a281 <p>An·opaque·structure·used·for·iterating·across·sections·in·a
280 configuration·structure.</p>282 configuration·structure.</p>
281 <p>See·also:·<a283 <p>See·also:·<a
282 href="config.html#al_get_first_config_section">al_get_first_config_section</a>,284 href="config.html#al_get_first_config_section">al_get_first_config_section</a>,
Offset 284, 15 lines modifiedOffset 286, 16 lines modified
284 href="config.html#al_get_next_config_section">al_get_next_config_section</a></p>286 href="config.html#al_get_next_config_section">al_get_next_config_section</a></p>
285 <p>Examples:</p>287 <p>Examples:</p>
286 <ul>288 <ul>
287 <li><a289 <li><a
288 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L28">ex_config.c</a></li>290 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_config.c#L28">ex_config.c</a></li>
289 </ul>291 </ul>
290 <h1·id="allegro_config_entry">ALLEGRO_CONFIG_ENTRY</h1>292 <h1·id="allegro_config_entry">ALLEGRO_CONFIG_ENTRY</h1>
291 <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>293 <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>
 294 <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>
292 <p><a295 <p><a
293 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L20">Source296 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/config.h#L20">Source
294 Code</a></p>297 Code</a></p>
295 <p>An·opaque·structure·used·for·iterating·across·entries·in·a298 <p>An·opaque·structure·used·for·iterating·across·entries·in·a
296 configuration·section.</p>299 configuration·section.</p>
297 <p>See·also:·<a300 <p>See·also:·<a
298 href="config.html#al_get_first_config_entry">al_get_first_config_entry</a>,301 href="config.html#al_get_first_config_entry">al_get_first_config_entry</a>,
1.81 KB
html2text {}
    
Offset 101, 30 lines modifiedOffset 101, 33 lines modified
101 printf("%s\n",·al_get_config_value(cfg,·"weapon·0",·"damage"));·/*·Prints:·443101 printf("%s\n",·al_get_config_value(cfg,·"weapon·0",·"damage"));·/*·Prints:·443
102 */102 */
103 printf("%s\n",·al_get_config_value(cfg,·"weapon·1",·"damage"));·/*·Prints:·503103 printf("%s\n",·al_get_config_value(cfg,·"weapon·1",·"damage"));·/*·Prints:·503
104 */104 */
105 al_destroy_config(cfg);105 al_destroy_config(cfg);
106 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8NF\x8FI\x8IG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*106 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8NF\x8FI\x8IG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
107 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;107 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;
 108 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;
108 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e109 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
109 An·abstract·configuration·structure.110 An·abstract·configuration·structure.
110 Examples:111 Examples:
111 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8._\x8c112 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8._\x8c
112 ····*·_\x8e_\x8x_\x8__\x8v_\x8s_\x8y_\x8n_\x8c_\x8._\x8c113 ····*·_\x8e_\x8x_\x8__\x8v_\x8s_\x8y_\x8n_\x8c_\x8._\x8c
113 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8s_\x8e_\x8e_\x8k_\x8._\x8c114 ····*·_\x8e_\x8x_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8s_\x8e_\x8e_\x8k_\x8._\x8c
114 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8NF\x8FI\x8IG\x8G_\x8_S\x8SE\x8EC\x8CT\x8TI\x8IO\x8ON\x8N·*\x8**\x8**\x8**\x8**\x8**\x8*115 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8NF\x8FI\x8IG\x8G_\x8_S\x8SE\x8EC\x8CT\x8TI\x8IO\x8ON\x8N·*\x8**\x8**\x8**\x8**\x8**\x8*
115 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;116 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;
 117 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;
116 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e118 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
117 An·opaque·structure·used·for·iterating·across·sections·in·a·configuration119 An·opaque·structure·used·for·iterating·across·sections·in·a·configuration
118 structure.120 structure.
119 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8e_\x8x_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n121 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8e_\x8x_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n
120 Examples:122 Examples:
121 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8._\x8c123 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8._\x8c
122 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8NF\x8FI\x8IG\x8G_\x8_E\x8EN\x8NT\x8TR\x8RY\x8Y·*\x8**\x8**\x8**\x8**\x8**\x8*124 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8NF\x8FI\x8IG\x8G_\x8_E\x8EN\x8NT\x8TR\x8RY\x8Y·*\x8**\x8**\x8**\x8**\x8**\x8*
123 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;125 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;
 126 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;
124 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e127 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
125 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration128 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration
126 section.129 section.
127 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8e_\x8n_\x8t_\x8r_\x8y,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8e_\x8x_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8e_\x8n_\x8t_\x8r_\x8y130 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8e_\x8n_\x8t_\x8r_\x8y,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8e_\x8x_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8__\x8e_\x8n_\x8t_\x8r_\x8y
128 Examples:131 Examples:
129 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8._\x8c132 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8._\x8c
130 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_c\x8co\x8on\x8nf\x8fi\x8ig\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*133 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_c\x8co\x8on\x8nf\x8fi\x8ig\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*
4.77 KB
./usr/share/doc/allegro5-doc/refman/display.html
    
Offset 340, 15 lines modifiedOffset 340, 16 lines modified
340 example.</p>340 example.</p>
341 <p>In·order·to·write·a·well-behaved·application,·it·is·necessary·to341 <p>In·order·to·write·a·well-behaved·application,·it·is·necessary·to
342 remember·that·displays·will·also·inform·you·about·important·<a342 remember·that·displays·will·also·inform·you·about·important·<a
343 href="events.html#allegro_event_display_expose">events</a>·via·their·<a343 href="events.html#allegro_event_display_expose">events</a>·via·their·<a
344 href="display.html#al_get_display_event_source">event·sources</a>.</p>344 href="display.html#al_get_display_event_source">event·sources</a>.</p>
345 <h1·id="display-creation">Display·creation</h1>345 <h1·id="display-creation">Display·creation</h1>
346 <h2·id="allegro_display">ALLEGRO_DISPLAY</h2>346 <h2·id="allegro_display">ALLEGRO_DISPLAY</h2>
347 <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>347 <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>
 348 <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>
348 <p><a349 <p><a
349 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L113">Source350 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L113">Source
350 Code</a></p>351 Code</a></p>
351 <p>An·opaque·type·representing·an·open·display·or·window.</p>352 <p>An·opaque·type·representing·an·open·display·or·window.</p>
352 <p>Examples:</p>353 <p>Examples:</p>
353 <ul>354 <ul>
354 <li><a355 <li><a
Offset 1444, 15 lines modifiedOffset 1445, 16 lines modified
1444 <li><a1445 <li><a
1445 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L49">ex_window_title.c</a></li>1446 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L49">ex_window_title.c</a></li>
1446 <li><a1447 <li><a
1447 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_windows.c#L62">ex_windows.c</a></li>1448 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_windows.c#L62">ex_windows.c</a></li>
1448 </ul>1449 </ul>
1449 <h21450 <h2
1450 id="allegro_new_window_title_max_size">ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE</h2>1451 id="allegro_new_window_title_max_size">ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE</h2>
1451 <div·class="sourceCode"·id="cb41"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb41-1"><a·href="#cb41-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·</span><span·class="dv">255</span></span></code></pre></div>1452 <div·class="sourceCode"·id="cb41"><pre·class="sourceCode·c"><code·class="sourceCode·c"><span·id="cb41-1"><a·href="#cb41-1"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·</span><span·class="dv">255</span></span>
 1453 <span·id="cb41-2"><a·href="#cb41-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·</span><span·class="dv">255</span></span></code></pre></div>
1452 <p><a1454 <p><a
1453 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L118">Source1455 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/display.h#L118">Source
1454 Code</a></p>1456 Code</a></p>
1455 <p>This·is·the·maximum·size·of·the·title·that·can·be·set·with·<a1457 <p>This·is·the·maximum·size·of·the·title·that·can·be·set·with·<a
1456 href="display.html#al_set_new_window_title">al_set_new_window_title</a>.</p>1458 href="display.html#al_set_new_window_title">al_set_new_window_title</a>.</p>
1457 <p>See·also:·<a1459 <p>See·also:·<a
1458 href="display.html#al_set_new_window_title">al_set_new_window_title</a></p>1460 href="display.html#al_set_new_window_title">al_set_new_window_title</a></p>
1.87 KB
html2text {}
    
Offset 126, 14 lines modifiedOffset 126, 15 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·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8B_\x8I_\x8T_\x8M_\x8A_\x8Ps,·for·example.127 retrieve·the·underlying·textures·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8B_\x8I_\x8T_\x8M_\x8A_\x8Ps,·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·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8s·via·their·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8s.129 displays·will·also·inform·you·about·important·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8s·via·their·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8s.
130 *\x8**\x8**\x8**\x8**\x8**\x8*·D\x8Di\x8is\x8sp\x8pl\x8la\x8ay\x8y·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*130 *\x8**\x8**\x8**\x8**\x8**\x8*·D\x8Di\x8is\x8sp\x8pl\x8la\x8ay\x8y·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
131 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_D\x8DI\x8IS\x8SP\x8PL\x8LA\x8AY\x8Y·*\x8**\x8**\x8**\x8**\x8*131 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_D\x8DI\x8IS\x8SP\x8PL\x8LA\x8AY\x8Y·*\x8**\x8**\x8**\x8**\x8*
132 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;132 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;
 133 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;
133 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e134 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
134 An·opaque·type·representing·an·open·display·or·window.135 An·opaque·type·representing·an·open·display·or·window.
135 Examples:136 Examples:
136 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8n_\x8i_\x8t_\x8o_\x8r_\x8i_\x8n_\x8f_\x8o_\x8._\x8c137 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8n_\x8i_\x8t_\x8o_\x8r_\x8i_\x8n_\x8f_\x8o_\x8._\x8c
137 ····*·_\x8e_\x8x_\x8__\x8d_\x83_\x8d_\x8._\x8c_\x8p_\x8p138 ····*·_\x8e_\x8x_\x8__\x8d_\x83_\x8d_\x8._\x8c_\x8p_\x8p
138 ····*·_\x8e_\x8x_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8._\x8c139 ····*·_\x8e_\x8x_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8._\x8c
139 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_d\x8di\x8is\x8sp\x8pl\x8la\x8ay\x8y·*\x8**\x8**\x8**\x8**\x8*140 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_d\x8di\x8is\x8sp\x8pl\x8la\x8ay\x8y·*\x8**\x8**\x8**\x8**\x8*
Offset 769, 14 lines modifiedOffset 770, 15 lines modified
769 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8N_\x8E_\x8W_\x8__\x8W_\x8I_\x8N_\x8D_\x8O_\x8W_\x8__\x8T_\x8I_\x8T_\x8L_\x8E_\x8__\x8M_\x8A_\x8X_\x8__\x8S_\x8I_\x8Z_\x8E770 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8N_\x8E_\x8W_\x8__\x8W_\x8I_\x8N_\x8D_\x8O_\x8W_\x8__\x8T_\x8I_\x8T_\x8L_\x8E_\x8__\x8M_\x8A_\x8X_\x8__\x8S_\x8I_\x8Z_\x8E
770 Since:·5.1.12771 Since:·5.1.12
771 Examples:772 Examples:
772 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e_\x8._\x8c773 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e_\x8._\x8c
773 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8s_\x8._\x8c774 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8s_\x8._\x8c
774 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_N\x8NE\x8EW\x8W_\x8_W\x8WI\x8IN\x8ND\x8DO\x8OW\x8W_\x8_T\x8TI\x8IT\x8TL\x8LE\x8E_\x8_M\x8MA\x8AX\x8X_\x8_S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8**\x8*775 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_N\x8NE\x8EW\x8W_\x8_W\x8WI\x8IN\x8ND\x8DO\x8OW\x8W_\x8_T\x8TI\x8IT\x8TL\x8LE\x8E_\x8_M\x8MA\x8AX\x8X_\x8_S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8**\x8*
775 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255776 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255
 777 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255
776 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e778 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
777 This·is·the·maximum·size·of·the·title·that·can·be·set·with779 This·is·the·maximum·size·of·the·title·that·can·be·set·with
778 _\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e.780 _\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e.
779 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e781 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e
780 Since:·5.1.12782 Since:·5.1.12
781 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_n\x8ne\x8ew\x8w_\x8_w\x8wi\x8in\x8nd\x8do\x8ow\x8w_\x8_t\x8ti\x8it\x8tl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*783 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_n\x8ne\x8ew\x8w_\x8_w\x8wi\x8in\x8nd\x8do\x8ow\x8w_\x8_t\x8ti\x8it\x8tl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
782 const·char·*al_get_new_window_title(void)784 const·char·*al_get_new_window_title(void)
18.6 KB
./usr/share/doc/allegro5-doc/refman/events.html
    
Offset 315, 15 lines modifiedOffset 315, 16 lines modified
315 union·according·to·the·event·type.</p>315 union·according·to·the·event·type.</p>
316 <p>In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events316 <p>In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events
317 send·by·the·addons,·see·<a317 send·by·the·addons,·see·<a
318 href="audio.html#allegro_audio_event_type">ALLEGRO_AUDIO_EVENT_TYPE</a>318 href="audio.html#allegro_audio_event_type">ALLEGRO_AUDIO_EVENT_TYPE</a>
319 and·<a319 and·<a
320 href="video.html#allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</a>.</p>320 href="video.html#allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</a>.</p>
321 <h1·id="allegro_event">ALLEGRO_EVENT</h1>321 <h1·id="allegro_event">ALLEGRO_EVENT</h1>
322 <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>322 <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>
 323 <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>
323 <p><a324 <p><a
324 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L216">Source325 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L216">Source
325 Code</a></p>326 Code</a></p>
326 <p>An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it327 <p>An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it
327 is·an·object·large·enough·to·hold·the·data·of·any·event·type.·All·events328 is·an·object·large·enough·to·hold·the·data·of·any·event·type.·All·events
328 have·the·following·fields·in·common:</p>329 have·the·following·fields·in·common:</p>
329 <dl>330 <dl>
Offset 1015, 15 lines modifiedOffset 1016, 16 lines modified
1015 <p>Since:·5.2.9</p>1016 <p>Since:·5.2.9</p>
1016 <blockquote>1017 <blockquote>
1017 <p><em><a·href="getting_started.html#unstable-api">Unstable1018 <p><em><a·href="getting_started.html#unstable-api">Unstable
1018 API</a>:</em>·This·is·an·experimental·feature·and·currently·only·works1019 API</a>:</em>·This·is·an·experimental·feature·and·currently·only·works
1019 for·the·X11·backend.</p>1020 for·the·X11·backend.</p>
1020 </blockquote>1021 </blockquote>
1021 <h1·id="allegro_user_event">ALLEGRO_USER_EVENT</h1>1022 <h1·id="allegro_user_event">ALLEGRO_USER_EVENT</h1>
1022 <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>1023 <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>
 1024 <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>
1023 <p><a1025 <p><a
1024 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L188">Source1026 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L188">Source
1025 Code</a></p>1027 Code</a></p>
1026 <p>An·event·structure·that·can·be·emitted·by·user·event·sources.·These1028 <p>An·event·structure·that·can·be·emitted·by·user·event·sources.·These
1027 are·the·public·fields:</p>1029 are·the·public·fields:</p>
1028 <ul>1030 <ul>
1029 <li>ALLEGRO_EVENT_SOURCE·*source;</li>1031 <li>ALLEGRO_EVENT_SOURCE·*source;</li>
Offset 1064, 15 lines modifiedOffset 1066, 16 lines modified
1064 href="events.html#al_init_user_event_source">al_init_user_event_source</a></p>1066 href="events.html#al_init_user_event_source">al_init_user_event_source</a></p>
1065 <p>Examples:</p>1067 <p>Examples:</p>
1066 <ul>1068 <ul>
1067 <li><a1069 <li><a
1068 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L37">ex_user_events.c</a></li>1070 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L37">ex_user_events.c</a></li>
1069 </ul>1071 </ul>
1070 <h1·id="allegro_event_queue">ALLEGRO_EVENT_QUEUE</h1>1072 <h1·id="allegro_event_queue">ALLEGRO_EVENT_QUEUE</h1>
1071 <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>1073 <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>
 1074 <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>
1072 <p><a1075 <p><a
1073 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L258">Source1076 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L258">Source
1074 Code</a></p>1077 Code</a></p>
1075 <p>An·event·queue·holds·events·that·have·been·generated·by·event·sources1078 <p>An·event·queue·holds·events·that·have·been·generated·by·event·sources
1076 that·are·registered·with·the·queue.·Events·are·stored·in·the·order·they1079 that·are·registered·with·the·queue.·Events·are·stored·in·the·order·they
1077 are·generated.·Access·is·in·a·strictly·FIFO·(first-in-first-out)1080 are·generated.·Access·is·in·a·strictly·FIFO·(first-in-first-out)
1078 order.</p>1081 order.</p>
Offset 1085, 15 lines modifiedOffset 1088, 16 lines modified
1085 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L18">ex_inject_events.c</a></li>1088 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L18">ex_inject_events.c</a></li>
1086 <li><a1089 <li><a
1087 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L189">ex_enet_server.c</a></li>1090 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L189">ex_enet_server.c</a></li>
1088 <li><a1091 <li><a
1089 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L24">ex_timer_pause.c</a></li>1092 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L24">ex_timer_pause.c</a></li>
1090 </ul>1093 </ul>
1091 <h1·id="allegro_event_source">ALLEGRO_EVENT_SOURCE</h1>1094 <h1·id="allegro_event_source">ALLEGRO_EVENT_SOURCE</h1>
1092 <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>1095 <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>
 1096 <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>
1093 <p><a1097 <p><a
1094 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L74">Source1098 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L74">Source
1095 Code</a></p>1099 Code</a></p>
1096 <p>An·event·source·is·any·object·which·can·generate·events.·For·example,1100 <p>An·event·source·is·any·object·which·can·generate·events.·For·example,
1097 an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the1101 an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the
1098 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with·<a1102 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with·<a
1099 href="display.html#al_get_display_event_source">al_get_display_event_source</a>.</p>1103 href="display.html#al_get_display_event_source">al_get_display_event_source</a>.</p>
Offset 1108, 24 lines modifiedOffset 1112, 26 lines modified
1108 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L17">ex_inject_events.c</a></li>1112 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_inject_events.c#L17">ex_inject_events.c</a></li>
1109 <li><a1113 <li><a
1110 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L47">ex_user_events.c</a></li>1114 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L47">ex_user_events.c</a></li>
1111 <li><a1115 <li><a
1112 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L364">nihgui.cpp</a></li>1116 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L364">nihgui.cpp</a></li>
1113 </ul>1117 </ul>
1114 <h1·id="allegro_event_type">ALLEGRO_EVENT_TYPE</h1>1118 <h1·id="allegro_event_type">ALLEGRO_EVENT_TYPE</h1>
1115 <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>1119 <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>
 1120 <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>
1116 <p><a1121 <p><a
1117 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L13">Source1122 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L13">Source
1118 Code</a></p>1123 Code</a></p>
1119 <p>An·integer·used·to·distinguish·between·different·types·of·events.</p>1124 <p>An·integer·used·to·distinguish·between·different·types·of·events.</p>
1120 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a1125 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a
1121 href="events.html#allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</a>,·<a1126 href="events.html#allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</a>,·<a
1122 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>1127 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>
1123 <h1·id="allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</h1>1128 <h1·id="allegro_get_event_type">ALLEGRO_GET_EVENT_TYPE</h1>
1124 <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</span><span·class="op">(</span><span·class="pp">a</span><span·class="op">,</span><span·class="pp">·b</span><span·class="op">,</span><span·class="pp">·c</span><span·class="op">,</span><span·class="pp">·d</span><span·class="op">)</span><span·class="pp">···AL_ID</span><span·class="op">(</span><span·class="pp">a</span><span·class="op">,</span><span·class="pp">·b</span><span·class="op">,</span><span·class="pp">·c</span><span·class="op">,</span><span·class="pp">·d</span><span·class="op">)</span></span></code></pre></div>1129 <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</span><span·class="op">(</span><span·class="pp">a</span><span·class="op">,</span><span·class="pp">·b</span><span·class="op">,</span><span·class="pp">·c</span><span·class="op">,</span><span·class="pp">·d</span><span·class="op">)</span><span·class="pp">···AL_ID</span><span·class="op">(</span><span·class="pp">a</span><span·class="op">,</span><span·class="pp">·b</span><span·class="op">,</span><span·class="pp">·c</span><span·class="op">,</span><span·class="pp">·d</span><span·class="op">)</span></span>
 1130 <span·id="cb8-2"><a·href="#cb8-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_GET_EVENT_TYPE</span><span·class="op">(</span><span·class="pp">a</span><span·class="op">,</span><span·class="pp">·b</span><span·class="op">,</span><span·class="pp">·c</span><span·class="op">,</span><span·class="pp">·d</span><span·class="op">)</span><span·class="pp">···AL_ID</span><span·class="op">(</span><span·class="pp">a</span><span·class="op">,</span><span·class="pp">·b</span><span·class="op">,</span><span·class="pp">·c</span><span·class="op">,</span><span·class="pp">·d</span><span·class="op">)</span></span></code></pre></div>
1125 <p><a1131 <p><a
1126 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L69">Source1132 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L69">Source
1127 Code</a></p>1133 Code</a></p>
1128 <p>Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,1134 <p>Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,
1129 but·not·necessarily,·this·will·be·made·from·four·8-bit·character·codes,1135 but·not·necessarily,·this·will·be·made·from·four·8-bit·character·codes,
1130 for·example:</p>1136 for·example:</p>
1131 <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>1137 <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 1152, 15 lines modifiedOffset 1158, 16 lines modified
1152 <span·id="cb10-9"><a·href="#cb10-9"·aria-hidden="true"·tabindex="-1"></a>···MEOW_EVENT<span·class="op">,</span></span>1158 <span·id="cb10-9"><a·href="#cb10-9"·aria-hidden="true"·tabindex="-1"></a>···MEOW_EVENT<span·class="op">,</span></span>
1153 <span·id="cb10-10"><a·href="#cb10-10"·aria-hidden="true"·tabindex="-1"></a>···SQUAWK_EVENT</span>1159 <span·id="cb10-10"><a·href="#cb10-10"·aria-hidden="true"·tabindex="-1"></a>···SQUAWK_EVENT</span>
1154 <span·id="cb10-11"><a·href="#cb10-11"·aria-hidden="true"·tabindex="-1"></a><span·class="op">};</span></span></code></pre></div>1160 <span·id="cb10-11"><a·href="#cb10-11"·aria-hidden="true"·tabindex="-1"></a><span·class="op">};</span></span></code></pre></div>
1155 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a1161 <p>See·also:·<a·href="events.html#allegro_event">ALLEGRO_EVENT</a>,·<a
1156 href="events.html#allegro_user_event">ALLEGRO_USER_EVENT</a>,·<a1162 href="events.html#allegro_user_event">ALLEGRO_USER_EVENT</a>,·<a
1157 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>1163 href="events.html#allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</a></p>
1158 <h1·id="allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</h1>1164 <h1·id="allegro_event_type_is_user">ALLEGRO_EVENT_TYPE_IS_USER</h1>
1159 <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</span><span·class="op">(</span><span·class="pp">t</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">((</span><span·class="pp">t</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">&gt;=</span><span·class="pp">·</span><span·class="dv">512</span><span·class="op">)</span></span></code></pre></div>1165 <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</span><span·class="op">(</span><span·class="pp">t</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">((</span><span·class="pp">t</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">&gt;=</span><span·class="pp">·</span><span·class="dv">512</span><span·class="op">)</span></span>
 1166 <span·id="cb11-2"><a·href="#cb11-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_EVENT_TYPE_IS_USER</span><span·class="op">(</span><span·class="pp">t</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">((</span><span·class="pp">t</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">&gt;=</span><span·class="pp">·</span><span·class="dv">512</span><span·class="op">)</span></span></code></pre></div>
1160 <p><a1167 <p><a
1161 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L64">Source1168 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/events.h#L64">Source
1162 Code</a></p>1169 Code</a></p>
1163 <p>A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin1170 <p>A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin
1164 event·type,·i.e. one·of·those·described·in·<a1171 event·type,·i.e. one·of·those·described·in·<a
1165 href="events.html#allegro_event_type">ALLEGRO_EVENT_TYPE</a>.</p>1172 href="events.html#allegro_event_type">ALLEGRO_EVENT_TYPE</a>.</p>
1166 <h1·id="al_create_event_queue">al_create_event_queue</h1>1173 <h1·id="al_create_event_queue">al_create_event_queue</h1>
5.86 KB
html2text {}
    
Offset 118, 14 lines modifiedOffset 118, 15 lines modified
118 events·that·can·be·generated·by·user-defined·event·sources.118 events·that·can·be·generated·by·user-defined·event·sources.
119 The·appropriate·reaction·to·an·event·is·determined·by·examining·the·fields·of119 The·appropriate·reaction·to·an·event·is·determined·by·examining·the·fields·of
120 the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T·union·according·to·the·event·type.120 the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T·union·according·to·the·event·type.
121 In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events·send·by·the121 In·addition·to·the·events·sent·by·Allegro·core,·there’s·also·events·send·by·the
122 addons,·see·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8A_\x8U_\x8D_\x8I_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E·and·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8V_\x8I_\x8D_\x8E_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E.122 addons,·see·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8A_\x8U_\x8D_\x8I_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E·and·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8V_\x8I_\x8D_\x8E_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E.
123 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*123 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
124 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;124 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;
 125 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;
125 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e126 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
126 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it·is·an127 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e. it·is·an
127 object·large·enough·to·hold·the·data·of·any·event·type.·All·events·have·the128 object·large·enough·to·hold·the·data·of·any·event·type.·All·events·have·the
128 following·fields·in·common:129 following·fields·in·common:
129 ··type·(ALLEGRO_EVENT_TYPE)130 ··type·(ALLEGRO_EVENT_TYPE)
130 ······Indicates·the·type·of·event.131 ······Indicates·the·type·of·event.
131 ··any.source·(ALLEGRO_EVENT_SOURCE·*)132 ··any.source·(ALLEGRO_EVENT_SOURCE·*)
Offset 496, 14 lines modifiedOffset 497, 15 lines modified
496 ······action.·If·i\x8is\x8s_\x8_c\x8co\x8om\x8mp\x8pl\x8le\x8et\x8te\x8e·is·set·before·receiving·an·event·where·t\x8te\x8ex\x8xt\x8t·was497 ······action.·If·i\x8is\x8s_\x8_c\x8co\x8om\x8mp\x8pl\x8le\x8et\x8te\x8e·is·set·before·receiving·an·event·where·t\x8te\x8ex\x8xt\x8t·was
497 ······not·NULL·it·means·the·user·aborted·the·drag&drop.498 ······not·NULL·it·means·the·user·aborted·the·drag&drop.
498 Since:·5.2.9499 Since:·5.2.9
499 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·This·is·an·experimental·feature·and·currently·only500 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·This·is·an·experimental·feature·and·currently·only
500 ·····works·for·the·X11·backend.501 ·····works·for·the·X11·backend.
501 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8SE\x8ER\x8R_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*502 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8SE\x8ER\x8R_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
502 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;503 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;
 504 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;
503 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e505 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
504 An·event·structure·that·can·be·emitted·by·user·event·sources.·These·are·the506 An·event·structure·that·can·be·emitted·by·user·event·sources.·These·are·the
505 public·fields:507 public·fields:
506 ····*·ALLEGRO_EVENT_SOURCE·*source;508 ····*·ALLEGRO_EVENT_SOURCE·*source;
507 ····*·intptr_t·data1;509 ····*·intptr_t·data1;
508 ····*·intptr_t·data2;510 ····*·intptr_t·data2;
509 ····*·intptr_t·data3;511 ····*·intptr_t·data3;
Offset 531, 42 lines modifiedOffset 533, 46 lines modified
531 documentation·for·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8G_\x8E_\x8T_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E·for·the·rules·you·should·follow·when533 documentation·for·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8G_\x8E_\x8T_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E·for·the·rules·you·should·follow·when
532 assigning·identifiers.534 assigning·identifiers.
533 See·also:·_\x8a_\x8l_\x8__\x8e_\x8m_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8G_\x8E_\x8T_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e535 See·also:·_\x8a_\x8l_\x8__\x8e_\x8m_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8G_\x8E_\x8T_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
534 Examples:536 Examples:
535 ····*·_\x8e_\x8x_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c537 ····*·_\x8e_\x8x_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
536 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_Q\x8QU\x8UE\x8EU\x8UE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*538 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_Q\x8QU\x8UE\x8EU\x8UE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
537 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;539 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;
 540 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;
538 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e541 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
539 An·event·queue·holds·events·that·have·been·generated·by·event·sources·that·are542 An·event·queue·holds·events·that·have·been·generated·by·event·sources·that·are
540 registered·with·the·queue.·Events·are·stored·in·the·order·they·are·generated.543 registered·with·the·queue.·Events·are·stored·in·the·order·they·are·generated.
541 Access·is·in·a·strictly·FIFO·(first-in-first-out)·order.544 Access·is·in·a·strictly·FIFO·(first-in-first-out)·order.
542 See·also:·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8q_\x8u_\x8e_\x8u_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8e_\x8s_\x8t_\x8r_\x8o_\x8y_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8q_\x8u_\x8e_\x8u_\x8e545 See·also:·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8q_\x8u_\x8e_\x8u_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8e_\x8s_\x8t_\x8r_\x8o_\x8y_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8q_\x8u_\x8e_\x8u_\x8e
543 Examples:546 Examples:
544 ····*·_\x8e_\x8x_\x8__\x8i_\x8n_\x8j_\x8e_\x8c_\x8t_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c547 ····*·_\x8e_\x8x_\x8__\x8i_\x8n_\x8j_\x8e_\x8c_\x8t_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
545 ····*·_\x8e_\x8x_\x8__\x8e_\x8n_\x8e_\x8t_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8c548 ····*·_\x8e_\x8x_\x8__\x8e_\x8n_\x8e_\x8t_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8c
546 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8._\x8c549 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8._\x8c
547 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_S\x8SO\x8OU\x8UR\x8RC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*550 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_S\x8SO\x8OU\x8UR\x8RC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
548 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;551 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;
 552 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;
549 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e553 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
550 An·event·source·is·any·object·which·can·generate·events.·For·example,·an554 An·event·source·is·any·object·which·can·generate·events.·For·example,·an
551 ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the·ALLEGRO_EVENT_SOURCE555 ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the·ALLEGRO_EVENT_SOURCE
552 pointer·from·an·ALLEGRO_DISPLAY·with·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e.556 pointer·from·an·ALLEGRO_DISPLAY·with·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e.
553 You·may·create·your·own·“user”·event·sources·that·emit·custom·events.557 You·may·create·your·own·“user”·event·sources·that·emit·custom·events.
554 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e,·_\x8a_\x8l_\x8__\x8e_\x8m_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t558 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e,·_\x8a_\x8l_\x8__\x8e_\x8m_\x8i_\x8t_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t
555 Examples:559 Examples:
556 ····*·_\x8e_\x8x_\x8__\x8i_\x8n_\x8j_\x8e_\x8c_\x8t_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c560 ····*·_\x8e_\x8x_\x8__\x8i_\x8n_\x8j_\x8e_\x8c_\x8t_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
557 ····*·_\x8e_\x8x_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c561 ····*·_\x8e_\x8x_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
558 ····*·_\x8n_\x8i_\x8h_\x8g_\x8u_\x8i_\x8._\x8c_\x8p_\x8p562 ····*·_\x8n_\x8i_\x8h_\x8g_\x8u_\x8i_\x8._\x8c_\x8p_\x8p
559 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*563 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
560 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;564 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;
 565 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;
561 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e566 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
562 An·integer·used·to·distinguish·between·different·types·of·events.567 An·integer·used·to·distinguish·between·different·types·of·events.
563 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8G_\x8E_\x8T_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E_\x8__\x8I_\x8S_\x8__\x8U_\x8S_\x8E_\x8R568 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8G_\x8E_\x8T_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E_\x8__\x8I_\x8S_\x8__\x8U_\x8S_\x8E_\x8R
564 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_G\x8GE\x8ET\x8T_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*569 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_G\x8GE\x8ET\x8T_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
565 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)570 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)
 571 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)
566 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e572 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
567 Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,·but·not573 Make·an·event·type·identifier,·which·is·a·32-bit·integer.·Usually,·but·not
568 necessarily,·this·will·be·made·from·four·8-bit·character·codes,·for·example:574 necessarily,·this·will·be·made·from·four·8-bit·character·codes,·for·example:
569 Examples:575 Examples:
  
570 *·[ex_user_events.c](https://github.com/liballeg/allegro5/blob/master/examples/576 *·[ex_user_events.c](https://github.com/liballeg/allegro5/blob/master/examples/
571 ex_user_events.c#L10)577 ex_user_events.c#L10)
Offset 589, 14 lines modifiedOffset 595, 15 lines modified
589 ···BARK_EVENT·=·ALLEGRO_GET_EVENT_TYPE('M','I','N','E'),595 ···BARK_EVENT·=·ALLEGRO_GET_EVENT_TYPE('M','I','N','E'),
590 ···MEOW_EVENT,596 ···MEOW_EVENT,
591 ···SQUAWK_EVENT597 ···SQUAWK_EVENT
592 };598 };
593 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8U_\x8S_\x8E_\x8R_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E_\x8__\x8I_\x8S_\x8__\x8U_\x8S_\x8E_\x8R599 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8U_\x8S_\x8E_\x8R_\x8__\x8E_\x8V_\x8E_\x8N_\x8T,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E_\x8__\x8I_\x8S_\x8__\x8U_\x8S_\x8E_\x8R
594 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E_\x8_I\x8IS\x8S_\x8_U\x8US\x8SE\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*600 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E_\x8_I\x8IS\x8S_\x8_U\x8US\x8SE\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*
595 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)601 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)
 602 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)
596 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e603 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
597 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event·type,604 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event·type,
598 i.e. one·of·those·described·in·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E.605 i.e. one·of·those·described·in·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E.
599 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_e\x8ev\x8ve\x8en\x8nt\x8t_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*606 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_e\x8ev\x8ve\x8en\x8nt\x8t_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
600 ALLEGRO_EVENT_QUEUE·*al_create_event_queue(void)607 ALLEGRO_EVENT_QUEUE·*al_create_event_queue(void)
601 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e608 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
602 Create·a·new,·empty·event·queue,·returning·a·pointer·to·the·newly·created609 Create·a·new,·empty·event·queue,·returning·a·pointer·to·the·newly·created
6.18 KB
./usr/share/doc/allegro5-doc/refman/file.html
    
Offset 236, 15 lines modifiedOffset 236, 16 lines modified
236 id="toc-al_get_file_userdata">al_get_file_userdata</a></li>236 id="toc-al_get_file_userdata">al_get_file_userdata</a></li>
237 </ul></li>237 </ul></li>
238 </ul>238 </ul>
239 </nav>239 </nav>
240 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>240 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</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.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.h&gt;</span></span></code></pre></div>
242 <h1·id="allegro_file">ALLEGRO_FILE</h1>242 <h1·id="allegro_file">ALLEGRO_FILE</h1>
243 <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>243 <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>
 244 <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>
244 <p><a245 <p><a
245 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L15">Source246 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L15">Source
246 Code</a></p>247 Code</a></p>
247 <p>An·opaque·object·representing·an·open·file.·This·could·be·a·real·file248 <p>An·opaque·object·representing·an·open·file.·This·could·be·a·real·file
248 on·disk·or·a·virtual·file.</p>249 on·disk·or·a·virtual·file.</p>
249 <p>Examples:</p>250 <p>Examples:</p>
250 <ul>251 <ul>
Offset 252, 15 lines modifiedOffset 253, 16 lines modified
252 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_file.c#L23">ex_file.c</a></li>253 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_file.c#L23">ex_file.c</a></li>
253 <li><a254 <li><a
254 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L18">ex_dir.c</a></li>255 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L18">ex_dir.c</a></li>
255 <li><a256 <li><a
256 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L19">ex_memfile.c</a></li>257 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L19">ex_memfile.c</a></li>
257 </ul>258 </ul>
258 <h1·id="allegro_file_interface">ALLEGRO_FILE_INTERFACE</h1>259 <h1·id="allegro_file_interface">ALLEGRO_FILE_INTERFACE</h1>
259 <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>260 <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>
 261 <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>
260 <p><a262 <p><a
261 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L20">Source263 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L20">Source
262 Code</a></p>264 Code</a></p>
263 <p>A·structure·containing·function·pointers·to·handle·a·type·of·“file”,265 <p>A·structure·containing·function·pointers·to·handle·a·type·of·“file”,
264 real·or·virtual.·See·the·full·discussion·in·<a266 real·or·virtual.·See·the·full·discussion·in·<a
265 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>267 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>
266 <p>The·fields·are:</p>268 <p>The·fields·are:</p>
Offset 291, 15 lines modifiedOffset 293, 16 lines modified
291 char·long·buffer·will·be·used.</p>293 char·long·buffer·will·be·used.</p>
292 <p>Examples:</p>294 <p>Examples:</p>
293 <ul>295 <ul>
294 <li><a296 <li><a
295 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L65">ex_curl.c</a></li>297 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_curl.c#L65">ex_curl.c</a></li>
296 </ul>298 </ul>
297 <h1·id="allegro_seek">ALLEGRO_SEEK</h1>299 <h1·id="allegro_seek">ALLEGRO_SEEK</h1>
298 <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>300 <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>
 301 <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>
299 <p><a302 <p><a
300 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L40">Source303 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/file.h#L40">Source
301 Code</a></p>304 Code</a></p>
302 <ul>305 <ul>
303 <li>ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file</li>306 <li>ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file</li>
304 <li>ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position</li>307 <li>ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position</li>
305 <li>ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file</li>308 <li>ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file</li>
2.01 KB
html2text {}
    
Offset 85, 23 lines modifiedOffset 85, 25 lines modified
85 ··········o·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e85 ··········o·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
86 ··········o·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e86 ··········o·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
87 ··········o·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a87 ··········o·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a
88 These·functions·are·declared·in·the·main·Allegro·header·file:88 These·functions·are·declared·in·the·main·Allegro·header·file:
89 ·#include·<allegro5/allegro.h>89 ·#include·<allegro5/allegro.h>
90 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*90 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
91 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;91 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;
 92 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;
92 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e93 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
93 An·opaque·object·representing·an·open·file.·This·could·be·a·real·file·on·disk94 An·opaque·object·representing·an·open·file.·This·could·be·a·real·file·on·disk
94 or·a·virtual·file.95 or·a·virtual·file.
95 Examples:96 Examples:
96 ····*·_\x8e_\x8x_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c97 ····*·_\x8e_\x8x_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c
97 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8r_\x8._\x8c98 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8r_\x8._\x8c
98 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8f_\x8i_\x8l_\x8e_\x8._\x8c99 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8f_\x8i_\x8l_\x8e_\x8._\x8c
99 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8E_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RF\x8FA\x8AC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*100 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8E_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RF\x8FA\x8AC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
100 typedef·struct·ALLEGRO_FILE_INTERFACE101 typedef·struct·ALLEGRO_FILE_INTERFACE
 102 typedef·struct·ALLEGRO_FILE_INTERFACE
101 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e103 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
102 A·structure·containing·function·pointers·to·handle·a·type·of·“file”,·real·or104 A·structure·containing·function·pointers·to·handle·a·type·of·“file”,·real·or
103 virtual.·See·the·full·discussion·in·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e.105 virtual.·See·the·full·discussion·in·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e.
104 The·fields·are:106 The·fields·are:
105 void*·········(*fi_fopen)(const·char·*path,·const·char·*mode);107 void*·········(*fi_fopen)(const·char·*path,·const·char·*mode);
106 bool··········(*fi_fclose)(ALLEGRO_FILE·*f);108 bool··········(*fi_fclose)(ALLEGRO_FILE·*f);
107 size_t········(*fi_fread)(ALLEGRO_FILE·*f,·void·*ptr,·size_t·size);109 size_t········(*fi_fread)(ALLEGRO_FILE·*f,·void·*ptr,·size_t·size);
Offset 124, 14 lines modifiedOffset 126, 15 lines modified
124 free·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8F_\x8I_\x8L_\x8E·handle.126 free·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8F_\x8I_\x8L_\x8E·handle.
125 If·fi_fungetc·is·NULL,·then·Allegro’s·default·implementation·of·a·16·char·long127 If·fi_fungetc·is·NULL,·then·Allegro’s·default·implementation·of·a·16·char·long
126 buffer·will·be·used.128 buffer·will·be·used.
127 Examples:129 Examples:
128 ····*·_\x8e_\x8x_\x8__\x8c_\x8u_\x8r_\x8l_\x8._\x8c130 ····*·_\x8e_\x8x_\x8__\x8c_\x8u_\x8r_\x8l_\x8._\x8c
129 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SE\x8EE\x8EK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*131 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SE\x8EE\x8EK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*
130 typedef·enum·ALLEGRO_SEEK132 typedef·enum·ALLEGRO_SEEK
 133 typedef·enum·ALLEGRO_SEEK
131 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e134 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
132 ····*·ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file135 ····*·ALLEGRO_SEEK_SET·-·seek·relative·to·beginning·of·file
133 ····*·ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position136 ····*·ALLEGRO_SEEK_CUR·-·seek·relative·to·current·file·position
134 ····*·ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file137 ····*·ALLEGRO_SEEK_END·-·seek·relative·to·end·of·file
135 See·also:·_\x8a_\x8l_\x8__\x8f_\x8s_\x8e_\x8e_\x8k138 See·also:·_\x8a_\x8l_\x8__\x8f_\x8s_\x8e_\x8e_\x8k
136 Examples:139 Examples:
137 ····*·_\x8e_\x8x_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c140 ····*·_\x8e_\x8x_\x8__\x8f_\x8i_\x8l_\x8e_\x8._\x8c
2.46 KB
./usr/share/doc/allegro5-doc/refman/fixed.html
    
Offset 202, 15 lines modifiedOffset 202, 16 lines modified
202 <li><a·href="#al_fixhypot"·id="toc-al_fixhypot">al_fixhypot</a></li>202 <li><a·href="#al_fixhypot"·id="toc-al_fixhypot">al_fixhypot</a></li>
203 </ul></li>203 </ul></li>
204 </ul>204 </ul>
205 </nav>205 </nav>
206 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>206 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
207 <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>207 <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 <h1·id="al_fixed">al_fixed</h1>208 <h1·id="al_fixed">al_fixed</h1>
209 <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>209 <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>
 210 <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>
210 <p><a211 <p><a
211 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fixed.h#L30">Source212 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fixed.h#L30">Source
212 Code</a></p>213 Code</a></p>
213 <p>A·fixed·point·number.</p>214 <p>A·fixed·point·number.</p>
214 <p>Allegro·provides·some·routines·for·working·with·fixed·point·numbers,215 <p>Allegro·provides·some·routines·for·working·with·fixed·point·numbers,
215 and·defines·the·type·<code>al_fixed</code>·to·be·a·signed·32-bit216 and·defines·the·type·<code>al_fixed</code>·to·be·a·signed·32-bit
216 integer.·The·high·word·is·used·for·the·integer·part·and·the·low·word·for217 integer.·The·high·word·is·used·for·the·integer·part·and·the·low·word·for
841 B
html2text {}
    
Offset 66, 14 lines modifiedOffset 66, 15 lines modified
66 ··········o·_\x8a_\x8l_\x8__\x8f_\x8i_\x8x_\x8a_\x8t_\x8a_\x8n_\x8266 ··········o·_\x8a_\x8l_\x8__\x8f_\x8i_\x8x_\x8a_\x8t_\x8a_\x8n_\x82
67 ··········o·_\x8a_\x8l_\x8__\x8f_\x8i_\x8x_\x8s_\x8q_\x8r_\x8t67 ··········o·_\x8a_\x8l_\x8__\x8f_\x8i_\x8x_\x8s_\x8q_\x8r_\x8t
68 ··········o·_\x8a_\x8l_\x8__\x8f_\x8i_\x8x_\x8h_\x8y_\x8p_\x8o_\x8t68 ··········o·_\x8a_\x8l_\x8__\x8f_\x8i_\x8x_\x8h_\x8y_\x8p_\x8o_\x8t
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 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_f\x8fi\x8ix\x8xe\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*71 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_f\x8fi\x8ix\x8xe\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*
72 typedef·int32_t·al_fixed;72 typedef·int32_t·al_fixed;
 73 typedef·int32_t·al_fixed;
73 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e74 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
74 A·fixed·point·number.75 A·fixed·point·number.
75 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and76 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and
76 defines·the·type·al_fixed·to·be·a·signed·32-bit·integer.·The·high·word·is·used77 defines·the·type·al_fixed·to·be·a·signed·32-bit·integer.·The·high·word·is·used
77 for·the·integer·part·and·the·low·word·for·the·fraction,·giving·a·range·of·-78 for·the·integer·part·and·the·low·word·for·the·fraction,·giving·a·range·of·-
78 32768·to·32767·and·an·accuracy·of·about·four·or·five·decimal·places.·Fixed79 32768·to·32767·and·an·accuracy·of·about·four·or·five·decimal·places.·Fixed
79 point·numbers·can·be·assigned,·compared,·added,·subtracted,·negated·and·shifted80 point·numbers·can·be·assigned,·compared,·added,·subtracted,·negated·and·shifted
131 KB
./usr/share/doc/allegro5-doc/refman/font.html
    
Offset 283, 15 lines modifiedOffset 283, 16 lines modified
283 </ul>283 </ul>
284 </nav>284 </nav>
285 <p>These·functions·are·declared·in·the·following·header·file.·Link·with285 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
286 allegro_font.</p>286 allegro_font.</p>
287 <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>287 <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>
288 <h1·id="general-font-routines">General·font·routines</h1>288 <h1·id="general-font-routines">General·font·routines</h1>
289 <h2·id="allegro_font">ALLEGRO_FONT</h2>289 <h2·id="allegro_font">ALLEGRO_FONT</h2>
290 <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>290 <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>
 291 <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>
291 <p><a292 <p><a
292 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L48">Source293 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L48">Source
293 Code</a></p>294 Code</a></p>
294 <p>A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it295 <p>A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it
295 with·<a·href="font.html#al_load_font">al_load_font</a>·which·supports296 with·<a·href="font.html#al_load_font">al_load_font</a>·which·supports
296 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.297 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.
297 If·you·instead·pass·the·filename·of·a·bitmap·file,·it·will·be·loaded298 If·you·instead·pass·the·filename·of·a·bitmap·file,·it·will·be·loaded
Offset 304, 15 lines modifiedOffset 305, 16 lines modified
304 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L10">ex_disable_screensaver.c</a></li>305 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L10">ex_disable_screensaver.c</a></li>
305 <li><a306 <li><a
306 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L17">ex_font_justify.cpp</a></li>307 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L17">ex_font_justify.cpp</a></li>
307 <li><a308 <li><a
308 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timedwait.c#L13">ex_timedwait.c</a></li>309 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timedwait.c#L13">ex_timedwait.c</a></li>
309 </ul>310 </ul>
310 <h2·id="allegro_glyph">ALLEGRO_GLYPH</h2>311 <h2·id="allegro_glyph">ALLEGRO_GLYPH</h2>
311 <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>312 <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>
 313 <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>
312 <p><a314 <p><a
313 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L53">Source315 href="https://github.com/liballeg/allegro5/blob/master/addons/font/allegro5/allegro_font.h#L53">Source
314 Code</a></p>316 Code</a></p>
315 <p>A·structure·containing·the·properties·of·a·character·in·a·font.</p>317 <p>A·structure·containing·the·properties·of·a·character·in·a·font.</p>
316 <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>318 <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>
317 <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>319 <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>
318 <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>320 <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 343, 15 lines modifiedOffset 345, 16 lines modified
343 <p>See·also:·<a·href="font.html#al_get_glyph">al_get_glyph</a></p>345 <p>See·also:·<a·href="font.html#al_get_glyph">al_get_glyph</a></p>
344 <p>Examples:</p>346 <p>Examples:</p>
345 <ul>347 <ul>
346 <li><a348 <li><a
347 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_ttf.c#L91">ex_ttf.c</a></li>349 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_ttf.c#L91">ex_ttf.c</a></li>
348 </ul>350 </ul>
349 <h2·id="al_init_font_addon">al_init_font_addon</h2>351 <h2·id="al_init_font_addon">al_init_font_addon</h2>
350 <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>352 <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>
 353 <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>
351 <p><a354 <p><a
352 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L367">Source355 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L367">Source
353 Code</a></p>356 Code</a></p>
354 <p>Initialise·the·font·addon.</p>357 <p>Initialise·the·font·addon.</p>
355 <p>Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to358 <p>Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to
356 initialise·allegro_image·separately·(unless·you·are·using·another359 initialise·allegro_image·separately·(unless·you·are·using·another
357 library·to·load·images).</p>360 library·to·load·images).</p>
Offset 371, 35 lines modifiedOffset 374, 38 lines modified
371 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L28">ex_disable_screensaver.c</a></li>374 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_disable_screensaver.c#L28">ex_disable_screensaver.c</a></li>
372 <li><a375 <li><a
373 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L104">ex_font_justify.cpp</a></li>376 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L104">ex_font_justify.cpp</a></li>
374 <li><a377 <li><a
375 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timedwait.c#L30">ex_timedwait.c</a></li>378 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timedwait.c#L30">ex_timedwait.c</a></li>
376 </ul>379 </ul>
377 <h2·id="al_is_font_addon_initialized">al_is_font_addon_initialized</h2>380 <h2·id="al_is_font_addon_initialized">al_is_font_addon_initialized</h2>
378 <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>381 <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>
 382 <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>
379 <p><a383 <p><a
380 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L393">Source384 href="https://github.com/liballeg/allegro5/blob/master/addons/font/foe_frequency(const%20ALLEGRO_VOICE%20*voice)#Laddons/audio/kcm_voice.c">Source
381 Code</a></p>385 Code</a></p>
382 <p>Returns·true·if·the·font·addon·is·initialized,·otherwise·returns386 <p>Returns·true·if·the·font·addon·is·initialized,·otherwise·returns
383 false.</p>387 false.</p>
384 <p>Since:·5.2.6</p>388 <p>Since:·5.2.6</p>
385 <p>See·also:·<a389 <p>See·also:·<a
386 href="font.html#al_init_font_addon">al_init_font_addon</a>,·<a390 href="font.html#al_init_font_addon">al_init_font_addon</a>,·<a
387 href="font.html#al_shutdown_font_addon">al_shutdown_font_addon</a></p>391 href="font.html#al_shutdown_font_addon">al_shutdown_font_addon</a></p>
388 <h2·id="al_shutdown_font_addon">al_shutdown_font_addon</h2>392 <h2·id="al_shutdown_font_addon">al_shutdown_font_addon</h2>
389 <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>393 <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>
 394 <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>
390 <p><a395 <p><a
391 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L402">Source396 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L402">Source
392 Code</a></p>397 Code</a></p>
393 <p>Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,398 <p>Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,
394 but·can·be·called·any·time·the·user·wishes·as·well.</p>399 but·can·be·called·any·time·the·user·wishes·as·well.</p>
395 <p>See·also:·<a400 <p>See·also:·<a
396 href="font.html#al_init_font_addon">al_init_font_addon</a></p>401 href="font.html#al_init_font_addon">al_init_font_addon</a></p>
397 <h2·id="al_load_font">al_load_font</h2>402 <h2·id="al_load_font">al_load_font</h2>
398 <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>403 <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>
 404 <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>
399 <p><a405 <p><a
400 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L450">Source406 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L450">Source
401 Code</a></p>407 Code</a></p>
402 <p>Loads·a·font·from·disk.·This·will·use·<a408 <p>Loads·a·font·from·disk.·This·will·use·<a
403 href="font.html#al_load_bitmap_font_flags">al_load_bitmap_font_flags</a>409 href="font.html#al_load_bitmap_font_flags">al_load_bitmap_font_flags</a>
404 if·you·pass·the·name·of·a·known·bitmap·format,·or·else·<a410 if·you·pass·the·name·of·a·known·bitmap·format,·or·else·<a
405 href="font.html#al_load_ttf_font">al_load_ttf_font</a>.</p>411 href="font.html#al_load_ttf_font">al_load_ttf_font</a>.</p>
Offset 418, 15 lines modifiedOffset 424, 16 lines modified
418 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L116">ex_font_justify.cpp</a></li>424 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L116">ex_font_justify.cpp</a></li>
419 <li><a425 <li><a
420 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_membmp.c#L104">ex_membmp.c</a></li>426 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_membmp.c#L104">ex_membmp.c</a></li>
421 <li><a427 <li><a
422 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L60">ex_window_title.c</a></li>428 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_title.c#L60">ex_window_title.c</a></li>
423 </ul>429 </ul>
424 <h2·id="al_destroy_font">al_destroy_font</h2>430 <h2·id="al_destroy_font">al_destroy_font</h2>
425 <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>431 <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>
 432 <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>
426 <p><a433 <p><a
427 href="https://github.com/liballeg/allegro5/blob/master/addons/font/text.c#L357">Source434 href="https://github.com/liballeg/allegro5/blob/master/addons/font/text.c#L357">Source
428 Code</a></p>435 Code</a></p>
429 <p>Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if436 <p>Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if
430 passed·NULL.</p>437 passed·NULL.</p>
431 <p>See·also:·<a·href="font.html#al_load_font">al_load_font</a></p>438 <p>See·also:·<a·href="font.html#al_load_font">al_load_font</a></p>
432 <p>Examples:</p>439 <p>Examples:</p>
Offset 436, 30 lines modifiedOffset 443, 33 lines modified
436 <li><a443 <li><a
437 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L139">ex_font_justify.cpp</a></li>444 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_justify.cpp#L139">ex_font_justify.cpp</a></li>
438 <li><a445 <li><a
439 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L86">ex_cpu.c</a></li>446 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L86">ex_cpu.c</a></li>
440 </ul>447 </ul>
441 <h2·id="al_register_font_loader">al_register_font_loader</h2>448 <h2·id="al_register_font_loader">al_register_font_loader</h2>
442 <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>449 <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>
 450 <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>
 451 <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>
443 <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>452 <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>
444 <p><a453 <p><a
445 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L426">Source454 href="https://github.com/liballeg/allegro5/blob/master/addons/font/font.c#L426">Source
446 Code</a></p>455 Code</a></p>
447 <p>Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files456 <p>Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files
448 of·this·format.</p>457 of·this·format.</p>
449 <p>The·<code>extension</code>·should·include·the·leading·dot·(‘.’)458 <p>The·<code>extension</code>·should·include·the·leading·dot·(‘.’)
450 character.·It·will·be·matched·case-insensitively.</p>459 character.·It·will·be·matched·case-insensitively.</p>
451 <p>The·<code>load_font</code>·argument·may·be·NULL·to·unregister·an460 <p>The·<code>load_font</code>·argument·may·be·NULL·to·unregister·an
452 entry.</p>461 entry.</p>
453 <p>Returns·true·on·success,·false·on·error.·Returns·false·if462 <p>Returns·true·on·success,·false·on·error.·Returns·false·if
Max diff block lines reached; 82475/96824 bytes (85.18%) of diff not shown.
36.5 KB
html2text {}
    
Offset 97, 26 lines modifiedOffset 97, 28 lines modified
97 ··········o·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h97 ··········o·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h
98 These·functions·are·declared·in·the·following·header·file.·Link·with98 These·functions·are·declared·in·the·following·header·file.·Link·with
99 allegro_font.99 allegro_font.
100 ·#include·<allegro5/allegro_font.h>100 ·#include·<allegro5/allegro_font.h>
101 *\x8**\x8**\x8**\x8**\x8**\x8*·G\x8Ge\x8en\x8ne\x8er\x8ra\x8al\x8l·f\x8fo\x8on\x8nt\x8t·r\x8ro\x8ou\x8ut\x8ti\x8in\x8ne\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*101 *\x8**\x8**\x8**\x8**\x8**\x8*·G\x8Ge\x8en\x8ne\x8er\x8ra\x8al\x8l·f\x8fo\x8on\x8nt\x8t·r\x8ro\x8ou\x8ut\x8ti\x8in\x8ne\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
102 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FO\x8ON\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8*102 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FO\x8ON\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8*
103 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;103 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;
 104 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;
104 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e105 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
105 A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it·with106 A·handle·identifying·any·kind·of·font.·Usually·you·will·create·it·with
106 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8f_\x8o_\x8n_\x8t·which·supports·loading·all·kinds·of·TrueType·fonts·supported·by107 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8f_\x8o_\x8n_\x8t·which·supports·loading·all·kinds·of·TrueType·fonts·supported·by
107 the·FreeType·library.·If·you·instead·pass·the·filename·of·a·bitmap·file,·it108 the·FreeType·library.·If·you·instead·pass·the·filename·of·a·bitmap·file,·it
108 will·be·loaded·with·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p·and·a·font·in·Allegro’s·bitmap·font·format109 will·be·loaded·with·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p·and·a·font·in·Allegro’s·bitmap·font·format
109 will·be·created·from·it·with·_\x8a_\x8l_\x8__\x8g_\x8r_\x8a_\x8b_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8f_\x8r_\x8o_\x8m_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p.110 will·be·created·from·it·with·_\x8a_\x8l_\x8__\x8g_\x8r_\x8a_\x8b_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8f_\x8r_\x8o_\x8m_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p.
110 Examples:111 Examples:
111 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8c_\x8r_\x8e_\x8e_\x8n_\x8s_\x8a_\x8v_\x8e_\x8r_\x8._\x8c112 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8c_\x8r_\x8e_\x8e_\x8n_\x8s_\x8a_\x8v_\x8e_\x8r_\x8._\x8c
112 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p113 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
113 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8d_\x8w_\x8a_\x8i_\x8t_\x8._\x8c114 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8d_\x8w_\x8a_\x8i_\x8t_\x8._\x8c
114 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_G\x8GL\x8LY\x8YP\x8PH\x8H·*\x8**\x8**\x8**\x8**\x8*115 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_G\x8GL\x8LY\x8YP\x8PH\x8H·*\x8**\x8**\x8**\x8**\x8*
115 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;116 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;
 117 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;
116 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e118 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
117 A·structure·containing·the·properties·of·a·character·in·a·font.119 A·structure·containing·the·properties·of·a·character·in·a·font.
118 typedef·struct·ALLEGRO_GLYPH·{120 typedef·struct·ALLEGRO_GLYPH·{
119 ···ALLEGRO_BITMAP·*bitmap;···//·the·bitmap·the·character·is·on121 ···ALLEGRO_BITMAP·*bitmap;···//·the·bitmap·the·character·is·on
120 ···int·x;····················//·the·x·position·of·the·glyph·on·bitmap122 ···int·x;····················//·the·x·position·of·the·glyph·on·bitmap
121 ···int·y;····················//·the·y·position·of·the·glyph·on·bitmap123 ···int·y;····················//·the·y·position·of·the·glyph·on·bitmap
122 ···int·w;····················//·the·width·of·the·glyph·in·pixels124 ···int·w;····················//·the·width·of·the·glyph·in·pixels
Offset 139, 14 lines modifiedOffset 141, 15 lines modified
139 Since:·5.2.1141 Since:·5.2.1
140 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·This·API·is·new·and·subject·to·refinement.142 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·This·API·is·new·and·subject·to·refinement.
141 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h143 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h
142 Examples:144 Examples:
143 ····*·_\x8e_\x8x_\x8__\x8t_\x8t_\x8f_\x8._\x8c145 ····*·_\x8e_\x8x_\x8__\x8t_\x8t_\x8f_\x8._\x8c
144 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*146 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*
145 bool·al_init_font_addon(void)147 bool·al_init_font_addon(void)
 148 bool·al_init_font_addon(void)
146 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e149 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
147 Initialise·the·font·addon.150 Initialise·the·font·addon.
148 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to·initialise151 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to·initialise
149 allegro_image·separately·(unless·you·are·using·another·library·to·load·images).152 allegro_image·separately·(unless·you·are·using·another·library·to·load·images).
150 Similarly,·if·you·wish·to·load·truetype-fonts,·do·not·forget·to·also·call153 Similarly,·if·you·wish·to·load·truetype-fonts,·do·not·forget·to·also·call
151 _\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8t_\x8t_\x8f_\x8__\x8a_\x8d_\x8d_\x8o_\x8n.154 _\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8t_\x8t_\x8f_\x8__\x8a_\x8d_\x8d_\x8o_\x8n.
152 Returns·true·on·success,·false·on·failure.·On·the·5.0·branch,·this·function·has155 Returns·true·on·success,·false·on·failure.·On·the·5.0·branch,·this·function·has
Offset 156, 61 lines modifiedOffset 159, 68 lines modified
156 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8t_\x8t_\x8f_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n159 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8t_\x8t_\x8f_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
157 Examples:160 Examples:
158 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8c_\x8r_\x8e_\x8e_\x8n_\x8s_\x8a_\x8v_\x8e_\x8r_\x8._\x8c161 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8c_\x8r_\x8e_\x8e_\x8n_\x8s_\x8a_\x8v_\x8e_\x8r_\x8._\x8c
159 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p162 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
160 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8d_\x8w_\x8a_\x8i_\x8t_\x8._\x8c163 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8d_\x8w_\x8a_\x8i_\x8t_\x8._\x8c
161 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*164 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*
162 bool·al_is_font_addon_initialized(void)165 bool·al_is_font_addon_initialized(void)
 166 bool·al_is_font_addon_initialized(void)
163 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e167 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
164 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.168 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.
165 Since:·5.2.6169 Since:·5.2.6
166 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n170 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
167 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*171 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*
168 void·al_shutdown_font_addon(void)172 void·al_shutdown_font_addon(void)
 173 void·al_shutdown_font_addon(void)
169 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e174 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
170 Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,·but·can175 Shut·down·the·font·addon.·This·is·done·automatically·at·program·exit,·but·can
171 be·called·any·time·the·user·wishes·as·well.176 be·called·any·time·the·user·wishes·as·well.
172 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n177 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
173 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_l\x8lo\x8oa\x8ad\x8d_\x8_f\x8fo\x8on\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*178 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_l\x8lo\x8oa\x8ad\x8d_\x8_f\x8fo\x8on\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
174 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)179 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)
 180 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)
175 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e181 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
176 Loads·a·font·from·disk.·This·will·use·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s·if·you·pass·the182 Loads·a·font·from·disk.·This·will·use·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s·if·you·pass·the
177 name·of·a·known·bitmap·format,·or·else·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8t_\x8f_\x8__\x8f_\x8o_\x8n_\x8t.183 name·of·a·known·bitmap·format,·or·else·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8t_\x8f_\x8__\x8f_\x8o_\x8n_\x8t.
178 The·flags·parameter·is·passed·through·to·either·of·those·functions.·Bitmap·and184 The·flags·parameter·is·passed·through·to·either·of·those·functions.·Bitmap·and
179 TTF·fonts·are·also·affected·by·the·current·_\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8·_\x8f_\x8l_\x8a_\x8g_\x8s·at·the·time·the·font·is185 TTF·fonts·are·also·affected·by·the·current·_\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8·_\x8f_\x8l_\x8a_\x8g_\x8s·at·the·time·the·font·is
180 loaded.186 loaded.
181 See·also:·_\x8a_\x8l_\x8__\x8d_\x8e_\x8s_\x8t_\x8r_\x8o_\x8y_\x8__\x8f_\x8o_\x8n_\x8t,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8g_\x8i_\x8s_\x8t_\x8e_\x8r_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8l_\x8o_\x8a_\x8d_\x8e_\x8r,187 See·also:·_\x8a_\x8l_\x8__\x8d_\x8e_\x8s_\x8t_\x8r_\x8o_\x8y_\x8__\x8f_\x8o_\x8n_\x8t,·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8g_\x8i_\x8s_\x8t_\x8e_\x8r_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8l_\x8o_\x8a_\x8d_\x8e_\x8r,
182 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8t_\x8f_\x8__\x8f_\x8o_\x8n_\x8t188 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8t_\x8f_\x8__\x8f_\x8o_\x8n_\x8t
183 Examples:189 Examples:
184 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p190 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
185 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8b_\x8m_\x8p_\x8._\x8c191 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8b_\x8m_\x8p_\x8._\x8c
186 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e_\x8._\x8c192 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8t_\x8i_\x8t_\x8l_\x8e_\x8._\x8c
187 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8de\x8es\x8st\x8tr\x8ro\x8oy\x8y_\x8_f\x8fo\x8on\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*193 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8de\x8es\x8st\x8tr\x8ro\x8oy\x8y_\x8_f\x8fo\x8on\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
188 void·al_destroy_font(ALLEGRO_FONT·*f)194 void·al_destroy_font(ALLEGRO_FONT·*f)
 195 void·al_destroy_font(ALLEGRO_FONT·*f)
189 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e196 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
190 Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if·passed·NULL.197 Frees·the·memory·being·used·by·a·font·structure.·Does·nothing·if·passed·NULL.
191 See·also:·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8f_\x8o_\x8n_\x8t198 See·also:·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8f_\x8o_\x8n_\x8t
192 Examples:199 Examples:
193 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8c_\x8r_\x8e_\x8e_\x8n_\x8s_\x8a_\x8v_\x8e_\x8r_\x8._\x8c200 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8c_\x8r_\x8e_\x8e_\x8n_\x8s_\x8a_\x8v_\x8e_\x8r_\x8._\x8c
194 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p201 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
195 ····*·_\x8e_\x8x_\x8__\x8c_\x8p_\x8u_\x8._\x8c202 ····*·_\x8e_\x8x_\x8__\x8c_\x8p_\x8u_\x8._\x8c
196 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8eg\x8gi\x8is\x8st\x8te\x8er\x8r_\x8_f\x8fo\x8on\x8nt\x8t_\x8_l\x8lo\x8oa\x8ad\x8de\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*203 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8eg\x8gi\x8is\x8st\x8te\x8er\x8r_\x8_f\x8fo\x8on\x8nt\x8t_\x8_l\x8lo\x8oa\x8ad\x8de\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*
197 bool·al_register_font_loader(char·const·*extension,204 bool·al_register_font_loader(char·const·*extension,
198 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))205 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))
 206 bool·al_register_font_loader(char·const·*extension,
 207 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))
199 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e208 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
200 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of·this209 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of·this
201 format.210 format.
202 The·extension·should·include·the·leading·dot·(‘.’)·character.·It·will·be211 The·extension·should·include·the·leading·dot·(‘.’)·character.·It·will·be
203 matched·case-insensitively.212 matched·case-insensitively.
204 The·load_font·argument·may·be·NULL·to·unregister·an·entry.213 The·load_font·argument·may·be·NULL·to·unregister·an·entry.
205 Returns·true·on·success,·false·on·error.·Returns·false·if·unregistering·an214 Returns·true·on·success,·false·on·error.·Returns·false·if·unregistering·an
206 entry·that·doesn’t·exist.215 entry·that·doesn’t·exist.
207 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n216 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
208 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_f\x8fo\x8on\x8nt\x8t_\x8_l\x8li\x8in\x8ne\x8e_\x8_h\x8he\x8ei\x8ig\x8gh\x8ht\x8t·*\x8**\x8**\x8**\x8**\x8*217 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_f\x8fo\x8on\x8nt\x8t_\x8_l\x8li\x8in\x8ne\x8e_\x8_h\x8he\x8ei\x8ig\x8gh\x8ht\x8t·*\x8**\x8**\x8**\x8**\x8*
209 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)218 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)
 219 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)
210 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e220 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
211 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.·For·bitmap221 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.·For·bitmap
212 fonts·this·is·simply·the·height·of·all·glyph·bitmaps.·For·truetype·fonts·it·is222 fonts·this·is·simply·the·height·of·all·glyph·bitmaps.·For·truetype·fonts·it·is
213 whatever·the·font·file·specifies.·In·particular,·some·special·glyphs·may·be223 whatever·the·font·file·specifies.·In·particular,·some·special·glyphs·may·be
214 higher·than·the·height·returned·here.224 higher·than·the·height·returned·here.
215 If·the·X·is·the·position·you·specify·to·draw·text,·the·meaning·of·ascent·and225 If·the·X·is·the·position·you·specify·to·draw·text,·the·meaning·of·ascent·and
216 descent·and·the·line·height·is·like·in·the·figure·below.226 descent·and·the·line·height·is·like·in·the·figure·below.
Offset 228, 46 lines modifiedOffset 238, 53 lines modified
228 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8x_\x8t_\x8__\x8w_\x8i_\x8d_\x8t_\x8h,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8x_\x8t_\x8__\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s238 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8x_\x8t_\x8__\x8w_\x8i_\x8d_\x8t_\x8h,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8x_\x8t_\x8__\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s
229 Examples:239 Examples:
230 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p240 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
231 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8b_\x8m_\x8p_\x8._\x8c241 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8b_\x8m_\x8p_\x8._\x8c
232 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8w_\x8a_\x8r_\x8p_\x8._\x8c242 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8w_\x8a_\x8r_\x8p_\x8._\x8c
233 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8as\x8sc\x8ce\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*243 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_f\x8fo\x8on\x8nt\x8t_\x8_a\x8as\x8sc\x8ce\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
234 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)244 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)
 245 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)
235 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e246 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
236 Returns·the·ascent·of·the·specified·font.247 Returns·the·ascent·of·the·specified·font.
237 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8d_\x8e_\x8s_\x8c_\x8e_\x8n_\x8t,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8l_\x8i_\x8n_\x8e_\x8__\x8h_\x8e_\x8i_\x8g_\x8h_\x8t248 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8d_\x8e_\x8s_\x8c_\x8e_\x8n_\x8t,·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8l_\x8i_\x8n_\x8e_\x8__\x8h_\x8e_\x8i_\x8g_\x8h_\x8t
238 Examples:249 Examples:
239 ····*·_\x8e_\x8x_\x8__\x8t_\x8t_\x8f_\x8._\x8c250 ····*·_\x8e_\x8x_\x8__\x8t_\x8t_\x8f_\x8._\x8c
Max diff block lines reached; 29572/37355 bytes (79.16%) of diff not shown.
9.25 KB
./usr/share/doc/allegro5-doc/refman/fshook.html
    
Offset 242, 15 lines modifiedOffset 242, 16 lines modified
242 </nav>242 </nav>
243 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>243 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
244 <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>244 <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>
245 <p>These·functions·allow·access·to·the·filesystem.·This·can·either·be245 <p>These·functions·allow·access·to·the·filesystem.·This·can·either·be
246 the·real·filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a246 the·real·filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a
247 .zip·archive·(or·whatever·else·you·or·an·addon·makes·it·do).</p>247 .zip·archive·(or·whatever·else·you·or·an·addon·makes·it·do).</p>
248 <h1·id="allegro_fs_entry">ALLEGRO_FS_ENTRY</h1>248 <h1·id="allegro_fs_entry">ALLEGRO_FS_ENTRY</h1>
249 <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>249 <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>
 250 <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>
250 <p><a251 <p><a
251 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L37">Source252 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L37">Source
252 Code</a></p>253 Code</a></p>
253 <p>Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory254 <p>Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory
254 (check·with·<a255 (check·with·<a
255 href="fshook.html#al_get_fs_entry_mode">al_get_fs_entry_mode</a>).·There256 href="fshook.html#al_get_fs_entry_mode">al_get_fs_entry_mode</a>).·There
256 are·no·user·accessible·member·variables.</p>257 are·no·user·accessible·member·variables.</p>
Offset 258, 15 lines modifiedOffset 259, 16 lines modified
258 <ul>259 <ul>
259 <li><a260 <li><a
260 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L6">ex_dir.c</a></li>261 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_dir.c#L6">ex_dir.c</a></li>
261 <li><a262 <li><a
262 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L37">ex_physfs.c</a></li>263 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L37">ex_physfs.c</a></li>
263 </ul>264 </ul>
264 <h1·id="allegro_file_mode">ALLEGRO_FILE_MODE</h1>265 <h1·id="allegro_file_mode">ALLEGRO_FILE_MODE</h1>
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">enum</span>·ALLEGRO_FILE_MODE</span></code></pre></div>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">enum</span>·ALLEGRO_FILE_MODE</span>
 267 <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>
266 <p><a268 <p><a
267 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L46">Source269 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L46">Source
268 Code</a></p>270 Code</a></p>
269 <p>Filesystem·modes/types</p>271 <p>Filesystem·modes/types</p>
270 <ul>272 <ul>
271 <li>ALLEGRO_FILEMODE_READ·-·Readable</li>273 <li>ALLEGRO_FILEMODE_READ·-·Readable</li>
272 <li>ALLEGRO_FILEMODE_WRITE·-·Writable</li>274 <li>ALLEGRO_FILEMODE_WRITE·-·Writable</li>
Offset 591, 15 lines modifiedOffset 593, 16 lines modified
591 entry,·but·uses·the·appropriate·file·interface,·not·whatever·was·set593 entry,·but·uses·the·appropriate·file·interface,·not·whatever·was·set
592 with·the·latest·call·to·<a594 with·the·latest·call·to·<a
593 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>595 href="file.html#al_set_new_file_interface">al_set_new_file_interface</a>.</p>
594 <p>Returns·the·handle·on·success,·NULL·on·error.</p>596 <p>Returns·the·handle·on·success,·NULL·on·error.</p>
595 <p>See·also:·<a·href="file.html#al_fopen">al_fopen</a></p>597 <p>See·also:·<a·href="file.html#al_fopen">al_fopen</a></p>
596 <h2598 <h2
597 id="allegro_for_each_fs_entry_result">ALLEGRO_FOR_EACH_FS_ENTRY_RESULT</h2>599 id="allegro_for_each_fs_entry_result">ALLEGRO_FOR_EACH_FS_ENTRY_RESULT</h2>
598 <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>600 <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>
 601 <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>
599 <p><a602 <p><a
600 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L124">Source603 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L124">Source
601 Code</a></p>604 Code</a></p>
602 <p>Return·values·for·the·callbacks·of·<a605 <p>Return·values·for·the·callbacks·of·<a
603 href="fshook.html#al_for_each_fs_entry">al_for_each_fs_entry</a>·and·for606 href="fshook.html#al_for_each_fs_entry">al_for_each_fs_entry</a>·and·for
604 that·function·itself.</p>607 that·function·itself.</p>
605 <ul>608 <ul>
Offset 678, 15 lines modifiedOffset 681, 16 lines modified
678 <p>By·default,·Allegro·uses·platform·specific·filesystem·functions·for681 <p>By·default,·Allegro·uses·platform·specific·filesystem·functions·for
679 things·like·directory·access.·However·if·for·example·the·files·of·your682 things·like·directory·access.·However·if·for·example·the·files·of·your
680 game·are·not·in·the·local·filesystem·but·inside·some·file·archive,·you683 game·are·not·in·the·local·filesystem·but·inside·some·file·archive,·you
681 can·provide·your·own·set·of·functions·(or·use·an·addon·which·does·this684 can·provide·your·own·set·of·functions·(or·use·an·addon·which·does·this
682 for·you,·for·example·our·physfs·addon·allows·access·to·the·most·common685 for·you,·for·example·our·physfs·addon·allows·access·to·the·most·common
683 archive·formats).</p>686 archive·formats).</p>
684 <h2·id="allegro_fs_interface">ALLEGRO_FS_INTERFACE</h2>687 <h2·id="allegro_fs_interface">ALLEGRO_FS_INTERFACE</h2>
685 <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>688 <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>
 689 <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>
686 <p><a690 <p><a
687 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L64">Source691 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fshook.h#L64">Source
688 Code</a></p>692 Code</a></p>
689 <p>The·available·functions·you·can·provide·for·a·filesystem.·They693 <p>The·available·functions·you·can·provide·for·a·filesystem.·They
690 are:</p>694 are:</p>
691 <pre><code>···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);695 <pre><code>···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);
692 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);696 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);
3.2 KB
html2text {}
    
Offset 76, 22 lines modifiedOffset 76, 24 lines modified
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 These·functions·allow·access·to·the·filesystem.·This·can·either·be·the·real78 These·functions·allow·access·to·the·filesystem.·This·can·either·be·the·real
79 filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a·.zip·archive·(or79 filesystem·like·your·harddrive,·or·a·virtual·filesystem·like·a·.zip·archive·(or
80 whatever·else·you·or·an·addon·makes·it·do).80 whatever·else·you·or·an·addon·makes·it·do).
81 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FS\x8S_\x8_E\x8EN\x8NT\x8TR\x8RY\x8Y·*\x8**\x8**\x8**\x8**\x8**\x8*81 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FS\x8S_\x8_E\x8EN\x8NT\x8TR\x8RY\x8Y·*\x8**\x8**\x8**\x8**\x8**\x8*
82 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;82 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;
 83 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;
83 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e84 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
84 Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory·(check·with85 Opaque·filesystem·entry·object.·Represents·a·file·or·a·directory·(check·with
85 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8s_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8__\x8m_\x8o_\x8d_\x8e).·There·are·no·user·accessible·member·variables.86 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8f_\x8s_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8__\x8m_\x8o_\x8d_\x8e).·There·are·no·user·accessible·member·variables.
86 Examples:87 Examples:
87 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8r_\x8._\x8c88 ····*·_\x8e_\x8x_\x8__\x8d_\x8i_\x8r_\x8._\x8c
88 ····*·_\x8e_\x8x_\x8__\x8p_\x8h_\x8y_\x8s_\x8f_\x8s_\x8._\x8c89 ····*·_\x8e_\x8x_\x8__\x8p_\x8h_\x8y_\x8s_\x8f_\x8s_\x8._\x8c
89 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8E_\x8_M\x8MO\x8OD\x8DE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*90 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8E_\x8_M\x8MO\x8OD\x8DE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
90 typedef·enum·ALLEGRO_FILE_MODE91 typedef·enum·ALLEGRO_FILE_MODE
 92 typedef·enum·ALLEGRO_FILE_MODE
91 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e93 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
92 Filesystem·modes/types94 Filesystem·modes/types
93 ····*·ALLEGRO_FILEMODE_READ·-·Readable95 ····*·ALLEGRO_FILEMODE_READ·-·Readable
94 ····*·ALLEGRO_FILEMODE_WRITE·-·Writable96 ····*·ALLEGRO_FILEMODE_WRITE·-·Writable
95 ····*·ALLEGRO_FILEMODE_EXECUTE·-·Executable97 ····*·ALLEGRO_FILEMODE_EXECUTE·-·Executable
96 ····*·ALLEGRO_FILEMODE_HIDDEN·-·Hidden98 ····*·ALLEGRO_FILEMODE_HIDDEN·-·Hidden
97 ····*·ALLEGRO_FILEMODE_ISFILE·-·Regular·file99 ····*·ALLEGRO_FILEMODE_ISFILE·-·Regular·file
Offset 279, 14 lines modifiedOffset 281, 15 lines modified
279 This·is·like·calling·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·with·the·name·of·the·filesystem·entry,·but·uses281 This·is·like·calling·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·with·the·name·of·the·filesystem·entry,·but·uses
280 the·appropriate·file·interface,·not·whatever·was·set·with·the·latest·call·to282 the·appropriate·file·interface,·not·whatever·was·set·with·the·latest·call·to
281 _\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e.283 _\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e.
282 Returns·the·handle·on·success,·NULL·on·error.284 Returns·the·handle·on·success,·NULL·on·error.
283 See·also:·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n285 See·also:·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n
284 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FO\x8OR\x8R_\x8_E\x8EA\x8AC\x8CH\x8H_\x8_F\x8FS\x8S_\x8_E\x8EN\x8NT\x8TR\x8RY\x8Y_\x8_R\x8RE\x8ES\x8SU\x8UL\x8LT\x8T·*\x8**\x8**\x8**\x8**\x8*286 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FO\x8OR\x8R_\x8_E\x8EA\x8AC\x8CH\x8H_\x8_F\x8FS\x8S_\x8_E\x8EN\x8NT\x8TR\x8RY\x8Y_\x8_R\x8RE\x8ES\x8SU\x8UL\x8LT\x8T·*\x8**\x8**\x8**\x8**\x8*
285 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{287 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{
 288 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{
286 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e289 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
287 Return·values·for·the·callbacks·of·_\x8a_\x8l_\x8__\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8__\x8f_\x8s_\x8__\x8e_\x8n_\x8t_\x8r_\x8y·and·for·that·function290 Return·values·for·the·callbacks·of·_\x8a_\x8l_\x8__\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8__\x8f_\x8s_\x8__\x8e_\x8n_\x8t_\x8r_\x8y·and·for·that·function
288 itself.291 itself.
289 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_ERROR·-·An·error·ocurred.292 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_ERROR·-·An·error·ocurred.
290 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_OK·-·Continue·normally·and·recurse·into293 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_OK·-·Continue·normally·and·recurse·into
291 ······directories.294 ······directories.
292 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_SKIP·-·Continue·but·do·NOT·recusively·descend.295 ····*·ALLEGRO_FOR_EACH_FS_ENTRY_SKIP·-·Continue·but·do·NOT·recusively·descend.
Offset 333, 14 lines modifiedOffset 336, 15 lines modified
333 By·default,·Allegro·uses·platform·specific·filesystem·functions·for·things·like336 By·default,·Allegro·uses·platform·specific·filesystem·functions·for·things·like
334 directory·access.·However·if·for·example·the·files·of·your·game·are·not·in·the337 directory·access.·However·if·for·example·the·files·of·your·game·are·not·in·the
335 local·filesystem·but·inside·some·file·archive,·you·can·provide·your·own·set·of338 local·filesystem·but·inside·some·file·archive,·you·can·provide·your·own·set·of
336 functions·(or·use·an·addon·which·does·this·for·you,·for·example·our·physfs339 functions·(or·use·an·addon·which·does·this·for·you,·for·example·our·physfs
337 addon·allows·access·to·the·most·common·archive·formats).340 addon·allows·access·to·the·most·common·archive·formats).
338 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FS\x8S_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RF\x8FA\x8AC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8*341 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FS\x8S_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RF\x8FA\x8AC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8*
339 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;342 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;
 343 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;
340 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e344 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
341 The·available·functions·you·can·provide·for·a·filesystem.·They·are:345 The·available·functions·you·can·provide·for·a·filesystem.·They·are:
342 ···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);346 ···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);
343 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);347 ···void················fs_destroy_entry··(ALLEGRO_FS_ENTRY·*e);
344 ···const·char·*········fs_entry_name·····(ALLEGRO_FS_ENTRY·*e);348 ···const·char·*········fs_entry_name·····(ALLEGRO_FS_ENTRY·*e);
345 ···bool················fs_update_entry···(ALLEGRO_FS_ENTRY·*e);349 ···bool················fs_update_entry···(ALLEGRO_FS_ENTRY·*e);
346 ···uint32_t············fs_entry_mode·····(ALLEGRO_FS_ENTRY·*e);350 ···uint32_t············fs_entry_mode·····(ALLEGRO_FS_ENTRY·*e);
2.81 KB
./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html
    
Offset 180, 15 lines modifiedOffset 180, 16 lines modified
180 <li><a·href="#al_get_num_display_modes"180 <li><a·href="#al_get_num_display_modes"
181 id="toc-al_get_num_display_modes">al_get_num_display_modes</a></li>181 id="toc-al_get_num_display_modes">al_get_num_display_modes</a></li>
182 </ul>182 </ul>
183 </nav>183 </nav>
184 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>184 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
185 <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 <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>
186 <h1·id="allegro_display_mode">ALLEGRO_DISPLAY_MODE</h1>186 <h1·id="allegro_display_mode">ALLEGRO_DISPLAY_MODE</h1>
187 <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>187 <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>
 188 <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>
188 <p><a189 <p><a
189 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fullscreen_mode.h#L13">Source190 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/fullscreen_mode.h#L13">Source
190 Code</a></p>191 Code</a></p>
191 <p>Used·for·fullscreen·mode·queries.·Contains·information·about·a192 <p>Used·for·fullscreen·mode·queries.·Contains·information·about·a
192 supported·fullscreen·modes.</p>193 supported·fullscreen·modes.</p>
193 <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>194 <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>
194 <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>195 <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>
830 B
html2text {}
    
Offset 46, 14 lines modifiedOffset 46, 15 lines modified
46 ····*·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y_\x8__\x8M_\x8O_\x8D_\x8E46 ····*·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y_\x8__\x8M_\x8O_\x8D_\x8E
47 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8m_\x8o_\x8d_\x8e47 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8m_\x8o_\x8d_\x8e
48 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8u_\x8m_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8m_\x8o_\x8d_\x8e_\x8s48 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8u_\x8m_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8m_\x8o_\x8d_\x8e_\x8s
49 These·functions·are·declared·in·the·main·Allegro·header·file:49 These·functions·are·declared·in·the·main·Allegro·header·file:
50 ·#include·<allegro5/allegro.h>50 ·#include·<allegro5/allegro.h>
51 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_D\x8DI\x8IS\x8SP\x8PL\x8LA\x8AY\x8Y_\x8_M\x8MO\x8OD\x8DE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*51 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_D\x8DI\x8IS\x8SP\x8PL\x8LA\x8AY\x8Y_\x8_M\x8MO\x8OD\x8DE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
52 typedef·struct·ALLEGRO_DISPLAY_MODE52 typedef·struct·ALLEGRO_DISPLAY_MODE
 53 typedef·struct·ALLEGRO_DISPLAY_MODE
53 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e54 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
54 Used·for·fullscreen·mode·queries.·Contains·information·about·a·supported55 Used·for·fullscreen·mode·queries.·Contains·information·about·a·supported
55 fullscreen·modes.56 fullscreen·modes.
56 typedef·struct·ALLEGRO_DISPLAY_MODE·{57 typedef·struct·ALLEGRO_DISPLAY_MODE·{
57 ···int·width;··········//·Screen·width58 ···int·width;··········//·Screen·width
58 ···int·height;·········//·Screen·height59 ···int·height;·········//·Screen·height
59 ···int·format;·········//·The·pixel·format·of·the·mode60 ···int·format;·········//·The·pixel·format·of·the·mode
17.9 KB
./usr/share/doc/allegro5-doc/refman/graphics.html
    
Offset 441, 15 lines modifiedOffset 441, 16 lines modified
441 </ul></li>441 </ul></li>
442 </ul>442 </ul>
443 </nav>443 </nav>
444 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>444 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
445 <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>445 <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>
446 <h1·id="colors">Colors</h1>446 <h1·id="colors">Colors</h1>
447 <h2·id="allegro_color">ALLEGRO_COLOR</h2>447 <h2·id="allegro_color">ALLEGRO_COLOR</h2>
448 <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>448 <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>
 449 <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>
449 <p><a450 <p><a
450 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L13">Source451 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L13">Source
451 Code</a></p>452 Code</a></p>
452 <p>An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent453 <p>An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent
453 way.·Use·<a·href="graphics.html#al_map_rgb">al_map_rgb</a>·et·al. and·<a454 way.·Use·<a·href="graphics.html#al_map_rgb">al_map_rgb</a>·et·al. and·<a
454 href="graphics.html#al_unmap_rgb">al_unmap_rgb</a>·et·al. to·translate455 href="graphics.html#al_unmap_rgb">al_unmap_rgb</a>·et·al. to·translate
455 from·and·to·various·color·representations.</p>456 from·and·to·various·color·representations.</p>
Offset 677, 15 lines modifiedOffset 678, 16 lines modified
677 <li><a678 <li><a
678 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_test.c#L16">ex_blend_test.c</a></li>679 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_test.c#L16">ex_blend_test.c</a></li>
679 <li><a680 <li><a
680 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_logo.c#L138">ex_logo.c</a></li>681 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_logo.c#L138">ex_logo.c</a></li>
681 </ul>682 </ul>
682 <h1·id="locking-and-pixel-formats">Locking·and·pixel·formats</h1>683 <h1·id="locking-and-pixel-formats">Locking·and·pixel·formats</h1>
683 <h2·id="allegro_locked_region">ALLEGRO_LOCKED_REGION</h2>684 <h2·id="allegro_locked_region">ALLEGRO_LOCKED_REGION</h2>
684 <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>685 <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>
 686 <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>
685 <p><a687 <p><a
686 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap_lock.h#L23">Source688 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap_lock.h#L23">Source
687 Code</a></p>689 Code</a></p>
688 <p>Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to690 <p>Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to
689 lock·it·first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked691 lock·it·first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked
690 region·of·the·bitmap.·This·call·will·work·with·any·bitmap,·including692 region·of·the·bitmap.·This·call·will·work·with·any·bitmap,·including
691 memory·bitmaps.</p>693 memory·bitmaps.</p>
Offset 722, 15 lines modifiedOffset 724, 16 lines modified
722 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_lockbitmap.c#L21">ex_lockbitmap.c</a></li>724 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_lockbitmap.c#L21">ex_lockbitmap.c</a></li>
723 <li><a725 <li><a
724 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_premulalpha.c#L16">ex_premulalpha.c</a></li>726 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_premulalpha.c#L16">ex_premulalpha.c</a></li>
725 <li><a727 <li><a
726 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L52">ex_multisample.c</a></li>728 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_multisample.c#L52">ex_multisample.c</a></li>
727 </ul>729 </ul>
728 <h2·id="allegro_pixel_format">ALLEGRO_PIXEL_FORMAT</h2>730 <h2·id="allegro_pixel_format">ALLEGRO_PIXEL_FORMAT</h2>
729 <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>731 <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>
 732 <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>
730 <p><a733 <p><a
731 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L23">Source734 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/color.h#L23">Source
732 Code</a></p>735 Code</a></p>
733 <p>Pixel·formats.·Each·pixel·format·specifies·the·exact·size·and·bit736 <p>Pixel·formats.·Each·pixel·format·specifies·the·exact·size·and·bit
734 layout·of·a·pixel·in·memory.·Components·are·specified·from·high·bits·to737 layout·of·a·pixel·in·memory.·Components·are·specified·from·high·bits·to
735 low·bits,·so·for·example·a·fully·opaque·red·pixel·in·ARGB_8888·format·is738 low·bits,·so·for·example·a·fully·opaque·red·pixel·in·ARGB_8888·format·is
736 0xFFFF0000.</p>739 0xFFFF0000.</p>
Offset 1083, 15 lines modifiedOffset 1086, 16 lines modified
1083 <p>Examples:</p>1086 <p>Examples:</p>
1084 <ul>1087 <ul>
1085 <li><a1088 <li><a
1086 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_compressed.c#L114">ex_compressed.c</a></li>1089 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_compressed.c#L114">ex_compressed.c</a></li>
1087 </ul>1090 </ul>
1088 <h1·id="bitmap-creation">Bitmap·creation</h1>1091 <h1·id="bitmap-creation">Bitmap·creation</h1>
1089 <h2·id="allegro_bitmap">ALLEGRO_BITMAP</h2>1092 <h2·id="allegro_bitmap">ALLEGRO_BITMAP</h2>
1090 <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>1093 <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>
 1094 <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>
1091 <p><a1095 <p><a
1092 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L12">Source1096 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L12">Source
1093 Code</a></p>1097 Code</a></p>
1094 <p>Abstract·type·representing·a·bitmap·(2D·image).</p>1098 <p>Abstract·type·representing·a·bitmap·(2D·image).</p>
1095 <p>Examples:</p>1099 <p>Examples:</p>
1096 <ul>1100 <ul>
1097 <li><a1101 <li><a
Offset 1605, 15 lines modifiedOffset 1609, 16 lines modified
1605 <blockquote>1609 <blockquote>
1606 <p><em><a·href="getting_started.html#unstable-api">Unstable1610 <p><em><a·href="getting_started.html#unstable-api">Unstable
1607 API</a>:</em>·This·is·an·experimental·feature.</p>1611 API</a>:</em>·This·is·an·experimental·feature.</p>
1608 </blockquote>1612 </blockquote>
1609 <p>See·also:·<a1613 <p>See·also:·<a
1610 href="graphics.html#allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</a></p>1614 href="graphics.html#allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</a></p>
1611 <h2·id="allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</h2>1615 <h2·id="allegro_bitmap_wrap">ALLEGRO_BITMAP_WRAP</h2>
1612 <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>1616 <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>
 1617 <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>
1613 <p><a1618 <p><a
1614 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L17">Source1619 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/bitmap.h#L17">Source
1615 Code</a></p>1620 Code</a></p>
1616 <p>Controls·the·how·the·pixel·color·is·determined·from·a·texture1621 <p>Controls·the·how·the·pixel·color·is·determined·from·a·texture
1617 querying·the·texture·coordinates·are·outside·the·usual·bounds.</p>1622 querying·the·texture·coordinates·are·outside·the·usual·bounds.</p>
1618 <ul>1623 <ul>
1619 <li><p>ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This1624 <li><p>ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This
Offset 3297, 15 lines modifiedOffset 3302, 16 lines modified
3297 <p>See·also:·<a3302 <p>See·also:·<a
3298 href="image.html#al_init_image_addon">al_init_image_addon</a>,·<a3303 href="image.html#al_init_image_addon">al_init_image_addon</a>,·<a
3299 href="graphics.html#al_identify_bitmap">al_identify_bitmap</a>,·<a3304 href="graphics.html#al_identify_bitmap">al_identify_bitmap</a>,·<a
3300 href="graphics.html#al_register_bitmap_identifier">al_register_bitmap_identifier</a></p>3305 href="graphics.html#al_register_bitmap_identifier">al_register_bitmap_identifier</a></p>
3301 <h1·id="render-state">Render·State</h1>3306 <h1·id="render-state">Render·State</h1>
3302 <h2·id="allegro_render_state">ALLEGRO_RENDER_STATE</h2>3307 <h2·id="allegro_render_state">ALLEGRO_RENDER_STATE</h2>
3303 <div·class="sourceCode"·id="cb150"><pre3308 <div·class="sourceCode"·id="cb150"><pre
3304 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>3309 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>
 3310 <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>
3305 <p><a3311 <p><a
3306 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L12">Source3312 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L12">Source
3307 Code</a></p>3313 Code</a></p>
3308 <p>Possible·render·states·which·can·be·set·with·<a3314 <p>Possible·render·states·which·can·be·set·with·<a
3309 href="graphics.html#al_set_render_state">al_set_render_state</a>:</p>3315 href="graphics.html#al_set_render_state">al_set_render_state</a>:</p>
3310 <dl>3316 <dl>
3311 <dt>ALLEGRO_ALPHA_TEST</dt>3317 <dt>ALLEGRO_ALPHA_TEST</dt>
Offset 3353, 15 lines modifiedOffset 3359, 16 lines modified
3353 <p>See·also:·<a3359 <p>See·also:·<a
3354 href="graphics.html#al_set_render_state">al_set_render_state</a>,·<a3360 href="graphics.html#al_set_render_state">al_set_render_state</a>,·<a
3355 href="graphics.html#allegro_render_function">ALLEGRO_RENDER_FUNCTION</a>,3361 href="graphics.html#allegro_render_function">ALLEGRO_RENDER_FUNCTION</a>,
3356 <a3362 <a
3357 href="graphics.html#allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</a></p>3363 href="graphics.html#allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</a></p>
3358 <h2·id="allegro_render_function">ALLEGRO_RENDER_FUNCTION</h2>3364 <h2·id="allegro_render_function">ALLEGRO_RENDER_FUNCTION</h2>
3359 <div·class="sourceCode"·id="cb151"><pre3365 <div·class="sourceCode"·id="cb151"><pre
3360 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>3366 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>
 3367 <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>
3361 <p><a3368 <p><a
3362 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L26">Source3369 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/render_state.h#L26">Source
3363 Code</a></p>3370 Code</a></p>
3364 <p>Possible·functions·are:</p>3371 <p>Possible·functions·are:</p>
3365 <ul>3372 <ul>
3366 <li>ALLEGRO_RENDER_NEVER</li>3373 <li>ALLEGRO_RENDER_NEVER</li>
3367 <li>ALLEGRO_RENDER_ALWAYS</li>3374 <li>ALLEGRO_RENDER_ALWAYS</li>
Offset 3375, 15 lines modifiedOffset 3382, 16 lines modified
3375 <li>ALLEGRO_RENDER_GREATER_EQUAL</li>3382 <li>ALLEGRO_RENDER_GREATER_EQUAL</li>
3376 </ul>3383 </ul>
3377 <p>Since:·5.1.2</p>3384 <p>Since:·5.1.2</p>
3378 <p>See·also:·<a3385 <p>See·also:·<a
3379 href="graphics.html#al_set_render_state">al_set_render_state</a></p>3386 href="graphics.html#al_set_render_state">al_set_render_state</a></p>
3380 <h2·id="allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</h2>3387 <h2·id="allegro_write_mask_flags">ALLEGRO_WRITE_MASK_FLAGS</h2>
3381 <div·class="sourceCode"·id="cb152"><pre3388 <div·class="sourceCode"·id="cb152"><pre
3382 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>3389 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>
Max diff block lines reached; 247/11359 bytes (2.17%) of diff not shown.
6.68 KB
html2text {}
    
Offset 171, 14 lines modifiedOffset 171, 15 lines modified
171 ··········o·_\x8a_\x8l_\x8__\x8b_\x8a_\x8c_\x8k_\x8u_\x8p_\x8__\x8d_\x8i_\x8r_\x8t_\x8y_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p171 ··········o·_\x8a_\x8l_\x8__\x8b_\x8a_\x8c_\x8k_\x8u_\x8p_\x8__\x8d_\x8i_\x8r_\x8t_\x8y_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p
172 ··········o·_\x8a_\x8l_\x8__\x8b_\x8a_\x8c_\x8k_\x8u_\x8p_\x8__\x8d_\x8i_\x8r_\x8t_\x8y_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8s172 ··········o·_\x8a_\x8l_\x8__\x8b_\x8a_\x8c_\x8k_\x8u_\x8p_\x8__\x8d_\x8i_\x8r_\x8t_\x8y_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8s
173 These·functions·are·declared·in·the·main·Allegro·header·file:173 These·functions·are·declared·in·the·main·Allegro·header·file:
174 ·#include·<allegro5/allegro.h>174 ·#include·<allegro5/allegro.h>
175 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8ol\x8lo\x8or\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*175 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8ol\x8lo\x8or\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
176 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8OL\x8LO\x8OR\x8R·*\x8**\x8**\x8**\x8**\x8*176 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8OL\x8LO\x8OR\x8R·*\x8**\x8**\x8**\x8**\x8*
177 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;177 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;
 178 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;
178 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e179 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
179 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent·way.·Use180 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent·way.·Use
180 _\x8a_\x8l_\x8__\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b·et·al. and·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b·et·al. to·translate·from·and·to·various181 _\x8a_\x8l_\x8__\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b·et·al. and·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b·et·al. to·translate·from·and·to·various
181 color·representations.182 color·representations.
182 Examples:183 Examples:
183 ····*·_\x8e_\x8x_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8._\x8c184 ····*·_\x8e_\x8x_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8._\x8c
184 ····*·_\x8e_\x8x_\x8__\x8n_\x8o_\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8._\x8c185 ····*·_\x8e_\x8x_\x8__\x8n_\x8o_\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8._\x8c
Offset 307, 14 lines modifiedOffset 308, 15 lines modified
307 See·also:·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b_\x8a,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b_\x8__\x8f308 See·also:·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b_\x8a,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b,·_\x8a_\x8l_\x8__\x8u_\x8n_\x8m_\x8a_\x8p_\x8__\x8r_\x8g_\x8b_\x8__\x8f
308 Examples:309 Examples:
309 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8t_\x8e_\x8s_\x8t_\x8._\x8c310 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8t_\x8e_\x8s_\x8t_\x8._\x8c
310 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8g_\x8o_\x8._\x8c311 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8g_\x8o_\x8._\x8c
311 *\x8**\x8**\x8**\x8**\x8**\x8*·L\x8Lo\x8oc\x8ck\x8ki\x8in\x8ng\x8g·a\x8an\x8nd\x8d·p\x8pi\x8ix\x8xe\x8el\x8l·f\x8fo\x8or\x8rm\x8ma\x8at\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*312 *\x8**\x8**\x8**\x8**\x8**\x8*·L\x8Lo\x8oc\x8ck\x8ki\x8in\x8ng\x8g·a\x8an\x8nd\x8d·p\x8pi\x8ix\x8xe\x8el\x8l·f\x8fo\x8or\x8rm\x8ma\x8at\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
312 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_L\x8LO\x8OC\x8CK\x8KE\x8ED\x8D_\x8_R\x8RE\x8EG\x8GI\x8IO\x8ON\x8N·*\x8**\x8**\x8**\x8**\x8*313 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_L\x8LO\x8OC\x8CK\x8KE\x8ED\x8D_\x8_R\x8RE\x8EG\x8GI\x8IO\x8ON\x8N·*\x8**\x8**\x8**\x8**\x8*
313 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;314 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;
 315 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;
314 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e316 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
315 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to·lock·it317 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to·lock·it
316 first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the318 first.·The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the
317 bitmap.·This·call·will·work·with·any·bitmap,·including·memory·bitmaps.319 bitmap.·This·call·will·work·with·any·bitmap,·including·memory·bitmaps.
318 typedef·struct·ALLEGRO_LOCKED_REGION·{320 typedef·struct·ALLEGRO_LOCKED_REGION·{
319 ···void·*data;321 ···void·*data;
320 ···int·format;322 ···int·format;
Offset 339, 14 lines modifiedOffset 341, 15 lines modified
339 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8P_\x8I_\x8X_\x8E_\x8L_\x8__\x8F_\x8O_\x8R_\x8M_\x8A_\x8T341 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8P_\x8I_\x8X_\x8E_\x8L_\x8__\x8F_\x8O_\x8R_\x8M_\x8A_\x8T
340 Examples:342 Examples:
341 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8c_\x8k_\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8._\x8c343 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8c_\x8k_\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8._\x8c
342 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8e_\x8m_\x8u_\x8l_\x8a_\x8l_\x8p_\x8h_\x8a_\x8._\x8c344 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8e_\x8m_\x8u_\x8l_\x8a_\x8l_\x8p_\x8h_\x8a_\x8._\x8c
343 ····*·_\x8e_\x8x_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8._\x8c345 ····*·_\x8e_\x8x_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8._\x8c
344 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_P\x8PI\x8IX\x8XE\x8EL\x8L_\x8_F\x8FO\x8OR\x8RM\x8MA\x8AT\x8T·*\x8**\x8**\x8**\x8**\x8*346 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_P\x8PI\x8IX\x8XE\x8EL\x8L_\x8_F\x8FO\x8OR\x8RM\x8MA\x8AT\x8T·*\x8**\x8**\x8**\x8**\x8*
345 typedef·enum·ALLEGRO_PIXEL_FORMAT347 typedef·enum·ALLEGRO_PIXEL_FORMAT
 348 typedef·enum·ALLEGRO_PIXEL_FORMAT
346 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e349 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
347 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
348 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
349 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.
350 ·····N\x8No\x8ot\x8te\x8e:\x8:353 ·····N\x8No\x8ot\x8te\x8e:\x8:
351 ·····The·pixel·format·is·independent·of·endianness.·That·is,·in·the·above354 ·····The·pixel·format·is·independent·of·endianness.·That·is,·in·the·above
352 ·····example·you·can·always·get·the·red·component·with355 ·····example·you·can·always·get·the·red·component·with
Offset 581, 14 lines modifiedOffset 584, 15 lines modified
581 Since:·5.1.9584 Since:·5.1.9
582 See·also:·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8r_\x8e_\x8g_\x8i_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8e_\x8d585 See·also:·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8r_\x8e_\x8g_\x8i_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8c_\x8k_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8e_\x8d
583 Examples:586 Examples:
584 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8m_\x8p_\x8r_\x8e_\x8s_\x8s_\x8e_\x8d_\x8._\x8c587 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8m_\x8p_\x8r_\x8e_\x8s_\x8s_\x8e_\x8d_\x8._\x8c
585 *\x8**\x8**\x8**\x8**\x8**\x8*·B\x8Bi\x8it\x8tm\x8ma\x8ap\x8p·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*588 *\x8**\x8**\x8**\x8**\x8**\x8*·B\x8Bi\x8it\x8tm\x8ma\x8ap\x8p·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
586 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BI\x8IT\x8TM\x8MA\x8AP\x8P·*\x8**\x8**\x8**\x8**\x8*589 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BI\x8IT\x8TM\x8MA\x8AP\x8P·*\x8**\x8**\x8**\x8**\x8*
587 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;590 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;
 591 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;
588 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e592 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
589 Abstract·type·representing·a·bitmap·(2D·image).593 Abstract·type·representing·a·bitmap·(2D·image).
590 Examples:594 Examples:
591 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8._\x8c595 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8._\x8c
592 ····*·_\x8e_\x8x_\x8__\x8n_\x8o_\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8._\x8c596 ····*·_\x8e_\x8x_\x8__\x8n_\x8o_\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8._\x8c
593 ····*·_\x8e_\x8x_\x8__\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8__\x8p_\x8i_\x8x_\x8e_\x8l_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c597 ····*·_\x8e_\x8x_\x8__\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8__\x8p_\x8i_\x8x_\x8e_\x8l_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c
594 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_b\x8bi\x8it\x8tm\x8ma\x8ap\x8p·*\x8**\x8**\x8**\x8**\x8*598 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_b\x8bi\x8it\x8tm\x8ma\x8ap\x8p·*\x8**\x8**\x8**\x8**\x8*
Offset 906, 14 lines modifiedOffset 910, 15 lines modified
906 Returns·the·value·currently·set·with·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8a_\x8p·on·the·current910 Returns·the·value·currently·set·with·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8a_\x8p·on·the·current
907 thread.911 thread.
908 Since:·5.2.8912 Since:·5.2.8
909 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·This·is·an·experimental·feature.913 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·This·is·an·experimental·feature.
910 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8B_\x8I_\x8T_\x8M_\x8A_\x8P_\x8__\x8W_\x8R_\x8A_\x8P914 See·also:·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8B_\x8I_\x8T_\x8M_\x8A_\x8P_\x8__\x8W_\x8R_\x8A_\x8P
911 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BI\x8IT\x8TM\x8MA\x8AP\x8P_\x8_W\x8WR\x8RA\x8AP\x8P·*\x8**\x8**\x8**\x8**\x8*915 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BI\x8IT\x8TM\x8MA\x8AP\x8P_\x8_W\x8WR\x8RA\x8AP\x8P·*\x8**\x8**\x8**\x8**\x8*
912 typedef·enum·ALLEGRO_BITMAP_WRAP·{916 typedef·enum·ALLEGRO_BITMAP_WRAP·{
 917 typedef·enum·ALLEGRO_BITMAP_WRAP·{
913 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e918 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
914 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying·the919 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying·the
915 texture·coordinates·are·outside·the·usual·bounds.920 texture·coordinates·are·outside·the·usual·bounds.
916 ····*·ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This·corresponds·to921 ····*·ALLEGRO_BITMAP_WRAP_DEFAULT·-·The·default·behavior.·This·corresponds·to
917 ······ALLEGRO_BITMAP_WRAP_REPEAT·when·using·the·primitives·addon·and922 ······ALLEGRO_BITMAP_WRAP_REPEAT·when·using·the·primitives·addon·and
918 ······ALLEGRO_BITMAP_WRAP_CLAMP·otherwise.923 ······ALLEGRO_BITMAP_WRAP_CLAMP·otherwise.
919 ····*·ALLEGRO_BITMAP_WRAP_REPEAT·-·The·texture·coordinates·get·shifted·to·the924 ····*·ALLEGRO_BITMAP_WRAP_REPEAT·-·The·texture·coordinates·get·shifted·to·the
Offset 1936, 14 lines modifiedOffset 1941, 15 lines modified
1936 bitmap·type·cannot·be·determined.1941 bitmap·type·cannot·be·determined.
1937 Since:·5.1.121942 Since:·5.1.12
1938 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p,1943 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p,
1939 _\x8a_\x8l_\x8__\x8r_\x8e_\x8g_\x8i_\x8s_\x8t_\x8e_\x8r_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8e_\x8r1944 _\x8a_\x8l_\x8__\x8r_\x8e_\x8g_\x8i_\x8s_\x8t_\x8e_\x8r_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8e_\x8r
1940 *\x8**\x8**\x8**\x8**\x8**\x8*·R\x8Re\x8en\x8nd\x8de\x8er\x8r·S\x8St\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*1945 *\x8**\x8**\x8**\x8**\x8**\x8*·R\x8Re\x8en\x8nd\x8de\x8er\x8r·S\x8St\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
1941 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_R\x8RE\x8EN\x8ND\x8DE\x8ER\x8R_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8*1946 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_R\x8RE\x8EN\x8ND\x8DE\x8ER\x8R_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8*
1942 typedef·enum·ALLEGRO_RENDER_STATE·{1947 typedef·enum·ALLEGRO_RENDER_STATE·{
 1948 typedef·enum·ALLEGRO_RENDER_STATE·{
1943 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e1949 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
1944 Possible·render·states·which·can·be·set·with·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8r_\x8e_\x8n_\x8d_\x8e_\x8r_\x8__\x8s_\x8t_\x8a_\x8t_\x8e:1950 Possible·render·states·which·can·be·set·with·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8r_\x8e_\x8n_\x8d_\x8e_\x8r_\x8__\x8s_\x8t_\x8a_\x8t_\x8e:
1945 ··ALLEGRO_ALPHA_TEST1951 ··ALLEGRO_ALPHA_TEST
1946 ······If·this·is·set·to·1,·the·values·of·ALLEGRO_ALPHA_FUNCTION·and1952 ······If·this·is·set·to·1,·the·values·of·ALLEGRO_ALPHA_FUNCTION·and
1947 ······ALLEGRO_ALPHA_TEST_VALUE·define·a·comparison·function·which·is·performed1953 ······ALLEGRO_ALPHA_TEST_VALUE·define·a·comparison·function·which·is·performed
1948 ······on·the·alpha·component·of·each·pixel.·Only·if·it·evaluates·to·true·the1954 ······on·the·alpha·component·of·each·pixel.·Only·if·it·evaluates·to·true·the
1949 ······pixel·is·written.·Otherwise·no·subsequent·processing·(like·depth·test·or1955 ······pixel·is·written.·Otherwise·no·subsequent·processing·(like·depth·test·or
Offset 1966, 28 lines modifiedOffset 1972, 30 lines modified
1966 ··ALLEGRO_DEPTH_FUNCTION1972 ··ALLEGRO_DEPTH_FUNCTION
1967 ······One·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8R_\x8E_\x8N_\x8D_\x8E_\x8R_\x8__\x8F_\x8U_\x8N_\x8C_\x8T_\x8I_\x8O_\x8N,·only·used·when·ALLEGRO_DEPTH_TEST·is·1.1973 ······One·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8R_\x8E_\x8N_\x8D_\x8E_\x8R_\x8__\x8F_\x8U_\x8N_\x8C_\x8T_\x8I_\x8O_\x8N,·only·used·when·ALLEGRO_DEPTH_TEST·is·1.
1968 Since:·5.1.21974 Since:·5.1.2
1969 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8r_\x8e_\x8n_\x8d_\x8e_\x8r_\x8__\x8s_\x8t_\x8a_\x8t_\x8e,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8R_\x8E_\x8N_\x8D_\x8E_\x8R_\x8__\x8F_\x8U_\x8N_\x8C_\x8T_\x8I_\x8O_\x8N,1975 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8r_\x8e_\x8n_\x8d_\x8e_\x8r_\x8__\x8s_\x8t_\x8a_\x8t_\x8e,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8R_\x8E_\x8N_\x8D_\x8E_\x8R_\x8__\x8F_\x8U_\x8N_\x8C_\x8T_\x8I_\x8O_\x8N,
1970 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8W_\x8R_\x8I_\x8T_\x8E_\x8__\x8M_\x8A_\x8S_\x8K_\x8__\x8F_\x8L_\x8A_\x8G_\x8S1976 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8W_\x8R_\x8I_\x8T_\x8E_\x8__\x8M_\x8A_\x8S_\x8K_\x8__\x8F_\x8L_\x8A_\x8G_\x8S
1971 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_R\x8RE\x8EN\x8ND\x8DE\x8ER\x8R_\x8_F\x8FU\x8UN\x8NC\x8CT\x8TI\x8IO\x8ON\x8N·*\x8**\x8**\x8**\x8**\x8*1977 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_R\x8RE\x8EN\x8ND\x8DE\x8ER\x8R_\x8_F\x8FU\x8UN\x8NC\x8CT\x8TI\x8IO\x8ON\x8N·*\x8**\x8**\x8**\x8**\x8*
1972 typedef·enum·ALLEGRO_RENDER_FUNCTION·{1978 typedef·enum·ALLEGRO_RENDER_FUNCTION·{
 1979 typedef·enum·ALLEGRO_RENDER_FUNCTION·{
1973 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e1980 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
1974 Possible·functions·are:1981 Possible·functions·are:
1975 ····*·ALLEGRO_RENDER_NEVER1982 ····*·ALLEGRO_RENDER_NEVER
1976 ····*·ALLEGRO_RENDER_ALWAYS1983 ····*·ALLEGRO_RENDER_ALWAYS
1977 ····*·ALLEGRO_RENDER_LESS1984 ····*·ALLEGRO_RENDER_LESS
1978 ····*·ALLEGRO_RENDER_EQUAL1985 ····*·ALLEGRO_RENDER_EQUAL
1979 ····*·ALLEGRO_RENDER_LESS_EQUAL1986 ····*·ALLEGRO_RENDER_LESS_EQUAL
1980 ····*·ALLEGRO_RENDER_GREATER1987 ····*·ALLEGRO_RENDER_GREATER
1981 ····*·ALLEGRO_RENDER_NOT_EQUAL1988 ····*·ALLEGRO_RENDER_NOT_EQUAL
1982 ····*·ALLEGRO_RENDER_GREATER_EQUAL1989 ····*·ALLEGRO_RENDER_GREATER_EQUAL
1983 Since:·5.1.21990 Since:·5.1.2
1984 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8r_\x8e_\x8n_\x8d_\x8e_\x8r_\x8__\x8s_\x8t_\x8a_\x8t_\x8e1991 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8r_\x8e_\x8n_\x8d_\x8e_\x8r_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
1985 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_W\x8WR\x8RI\x8IT\x8TE\x8E_\x8_M\x8MA\x8AS\x8SK\x8K_\x8_F\x8FL\x8LA\x8AG\x8GS\x8S·*\x8**\x8**\x8**\x8**\x8*1992 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_W\x8WR\x8RI\x8IT\x8TE\x8E_\x8_M\x8MA\x8AS\x8SK\x8K_\x8_F\x8FL\x8LA\x8AG\x8GS\x8S·*\x8**\x8**\x8**\x8**\x8*
1986 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{1993 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{
 1994 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{
1987 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e1995 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
1988 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled·bit·means1996 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled·bit·means
1989 it·is·not.1997 it·is·not.
1990 ····*·ALLEGRO_MASK_RED1998 ····*·ALLEGRO_MASK_RED
1991 ····*·ALLEGRO_MASK_GREEN1999 ····*·ALLEGRO_MASK_GREEN
1992 ····*·ALLEGRO_MASK_BLUE2000 ····*·ALLEGRO_MASK_BLUE
1993 ····*·ALLEGRO_MASK_ALPHA2001 ····*·ALLEGRO_MASK_ALPHA
9.19 KB
./usr/share/doc/allegro5-doc/refman/haptic.html
    
Offset 250, 15 lines modifiedOffset 250, 16 lines modified
250 file:</p>250 file:</p>
251 <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>251 <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>
252 <p>Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows252 <p>Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows
253 for·DirectInput·compatible·devices.·There·is·also·minimal·support·for253 for·DirectInput·compatible·devices.·There·is·also·minimal·support·for
254 Android.·It·is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput254 Android.·It·is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput
255 compatible·devices.</p>255 compatible·devices.</p>
256 <h1·id="allegro_haptic">ALLEGRO_HAPTIC</h1>256 <h1·id="allegro_haptic">ALLEGRO_HAPTIC</h1>
257 <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>257 <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>
 258 <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>
258 <p><a259 <p><a
259 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L64">Source260 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L64">Source
260 Code</a></p>261 Code</a></p>
261 <p>This·is·an·abstract·data·type·representing·a·haptic·device·that262 <p>This·is·an·abstract·data·type·representing·a·haptic·device·that
262 supports·force·feedback·or·vibration.</p>263 supports·force·feedback·or·vibration.</p>
263 <p>Since:·5.1.8</p>264 <p>Since:·5.1.8</p>
264 <blockquote>265 <blockquote>
Offset 273, 15 lines modifiedOffset 274, 16 lines modified
273 <ul>274 <ul>
274 <li><a275 <li><a
275 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>276 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>
276 <li><a277 <li><a
277 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L21">ex_haptic2.cpp</a></li>278 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L21">ex_haptic2.cpp</a></li>
278 </ul>279 </ul>
279 <h1·id="allegro_haptic_constants">ALLEGRO_HAPTIC_CONSTANTS</h1>280 <h1·id="allegro_haptic_constants">ALLEGRO_HAPTIC_CONSTANTS</h1>
280 <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>281 <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>
 282 <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>
281 <p><a283 <p><a
282 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L37">Source284 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L37">Source
283 Code</a></p>285 Code</a></p>
284 <p>This·enum·contains·flags·that·are·used·to·define·haptic·effects·and286 <p>This·enum·contains·flags·that·are·used·to·define·haptic·effects·and
285 capabilities.·If·the·flag·is·set·in·the·return·value·of·<a287 capabilities.·If·the·flag·is·set·in·the·return·value·of·<a
286 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,288 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,
287 it·means·the·device·supports·the·given·effect.·The·value·of·these·flags289 it·means·the·device·supports·the·given·effect.·The·value·of·these·flags
Offset 320, 15 lines modifiedOffset 322, 16 lines modified
320 users.</p>322 users.</p>
321 </blockquote>323 </blockquote>
322 <p>See·also:·<a324 <p>See·also:·<a
323 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,325 href="haptic.html#al_get_haptic_capabilities">al_get_haptic_capabilities</a>,
324 <a326 <a
325 href="haptic.html#allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</a></p>327 href="haptic.html#allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</a></p>
326 <h1·id="allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</h1>328 <h1·id="allegro_haptic_effect">ALLEGRO_HAPTIC_EFFECT</h1>
327 <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>329 <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>
 330 <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>
328 <p><a331 <p><a
329 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L169">Source332 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L169">Source
330 Code</a></p>333 Code</a></p>
331 <p>This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs334 <p>This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs
332 to·be·filled·in·correctly·and·uploaded·to·a·haptic·device·before·the335 to·be·filled·in·correctly·and·uploaded·to·a·haptic·device·before·the
333 device·can·play·it·back.</p>336 device·can·play·it·back.</p>
334 <p><em>Fields:</em></p>337 <p><em>Fields:</em></p>
Offset 531, 15 lines modifiedOffset 534, 16 lines modified
531 <ul>534 <ul>
532 <li><a535 <li><a
533 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>536 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L16">ex_haptic.c</a></li>
534 <li><a537 <li><a
535 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L22">ex_haptic2.cpp</a></li>538 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic2.cpp#L22">ex_haptic2.cpp</a></li>
536 </ul>539 </ul>
537 <h1·id="allegro_haptic_effect_id">ALLEGRO_HAPTIC_EFFECT_ID</h1>540 <h1·id="allegro_haptic_effect_id">ALLEGRO_HAPTIC_EFFECT_ID</h1>
538 <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>541 <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>
 542 <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>
539 <p><a543 <p><a
540 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L183">Source544 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/haptic.h#L183">Source
541 Code</a></p>545 Code</a></p>
542 <p>This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic546 <p>This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic
543 effect·and·should·be·considered·opaque.·Its·implementation·is·visible547 effect·and·should·be·considered·opaque.·Its·implementation·is·visible
544 merely·to·allow·allocation·by·the·users·of·the·Allegro·library.</p>548 merely·to·allow·allocation·by·the·users·of·the·Allegro·library.</p>
545 <p>Since:·5.1.8</p>549 <p>Since:·5.1.8</p>
3.51 KB
html2text {}
    
Offset 82, 27 lines modifiedOffset 82, 29 lines modified
82 functions·are·declared·in·the·main·Allegro·header·file:82 functions·are·declared·in·the·main·Allegro·header·file:
83 ·#include·<allegro5/allegro.h>83 ·#include·<allegro5/allegro.h>
84 Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows·for84 Currently·force·feedback·is·fully·supported·on·Linux·and·on·Windows·for
85 DirectInput·compatible·devices.·There·is·also·minimal·support·for·Android.·It85 DirectInput·compatible·devices.·There·is·also·minimal·support·for·Android.·It
86 is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput·compatible·devices.86 is·not·yet·supported·on·OSX,·iOS,·or·on·Windows·for·XInput·compatible·devices.
87 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*87 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
88 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;88 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;
 89 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;
89 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e90 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
90 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports·force91 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports·force
91 feedback·or·vibration.92 feedback·or·vibration.
92 Since:·5.1.893 Since:·5.1.8
93 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·Perhaps·could·be·simplified·due·to·limited·support·for94 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·Perhaps·could·be·simplified·due·to·limited·support·for
94 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting95 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
95 ·····feedback·from·users.96 ·····feedback·from·users.
96 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8__\x8f_\x8r_\x8o_\x8m_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k97 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8__\x8f_\x8r_\x8o_\x8m_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k
97 Examples:98 Examples:
98 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8._\x8c99 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8._\x8c
99 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x82_\x8._\x8c_\x8p_\x8p100 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x82_\x8._\x8c_\x8p_\x8p
100 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C_\x8_C\x8CO\x8ON\x8NS\x8ST\x8TA\x8AN\x8NT\x8TS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*101 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C_\x8_C\x8CO\x8ON\x8NS\x8ST\x8TA\x8AN\x8NT\x8TS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
101 enum·ALLEGRO_HAPTIC_CONSTANTS102 enum·ALLEGRO_HAPTIC_CONSTANTS
 103 enum·ALLEGRO_HAPTIC_CONSTANTS
102 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e104 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
103 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and105 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and
104 capabilities.·If·the·flag·is·set·in·the·return·value·of106 capabilities.·If·the·flag·is·set·in·the·return·value·of
105 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8__\x8c_\x8a_\x8p_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8i_\x8e_\x8s,·it·means·the·device·supports·the·given·effect.·The107 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8__\x8c_\x8a_\x8p_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8i_\x8e_\x8s,·it·means·the·device·supports·the·given·effect.·The
106 value·of·these·flags·should·be·set·into·a·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8H_\x8A_\x8P_\x8T_\x8I_\x8C_\x8__\x8E_\x8F_\x8F_\x8E_\x8C_\x8T·struct·to108 value·of·these·flags·should·be·set·into·a·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8H_\x8A_\x8P_\x8T_\x8I_\x8C_\x8__\x8E_\x8F_\x8F_\x8E_\x8C_\x8T·struct·to
107 determine·what·kind·of·haptic·effect·should·be·played.109 determine·what·kind·of·haptic·effect·should·be·played.
108 ····*·ALLEGRO_HAPTIC_RUMBLE·-·simple·vibration·effects110 ····*·ALLEGRO_HAPTIC_RUMBLE·-·simple·vibration·effects
Offset 127, 14 lines modifiedOffset 129, 15 lines modified
127 Since:·5.1.8129 Since:·5.1.8
128 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·Perhaps·could·be·simplified·due·to·limited·support·for130 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·Perhaps·could·be·simplified·due·to·limited·support·for
129 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting131 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
130 ·····feedback·from·users.132 ·····feedback·from·users.
131 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8__\x8c_\x8a_\x8p_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8i_\x8e_\x8s,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8H_\x8A_\x8P_\x8T_\x8I_\x8C_\x8__\x8E_\x8F_\x8F_\x8E_\x8C_\x8T133 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8__\x8c_\x8a_\x8p_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8i_\x8e_\x8s,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8H_\x8A_\x8P_\x8T_\x8I_\x8C_\x8__\x8E_\x8F_\x8F_\x8E_\x8C_\x8T
132 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C_\x8_E\x8EF\x8FF\x8FE\x8EC\x8CT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*134 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C_\x8_E\x8EF\x8FF\x8FE\x8EC\x8CT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
133 struct·ALLEGRO_HAPTIC_EFFECT135 struct·ALLEGRO_HAPTIC_EFFECT
 136 struct·ALLEGRO_HAPTIC_EFFECT
134 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e137 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
135 This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs·to·be138 This·struct·models·a·particular·haptic·or·vibration·effect.·It·needs·to·be
136 filled·in·correctly·and·uploaded·to·a·haptic·device·before·the·device·can·play139 filled·in·correctly·and·uploaded·to·a·haptic·device·before·the·device·can·play
137 it·back.140 it·back.
138 F\x8Fi\x8ie\x8el\x8ld\x8ds\x8s:\x8:141 F\x8Fi\x8ie\x8el\x8ld\x8ds\x8s:\x8:
139 ··type142 ··type
140 ······The·type·of·the·haptic·effect.·May·be·one·of·the·ALLEGRO_HAPTIC_CONSTANTS143 ······The·type·of·the·haptic·effect.·May·be·one·of·the·ALLEGRO_HAPTIC_CONSTANTS
Offset 291, 14 lines modifiedOffset 294, 15 lines modified
291 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting294 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
292 ·····feedback·from·users.295 ·····feedback·from·users.
293 Examples:296 Examples:
294 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8._\x8c297 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8._\x8c
295 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x82_\x8._\x8c_\x8p_\x8p298 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x82_\x8._\x8c_\x8p_\x8p
296 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C_\x8_E\x8EF\x8FF\x8FE\x8EC\x8CT\x8T_\x8_I\x8ID\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*299 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_H\x8HA\x8AP\x8PT\x8TI\x8IC\x8C_\x8_E\x8EF\x8FF\x8FE\x8EC\x8CT\x8T_\x8_I\x8ID\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*
297 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;300 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;
 301 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;
298 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e302 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
299 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect·and303 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect·and
300 should·be·considered·opaque.·Its·implementation·is·visible·merely·to·allow304 should·be·considered·opaque.·Its·implementation·is·visible·merely·to·allow
301 allocation·by·the·users·of·the·Allegro·library.305 allocation·by·the·users·of·the·Allegro·library.
302 Since:·5.1.8306 Since:·5.1.8
303 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·Perhaps·could·be·simplified·due·to·limited·support·for307 ·····_\x8U\x8U_\x8n\x8n_\x8s\x8s_\x8t\x8t_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8A\x8A_\x8P\x8P_\x8I\x8I:\x8:·Perhaps·could·be·simplified·due·to·limited·support·for
304 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting308 ·····all·the·exposed·features·across·all·of·the·platforms.·Awaiting
8.02 KB
./usr/share/doc/allegro5-doc/refman/image.html
    
Offset 187, 15 lines modifiedOffset 187, 16 lines modified
187 allegro_image.</p>187 allegro_image.</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_image.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_image.h&gt;</span></span></code></pre></div>
189 <p>Some·of·the·format·handlers·define·configuration·options·for189 <p>Some·of·the·format·handlers·define·configuration·options·for
190 specifying·things·like·compression·level·or·gamma·handling.·Refer·to·<a190 specifying·things·like·compression·level·or·gamma·handling.·Refer·to·<a
191 href="system.html#al_get_system_config">al_get_system_config</a>·for191 href="system.html#al_get_system_config">al_get_system_config</a>·for
192 their·documentation.</p>192 their·documentation.</p>
193 <h1·id="al_init_image_addon">al_init_image_addon</h1>193 <h1·id="al_init_image_addon">al_init_image_addon</h1>
194 <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>194 <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>
 195 <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>
195 <p><a196 <p><a
196 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L14">Source197 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L14">Source
197 Code</a></p>198 Code</a></p>
198 <p>Initializes·the·image·addon.·This·registers·bitmap·format·handlers199 <p>Initializes·the·image·addon.·This·registers·bitmap·format·handlers
199 for·<a·href="graphics.html#al_load_bitmap">al_load_bitmap</a>,·<a200 for·<a·href="graphics.html#al_load_bitmap">al_load_bitmap</a>,·<a
200 href="graphics.html#al_load_bitmap_f">al_load_bitmap_f</a>,·<a201 href="graphics.html#al_load_bitmap_f">al_load_bitmap_f</a>,·<a
201 href="graphics.html#al_save_bitmap">al_save_bitmap</a>,·<a202 href="graphics.html#al_save_bitmap">al_save_bitmap</a>,·<a
Offset 218, 32 lines modifiedOffset 219, 38 lines modified
218 <li><a219 <li><a
219 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_nodisplay.c#L22">ex_nodisplay.c</a></li>220 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_nodisplay.c#L22">ex_nodisplay.c</a></li>
220 <li><a221 <li><a
221 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_opengl_pixel_shader.c#L53">ex_opengl_pixel_shader.c</a></li>222 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_opengl_pixel_shader.c#L53">ex_opengl_pixel_shader.c</a></li>
222 </ul>223 </ul>
223 <h1224 <h1
224 id="al_is_image_addon_initialized">al_is_image_addon_initialized</h1>225 id="al_is_image_addon_initialized">al_is_image_addon_initialized</h1>
225 <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>226 <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>
 227 <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>
226 <p><a228 <p><a
227 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L169">Source229 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L169">Source
228 Code</a></p>230 Code</a></p>
229 <p>Returns·true·if·the·image·addon·is·initialized,·otherwise·returns231 <p>Returns·true·if·the·image·addon·is·initialized,·otherwise·returns
230 false.</p>232 false.</p>
231 <p>Since:·5.2.6</p>233 <p>Since:·5.2.6</p>
232 <h1·id="al_shutdown_image_addon">al_shutdown_image_addon</h1>234 <h1·id="al_shutdown_image_addon">al_shutdown_image_addon</h1>
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="dt">void</span>·al_shutdown_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>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="dt">void</span>·al_shutdown_image_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>
 236 <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>
234 <p><a237 <p><a
235 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L177">Source238 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L177">Source
236 Code</a></p>239 Code</a></p>
237 <p>Shut·down·the·image·addon.·This·is·done·automatically·at·program240 <p>Shut·down·the·image·addon.·This·is·done·automatically·at·program
238 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>241 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>
239 <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1>242 <h1·id="al_get_allegro_image_version">al_get_allegro_image_version</h1>
240 <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>243 <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>
 244 <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>
241 <p><a245 <p><a
242 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L185">Source246 href="https://github.com/liballeg/allegro5/blob/master/addons/image/iio.c#L185">Source
243 Code</a></p>247 Code</a></p>
244 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a248 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
245 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>249 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
 250 <p·class="timestamp">
 251 Allegro·version·5.2.10
 252 ·-·Last·updated:·2024-11-29·14:21:22·UTC
 253 </p>
246 </div>254 </div>
247 </body>255 </body>
248 </html>256 </html>
2.37 KB
html2text {}
    
Offset 51, 14 lines modifiedOffset 51, 15 lines modified
51 allegro_image.51 allegro_image.
52 ·#include·<allegro5/allegro_image.h>52 ·#include·<allegro5/allegro_image.h>
53 Some·of·the·format·handlers·define·configuration·options·for·specifying·things53 Some·of·the·format·handlers·define·configuration·options·for·specifying·things
54 like·compression·level·or·gamma·handling.·Refer·to·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8s_\x8y_\x8s_\x8t_\x8e_\x8m_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g·for54 like·compression·level·or·gamma·handling.·Refer·to·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8s_\x8y_\x8s_\x8t_\x8e_\x8m_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8g·for
55 their·documentation.55 their·documentation.
56 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*56 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
57 bool·al_init_image_addon(void)57 bool·al_init_image_addon(void)
 58 bool·al_init_image_addon(void)
58 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e59 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
59 Initializes·the·image·addon.·This·registers·bitmap·format·handlers·for60 Initializes·the·image·addon.·This·registers·bitmap·format·handlers·for
60 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f,·_\x8a_\x8l_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p,·_\x8a_\x8l_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f.61 _\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p,·_\x8a_\x8l_\x8__\x8l_\x8o_\x8a_\x8d_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f,·_\x8a_\x8l_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p,·_\x8a_\x8l_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8__\x8f.
61 The·following·types·are·built·into·the·Allegro·image·addon·and·guaranteed·to·be62 The·following·types·are·built·into·the·Allegro·image·addon·and·guaranteed·to·be
62 available:·BMP,·DDS,·PCX,·TGA.·Every·platform·also·supports·JPEG·and·PNG·via63 available:·BMP,·DDS,·PCX,·TGA.·Every·platform·also·supports·JPEG·and·PNG·via
63 external·dependencies.64 external·dependencies.
64 Other·formats·may·be·available·depending·on·the·operating·system·and·installed65 Other·formats·may·be·available·depending·on·the·operating·system·and·installed
Offset 70, 20 lines modifiedOffset 71, 24 lines modified
70 have·the·pixel·format·matching·the·format·in·the·file.71 have·the·pixel·format·matching·the·format·in·the·file.
71 Examples:72 Examples:
72 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8._\x8c73 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8._\x8c
73 ····*·_\x8e_\x8x_\x8__\x8n_\x8o_\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8._\x8c74 ····*·_\x8e_\x8x_\x8__\x8n_\x8o_\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8._\x8c
74 ····*·_\x8e_\x8x_\x8__\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8__\x8p_\x8i_\x8x_\x8e_\x8l_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c75 ····*·_\x8e_\x8x_\x8__\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8__\x8p_\x8i_\x8x_\x8e_\x8l_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c
75 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*76 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*
76 bool·al_is_image_addon_initialized(void)77 bool·al_is_image_addon_initialized(void)
 78 bool·al_is_image_addon_initialized(void)
77 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e79 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
78 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.80 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.
79 Since:·5.2.681 Since:·5.2.6
80 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*82 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
81 void·al_shutdown_image_addon(void)83 void·al_shutdown_image_addon(void)
 84 void·al_shutdown_image_addon(void)
82 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e85 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
83 Shut·down·the·image·addon.·This·is·done·automatically·at·program·exit,·but·can86 Shut·down·the·image·addon.·This·is·done·automatically·at·program·exit,·but·can
84 be·called·any·time·the·user·wishes·as·well.87 be·called·any·time·the·user·wishes·as·well.
85 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*88 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
86 uint32_t·al_get_allegro_image_version(void)89 uint32_t·al_get_allegro_image_version(void)
 90 uint32_t·al_get_allegro_image_version(void)
87 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e91 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
88 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as92 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
89 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.93 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.
 94 Allegro·version·5.2.10·-·Last·updated:·2024-11-29·14:21:22·UTC
6.82 KB
./usr/share/doc/allegro5-doc/refman/joystick.html
    
Offset 223, 15 lines modifiedOffset 223, 16 lines modified
223 Xinput·one.·If·support·for·XInput·was·compiled·in,·then·it·can·be223 Xinput·one.·If·support·for·XInput·was·compiled·in,·then·it·can·be
224 enabled·by·calling·al_set_config_value(al_get_system_config(),224 enabled·by·calling·al_set_config_value(al_get_system_config(),
225 “joystick”,·“driver”,·“xinput”)·before·calling·al_install_joystick,·or225 “joystick”,·“driver”,·“xinput”)·before·calling·al_install_joystick,·or
226 by·setting·the·same·option·in·the·allegro5.cfg·configuration·file.·The226 by·setting·the·same·option·in·the·allegro5.cfg·configuration·file.·The
227 Xinput·and·DirectInput·drivers·are·mutually·exclusive.·The·haptics227 Xinput·and·DirectInput·drivers·are·mutually·exclusive.·The·haptics
228 subsystem·will·use·the·same·driver·as·the·joystick·system·does.</p>228 subsystem·will·use·the·same·driver·as·the·joystick·system·does.</p>
229 <h1·id="allegro_joystick">ALLEGRO_JOYSTICK</h1>229 <h1·id="allegro_joystick">ALLEGRO_JOYSTICK</h1>
230 <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>230 <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>
 231 <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>
231 <p><a232 <p><a
232 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L39">Source233 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L39">Source
233 Code</a></p>234 Code</a></p>
234 <p>This·is·an·abstract·data·type·representing·a·physical·joystick.</p>235 <p>This·is·an·abstract·data·type·representing·a·physical·joystick.</p>
235 <p>See·also:·<a236 <p>See·also:·<a
236 href="joystick.html#al_get_joystick">al_get_joystick</a></p>237 href="joystick.html#al_get_joystick">al_get_joystick</a></p>
237 <p>Examples:</p>238 <p>Examples:</p>
Offset 240, 15 lines modifiedOffset 241, 16 lines modified
240 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L14">ex_haptic.c</a></li>241 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_haptic.c#L14">ex_haptic.c</a></li>
241 <li><a242 <li><a
242 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L7">ex_joystick_hotplugging.c</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L7">ex_joystick_hotplugging.c</a></li>
243 <li><a244 <li><a
244 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L32">ex_joystick_events.c</a></li>245 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L32">ex_joystick_events.c</a></li>
245 </ul>246 </ul>
246 <h1·id="allegro_joystick_state">ALLEGRO_JOYSTICK_STATE</h1>247 <h1·id="allegro_joystick_state">ALLEGRO_JOYSTICK_STATE</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="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE<span·class="op">;</span></span></code></pre></div>248 <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>
 249 <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>
248 <p><a250 <p><a
249 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L45">Source251 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L45">Source
250 Code</a></p>252 Code</a></p>
251 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·joystick’s253 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·joystick’s
252 axes·and·buttons·at·a·particular·instant.·All·fields·public·and254 axes·and·buttons·at·a·particular·instant.·All·fields·public·and
253 read-only.</p>255 read-only.</p>
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">struct</span>·<span·class="op">{</span></span>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">struct</span>·<span·class="op">{</span></span>
Offset 261, 15 lines modifiedOffset 263, 16 lines modified
261 <ul>263 <ul>
262 <li><a264 <li><a
263 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L38">ex_joystick_hotplugging.c</a></li>265 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_hotplugging.c#L38">ex_joystick_hotplugging.c</a></li>
264 <li><a266 <li><a
265 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L34">ex_joystick_events.c</a></li>267 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_joystick_events.c#L34">ex_joystick_events.c</a></li>
266 </ul>268 </ul>
267 <h1·id="allegro_joyflags">ALLEGRO_JOYFLAGS</h1>269 <h1·id="allegro_joyflags">ALLEGRO_JOYFLAGS</h1>
268 <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>270 <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>
 271 <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>
269 <p><a272 <p><a
270 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L58">Source273 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/joystick.h#L58">Source
271 Code</a></p>274 Code</a></p>
272 <ul>275 <ul>
273 <li>ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input</li>276 <li>ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input</li>
274 <li>ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input</li>277 <li>ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input</li>
275 </ul>278 </ul>
2.24 KB
html2text {}
    
Offset 71, 36 lines modifiedOffset 71, 39 lines modified
71 al_set_config_value(al_get_system_config(),·“joystick”,·“driver”,·“xinput”)71 al_set_config_value(al_get_system_config(),·“joystick”,·“driver”,·“xinput”)
72 before·calling·al_install_joystick,·or·by·setting·the·same·option·in·the72 before·calling·al_install_joystick,·or·by·setting·the·same·option·in·the
73 allegro5.cfg·configuration·file.·The·Xinput·and·DirectInput·drivers·are73 allegro5.cfg·configuration·file.·The·Xinput·and·DirectInput·drivers·are
74 mutually·exclusive.·The·haptics·subsystem·will·use·the·same·driver·as·the74 mutually·exclusive.·The·haptics·subsystem·will·use·the·same·driver·as·the
75 joystick·system·does.75 joystick·system·does.
76 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_J\x8JO\x8OY\x8YS\x8ST\x8TI\x8IC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*76 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_J\x8JO\x8OY\x8YS\x8ST\x8TI\x8IC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*
77 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;77 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;
 78 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;
78 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e79 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
79 This·is·an·abstract·data·type·representing·a·physical·joystick.80 This·is·an·abstract·data·type·representing·a·physical·joystick.
80 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k81 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k
81 Examples:82 Examples:
82 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8._\x8c83 ····*·_\x8e_\x8x_\x8__\x8h_\x8a_\x8p_\x8t_\x8i_\x8c_\x8._\x8c
83 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8h_\x8o_\x8t_\x8p_\x8l_\x8u_\x8g_\x8g_\x8i_\x8n_\x8g_\x8._\x8c84 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8h_\x8o_\x8t_\x8p_\x8l_\x8u_\x8g_\x8g_\x8i_\x8n_\x8g_\x8._\x8c
84 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c85 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
85 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_J\x8JO\x8OY\x8YS\x8ST\x8TI\x8IC\x8CK\x8K_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*86 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_J\x8JO\x8OY\x8YS\x8ST\x8TI\x8IC\x8CK\x8K_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
86 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;87 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;
 88 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;
87 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e89 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
88 This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·joystick’s·axes·and90 This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·joystick’s·axes·and
89 buttons·at·a·particular·instant.·All·fields·public·and·read-only.91 buttons·at·a·particular·instant.·All·fields·public·and·read-only.
90 struct·{92 struct·{
91 ···float·axis[num_axes];·············//·-1.0·to·1.093 ···float·axis[num_axes];·············//·-1.0·to·1.0
92 }·stick[num_sticks];94 }·stick[num_sticks];
93 int·button[num_buttons];·············//·0·to·3276795 int·button[num_buttons];·············//·0·to·32767
94 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e96 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
95 Examples:97 Examples:
96 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8h_\x8o_\x8t_\x8p_\x8l_\x8u_\x8g_\x8g_\x8i_\x8n_\x8g_\x8._\x8c98 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8h_\x8o_\x8t_\x8p_\x8l_\x8u_\x8g_\x8g_\x8i_\x8n_\x8g_\x8._\x8c
97 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c99 ····*·_\x8e_\x8x_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
98 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_J\x8JO\x8OY\x8YF\x8FL\x8LA\x8AG\x8GS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*100 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_J\x8JO\x8OY\x8YF\x8FL\x8LA\x8AG\x8GS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
99 enum·ALLEGRO_JOYFLAGS101 enum·ALLEGRO_JOYFLAGS
 102 enum·ALLEGRO_JOYFLAGS
100 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e103 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
101 ····*·ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input104 ····*·ALLEGRO_JOYFLAG_DIGITAL·-·the·stick·provides·digital·input
102 ····*·ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input105 ····*·ALLEGRO_JOYFLAG_ANALOGUE·-·the·stick·provides·analogue·input
103 (this·enum·is·a·holdover·from·the·old·API·and·may·be·removed)106 (this·enum·is·a·holdover·from·the·old·API·and·may·be·removed)
104 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8f_\x8l_\x8a_\x8g_\x8s107 See·also:·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8j_\x8o_\x8y_\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8s_\x8t_\x8i_\x8c_\x8k_\x8__\x8f_\x8l_\x8a_\x8g_\x8s
105 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8l_\x8_j\x8jo\x8oy\x8ys\x8st\x8ti\x8ic\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8*108 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ns\x8st\x8ta\x8al\x8ll\x8l_\x8_j\x8jo\x8oy\x8ys\x8st\x8ti\x8ic\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8*
106 bool·al_install_joystick(void)109 bool·al_install_joystick(void)
2.79 KB
./usr/share/doc/allegro5-doc/refman/keyboard.html
    
Offset 198, 15 lines modifiedOffset 198, 16 lines modified
198 <li><a·href="#al_get_keyboard_event_source"198 <li><a·href="#al_get_keyboard_event_source"
199 id="toc-al_get_keyboard_event_source">al_get_keyboard_event_source</a></li>199 id="toc-al_get_keyboard_event_source">al_get_keyboard_event_source</a></li>
200 </ul>200 </ul>
201 </nav>201 </nav>
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_keyboard_state">ALLEGRO_KEYBOARD_STATE</h1>204 <h1·id="allegro_keyboard_state">ALLEGRO_KEYBOARD_STATE</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_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE<span·class="op">;</span></span></code></pre></div>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_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE<span·class="op">;</span></span>
 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_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE<span·class="op">;</span></span></code></pre></div>
206 <p><a207 <p><a
207 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/keyboard.h#L33">Source208 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/keyboard.h#L33">Source
208 Code</a></p>209 Code</a></p>
209 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·keyboard’s210 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·keyboard’s
210 state·at·a·particular·instant.·It·contains·the·following·publically211 state·at·a·particular·instant.·It·contains·the·following·publically
211 readable·fields:</p>212 readable·fields:</p>
212 <ul>213 <ul>
1.04 KB
html2text {}
    
Offset 56, 14 lines modifiedOffset 56, 15 lines modified
56 ····*·_\x8a_\x8l_\x8__\x8c_\x8a_\x8n_\x8__\x8s_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8l_\x8e_\x8d_\x8s56 ····*·_\x8a_\x8l_\x8__\x8c_\x8a_\x8n_\x8__\x8s_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8l_\x8e_\x8d_\x8s
57 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8l_\x8e_\x8d_\x8s57 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8l_\x8e_\x8d_\x8s
58 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e58 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8b_\x8o_\x8a_\x8r_\x8d_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
59 These·functions·are·declared·in·the·main·Allegro·header·file:59 These·functions·are·declared·in·the·main·Allegro·header·file:
60 ·#include·<allegro5/allegro.h>60 ·#include·<allegro5/allegro.h>
61 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_K\x8KE\x8EY\x8YB\x8BO\x8OA\x8AR\x8RD\x8D_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*61 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_K\x8KE\x8EY\x8YB\x8BO\x8OA\x8AR\x8RD\x8D_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
62 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;62 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;
 63 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;
63 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e64 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
64 This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·keyboard’s·state·at65 This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·keyboard’s·state·at
65 a·particular·instant.·It·contains·the·following·publically·readable·fields:66 a·particular·instant.·It·contains·the·following·publically·readable·fields:
66 ····*·display·-·points·to·the·display·that·had·keyboard·focus·at·the·time·the67 ····*·display·-·points·to·the·display·that·had·keyboard·focus·at·the·time·the
67 ······state·was·saved.·If·no·display·was·focused,·this·points·to·NULL.68 ······state·was·saved.·If·no·display·was·focused,·this·points·to·NULL.
68 You·cannot·read·the·state·of·keys·directly.·Use·the·function·_\x8a_\x8l_\x8__\x8k_\x8e_\x8y_\x8__\x8d_\x8o_\x8w_\x8n.69 You·cannot·read·the·state·of·keys·directly.·Use·the·function·_\x8a_\x8l_\x8__\x8k_\x8e_\x8y_\x8__\x8d_\x8o_\x8w_\x8n.
69 Examples:70 Examples:
5.48 KB
./usr/share/doc/allegro5-doc/refman/memfile.html
    
Offset 181, 15 lines modifiedOffset 181, 16 lines modified
181 </nav>181 </nav>
182 <p>The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous182 <p>The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous
183 memory·as·a·file·that·can·be·used·with·Allegro’s·I/O·functions.</p>183 memory·as·a·file·that·can·be·used·with·Allegro’s·I/O·functions.</p>
184 <p>These·functions·are·declared·in·the·following·header·file.·Link·with184 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
185 allegro_memfile.</p>185 allegro_memfile.</p>
186 <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>186 <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>
187 <h1·id="al_open_memfile">al_open_memfile</h1>187 <h1·id="al_open_memfile">al_open_memfile</h1>
188 <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>188 <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>
 189 <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>
189 <p><a190 <p><a
190 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L169">Source191 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L169">Source
191 Code</a></p>192 Code</a></p>
192 <p>Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write193 <p>Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write
193 operations·act·upon·the·memory·directly,·so·it·must·not·be·freed·while194 operations·act·upon·the·memory·directly,·so·it·must·not·be·freed·while
194 the·file·remains·open.</p>195 the·file·remains·open.</p>
195 <p>The·mode·can·be·any·combination·of·“r”·(readable)·and·“w”·(writable).196 <p>The·mode·can·be·any·combination·of·“r”·(readable)·and·“w”·(writable).
Offset 203, 15 lines modifiedOffset 204, 16 lines modified
203 <p>Examples:</p>204 <p>Examples:</p>
204 <ul>205 <ul>
205 <li><a206 <li><a
206 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L36">ex_memfile.c</a></li>207 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_memfile.c#L36">ex_memfile.c</a></li>
207 </ul>208 </ul>
208 <h1209 <h1
209 id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1>210 id="al_get_allegro_memfile_version">al_get_allegro_memfile_version</h1>
210 <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>211 <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>
 212 <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>
211 <p><a213 <p><a
212 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source214 href="https://github.com/liballeg/allegro5/blob/master/addons/memfile/memfile.c#L201">Source
213 Code</a></p>215 Code</a></p>
214 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a216 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
215 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>217 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
216 <p·class="timestamp">218 <p·class="timestamp">
217 Allegro·version·5.2.10219 Allegro·version·5.2.10
1.64 KB
html2text {}
    
Offset 48, 24 lines modifiedOffset 48, 26 lines modified
48 The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous·memory·as48 The·memfile·interface·allows·you·to·treat·a·fixed·block·of·contiguous·memory·as
49 a·file·that·can·be·used·with·Allegro’s·I/O·functions.49 a·file·that·can·be·used·with·Allegro’s·I/O·functions.
50 These·functions·are·declared·in·the·following·header·file.·Link·with50 These·functions·are·declared·in·the·following·header·file.·Link·with
51 allegro_memfile.51 allegro_memfile.
52 ·#include·<allegro5/allegro_memfile.h>52 ·#include·<allegro5/allegro_memfile.h>
53 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_o\x8op\x8pe\x8en\x8n_\x8_m\x8me\x8em\x8mf\x8fi\x8il\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*53 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_o\x8op\x8pe\x8en\x8n_\x8_m\x8me\x8em\x8mf\x8fi\x8il\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
54 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)54 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)
 55 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)
55 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e56 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
56 Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write·operations·act57 Returns·a·file·handle·to·the·block·of·memory.·All·read·and·write·operations·act
57 upon·the·memory·directly,·so·it·must·not·be·freed·while·the·file·remains·open.58 upon·the·memory·directly,·so·it·must·not·be·freed·while·the·file·remains·open.
58 The·mode·can·be·any·combination·of·“r”·(readable)·and·“w”·(writable).59 The·mode·can·be·any·combination·of·“r”·(readable)·and·“w”·(writable).
59 Regardless·of·the·mode,·the·file·always·opens·at·position·0.·The·file·size·is60 Regardless·of·the·mode,·the·file·always·opens·at·position·0.·The·file·size·is
60 fixed·and·cannot·be·expanded.·The·file·is·always·read·from/written·to·in·binary61 fixed·and·cannot·be·expanded.·The·file·is·always·read·from/written·to·in·binary
61 mode,·which·means·that·no·newline·translation·is·performed.62 mode,·which·means·that·no·newline·translation·is·performed.
62 It·should·be·closed·with·_\x8a_\x8l_\x8__\x8f_\x8c_\x8l_\x8o_\x8s_\x8e.·After·the·file·is·closed,·you·are63 It·should·be·closed·with·_\x8a_\x8l_\x8__\x8f_\x8c_\x8l_\x8o_\x8s_\x8e.·After·the·file·is·closed,·you·are
63 responsible·for·freeing·the·memory·(if·needed).64 responsible·for·freeing·the·memory·(if·needed).
64 Examples:65 Examples:
65 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8f_\x8i_\x8l_\x8e_\x8._\x8c66 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8m_\x8f_\x8i_\x8l_\x8e_\x8._\x8c
66 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_m\x8me\x8em\x8mf\x8fi\x8il\x8le\x8e_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*67 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_m\x8me\x8em\x8mf\x8fi\x8il\x8le\x8e_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
67 uint32_t·al_get_allegro_memfile_version(void)68 uint32_t·al_get_allegro_memfile_version(void)
 69 uint32_t·al_get_allegro_memfile_version(void)
68 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e70 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
69 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as71 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
70 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.72 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.
71 Allegro·version·5.2.10·-·Last·updated:·2024-11-29·14:21:22·UTC73 Allegro·version·5.2.10·-·Last·updated:·2024-11-29·14:21:22·UTC
17.5 KB
./usr/share/doc/allegro5-doc/refman/memory.html
    
Offset 191, 15 lines modifiedOffset 191, 17 lines modified
191 id="toc-al_set_memory_interface">al_set_memory_interface</a></li>191 id="toc-al_set_memory_interface">al_set_memory_interface</a></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_malloc">al_malloc</h1>196 <h1·id="al_malloc">al_malloc</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="pp">#define·al_malloc</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">)</span><span·class="pp">·</span><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="pp">#define·al_malloc</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
 198 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_malloc_with_context</span><span·class="op">((</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span>
 199 <span·id="cb2-3"><a·href="#cb2-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_malloc</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
198 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_malloc_with_context</span><span·class="op">((</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>200 <span·id="cb2-4"><a·href="#cb2-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_malloc_with_context</span><span·class="op">((</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>
199 <p><a201 <p><a
200 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L42">Source202 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L42">Source
201 Code</a></p>203 Code</a></p>
202 <p>Like·malloc()·in·the·C·standard·library,·but·the·implementation·may204 <p>Like·malloc()·in·the·C·standard·library,·but·the·implementation·may
203 be·overridden.</p>205 be·overridden.</p>
204 <p>This·is·a·macro.</p>206 <p>This·is·a·macro.</p>
205 <p>See·also:·<a·href="memory.html#al_free">al_free</a>,·<a207 <p>See·also:·<a·href="memory.html#al_free">al_free</a>,·<a
Offset 212, 15 lines modifiedOffset 214, 17 lines modified
212 <li><a214 <li><a
213 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_timer.c#L27">ex_audio_timer.c</a></li>215 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_audio_timer.c#L27">ex_audio_timer.c</a></li>
214 <li><a216 <li><a
215 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L134">ex_vertex_buffer.c</a></li>217 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_vertex_buffer.c#L134">ex_vertex_buffer.c</a></li>
216 </ul>218 </ul>
217 <h1·id="al_free">al_free</h1>219 <h1·id="al_free">al_free</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="pp">#define·al_free</span><span·class="op">(</span><span·class="pp">p</span><span·class="op">)</span><span·class="pp">·</span><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="pp">#define·al_free</span><span·class="op">(</span><span·class="pp">p</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
 221 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_free_with_context</span><span·class="op">((</span><span·class="pp">p</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span>
 222 <span·id="cb3-3"><a·href="#cb3-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_free</span><span·class="op">(</span><span·class="pp">p</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
219 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_free_with_context</span><span·class="op">((</span><span·class="pp">p</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>223 <span·id="cb3-4"><a·href="#cb3-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_free_with_context</span><span·class="op">((</span><span·class="pp">p</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>
220 <p><a224 <p><a
221 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L47">Source225 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L47">Source
222 Code</a></p>226 Code</a></p>
223 <p>Like·free()·in·the·C·standard·library,·but·the·implementation·may·be227 <p>Like·free()·in·the·C·standard·library,·but·the·implementation·may·be
224 overridden.</p>228 overridden.</p>
225 <p>Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be229 <p>Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be
226 freed·from·the·same·DLL.·In·the·few·places·where·an·Allegro·function230 freed·from·the·same·DLL.·In·the·few·places·where·an·Allegro·function
Offset 236, 26 lines modifiedOffset 240, 30 lines modified
236 <li><a240 <li><a
237 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_drag_and_drop.c#L166">ex_drag_and_drop.c</a></li>241 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_drag_and_drop.c#L166">ex_drag_and_drop.c</a></li>
238 <li><a242 <li><a
239 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record_name.c#L254">ex_record_name.c</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_record_name.c#L254">ex_record_name.c</a></li>
240 </ul>244 </ul>
241 <h1·id="al_realloc">al_realloc</h1>245 <h1·id="al_realloc">al_realloc</h1>
242 <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</span><span·class="op">(</span><span·class="pp">p</span><span·class="op">,</span><span·class="pp">·n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>246 <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</span><span·class="op">(</span><span·class="pp">p</span><span·class="op">,</span><span·class="pp">·n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
 247 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_realloc_with_context</span><span·class="op">((</span><span·class="pp">p</span><span·class="op">),</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span>
 248 <span·id="cb4-3"><a·href="#cb4-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_realloc</span><span·class="op">(</span><span·class="pp">p</span><span·class="op">,</span><span·class="pp">·n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
243 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_realloc_with_context</span><span·class="op">((</span><span·class="pp">p</span><span·class="op">),</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>249 <span·id="cb4-4"><a·href="#cb4-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_realloc_with_context</span><span·class="op">((</span><span·class="pp">p</span><span·class="op">),</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>
244 <p><a250 <p><a
245 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L52">Source251 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L52">Source
246 Code</a></p>252 Code</a></p>
247 <p>Like·realloc()·in·the·C·standard·library,·but·the·implementation·may253 <p>Like·realloc()·in·the·C·standard·library,·but·the·implementation·may
248 be·overridden.</p>254 be·overridden.</p>
249 <p>This·is·a·macro.</p>255 <p>This·is·a·macro.</p>
250 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a256 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a
251 href="memory.html#al_realloc_with_context">al_realloc_with_context</a></p>257 href="memory.html#al_realloc_with_context">al_realloc_with_context</a></p>
252 <h1·id="al_calloc">al_calloc</h1>258 <h1·id="al_calloc">al_calloc</h1>
253 <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</span><span·class="op">(</span><span·class="pp">c</span><span·class="op">,</span><span·class="pp">·n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>259 <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</span><span·class="op">(</span><span·class="pp">c</span><span·class="op">,</span><span·class="pp">·n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
 260 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_calloc_with_context</span><span·class="op">((</span><span·class="pp">c</span><span·class="op">),</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span>
 261 <span·id="cb5-3"><a·href="#cb5-3"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_calloc</span><span·class="op">(</span><span·class="pp">c</span><span·class="op">,</span><span·class="pp">·n</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">\</span></span>
254 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_calloc_with_context</span><span·class="op">((</span><span·class="pp">c</span><span·class="op">),</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>262 <span·id="cb5-4"><a·href="#cb5-4"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">···</span><span·class="op">(</span><span·class="pp">al_calloc_with_context</span><span·class="op">((</span><span·class="pp">c</span><span·class="op">),</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">n</span><span·class="op">),</span><span·class="pp">·__LINE__</span><span·class="op">,</span><span·class="pp">·__FILE__</span><span·class="op">,</span><span·class="pp">·__func__</span><span·class="op">))</span></span></code></pre></div>
255 <p><a263 <p><a
256 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L57">Source264 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L57">Source
257 Code</a></p>265 Code</a></p>
258 <p>Like·calloc()·in·the·C·standard·library,·but·the·implementation·may266 <p>Like·calloc()·in·the·C·standard·library,·but·the·implementation·may
259 be·overridden.</p>267 be·overridden.</p>
260 <p>This·is·a·macro.</p>268 <p>This·is·a·macro.</p>
261 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a269 <p>See·also:·<a·href="memory.html#al_malloc">al_malloc</a>,·<a
Offset 306, 15 lines modifiedOffset 314, 16 lines modified
306 Code</a></p>314 Code</a></p>
307 <p>This·calls·calloc()·from·the·Allegro·library·(this·matters·on315 <p>This·calls·calloc()·from·the·Allegro·library·(this·matters·on
308 Windows),·unless·overridden·with·<a316 Windows),·unless·overridden·with·<a
309 href="memory.html#al_set_memory_interface">al_set_memory_interface</a>,</p>317 href="memory.html#al_set_memory_interface">al_set_memory_interface</a>,</p>
310 <p>Generally·you·should·use·the·<a318 <p>Generally·you·should·use·the·<a
311 href="memory.html#al_calloc">al_calloc</a>·macro.</p>319 href="memory.html#al_calloc">al_calloc</a>·macro.</p>
312 <h1·id="allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</h1>320 <h1·id="allegro_memory_interface">ALLEGRO_MEMORY_INTERFACE</h1>
313 <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>321 <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>
 322 <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>
314 <p><a323 <p><a
315 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L28">Source324 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/memory.h#L28">Source
316 Code</a></p>325 Code</a></p>
317 <p>This·structure·has·the·following·fields.</p>326 <p>This·structure·has·the·following·fields.</p>
318 <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>327 <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>
319 <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>328 <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>
320 <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>329 <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>
3.84 KB
html2text {}
    
Offset 54, 26 lines modifiedOffset 54, 30 lines modified
54 ····*·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8M_\x8E_\x8M_\x8O_\x8R_\x8Y_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8F_\x8A_\x8C_\x8E54 ····*·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8M_\x8E_\x8M_\x8O_\x8R_\x8Y_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8F_\x8A_\x8C_\x8E
55 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e55 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
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 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_m\x8ma\x8al\x8ll\x8lo\x8oc\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*58 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_m\x8ma\x8al\x8ll\x8lo\x8oc\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*
59 #define·al_malloc(n)·\59 #define·al_malloc(n)·\
60 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))60 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))
 61 #define·al_malloc(n)·\
 62 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))
61 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e63 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
62 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be64 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be
63 overridden.65 overridden.
64 This·is·a·macro.66 This·is·a·macro.
65 See·also:·_\x8a_\x8l_\x8__\x8f_\x8r_\x8e_\x8e,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8c_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8m_\x8a_\x8l_\x8l_\x8o_\x8c_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8c_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t,67 See·also:·_\x8a_\x8l_\x8__\x8f_\x8r_\x8e_\x8e,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8c_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8m_\x8a_\x8l_\x8l_\x8o_\x8c_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8c_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t,
66 _\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e68 _\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
67 Examples:69 Examples:
68 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8._\x8c70 ····*·_\x8e_\x8x_\x8__\x8a_\x8u_\x8d_\x8i_\x8o_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8._\x8c
69 ····*·_\x8e_\x8x_\x8__\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8._\x8c71 ····*·_\x8e_\x8x_\x8__\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8._\x8c
70 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_f\x8fr\x8re\x8ee\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*72 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_f\x8fr\x8re\x8ee\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
71 #define·al_free(p)·\73 #define·al_free(p)·\
72 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))74 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))
 75 #define·al_free(p)·\
 76 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))
73 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e77 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
74 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be78 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be
75 overridden.79 overridden.
76 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
77 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
78 pointer·that·must·be·freed,·you·must·use·_\x8a_\x8l_\x8__\x8f_\x8r_\x8e_\x8e·for·portability·to·Windows.82 pointer·that·must·be·freed,·you·must·use·_\x8a_\x8l_\x8__\x8f_\x8r_\x8e_\x8e·for·portability·to·Windows.
79 This·is·a·macro.83 This·is·a·macro.
Offset 81, 22 lines modifiedOffset 85, 26 lines modified
81 Examples:85 Examples:
82 ····*·_\x8e_\x8x_\x8__\x8c_\x8l_\x8i_\x8p_\x8b_\x8o_\x8a_\x8r_\x8d_\x8._\x8c86 ····*·_\x8e_\x8x_\x8__\x8c_\x8l_\x8i_\x8p_\x8b_\x8o_\x8a_\x8r_\x8d_\x8._\x8c
83 ····*·_\x8e_\x8x_\x8__\x8d_\x8r_\x8a_\x8g_\x8__\x8a_\x8n_\x8d_\x8__\x8d_\x8r_\x8o_\x8p_\x8._\x8c87 ····*·_\x8e_\x8x_\x8__\x8d_\x8r_\x8a_\x8g_\x8__\x8a_\x8n_\x8d_\x8__\x8d_\x8r_\x8o_\x8p_\x8._\x8c
84 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8c_\x8o_\x8r_\x8d_\x8__\x8n_\x8a_\x8m_\x8e_\x8._\x8c88 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8c_\x8o_\x8r_\x8d_\x8__\x8n_\x8a_\x8m_\x8e_\x8._\x8c
85 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8ea\x8al\x8ll\x8lo\x8oc\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*89 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8ea\x8al\x8ll\x8lo\x8oc\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*
86 #define·al_realloc(p,·n)·\90 #define·al_realloc(p,·n)·\
87 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))91 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))
 92 #define·al_realloc(p,·n)·\
 93 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))
88 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e94 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
89 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be95 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be
90 overridden.96 overridden.
91 This·is·a·macro.97 This·is·a·macro.
92 See·also:·_\x8a_\x8l_\x8__\x8m_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8a_\x8l_\x8l_\x8o_\x8c_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8c_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t98 See·also:·_\x8a_\x8l_\x8__\x8m_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8a_\x8l_\x8l_\x8o_\x8c_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8c_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t
93 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8ca\x8al\x8ll\x8lo\x8oc\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*99 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8ca\x8al\x8ll\x8lo\x8oc\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*
94 #define·al_calloc(c,·n)·\100 #define·al_calloc(c,·n)·\
95 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))101 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))
 102 #define·al_calloc(c,·n)·\
 103 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))
96 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e104 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
97 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be105 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be
98 overridden.106 overridden.
99 This·is·a·macro.107 This·is·a·macro.
100 See·also:·_\x8a_\x8l_\x8__\x8m_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8c_\x8a_\x8l_\x8l_\x8o_\x8c_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8c_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t108 See·also:·_\x8a_\x8l_\x8__\x8m_\x8a_\x8l_\x8l_\x8o_\x8c,·_\x8a_\x8l_\x8__\x8c_\x8a_\x8l_\x8l_\x8o_\x8c_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8c_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t
101 Examples:109 Examples:
102 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8c_\x8o_\x8r_\x8d_\x8__\x8n_\x8a_\x8m_\x8e_\x8._\x8c110 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8c_\x8o_\x8r_\x8d_\x8__\x8n_\x8a_\x8m_\x8e_\x8._\x8c
Offset 126, 14 lines modifiedOffset 134, 15 lines modified
126 ···int·line,·const·char·*file,·const·char·*func)134 ···int·line,·const·char·*file,·const·char·*func)
127 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e135 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
128 This·calls·calloc()·from·the·Allegro·library·(this·matters·on·Windows),·unless136 This·calls·calloc()·from·the·Allegro·library·(this·matters·on·Windows),·unless
129 overridden·with·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e,137 overridden·with·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e,
130 Generally·you·should·use·the·_\x8a_\x8l_\x8__\x8c_\x8a_\x8l_\x8l_\x8o_\x8c·macro.138 Generally·you·should·use·the·_\x8a_\x8l_\x8__\x8c_\x8a_\x8l_\x8l_\x8o_\x8c·macro.
131 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8ME\x8EM\x8MO\x8OR\x8RY\x8Y_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RF\x8FA\x8AC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*139 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8ME\x8EM\x8MO\x8OR\x8RY\x8Y_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RF\x8FA\x8AC\x8CE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
132 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;140 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;
 141 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;
133 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e142 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
134 This·structure·has·the·following·fields.143 This·structure·has·the·following·fields.
135 void·*(*mi_malloc)(size_t·n,·int·line,·const·char·*file,·const·char·*func);144 void·*(*mi_malloc)(size_t·n,·int·line,·const·char·*file,·const·char·*func);
136 void·(*mi_free)(void·*ptr,·int·line,·const·char·*file,·const·char·*func);145 void·(*mi_free)(void·*ptr,·int·line,·const·char·*file,·const·char·*func);
137 void·*(*mi_realloc)(void·*ptr,·size_t·n,·int·line,·const·char·*file,146 void·*(*mi_realloc)(void·*ptr,·size_t·n,·int·line,·const·char·*file,
138 ····················const·char·*func);147 ····················const·char·*func);
139 void·*(*mi_calloc)(size_t·count,·size_t·n,·int·line,·const·char·*file,148 void·*(*mi_calloc)(size_t·count,·size_t·n,·int·line,·const·char·*file,
2.35 KB
./usr/share/doc/allegro5-doc/refman/misc.html
    
Offset 176, 15 lines modifiedOffset 176, 16 lines modified
176 <li><a·href="#allegro_pi"·id="toc-allegro_pi">ALLEGRO_PI</a></li>176 <li><a·href="#allegro_pi"·id="toc-allegro_pi">ALLEGRO_PI</a></li>
177 <li><a·href="#al_run_main"·id="toc-al_run_main">al_run_main</a></li>177 <li><a·href="#al_run_main"·id="toc-al_run_main">al_run_main</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_pi">ALLEGRO_PI</h1>182 <h1·id="allegro_pi">ALLEGRO_PI</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·ALLEGRO_PI········</span><span·class="fl">3.14159265358979323846</span></span></code></pre></div>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·ALLEGRO_PI········</span><span·class="fl">3.14159265358979323846</span></span>
 184 <span·id="cb2-2"><a·href="#cb2-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_PI········</span><span·class="fl">3.14159265358979323846</span></span></code></pre></div>
184 <p><a185 <p><a
185 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/base.h#L96">Source186 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/base.h#L96">Source
186 Code</a></p>187 Code</a></p>
187 <p>C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,188 <p>C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,
188 but·you·can·use·this·one·instead.</p>189 but·you·can·use·this·one·instead.</p>
189 <p>Examples:</p>190 <p>Examples:</p>
190 <ul>191 <ul>
784 B
html2text {}
    
Offset 45, 14 lines modifiedOffset 45, 15 lines modified
45 *\x8**\x8**\x8**\x8**\x8**\x8*·M\x8Mi\x8is\x8sc\x8ce\x8el\x8ll\x8la\x8an\x8ne\x8eo\x8ou\x8us\x8s·r\x8ro\x8ou\x8ut\x8ti\x8in\x8ne\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*45 *\x8**\x8**\x8**\x8**\x8**\x8*·M\x8Mi\x8is\x8sc\x8ce\x8el\x8ll\x8la\x8an\x8ne\x8eo\x8ou\x8us\x8s·r\x8ro\x8ou\x8ut\x8ti\x8in\x8ne\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
46 ····*·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8P_\x8I46 ····*·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8P_\x8I
47 ····*·_\x8a_\x8l_\x8__\x8r_\x8u_\x8n_\x8__\x8m_\x8a_\x8i_\x8n47 ····*·_\x8a_\x8l_\x8__\x8r_\x8u_\x8n_\x8__\x8m_\x8a_\x8i_\x8n
48 These·functions·are·declared·in·the·main·Allegro·header·file:48 These·functions·are·declared·in·the·main·Allegro·header·file:
49 ·#include·<allegro5/allegro.h>49 ·#include·<allegro5/allegro.h>
50 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_P\x8PI\x8I·*\x8**\x8**\x8**\x8**\x8**\x8*50 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_P\x8PI\x8I·*\x8**\x8**\x8**\x8**\x8**\x8*
51 #define·ALLEGRO_PI········3.1415926535897932384651 #define·ALLEGRO_PI········3.14159265358979323846
 52 #define·ALLEGRO_PI········3.14159265358979323846
52 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e53 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
53 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,·but·you54 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,·but·you
54 can·use·this·one·instead.55 can·use·this·one·instead.
55 Examples:56 Examples:
56 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8._\x8c57 ····*·_\x8e_\x8x_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8._\x8c
57 ····*·_\x8e_\x8x_\x8__\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8c58 ····*·_\x8e_\x8x_\x8__\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8c
58 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8b_\x8e_\x8n_\x8c_\x8h_\x8._\x8c59 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8b_\x8e_\x8n_\x8c_\x8h_\x8._\x8c
2.65 KB
./usr/share/doc/allegro5-doc/refman/monitor.html
    
Offset 184, 15 lines modifiedOffset 184, 16 lines modified
184 <li><a·href="#al_get_monitor_refresh_rate"184 <li><a·href="#al_get_monitor_refresh_rate"
185 id="toc-al_get_monitor_refresh_rate">al_get_monitor_refresh_rate</a></li>185 id="toc-al_get_monitor_refresh_rate">al_get_monitor_refresh_rate</a></li>
186 </ul>186 </ul>
187 </nav>187 </nav>
188 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>188 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
189 <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 <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>
190 <h1·id="allegro_monitor_info">ALLEGRO_MONITOR_INFO</h1>190 <h1·id="allegro_monitor_info">ALLEGRO_MONITOR_INFO</h1>
191 <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>191 <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>
 192 <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>
192 <p><a193 <p><a
193 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/monitor.h#L13">Source194 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/monitor.h#L13">Source
194 Code</a></p>195 Code</a></p>
195 <p>Describes·a·monitor’s·size·and·position·relative·to·other·monitors.196 <p>Describes·a·monitor’s·size·and·position·relative·to·other·monitors.
196 x1,·y1·will·be·0,·0·on·the·primary·display.·Other·monitors·can·have197 x1,·y1·will·be·0,·0·on·the·primary·display.·Other·monitors·can·have
197 negative·values·if·they·are·to·the·left·or·above·the·primary·display.198 negative·values·if·they·are·to·the·left·or·above·the·primary·display.
198 x2,·y2·are·the·coordinates·one·beyond·the·bottom·right·pixel,·so·that199 x2,·y2·are·the·coordinates·one·beyond·the·bottom·right·pixel,·so·that
965 B
html2text {}
    
Offset 48, 14 lines modifiedOffset 48, 15 lines modified
48 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8m_\x8o_\x8n_\x8i_\x8t_\x8o_\x8r_\x8__\x8d_\x8p_\x8i48 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8m_\x8o_\x8n_\x8i_\x8t_\x8o_\x8r_\x8__\x8d_\x8p_\x8i
49 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8u_\x8m_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8s49 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8u_\x8m_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8s
50 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8m_\x8o_\x8n_\x8i_\x8t_\x8o_\x8r_\x8__\x8r_\x8e_\x8f_\x8r_\x8e_\x8s_\x8h_\x8__\x8r_\x8a_\x8t_\x8e50 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8m_\x8o_\x8n_\x8i_\x8t_\x8o_\x8r_\x8__\x8r_\x8e_\x8f_\x8r_\x8e_\x8s_\x8h_\x8__\x8r_\x8a_\x8t_\x8e
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 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MO\x8ON\x8NI\x8IT\x8TO\x8OR\x8R_\x8_I\x8IN\x8NF\x8FO\x8O·*\x8**\x8**\x8**\x8**\x8**\x8*53 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MO\x8ON\x8NI\x8IT\x8TO\x8OR\x8R_\x8_I\x8IN\x8NF\x8FO\x8O·*\x8**\x8**\x8**\x8**\x8**\x8*
54 typedef·struct·ALLEGRO_MONITOR_INFO54 typedef·struct·ALLEGRO_MONITOR_INFO
 55 typedef·struct·ALLEGRO_MONITOR_INFO
55 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e56 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
56 Describes·a·monitor’s·size·and·position·relative·to·other·monitors.·x1,·y1·will57 Describes·a·monitor’s·size·and·position·relative·to·other·monitors.·x1,·y1·will
57 be·0,·0·on·the·primary·display.·Other·monitors·can·have·negative·values·if·they58 be·0,·0·on·the·primary·display.·Other·monitors·can·have·negative·values·if·they
58 are·to·the·left·or·above·the·primary·display.·x2,·y2·are·the·coordinates·one59 are·to·the·left·or·above·the·primary·display.·x2,·y2·are·the·coordinates·one
59 beyond·the·bottom·right·pixel,·so·that·x2-x1·gives·the·width·and·y2-y1·gives60 beyond·the·bottom·right·pixel,·so·that·x2-x1·gives·the·width·and·y2-y1·gives
60 the·height·of·the·display.61 the·height·of·the·display.
61 typedef·struct·ALLEGRO_MONITOR_INFO62 typedef·struct·ALLEGRO_MONITOR_INFO
2.41 KB
./usr/share/doc/allegro5-doc/refman/mouse.html
    
Offset 231, 15 lines modifiedOffset 231, 16 lines modified
231 id="toc-al_ungrab_mouse">al_ungrab_mouse</a></li>231 id="toc-al_ungrab_mouse">al_ungrab_mouse</a></li>
232 </ul></li>232 </ul></li>
233 </ul>233 </ul>
234 </nav>234 </nav>
235 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>235 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</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.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.h&gt;</span></span></code></pre></div>
237 <h1·id="allegro_mouse_state">ALLEGRO_MOUSE_STATE</h1>237 <h1·id="allegro_mouse_state">ALLEGRO_MOUSE_STATE</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_MOUSE_STATE·ALLEGRO_MOUSE_STATE<span·class="op">;</span></span></code></pre></div>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_MOUSE_STATE·ALLEGRO_MOUSE_STATE<span·class="op">;</span></span>
 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_MOUSE_STATE·ALLEGRO_MOUSE_STATE<span·class="op">;</span></span></code></pre></div>
239 <p><a240 <p><a
240 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/mouse.h#L35">Source241 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/mouse.h#L35">Source
241 Code</a></p>242 Code</a></p>
242 <p>Public·fields·(read·only):</p>243 <p>Public·fields·(read·only):</p>
243 <ul>244 <ul>
244 <li><p>x·-·mouse·x·position</p></li>245 <li><p>x·-·mouse·x·position</p></li>
245 <li><p>y·-·mouse·y·position</p></li>246 <li><p>y·-·mouse·y·position</p></li>
823 B
html2text {}
    
Offset 71, 14 lines modifiedOffset 71, 15 lines modified
71 ··········o·_\x8a_\x8l_\x8__\x8s_\x8h_\x8o_\x8w_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8c_\x8u_\x8r_\x8s_\x8o_\x8r71 ··········o·_\x8a_\x8l_\x8__\x8s_\x8h_\x8o_\x8w_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8c_\x8u_\x8r_\x8s_\x8o_\x8r
72 ··········o·_\x8a_\x8l_\x8__\x8g_\x8r_\x8a_\x8b_\x8__\x8m_\x8o_\x8u_\x8s_\x8e72 ··········o·_\x8a_\x8l_\x8__\x8g_\x8r_\x8a_\x8b_\x8__\x8m_\x8o_\x8u_\x8s_\x8e
73 ··········o·_\x8a_\x8l_\x8__\x8u_\x8n_\x8g_\x8r_\x8a_\x8b_\x8__\x8m_\x8o_\x8u_\x8s_\x8e73 ··········o·_\x8a_\x8l_\x8__\x8u_\x8n_\x8g_\x8r_\x8a_\x8b_\x8__\x8m_\x8o_\x8u_\x8s_\x8e
74 These·functions·are·declared·in·the·main·Allegro·header·file:74 These·functions·are·declared·in·the·main·Allegro·header·file:
75 ·#include·<allegro5/allegro.h>75 ·#include·<allegro5/allegro.h>
76 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MO\x8OU\x8US\x8SE\x8E_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*76 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MO\x8OU\x8US\x8SE\x8E_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
77 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;77 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;
 78 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;
78 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e79 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
79 Public·fields·(read·only):80 Public·fields·(read·only):
80 ····*·x·-·mouse·x·position81 ····*·x·-·mouse·x·position
81 ····*·y·-·mouse·y·position82 ····*·y·-·mouse·y·position
82 ····*·w,·z·-·mouse·wheel·position·(2D·‘ball’)83 ····*·w,·z·-·mouse·wheel·position·(2D·‘ball’)
83 ····*·buttons·-·mouse·buttons·bitfield84 ····*·buttons·-·mouse·buttons·bitfield
84 ······The·zeroth·bit·is·set·if·the·primary·mouse·button·is·held·down,·the·first85 ······The·zeroth·bit·is·set·if·the·primary·mouse·button·is·held·down,·the·first
101 KB
./usr/share/doc/allegro5-doc/refman/native_dialog.html
    
Offset 262, 39 lines modifiedOffset 262, 42 lines modified
262 </ul></li>262 </ul></li>
263 </ul>263 </ul>
264 </nav>264 </nav>
265 <p>These·functions·are·declared·in·the·following·header·file.·Link·with265 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
266 allegro_dialog.</p>266 allegro_dialog.</p>
267 <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>267 <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>
268 <h1·id="allegro_filechooser">ALLEGRO_FILECHOOSER</h1>268 <h1·id="allegro_filechooser">ALLEGRO_FILECHOOSER</h1>
269 <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>269 <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>
 270 <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>
270 <p><a271 <p><a
271 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L38">Source272 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L38">Source
272 Code</a></p>273 Code</a></p>
273 <p>Opaque·handle·to·a·native·file·dialog.</p>274 <p>Opaque·handle·to·a·native·file·dialog.</p>
274 <p>Examples:</p>275 <p>Examples:</p>
275 <ul>276 <ul>
276 <li><a277 <li><a
277 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L31">ex_native_filechooser.c</a></li>278 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L31">ex_native_filechooser.c</a></li>
278 </ul>279 </ul>
279 <h1·id="allegro_textlog">ALLEGRO_TEXTLOG</h1>280 <h1·id="allegro_textlog">ALLEGRO_TEXTLOG</h1>
280 <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>281 <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>
 282 <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>
281 <p><a283 <p><a
282 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L42">Source284 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/allegro5/allegro_native_dialog.h#L42">Source
283 Code</a></p>285 Code</a></p>
284 <p>Opaque·handle·to·a·text·log·window.</p>286 <p>Opaque·handle·to·a·text·log·window.</p>
285 <p>Examples:</p>287 <p>Examples:</p>
286 <ul>288 <ul>
287 <li><a289 <li><a
288 href="https://github.com/liballeg/allegro5/blob/master/examples/common.c#L27">common.c</a></li>290 href="https://github.com/liballeg/allegro5/blob/master/examples/common.c#L27">common.c</a></li>
289 <li><a291 <li><a
290 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L36">ex_native_filechooser.c</a></li>292 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L36">ex_native_filechooser.c</a></li>
291 </ul>293 </ul>
292 <h1·id="al_init_native_dialog_addon">al_init_native_dialog_addon</h1>294 <h1·id="al_init_native_dialog_addon">al_init_native_dialog_addon</h1>
293 <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>295 <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>
 296 <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>
294 <p><a297 <p><a
295 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L18">Source298 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L18">Source
296 Code</a></p>299 Code</a></p>
297 <p>Initialise·the·native·dialog·addon.</p>300 <p>Initialise·the·native·dialog·addon.</p>
298 <p>Returns·true·on·success,·false·on·error.</p>301 <p>Returns·true·on·success,·false·on·error.</p>
299 <p>Since:·5.0.9,·5.1.0</p>302 <p>Since:·5.0.9,·5.1.0</p>
300 <blockquote>303 <blockquote>
Offset 315, 37 lines modifiedOffset 318, 44 lines modified
315 <li><a318 <li><a
316 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_maximized.c#L58">ex_window_maximized.c</a></li>319 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_window_maximized.c#L58">ex_window_maximized.c</a></li>
317 <li><a320 <li><a
318 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_menu.c#L83">ex_menu.c</a></li>321 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_menu.c#L83">ex_menu.c</a></li>
319 </ul>322 </ul>
320 <h1323 <h1
321 id="al_is_native_dialog_addon_initialized">al_is_native_dialog_addon_initialized</h1>324 id="al_is_native_dialog_addon_initialized">al_is_native_dialog_addon_initialized</h1>
322 <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>325 <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>
 326 <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>
323 <p><a327 <p><a
324 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L35">Source328 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L35">Source
325 Code</a></p>329 Code</a></p>
326 <p>Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise330 <p>Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise
327 returns·false.</p>331 returns·false.</p>
328 <p>Since:·5.2.6</p>332 <p>Since:·5.2.6</p>
329 <h1333 <h1
330 id="al_shutdown_native_dialog_addon">al_shutdown_native_dialog_addon</h1>334 id="al_shutdown_native_dialog_addon">al_shutdown_native_dialog_addon</h1>
331 <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>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">void</span>·al_shutdown_native_dialog_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>
 336 <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>
332 <p><a337 <p><a
333 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L42">Source338 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L42">Source
334 Code</a></p>339 Code</a></p>
335 <p>Shut·down·the·native·dialog·addon.</p>340 <p>Shut·down·the·native·dialog·addon.</p>
336 <p>Since:·5.0.9,·5.1.5</p>341 <p>Since:·5.0.9,·5.1.5</p>
337 <p>See·also:·<a342 <p>See·also:·<a
338 href="native_dialog.html#al_init_native_dialog_addon">al_init_native_dialog_addon</a></p>343 href="native_dialog.html#al_init_native_dialog_addon">al_init_native_dialog_addon</a></p>
339 <h1·id="al_create_native_file_dialog">al_create_native_file_dialog</h1>344 <h1·id="al_create_native_file_dialog">al_create_native_file_dialog</h1>
340 <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>345 <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>
341 <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>346 <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>
342 <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>347 <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>
343 <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>348 <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>
 349 <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>
 350 <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>
 351 <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>
 352 <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>
 353 <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>
344 <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>354 <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>
345 <p><a355 <p><a
346 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L53">Source356 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L53">Source
347 Code</a></p>357 Code</a></p>
348 <p>Creates·a·new·native·file·dialog.·You·should·only·have·one·such358 <p>Creates·a·new·native·file·dialog.·You·should·only·have·one·such
349 dialog·opened·at·a·time.</p>359 dialog·opened·at·a·time.</p>
350 <p>Parameters:</p>360 <p>Parameters:</p>
351 <ul>361 <ul>
Offset 434, 15 lines modifiedOffset 444, 17 lines modified
434 <p>Examples:</p>444 <p>Examples:</p>
435 <ul>445 <ul>
436 <li><a446 <li><a
437 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L105">ex_native_filechooser.c</a></li>447 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L105">ex_native_filechooser.c</a></li>
438 </ul>448 </ul>
439 <h1·id="al_show_native_file_dialog">al_show_native_file_dialog</h1>449 <h1·id="al_show_native_file_dialog">al_show_native_file_dialog</h1>
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">bool</span>·al_show_native_file_dialog<span·class="op">(</span>ALLEGRO_DISPLAY·<span·class="op">*</span>display<span·class="op">,</span></span>450 <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>
 451 <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>
 452 <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>
441 <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>453 <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>
442 <p><a454 <p><a
443 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L78">Source455 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L78">Source
444 Code</a></p>456 Code</a></p>
445 <p>Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given457 <p>Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given
446 display·is·treated·as·the·parent·if·possible.</p>458 display·is·treated·as·the·parent·if·possible.</p>
447 <p>This·function·blocks·the·calling·thread·until·it·returns,·so·you·may459 <p>This·function·blocks·the·calling·thread·until·it·returns,·so·you·may
448 want·to·spawn·a·thread·with·<a460 want·to·spawn·a·thread·with·<a
Offset 460, 29 lines modifiedOffset 472, 32 lines modified
460 <p>Examples:</p>472 <p>Examples:</p>
461 <ul>473 <ul>
462 <li><a474 <li><a
463 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L59">ex_native_filechooser.c</a></li>475 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L59">ex_native_filechooser.c</a></li>
464 </ul>476 </ul>
465 <h1477 <h1
466 id="al_get_native_file_dialog_count">al_get_native_file_dialog_count</h1>478 id="al_get_native_file_dialog_count">al_get_native_file_dialog_count</h1>
467 <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>479 <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>
 480 <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>
468 <p><a481 <p><a
469 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L87">Source482 href="https://github.com/liballeg/allegro5/blob/master/addons/native_dialog/dialog.c#L87">Source
470 Code</a></p>483 Code</a></p>
471 <p>Returns·the·number·of·files·selected,·or·0·if·the·dialog·was484 <p>Returns·the·number·of·files·selected,·or·0·if·the·dialog·was
472 cancelled.</p>485 cancelled.</p>
473 <p>Examples:</p>486 <p>Examples:</p>
474 <ul>487 <ul>
475 <li><a488 <li><a
476 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L148">ex_native_filechooser.c</a></li>489 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_native_filechooser.c#L148">ex_native_filechooser.c</a></li>
477 </ul>490 </ul>
478 <h1491 <h1
479 id="al_get_native_file_dialog_path">al_get_native_file_dialog_path</h1>492 id="al_get_native_file_dialog_path">al_get_native_file_dialog_path</h1>
Max diff block lines reached; 60269/73273 bytes (82.25%) of diff not shown.
29.5 KB
html2text {}
    
Offset 88, 27 lines modifiedOffset 88, 30 lines modified
88 ··········o·_\x8a_\x8l_\x8__\x8p_\x8o_\x8p_\x8u_\x8p_\x8__\x8m_\x8e_\x8n_\x8u88 ··········o·_\x8a_\x8l_\x8__\x8p_\x8o_\x8p_\x8u_\x8p_\x8__\x8m_\x8e_\x8n_\x8u
89 ··········o·_\x8a_\x8l_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8m_\x8e_\x8n_\x8u89 ··········o·_\x8a_\x8l_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8d_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8__\x8m_\x8e_\x8n_\x8u
90 These·functions·are·declared·in·the·following·header·file.·Link·with90 These·functions·are·declared·in·the·following·header·file.·Link·with
91 allegro_dialog.91 allegro_dialog.
92 ·#include·<allegro5/allegro_native_dialog.h>92 ·#include·<allegro5/allegro_native_dialog.h>
93 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8EC\x8CH\x8HO\x8OO\x8OS\x8SE\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*93 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_F\x8FI\x8IL\x8LE\x8EC\x8CH\x8HO\x8OO\x8OS\x8SE\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*
94 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;94 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;
 95 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;
95 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e96 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
96 Opaque·handle·to·a·native·file·dialog.97 Opaque·handle·to·a·native·file·dialog.
97 Examples:98 Examples:
98 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c99 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
99 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TE\x8EX\x8XT\x8TL\x8LO\x8OG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*100 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TE\x8EX\x8XT\x8TL\x8LO\x8OG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
100 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;101 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;
 102 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;
101 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e103 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
102 Opaque·handle·to·a·text·log·window.104 Opaque·handle·to·a·text·log·window.
103 Examples:105 Examples:
104 ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8c106 ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8c
105 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c107 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
106 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*108 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
107 bool·al_init_native_dialog_addon(void)109 bool·al_init_native_dialog_addon(void)
 110 bool·al_init_native_dialog_addon(void)
108 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e111 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
109 Initialise·the·native·dialog·addon.112 Initialise·the·native·dialog·addon.
110 Returns·true·on·success,·false·on·error.113 Returns·true·on·success,·false·on·error.
111 Since:·5.0.9,·5.1.0114 Since:·5.0.9,·5.1.0
112 ·····N\x8No\x8ot\x8te\x8e:\x8:·Prior·to·Allegro·5.1.0·native·dialog·functions·could·be·called115 ·····N\x8No\x8ot\x8te\x8e:\x8:·Prior·to·Allegro·5.1.0·native·dialog·functions·could·be·called
113 ·····without·explicit·initialisation,·but·that·is·now·deprecated.·Future116 ·····without·explicit·initialisation,·but·that·is·now·deprecated.·Future
114 ·····functionality·may·require·explicit·initialisation.·An·exception·is117 ·····functionality·may·require·explicit·initialisation.·An·exception·is
Offset 117, 30 lines modifiedOffset 120, 37 lines modified
117 See·also:·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g_\x8__\x8a_\x8d_\x8d_\x8o_\x8n120 See·also:·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
118 Examples:121 Examples:
119 ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8c122 ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8c
120 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8m_\x8a_\x8x_\x8i_\x8m_\x8i_\x8z_\x8e_\x8d_\x8._\x8c123 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8m_\x8a_\x8x_\x8i_\x8m_\x8i_\x8z_\x8e_\x8d_\x8._\x8c
121 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8n_\x8u_\x8._\x8c124 ····*·_\x8e_\x8x_\x8__\x8m_\x8e_\x8n_\x8u_\x8._\x8c
122 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*125 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*
123 bool·al_is_native_dialog_addon_initialized(void)126 bool·al_is_native_dialog_addon_initialized(void)
 127 bool·al_is_native_dialog_addon_initialized(void)
124 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e128 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
125 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise·returns129 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise·returns
126 false.130 false.
127 Since:·5.2.6131 Since:·5.2.6
128 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*132 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
129 void·al_shutdown_native_dialog_addon(void)133 void·al_shutdown_native_dialog_addon(void)
 134 void·al_shutdown_native_dialog_addon(void)
130 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e135 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
131 Shut·down·the·native·dialog·addon.136 Shut·down·the·native·dialog·addon.
132 Since:·5.0.9,·5.1.5137 Since:·5.0.9,·5.1.5
133 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g_\x8__\x8a_\x8d_\x8d_\x8o_\x8n138 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
134 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*139 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*
135 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(140 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(
136 ···char·const·*initial_path,141 ···char·const·*initial_path,
137 ···char·const·*title,142 ···char·const·*title,
138 ···char·const·*patterns,143 ···char·const·*patterns,
139 ···int·mode)144 ···int·mode)
 145 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(
 146 ···char·const·*initial_path,
 147 ···char·const·*title,
 148 ···char·const·*patterns,
 149 ···int·mode)
140 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e150 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
141 Creates·a·new·native·file·dialog.·You·should·only·have·one·such·dialog·opened151 Creates·a·new·native·file·dialog.·You·should·only·have·one·such·dialog·opened
142 at·a·time.152 at·a·time.
143 Parameters:153 Parameters:
144 ····*·initial_path:·The·initial·search·path·and·filename.·Can·be·NULL.·To·start154 ····*·initial_path:·The·initial·search·path·and·filename.·Can·be·NULL.·To·start
145 ······with·a·blank·file·name·the·string·should·end·with·a·directory·separator155 ······with·a·blank·file·name·the·string·should·end·with·a·directory·separator
146 ······(this·should·be·the·common·case).156 ······(this·should·be·the·common·case).
Offset 194, 54 lines modifiedOffset 204, 63 lines modified
194 are·done,·call·_\x8a_\x8l_\x8__\x8d_\x8e_\x8s_\x8t_\x8r_\x8o_\x8y_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g·on·it.204 are·done,·call·_\x8a_\x8l_\x8__\x8d_\x8e_\x8s_\x8t_\x8r_\x8o_\x8y_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g·on·it.
195 If·a·dialog·window·could·not·be·created·then·this·function·returns·NULL.205 If·a·dialog·window·could·not·be·created·then·this·function·returns·NULL.
196 Examples:206 Examples:
197 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c207 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
198 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8ho\x8ow\x8w_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*208 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8ho\x8ow\x8w_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*
199 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,209 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,
200 ···ALLEGRO_FILECHOOSER·*dialog)210 ···ALLEGRO_FILECHOOSER·*dialog)
 211 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,
 212 ···ALLEGRO_FILECHOOSER·*dialog)
201 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e213 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
202 Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given·display·is214 Show·the·dialog·window.·The·display·may·be·NULL,·otherwise·the·given·display·is
203 treated·as·the·parent·if·possible.215 treated·as·the·parent·if·possible.
204 This·function·blocks·the·calling·thread·until·it·returns,·so·you·may·want·to216 This·function·blocks·the·calling·thread·until·it·returns,·so·you·may·want·to
205 spawn·a·thread·with·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d·and·call·it·from·inside·that·thread.217 spawn·a·thread·with·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d·and·call·it·from·inside·that·thread.
206 Returns·true·on·success,·false·on·failure.218 Returns·true·on·success,·false·on·failure.
207 ·····N\x8No\x8ot\x8te\x8e:\x8:·On·Android,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y_\x8__\x8H_\x8A_\x8L_\x8T_\x8__\x8D_\x8R_\x8A_\x8W_\x8I_\x8N_\x8G·and219 ·····N\x8No\x8ot\x8te\x8e:\x8:·On·Android,·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y_\x8__\x8H_\x8A_\x8L_\x8T_\x8__\x8D_\x8R_\x8A_\x8W_\x8I_\x8N_\x8G·and
208 ·····_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y_\x8__\x8R_\x8E_\x8S_\x8U_\x8M_\x8E_\x8__\x8D_\x8R_\x8A_\x8W_\x8I_\x8N_\x8G·need·to·be·handled·before·this220 ·····_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y_\x8__\x8R_\x8E_\x8S_\x8U_\x8M_\x8E_\x8__\x8D_\x8R_\x8A_\x8W_\x8I_\x8N_\x8G·need·to·be·handled·before·this
209 ·····function·returns.·This·means·that·you·must·call·it·from·a·different221 ·····function·returns.·This·means·that·you·must·call·it·from·a·different
210 ·····thread.222 ·····thread.
211 Examples:223 Examples:
212 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c224 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
213 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_c\x8co\x8ou\x8un\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*225 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_c\x8co\x8ou\x8un\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
214 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)226 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)
 227 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)
215 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e228 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
216 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.229 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.
217 Examples:230 Examples:
218 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c231 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
219 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_p\x8pa\x8at\x8th\x8h·*\x8**\x8**\x8**\x8**\x8**\x8*232 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g_\x8_p\x8pa\x8at\x8th\x8h·*\x8**\x8**\x8**\x8**\x8**\x8*
220 const·char·*al_get_native_file_dialog_path(233 const·char·*al_get_native_file_dialog_path(
221 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)234 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)
 235 const·char·*al_get_native_file_dialog_path(
 236 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)
222 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e237 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
223 Returns·one·of·the·selected·paths·with·index·i.·The·index·should·range·from·0238 Returns·one·of·the·selected·paths·with·index·i.·The·index·should·range·from·0
224 to·the·return·value·of·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g_\x8__\x8c_\x8o_\x8u_\x8n_\x8t·-1.239 to·the·return·value·of·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8d_\x8i_\x8a_\x8l_\x8o_\x8g_\x8__\x8c_\x8o_\x8u_\x8n_\x8t·-1.
225 ·····N\x8No\x8ot\x8te\x8e:\x8:·On·Android,·this·function·returns·a·content://·Universal240 ·····N\x8No\x8ot\x8te\x8e:\x8:·On·Android,·this·function·returns·a·content://·Universal
226 ·····Resource·Identifier·instead·of·a·file·path·due·to·the·constraints·of241 ·····Resource·Identifier·instead·of·a·file·path·due·to·the·constraints·of
227 ·····Scoped·Storage.·Selected·files·may·be·accessed·using242 ·····Scoped·Storage.·Selected·files·may·be·accessed·using
228 ·····_\x8a_\x8l_\x8__\x8a_\x8n_\x8d_\x8r_\x8o_\x8i_\x8d_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8d.243 ·····_\x8a_\x8l_\x8__\x8a_\x8n_\x8d_\x8r_\x8o_\x8i_\x8d_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8d.
229 Examples:244 Examples:
230 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c245 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
231 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8de\x8es\x8st\x8tr\x8ro\x8oy\x8y_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*246 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8de\x8es\x8st\x8tr\x8ro\x8oy\x8y_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_f\x8fi\x8il\x8le\x8e_\x8_d\x8di\x8ia\x8al\x8lo\x8og\x8g·*\x8**\x8**\x8**\x8**\x8**\x8*
232 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)247 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)
 248 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)
233 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e249 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
234 Frees·up·all·resources·used·by·the·file·dialog.250 Frees·up·all·resources·used·by·the·file·dialog.
235 Examples:251 Examples:
236 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c252 ····*·_\x8e_\x8x_\x8__\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8c_\x8h_\x8o_\x8o_\x8s_\x8e_\x8r_\x8._\x8c
237 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8ho\x8ow\x8w_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e_\x8_b\x8bo\x8ox\x8x·*\x8**\x8**\x8**\x8**\x8**\x8*253 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8ho\x8ow\x8w_\x8_n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e_\x8_b\x8bo\x8ox\x8x·*\x8**\x8**\x8**\x8**\x8**\x8*
238 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,254 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,
239 ···char·const·*title,·char·const·*heading,·char·const·*text,255 ···char·const·*title,·char·const·*heading,·char·const·*text,
240 ···char·const·*buttons,·int·flags)256 ···char·const·*buttons,·int·flags)
 257 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,
 258 ···char·const·*title,·char·const·*heading,·char·const·*text,
 259 ···char·const·*buttons,·int·flags)
241 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e260 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
242 Show·a·native·GUI·message·box.·This·can·be·used·for·example·to·display·an·error261 Show·a·native·GUI·message·box.·This·can·be·used·for·example·to·display·an·error
Max diff block lines reached; 22883/30186 bytes (75.81%) of diff not shown.
5.25 KB
./usr/share/doc/allegro5-doc/refman/physfs.html
    
Offset 191, 15 lines modifiedOffset 191, 16 lines modified
191 href="physfs.html#al_set_physfs_file_interface">al_set_physfs_file_interface</a>,191 href="physfs.html#al_set_physfs_file_interface">al_set_physfs_file_interface</a>,
192 then·<a·href="file.html#al_fopen">al_fopen</a>·or·another·function·that192 then·<a·href="file.html#al_fopen">al_fopen</a>·or·another·function·that
193 calls·<a·href="file.html#al_fopen">al_fopen</a>.</p>193 calls·<a·href="file.html#al_fopen">al_fopen</a>.</p>
194 <p>These·functions·are·declared·in·the·following·header·file.·Link·with194 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
195 allegro_physfs.</p>195 allegro_physfs.</p>
196 <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>196 <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>
197 <h1·id="al_set_physfs_file_interface">al_set_physfs_file_interface</h1>197 <h1·id="al_set_physfs_file_interface">al_set_physfs_file_interface</h1>
198 <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>198 <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>
 199 <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>
199 <p><a200 <p><a
200 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L301">Source201 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L301">Source
201 Code</a></p>202 Code</a></p>
202 <p>This·function·sets·<em>both</em>·the·<a203 <p>This·function·sets·<em>both</em>·the·<a
203 href="file.html#allegro_file_interface">ALLEGRO_FILE_INTERFACE</a>·and204 href="file.html#allegro_file_interface">ALLEGRO_FILE_INTERFACE</a>·and
204 <a·href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·for205 <a·href="fshook.html#allegro_fs_interface">ALLEGRO_FS_INTERFACE</a>·for
205 the·calling·thread.</p>206 the·calling·thread.</p>
Offset 231, 15 lines modifiedOffset 232, 16 lines modified
231 <p>Examples:</p>232 <p>Examples:</p>
232 <ul>233 <ul>
233 <li><a234 <li><a
234 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L149">ex_physfs.c</a></li>235 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_physfs.c#L149">ex_physfs.c</a></li>
235 </ul>236 </ul>
236 <h1237 <h1
237 id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1>238 id="al_get_allegro_physfs_version">al_get_allegro_physfs_version</h1>
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="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>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="dt">uint32_t</span>·al_get_allegro_physfs_version<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>
 240 <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>
239 <p><a241 <p><a
240 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L310">Source242 href="https://github.com/liballeg/allegro5/blob/master/addons/physfs/a5_physfs.c#L310">Source
241 Code</a></p>243 Code</a></p>
242 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a244 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
243 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>245 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
244 <p·class="timestamp">246 <p·class="timestamp">
245 Allegro·version·5.2.10247 Allegro·version·5.2.10
1.95 KB
html2text {}
    
Offset 54, 14 lines modifiedOffset 54, 15 lines modified
54 ALLEGRO_FILE·using·PhysicsFS,·first·call·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8p_\x8h_\x8y_\x8s_\x8f_\x8s_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e,·then54 ALLEGRO_FILE·using·PhysicsFS,·first·call·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8p_\x8h_\x8y_\x8s_\x8f_\x8s_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e,·then
55 _\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·or·another·function·that·calls·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n.55 _\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·or·another·function·that·calls·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n.
56 These·functions·are·declared·in·the·following·header·file.·Link·with56 These·functions·are·declared·in·the·following·header·file.·Link·with
57 allegro_physfs.57 allegro_physfs.
58 ·#include·<allegro5/allegro_physfs.h>58 ·#include·<allegro5/allegro_physfs.h>
59 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8se\x8et\x8t_\x8_p\x8ph\x8hy\x8ys\x8sf\x8fs\x8s_\x8_f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*59 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8se\x8et\x8t_\x8_p\x8ph\x8hy\x8ys\x8sf\x8fs\x8s_\x8_f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
60 void·al_set_physfs_file_interface(void)60 void·al_set_physfs_file_interface(void)
 61 void·al_set_physfs_file_interface(void)
61 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e62 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
62 This·function·sets·b\x8bo\x8ot\x8th\x8h·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8F_\x8I_\x8L_\x8E_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8F_\x8A_\x8C_\x8E·and·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8F_\x8S_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8F_\x8A_\x8C_\x8E·for63 This·function·sets·b\x8bo\x8ot\x8th\x8h·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8F_\x8I_\x8L_\x8E_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8F_\x8A_\x8C_\x8E·and·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8F_\x8S_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8F_\x8A_\x8C_\x8E·for
63 the·calling·thread.64 the·calling·thread.
64 Subsequent·calls·to·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·on·the·calling·thread·will·be·handled·by65 Subsequent·calls·to·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·on·the·calling·thread·will·be·handled·by
65 PHYSFS_open().·Operations·on·the·files·returned·by·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·will·then·be66 PHYSFS_open().·Operations·on·the·files·returned·by·_\x8a_\x8l_\x8__\x8f_\x8o_\x8p_\x8e_\x8n·will·then·be
66 performed·through·PhysicsFS.·Calls·to·the·Allegro·filesystem·functions,·such·as67 performed·through·PhysicsFS.·Calls·to·the·Allegro·filesystem·functions,·such·as
67 _\x8a_\x8l_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y·or·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8f_\x8s_\x8__\x8e_\x8n_\x8t_\x8r_\x8y,·on·the·calling·thread·will·be·diverted68 _\x8a_\x8l_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y·or·_\x8a_\x8l_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8f_\x8s_\x8__\x8e_\x8n_\x8t_\x8r_\x8y,·on·the·calling·thread·will·be·diverted
Offset 74, 11 lines modifiedOffset 75, 12 lines modified
74 ·····N\x8No\x8ot\x8te\x8e:\x8:·PhysFS·does·not·support·the·text-mode·reading·and·writing,75 ·····N\x8No\x8ot\x8te\x8e:\x8:·PhysFS·does·not·support·the·text-mode·reading·and·writing,
75 ·····which·means·that·Windows-style·newlines·will·not·be·preserved.76 ·····which·means·that·Windows-style·newlines·will·not·be·preserved.
76 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e.77 See·also:·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e.
77 Examples:78 Examples:
78 ····*·_\x8e_\x8x_\x8__\x8p_\x8h_\x8y_\x8s_\x8f_\x8s_\x8._\x8c79 ····*·_\x8e_\x8x_\x8__\x8p_\x8h_\x8y_\x8s_\x8f_\x8s_\x8._\x8c
79 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_p\x8ph\x8hy\x8ys\x8sf\x8fs\x8s_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*80 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_p\x8ph\x8hy\x8ys\x8sf\x8fs\x8s_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
80 uint32_t·al_get_allegro_physfs_version(void)81 uint32_t·al_get_allegro_physfs_version(void)
 82 uint32_t·al_get_allegro_physfs_version(void)
81 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e83 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
82 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as84 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
83 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.85 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.
84 Allegro·version·5.2.10·-·Last·updated:·2024-11-29·14:21:22·UTC86 Allegro·version·5.2.10·-·Last·updated:·2024-11-29·14:21:22·UTC
165 KB
./usr/share/doc/allegro5-doc/refman/primitives.html
    
Offset 328, 22 lines modifiedOffset 328, 24 lines modified
328 </nav>328 </nav>
329 <p>These·functions·are·declared·in·the·following·header·file.·Link·with329 <p>These·functions·are·declared·in·the·following·header·file.·Link·with
330 allegro_primitives.</p>330 allegro_primitives.</p>
331 <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>331 <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>
332 <h1·id="general">General</h1>332 <h1·id="general">General</h1>
333 <h2333 <h2
334 id="al_get_allegro_primitives_version">al_get_allegro_primitives_version</h2>334 id="al_get_allegro_primitives_version">al_get_allegro_primitives_version</h2>
335 <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>335 <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>
 336 <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>
336 <p><a337 <p><a
337 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L160">Source338 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L160">Source
338 Code</a></p>339 Code</a></p>
339 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a340 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
340 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>341 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
341 <h2·id="al_init_primitives_addon">al_init_primitives_addon</h2>342 <h2·id="al_init_primitives_addon">al_init_primitives_addon</h2>
342 <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>343 <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>
 344 <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>
343 <p><a345 <p><a
344 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L48">Source346 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L48">Source
345 Code</a></p>347 Code</a></p>
346 <p>Initializes·the·primitives·addon.</p>348 <p>Initializes·the·primitives·addon.</p>
347 <p><em>Returns:</em>·True·on·success,·false·on·failure.</p>349 <p><em>Returns:</em>·True·on·success,·false·on·failure.</p>
348 <p>See·also:·<a350 <p>See·also:·<a
349 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>351 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>
Offset 354, 27 lines modifiedOffset 356, 29 lines modified
354 <li><a356 <li><a
355 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L154">ex_blend_bench.c</a></li>357 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L154">ex_blend_bench.c</a></li>
356 <li><a358 <li><a
357 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_client.c#L157">ex_enet_client.c</a></li>359 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_client.c#L157">ex_enet_client.c</a></li>
358 </ul>360 </ul>
359 <h2361 <h2
360 id="al_is_primitives_addon_initialized">al_is_primitives_addon_initialized</h2>362 id="al_is_primitives_addon_initialized">al_is_primitives_addon_initialized</h2>
361 <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>363 <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>
 364 <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>
362 <p><a365 <p><a
363 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L62">Source366 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L62">Source
364 Code</a></p>367 Code</a></p>
365 <p>Returns·true·if·the·primitives·addon·is·initialized,·otherwise368 <p>Returns·true·if·the·primitives·addon·is·initialized,·otherwise
366 returns·false.</p>369 returns·false.</p>
367 <p>Since:·5.2.6</p>370 <p>Since:·5.2.6</p>
368 <p>See·also:·<a371 <p>See·also:·<a
369 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a>,372 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a>,
370 <a373 <a
371 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>374 href="primitives.html#al_shutdown_primitives_addon">al_shutdown_primitives_addon</a></p>
372 <h2·id="al_shutdown_primitives_addon">al_shutdown_primitives_addon</h2>375 <h2·id="al_shutdown_primitives_addon">al_shutdown_primitives_addon</h2>
373 <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>376 <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>
 377 <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>
374 <p><a378 <p><a
375 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L69">Source379 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/primitives.c#L69">Source
376 Code</a></p>380 Code</a></p>
377 <p>Shut·down·the·primitives·addon.·This·is·done·automatically·at·program381 <p>Shut·down·the·primitives·addon.·This·is·done·automatically·at·program
378 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>382 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>
379 <p>See·also:·<a383 <p>See·also:·<a
380 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a></p>384 href="primitives.html#al_init_primitives_addon">al_init_primitives_addon</a></p>
Offset 469, 15 lines modifiedOffset 473, 17 lines modified
469 completely·covered·by·a·shape·or·completely·not·covered,·then·the·shape473 completely·covered·by·a·shape·or·completely·not·covered,·then·the·shape
470 edges·will·be·sharp.·The·offsets·used·in·the·second·diagram·were·chosen474 edges·will·be·sharp.·The·offsets·used·in·the·second·diagram·were·chosen
471 so·that·this·is·the·case:·if·you·use·those·offsets,·your·shapes·(if·they475 so·that·this·is·the·case:·if·you·use·those·offsets,·your·shapes·(if·they
472 are·oriented·the·same·way·as·they·are·on·the·diagram)·should·look·the476 are·oriented·the·same·way·as·they·are·on·the·diagram)·should·look·the
473 same·whether·multisampling·is·turned·on·or·off.</p>477 same·whether·multisampling·is·turned·on·or·off.</p>
474 <h2·id="al_draw_line">al_draw_line</h2>478 <h2·id="al_draw_line">al_draw_line</h2>
475 <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>479 <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>
 480 <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>
 481 <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>
476 <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>482 <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>
477 <p><a483 <p><a
478 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L81">Source484 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L81">Source
479 Code</a></p>485 Code</a></p>
480 <p>Draws·a·line·segment·between·two·points.</p>486 <p>Draws·a·line·segment·between·two·points.</p>
481 <p><em>Parameters:</em></p>487 <p><em>Parameters:</em></p>
482 <ul>488 <ul>
483 <li>x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line</li>489 <li>x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line</li>
Offset 494, 15 lines modifiedOffset 500, 17 lines modified
494 <li><a500 <li><a
495 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resize.c#L17">ex_resize.c</a></li>501 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_resize.c#L17">ex_resize.c</a></li>
496 <li><a502 <li><a
497 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mouse_warp.c#L59">ex_mouse_warp.c</a></li>503 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_mouse_warp.c#L59">ex_mouse_warp.c</a></li>
498 </ul>504 </ul>
499 <h2·id="al_draw_triangle">al_draw_triangle</h2>505 <h2·id="al_draw_triangle">al_draw_triangle</h2>
500 <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>506 <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>
 507 <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>
 508 <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>
501 <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>509 <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>
502 <p><a510 <p><a
503 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L126">Source511 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L126">Source
504 Code</a></p>512 Code</a></p>
505 <p>Draws·an·outlined·triangle.</p>513 <p>Draws·an·outlined·triangle.</p>
506 <p><em>Parameters:</em></p>514 <p><em>Parameters:</em></p>
507 <ul>515 <ul>
508 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>516 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>
Offset 517, 15 lines modifiedOffset 525, 17 lines modified
517 <p>Examples:</p>525 <p>Examples:</p>
518 <ul>526 <ul>
519 <li><a527 <li><a
520 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L321">ex_prim.c</a></li>528 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L321">ex_prim.c</a></li>
521 </ul>529 </ul>
522 <h2·id="al_draw_filled_triangle">al_draw_filled_triangle</h2>530 <h2·id="al_draw_filled_triangle">al_draw_filled_triangle</h2>
523 <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>531 <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>
 532 <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>
 533 <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>
524 <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>534 <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>
525 <p><a535 <p><a
526 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L339">Source536 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L339">Source
527 Code</a></p>537 Code</a></p>
528 <p>Draws·a·filled·triangle.</p>538 <p>Draws·a·filled·triangle.</p>
529 <p><em>Parameters:</em></p>539 <p><em>Parameters:</em></p>
530 <ul>540 <ul>
531 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>541 <li>x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle</li>
Offset 536, 15 lines modifiedOffset 546, 17 lines modified
536 <p>Examples:</p>546 <p>Examples:</p>
537 <ul>547 <ul>
538 <li><a548 <li><a
539 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L350">ex_prim.c</a></li>549 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L350">ex_prim.c</a></li>
540 </ul>550 </ul>
541 <h2·id="al_draw_rectangle">al_draw_rectangle</h2>551 <h2·id="al_draw_rectangle">al_draw_rectangle</h2>
542 <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>552 <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>
 553 <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>
 554 <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>
543 <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>555 <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>
544 <p><a556 <p><a
545 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L361">Source557 href="https://github.com/liballeg/allegro5/blob/master/addons/primitives/high_primitives.c#L361">Source
546 Code</a></p>558 Code</a></p>
547 <p>Draws·an·outlined·rectangle.</p>559 <p>Draws·an·outlined·rectangle.</p>
548 <p><em>Parameters:</em></p>560 <p><em>Parameters:</em></p>
549 <ul>561 <ul>
550 <li>x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the562 <li>x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the
Offset 564, 15 lines modifiedOffset 576, 17 lines modified
Max diff block lines reached; 104227/118664 bytes (87.83%) of diff not shown.
48.9 KB
html2text {}
    
Offset 114, 35 lines modifiedOffset 114, 39 lines modified
114 ··········o·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8P_\x8R_\x8I_\x8M_\x8__\x8B_\x8U_\x8F_\x8F_\x8E_\x8R_\x8__\x8F_\x8L_\x8A_\x8G_\x8S114 ··········o·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8P_\x8R_\x8I_\x8M_\x8__\x8B_\x8U_\x8F_\x8F_\x8E_\x8R_\x8__\x8F_\x8L_\x8A_\x8G_\x8S
115 These·functions·are·declared·in·the·following·header·file.·Link·with115 These·functions·are·declared·in·the·following·header·file.·Link·with
116 allegro_primitives.116 allegro_primitives.
117 ·#include·<allegro5/allegro_primitives.h>117 ·#include·<allegro5/allegro_primitives.h>
118 *\x8**\x8**\x8**\x8**\x8**\x8*·G\x8Ge\x8en\x8ne\x8er\x8ra\x8al\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*118 *\x8**\x8**\x8**\x8**\x8**\x8*·G\x8Ge\x8en\x8ne\x8er\x8ra\x8al\x8l·*\x8**\x8**\x8**\x8**\x8**\x8*
119 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*119 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*
120 uint32_t·al_get_allegro_primitives_version(void)120 uint32_t·al_get_allegro_primitives_version(void)
 121 uint32_t·al_get_allegro_primitives_version(void)
121 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e122 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
122 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as123 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
123 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.124 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.
124 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*125 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*
125 bool·al_init_primitives_addon(void)126 bool·al_init_primitives_addon(void)
 127 bool·al_init_primitives_addon(void)
126 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e128 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
127 Initializes·the·primitives·addon.129 Initializes·the·primitives·addon.
128 R\x8Re\x8et\x8tu\x8ur\x8rn\x8ns\x8s:\x8:·True·on·success,·false·on·failure.130 R\x8Re\x8et\x8tu\x8ur\x8rn\x8ns\x8s:\x8:·True·on·success,·false·on·failure.
129 See·also:·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n131 See·also:·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
130 Examples:132 Examples:
131 ····*·_\x8e_\x8x_\x8__\x8t_\x8o_\x8u_\x8c_\x8h_\x8__\x8i_\x8n_\x8p_\x8u_\x8t_\x8._\x8c133 ····*·_\x8e_\x8x_\x8__\x8t_\x8o_\x8u_\x8c_\x8h_\x8__\x8i_\x8n_\x8p_\x8u_\x8t_\x8._\x8c
132 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8b_\x8e_\x8n_\x8c_\x8h_\x8._\x8c134 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8b_\x8e_\x8n_\x8c_\x8h_\x8._\x8c
133 ····*·_\x8e_\x8x_\x8__\x8e_\x8n_\x8e_\x8t_\x8__\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8._\x8c135 ····*·_\x8e_\x8x_\x8__\x8e_\x8n_\x8e_\x8t_\x8__\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8._\x8c
134 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*136 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*
135 bool·al_is_primitives_addon_initialized(void)137 bool·al_is_primitives_addon_initialized(void)
 138 bool·al_is_primitives_addon_initialized(void)
136 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e139 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
137 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns·false.140 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns·false.
138 Since:·5.2.6141 Since:·5.2.6
139 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n142 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8s_\x8h_\x8u_\x8t_\x8d_\x8o_\x8w_\x8n_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
140 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*143 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_p\x8pr\x8ri\x8im\x8mi\x8it\x8ti\x8iv\x8ve\x8es\x8s_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*
141 void·al_shutdown_primitives_addon(void)144 void·al_shutdown_primitives_addon(void)
 145 void·al_shutdown_primitives_addon(void)
142 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e146 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
143 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
144 can·be·called·any·time·the·user·wishes·as·well.148 can·be·called·any·time·the·user·wishes·as·well.
145 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n149 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8p_\x8r_\x8i_\x8m_\x8i_\x8t_\x8i_\x8v_\x8e_\x8s_\x8__\x8a_\x8d_\x8d_\x8o_\x8n
146 *\x8**\x8**\x8**\x8**\x8**\x8*·H\x8Hi\x8ig\x8gh\x8h·l\x8le\x8ev\x8ve\x8el\x8l·d\x8dr\x8ra\x8aw\x8wi\x8in\x8ng\x8g·r\x8ro\x8ou\x8ut\x8ti\x8in\x8ne\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*150 *\x8**\x8**\x8**\x8**\x8**\x8*·H\x8Hi\x8ig\x8gh\x8h·l\x8le\x8ev\x8ve\x8el\x8l·d\x8dr\x8ra\x8aw\x8wi\x8in\x8ng\x8g·r\x8ro\x8ou\x8ut\x8ti\x8in\x8ne\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
147 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
148 draw·geometric·primitives,·both·smooth·(variations·on·the·circle·theme)·and152 draw·geometric·primitives,·both·smooth·(variations·on·the·circle·theme)·and
Offset 222, 78 lines modifiedOffset 226, 90 lines modified
222 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
223 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
224 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
225 turned·on·or·off.229 turned·on·or·off.
226 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_l\x8li\x8in\x8ne\x8e·*\x8**\x8**\x8**\x8**\x8*230 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_l\x8li\x8in\x8ne\x8e·*\x8**\x8**\x8**\x8**\x8*
227 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,
228 ···ALLEGRO_COLOR·color,·float·thickness)232 ···ALLEGRO_COLOR·color,·float·thickness)
 233 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,
 234 ···ALLEGRO_COLOR·color,·float·thickness)
229 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e235 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
230 Draws·a·line·segment·between·two·points.236 Draws·a·line·segment·between·two·points.
231 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:237 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:
232 ····*·x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line238 ····*·x1,·y1,·x2,·y2·-·Start·and·end·points·of·the·line
233 ····*·color·-·Color·of·the·line239 ····*·color·-·Color·of·the·line
234 ····*·thickness·-·Thickness·of·the·line,·pass·<=·0·to·draw·hairline·lines240 ····*·thickness·-·Thickness·of·the·line,·pass·<=·0·to·draw·hairline·lines
235 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8l_\x8i_\x8n_\x8e241 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8l_\x8i_\x8n_\x8e
236 Examples:242 Examples:
237 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p243 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
238 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8s_\x8i_\x8z_\x8e_\x8._\x8c244 ····*·_\x8e_\x8x_\x8__\x8r_\x8e_\x8s_\x8i_\x8z_\x8e_\x8._\x8c
239 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8w_\x8a_\x8r_\x8p_\x8._\x8c245 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8w_\x8a_\x8r_\x8p_\x8._\x8c
240 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_t\x8tr\x8ri\x8ia\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*246 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_t\x8tr\x8ri\x8ia\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
241 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,247 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,
242 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)248 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)
 249 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,
 250 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)
243 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e251 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
244 Draws·an·outlined·triangle.252 Draws·an·outlined·triangle.
245 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:253 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:
246 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle254 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle
247 ····*·color·-·Color·of·the·triangle255 ····*·color·-·Color·of·the·triangle
248 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines256 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines
249 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8f_\x8i_\x8l_\x8l_\x8e_\x8d_\x8__\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8l_\x8e257 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8f_\x8i_\x8l_\x8l_\x8e_\x8d_\x8__\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8l_\x8e
250 Examples:258 Examples:
251 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8._\x8c259 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8._\x8c
252 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_f\x8fi\x8il\x8ll\x8le\x8ed\x8d_\x8_t\x8tr\x8ri\x8ia\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*260 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_f\x8fi\x8il\x8ll\x8le\x8ed\x8d_\x8_t\x8tr\x8ri\x8ia\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
253 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,261 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,
254 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)262 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)
 263 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,
 264 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)
255 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e265 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
256 Draws·a·filled·triangle.266 Draws·a·filled·triangle.
257 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:267 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:
258 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle268 ····*·x1,·y1,·x2,·y2,·x3,·y3·-·Three·points·of·the·triangle
259 ····*·color·-·Color·of·the·triangle269 ····*·color·-·Color·of·the·triangle
260 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8l_\x8e270 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8l_\x8e
261 Examples:271 Examples:
262 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8._\x8c272 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8._\x8c
263 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_r\x8re\x8ec\x8ct\x8ta\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*273 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_r\x8re\x8ec\x8ct\x8ta\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
264 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,274 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
265 ···ALLEGRO_COLOR·color,·float·thickness)275 ···ALLEGRO_COLOR·color,·float·thickness)
 276 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 277 ···ALLEGRO_COLOR·color,·float·thickness)
266 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e278 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
267 Draws·an·outlined·rectangle.279 Draws·an·outlined·rectangle.
268 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:280 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:
269 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle281 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle
270 ····*·color·-·Color·of·the·rectangle282 ····*·color·-·Color·of·the·rectangle
271 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines283 ····*·thickness·-·Thickness·of·the·lines,·pass·<=·0·to·draw·hairline·lines
272 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8f_\x8i_\x8l_\x8l_\x8e_\x8d_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8r_\x8o_\x8u_\x8n_\x8d_\x8e_\x8d_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e284 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8f_\x8i_\x8l_\x8l_\x8e_\x8d_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8r_\x8o_\x8u_\x8n_\x8d_\x8e_\x8d_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e
273 Examples:285 Examples:
274 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8._\x8c286 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8._\x8c
275 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p287 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8j_\x8u_\x8s_\x8t_\x8i_\x8f_\x8y_\x8._\x8c_\x8p_\x8p
276 ····*·_\x8e_\x8x_\x8__\x8s_\x8u_\x8b_\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8._\x8c288 ····*·_\x8e_\x8x_\x8__\x8s_\x8u_\x8b_\x8b_\x8i_\x8t_\x8m_\x8a_\x8p_\x8._\x8c
277 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_f\x8fi\x8il\x8ll\x8le\x8ed\x8d_\x8_r\x8re\x8ec\x8ct\x8ta\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*289 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_f\x8fi\x8il\x8ll\x8le\x8ed\x8d_\x8_r\x8re\x8ec\x8ct\x8ta\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
278 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,290 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
279 ···ALLEGRO_COLOR·color)291 ···ALLEGRO_COLOR·color)
 292 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 293 ···ALLEGRO_COLOR·color)
280 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e294 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
281 Draws·a·filled·rectangle.295 Draws·a·filled·rectangle.
282 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:296 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:
283 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle297 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle
284 ····*·color·-·Color·of·the·rectangle298 ····*·color·-·Color·of·the·rectangle
285 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8f_\x8i_\x8l_\x8l_\x8e_\x8d_\x8__\x8r_\x8o_\x8u_\x8n_\x8d_\x8e_\x8d_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e299 See·also:·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e,·_\x8a_\x8l_\x8__\x8d_\x8r_\x8a_\x8w_\x8__\x8f_\x8i_\x8l_\x8l_\x8e_\x8d_\x8__\x8r_\x8o_\x8u_\x8n_\x8d_\x8e_\x8d_\x8__\x8r_\x8e_\x8c_\x8t_\x8a_\x8n_\x8g_\x8l_\x8e
286 Examples:300 Examples:
287 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8._\x8c301 ····*·_\x8e_\x8x_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8._\x8c
288 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8._\x8c302 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8._\x8c
289 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8m_\x8a_\x8x_\x8i_\x8m_\x8i_\x8z_\x8e_\x8d_\x8._\x8c303 ····*·_\x8e_\x8x_\x8__\x8w_\x8i_\x8n_\x8d_\x8o_\x8w_\x8__\x8m_\x8a_\x8x_\x8i_\x8m_\x8i_\x8z_\x8e_\x8d_\x8._\x8c
290 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_r\x8ro\x8ou\x8un\x8nd\x8de\x8ed\x8d_\x8_r\x8re\x8ec\x8ct\x8ta\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*304 *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_d\x8dr\x8ra\x8aw\x8w_\x8_r\x8ro\x8ou\x8un\x8nd\x8de\x8ed\x8d_\x8_r\x8re\x8ec\x8ct\x8ta\x8an\x8ng\x8gl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8*
291 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,305 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
292 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)306 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)
 307 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 308 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)
293 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e309 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
294 Draws·an·outlined·rounded·rectangle.310 Draws·an·outlined·rounded·rectangle.
295 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:311 P\x8Pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s:\x8:
296 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle312 ····*·x1,·y1,·x2,·y2·-·Upper·left·and·lower·right·points·of·the·rectangle
Max diff block lines reached; 42698/50066 bytes (85.28%) of diff not shown.
7.57 KB
./usr/share/doc/allegro5-doc/refman/shader.html
    
Offset 214, 15 lines modifiedOffset 214, 16 lines modified
214 <li><a·href="#al_get_default_shader_source"214 <li><a·href="#al_get_default_shader_source"
215 id="toc-al_get_default_shader_source">al_get_default_shader_source</a></li>215 id="toc-al_get_default_shader_source">al_get_default_shader_source</a></li>
216 </ul>216 </ul>
217 </nav>217 </nav>
218 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>218 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
219 <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>219 <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 <h1·id="allegro_shader">ALLEGRO_SHADER</h1>220 <h1·id="allegro_shader">ALLEGRO_SHADER</h1>
221 <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>221 <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>
 222 <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>
222 <p><a223 <p><a
223 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L14">Source224 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L14">Source
224 Code</a></p>225 Code</a></p>
225 <p>An·<a·href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·a226 <p>An·<a·href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·a
226 program·that·runs·on·the·GPU.·It·combines·both·a·vertex·and·a·pixel227 program·that·runs·on·the·GPU.·It·combines·both·a·vertex·and·a·pixel
227 shader.·(In·OpenGL·terms,·an·<a228 shader.·(In·OpenGL·terms,·an·<a
228 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·actually·a229 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·actually·a
Offset 239, 15 lines modifiedOffset 240, 16 lines modified
239 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader.cpp#L39">ex_shader.cpp</a></li>240 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader.cpp#L39">ex_shader.cpp</a></li>
240 <li><a241 <li><a
241 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader_target.c#L22">ex_shader_target.c</a></li>242 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_shader_target.c#L22">ex_shader_target.c</a></li>
242 <li><a243 <li><a
243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_shader.c#L60">ex_prim_shader.c</a></li>244 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim_shader.c#L60">ex_prim_shader.c</a></li>
244 </ul>245 </ul>
245 <h1·id="allegro_shader_type">ALLEGRO_SHADER_TYPE</h1>246 <h1·id="allegro_shader_type">ALLEGRO_SHADER_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_SHADER_TYPE·ALLEGRO_SHADER_TYPE<span·class="op">;</span></span></code></pre></div>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="kw">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE<span·class="op">;</span></span>
 248 <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>
247 <p><a249 <p><a
248 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L23">Source250 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L23">Source
249 Code</a></p>251 Code</a></p>
250 <p>Used·with·<a252 <p>Used·with·<a
251 href="shader.html#al_attach_shader_source">al_attach_shader_source</a>253 href="shader.html#al_attach_shader_source">al_attach_shader_source</a>
252 and·<a254 and·<a
253 href="shader.html#al_attach_shader_source_file">al_attach_shader_source_file</a>255 href="shader.html#al_attach_shader_source_file">al_attach_shader_source_file</a>
Offset 273, 15 lines modifiedOffset 275, 16 lines modified
273 one·final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only275 one·final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only
274 a·single·output·but·of·multiple·fragments·(for·example·when276 a·single·output·but·of·multiple·fragments·(for·example·when
275 multi-sampling·is·being·used).</p>277 multi-sampling·is·being·used).</p>
276 </dd>278 </dd>
277 </dl>279 </dl>
278 <p>Since:·5.1.0</p>280 <p>Since:·5.1.0</p>
279 <h1·id="allegro_shader_platform">ALLEGRO_SHADER_PLATFORM</h1>281 <h1·id="allegro_shader_platform">ALLEGRO_SHADER_PLATFORM</h1>
280 <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>282 <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>
 283 <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>
281 <p><a284 <p><a
282 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L37">Source285 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/shader.h#L37">Source
283 Code</a></p>286 Code</a></p>
284 <p>The·underlying·platform·which·the·<a287 <p>The·underlying·platform·which·the·<a
285 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·built·on·top·of,288 href="shader.html#allegro_shader">ALLEGRO_SHADER</a>·is·built·on·top·of,
286 which·dictates·the·language·used·to·program·the·shader.</p>289 which·dictates·the·language·used·to·program·the·shader.</p>
287 <ul>290 <ul>
2.9 KB
html2text {}
    
Offset 63, 28 lines modifiedOffset 63, 30 lines modified
63 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8e_\x8c_\x8t_\x8o_\x8r63 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8e_\x8c_\x8t_\x8o_\x8r
64 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8f_\x8l_\x8o_\x8a_\x8t_\x8__\x8v_\x8e_\x8c_\x8t_\x8o_\x8r64 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8f_\x8l_\x8o_\x8a_\x8t_\x8__\x8v_\x8e_\x8c_\x8t_\x8o_\x8r
65 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e65 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
66 These·functions·are·declared·in·the·main·Allegro·header·file:66 These·functions·are·declared·in·the·main·Allegro·header·file:
67 ·#include·<allegro5/allegro.h>67 ·#include·<allegro5/allegro.h>
68 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SH\x8HA\x8AD\x8DE\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*68 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SH\x8HA\x8AD\x8DE\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*
69 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;69 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;
 70 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;
70 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e71 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
71 An·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R·is·a·program·that·runs·on·the·GPU.·It·combines·both·a·vertex72 An·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R·is·a·program·that·runs·on·the·GPU.·It·combines·both·a·vertex
72 and·a·pixel·shader.·(In·OpenGL·terms,·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R·is·actually·a·p\x8pr\x8ro\x8og\x8gr\x8ra\x8am\x8m73 and·a·pixel·shader.·(In·OpenGL·terms,·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R·is·actually·a·p\x8pr\x8ro\x8og\x8gr\x8ra\x8am\x8m
73 which·has·one·or·more·s\x8sh\x8ha\x8ad\x8de\x8er\x8rs\x8s·attached.·This·can·be·confusing.)74 which·has·one·or·more·s\x8sh\x8ha\x8ad\x8de\x8er\x8rs\x8s·attached.·This·can·be·confusing.)
74 The·source·code·for·the·underlying·vertex·or·pixel·shader·can·be·provided75 The·source·code·for·the·underlying·vertex·or·pixel·shader·can·be·provided
75 either·as·GLSL·or·HLSL,·depending·on·the·value·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R_\x8__\x8P_\x8L_\x8A_\x8T_\x8F_\x8O_\x8R_\x8M·used76 either·as·GLSL·or·HLSL,·depending·on·the·value·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R_\x8__\x8P_\x8L_\x8A_\x8T_\x8F_\x8O_\x8R_\x8M·used
76 when·creating·it.77 when·creating·it.
77 Since:·5.1.078 Since:·5.1.0
78 Examples:79 Examples:
79 ····*·_\x8e_\x8x_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c_\x8p_\x8p80 ····*·_\x8e_\x8x_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c_\x8p_\x8p
80 ····*·_\x8e_\x8x_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8t_\x8a_\x8r_\x8g_\x8e_\x8t_\x8._\x8c81 ····*·_\x8e_\x8x_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8t_\x8a_\x8r_\x8g_\x8e_\x8t_\x8._\x8c
81 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c82 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8._\x8c
82 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SH\x8HA\x8AD\x8DE\x8ER\x8R_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*83 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SH\x8HA\x8AD\x8DE\x8ER\x8R_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
83 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;84 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;
 85 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;
84 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e86 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
85 Used·with·_\x8a_\x8l_\x8__\x8a_\x8t_\x8t_\x8a_\x8c_\x8h_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e·and·_\x8a_\x8l_\x8__\x8a_\x8t_\x8t_\x8a_\x8c_\x8h_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8__\x8f_\x8i_\x8l_\x8e·to·specify87 Used·with·_\x8a_\x8l_\x8__\x8a_\x8t_\x8t_\x8a_\x8c_\x8h_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e·and·_\x8a_\x8l_\x8__\x8a_\x8t_\x8t_\x8a_\x8c_\x8h_\x8__\x8s_\x8h_\x8a_\x8d_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8__\x8f_\x8i_\x8l_\x8e·to·specify
86 how·to·interpret·the·attached·source.88 how·to·interpret·the·attached·source.
87 ··ALLEGRO_VERTEX_SHADER89 ··ALLEGRO_VERTEX_SHADER
88 ······A·vertex·shader·is·executed·for·each·vertex·it·is·used·with.·The·program90 ······A·vertex·shader·is·executed·for·each·vertex·it·is·used·with.·The·program
89 ······will·output·exactly·one·vertex·at·a·time.91 ······will·output·exactly·one·vertex·at·a·time.
90 ······When·Allegro’s·graphics·are·being·used·then·in·addition·to·all·vertices92 ······When·Allegro’s·graphics·are·being·used·then·in·addition·to·all·vertices
Offset 100, 14 lines modifiedOffset 102, 15 lines modified
100 ······A·more·accurate·term·for·pixel·shader·would·be·fragment·shader·since·one102 ······A·more·accurate·term·for·pixel·shader·would·be·fragment·shader·since·one
101 ······final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only·a103 ······final·pixel·in·the·target·bitmap·is·not·necessarily·composed·of·only·a
102 ······single·output·but·of·multiple·fragments·(for·example·when·multi-sampling104 ······single·output·but·of·multiple·fragments·(for·example·when·multi-sampling
103 ······is·being·used).105 ······is·being·used).
104 Since:·5.1.0106 Since:·5.1.0
105 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SH\x8HA\x8AD\x8DE\x8ER\x8R_\x8_P\x8PL\x8LA\x8AT\x8TF\x8FO\x8OR\x8RM\x8M·*\x8**\x8**\x8**\x8**\x8**\x8*107 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SH\x8HA\x8AD\x8DE\x8ER\x8R_\x8_P\x8PL\x8LA\x8AT\x8TF\x8FO\x8OR\x8RM\x8M·*\x8**\x8**\x8**\x8**\x8**\x8*
106 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;108 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;
 109 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;
107 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e110 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
108 The·underlying·platform·which·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R·is·built·on·top·of,·which111 The·underlying·platform·which·the·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8H_\x8A_\x8D_\x8E_\x8R·is·built·on·top·of,·which
109 dictates·the·language·used·to·program·the·shader.112 dictates·the·language·used·to·program·the·shader.
110 ····*·ALLEGRO_SHADER_AUTO·-·Pick·a·platform·automatically·given·the·current113 ····*·ALLEGRO_SHADER_AUTO·-·Pick·a·platform·automatically·given·the·current
111 ······display·flags.114 ······display·flags.
112 ····*·ALLEGRO_SHADER_GLSL·-·OpenGL·Shading·Language115 ····*·ALLEGRO_SHADER_GLSL·-·OpenGL·Shading·Language
113 ····*·ALLEGRO_SHADER_HLSL·-·High·Level·Shader·Language·(for·Direct3D)116 ····*·ALLEGRO_SHADER_HLSL·-·High·Level·Shader·Language·(for·Direct3D)
4.58 KB
./usr/share/doc/allegro5-doc/refman/state.html
    
Offset 184, 15 lines modifiedOffset 184, 16 lines modified
184 <li><a·href="#al_get_errno"·id="toc-al_get_errno">al_get_errno</a></li>184 <li><a·href="#al_get_errno"·id="toc-al_get_errno">al_get_errno</a></li>
185 <li><a·href="#al_set_errno"·id="toc-al_set_errno">al_set_errno</a></li>185 <li><a·href="#al_set_errno"·id="toc-al_set_errno">al_set_errno</a></li>
186 </ul>186 </ul>
187 </nav>187 </nav>
188 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>188 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
189 <pre><code>·#include·&lt;allegro5/allegro.h&gt;</code></pre>189 <pre><code>·#include·&lt;allegro5/allegro.h&gt;</code></pre>
190 <h1·id="allegro_state">ALLEGRO_STATE</h1>190 <h1·id="allegro_state">ALLEGRO_STATE</h1>
191 <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>191 <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>
 192 <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>
192 <p><a193 <p><a
193 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L49">Source194 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L49">Source
194 Code</a></p>195 Code</a></p>
195 <p>Opaque·type·which·is·passed·to·<a196 <p>Opaque·type·which·is·passed·to·<a
196 href="state.html#al_store_state">al_store_state</a>/<a197 href="state.html#al_store_state">al_store_state</a>/<a
197 href="state.html#al_restore_state">al_restore_state</a>.</p>198 href="state.html#al_restore_state">al_restore_state</a>.</p>
198 <p>The·various·state·kept·internally·by·Allegro·can·be·displayed·like199 <p>The·various·state·kept·internally·by·Allegro·can·be·displayed·like
Offset 228, 15 lines modifiedOffset 229, 16 lines modified
228 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L65">ex_blend_bench.c</a></li>229 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend_bench.c#L65">ex_blend_bench.c</a></li>
229 <li><a230 <li><a
230 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend2.cpp#L298">ex_blend2.cpp</a></li>231 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend2.cpp#L298">ex_blend2.cpp</a></li>
231 <li><a232 <li><a
232 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L24">nihgui.cpp</a></li>233 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L24">nihgui.cpp</a></li>
233 </ul>234 </ul>
234 <h1·id="allegro_state_flags">ALLEGRO_STATE_FLAGS</h1>235 <h1·id="allegro_state_flags">ALLEGRO_STATE_FLAGS</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">enum</span>·ALLEGRO_STATE_FLAGS</span></code></pre></div>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">typedef</span>·<span·class="kw">enum</span>·ALLEGRO_STATE_FLAGS</span>
 237 <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>
236 <p><a238 <p><a
237 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L28">Source239 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/tls.h#L28">Source
238 Code</a></p>240 Code</a></p>
239 <p>Flags·which·can·be·passed·to·<a241 <p>Flags·which·can·be·passed·to·<a
240 href="state.html#al_store_state">al_store_state</a>/<a242 href="state.html#al_store_state">al_store_state</a>/<a
241 href="state.html#al_restore_state">al_restore_state</a>·as·bit243 href="state.html#al_restore_state">al_restore_state</a>·as·bit
242 combinations.·See·<a·href="state.html#al_store_state">al_store_state</a>244 combinations.·See·<a·href="state.html#al_store_state">al_store_state</a>
1.61 KB
html2text {}
    
Offset 49, 14 lines modifiedOffset 49, 15 lines modified
49 ····*·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e49 ····*·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
50 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8n_\x8o50 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8n_\x8o
51 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8n_\x8o51 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8n_\x8o
52 These·functions·are·declared·in·the·main·Allegro·header·file:52 These·functions·are·declared·in·the·main·Allegro·header·file:
53 ·#include·<allegro5/allegro.h>53 ·#include·<allegro5/allegro.h>
54 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*54 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
55 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;55 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;
 56 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;
56 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e57 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
57 Opaque·type·which·is·passed·to·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e/_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e.58 Opaque·type·which·is·passed·to·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e/_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e.
58 The·various·state·kept·internally·by·Allegro·can·be·displayed·like·this:59 The·various·state·kept·internally·by·Allegro·can·be·displayed·like·this:
59 ··global60 ··global
60 ······active·system·driver61 ······active·system·driver
61 ··········current·config62 ··········current·config
62 ··per·thread63 ··per·thread
Offset 82, 14 lines modifiedOffset 83, 15 lines modified
82 thread·communication.)83 thread·communication.)
83 Examples:84 Examples:
84 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8b_\x8e_\x8n_\x8c_\x8h_\x8._\x8c85 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8__\x8b_\x8e_\x8n_\x8c_\x8h_\x8._\x8c
85 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x82_\x8._\x8c_\x8p_\x8p86 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x82_\x8._\x8c_\x8p_\x8p
86 ····*·_\x8n_\x8i_\x8h_\x8g_\x8u_\x8i_\x8._\x8c_\x8p_\x8p87 ····*·_\x8n_\x8i_\x8h_\x8g_\x8u_\x8i_\x8._\x8c_\x8p_\x8p
87 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E_\x8_F\x8FL\x8LA\x8AG\x8GS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*88 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E_\x8_F\x8FL\x8LA\x8AG\x8GS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
88 typedef·enum·ALLEGRO_STATE_FLAGS89 typedef·enum·ALLEGRO_STATE_FLAGS
 90 typedef·enum·ALLEGRO_STATE_FLAGS
89 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e91 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
90 Flags·which·can·be·passed·to·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e/_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e·as·bit92 Flags·which·can·be·passed·to·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e/_\x8a_\x8l_\x8__\x8r_\x8e_\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e·as·bit
91 combinations.·See·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e·for·the·list·of·flags.93 combinations.·See·_\x8a_\x8l_\x8__\x8s_\x8t_\x8o_\x8r_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e·for·the·list·of·flags.
92 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8es\x8st\x8to\x8or\x8re\x8e_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*94 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_r\x8re\x8es\x8st\x8to\x8or\x8re\x8e_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
93 void·al_restore_state(ALLEGRO_STATE·const·*state)95 void·al_restore_state(ALLEGRO_STATE·const·*state)
94 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e96 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
95 Restores·part·of·the·state·of·the·current·thread·from·the·given·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8T_\x8A_\x8T_\x8E97 Restores·part·of·the·state·of·the·current·thread·from·the·given·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8S_\x8T_\x8A_\x8T_\x8E
4.94 KB
./usr/share/doc/allegro5-doc/refman/system.html
    
Offset 232, 15 lines modifiedOffset 232, 16 lines modified
232 be·the·version·of·Allegro·you·compiled·with,·and·B·=·xb.yb.zb.*·be·the232 be·the·version·of·Allegro·you·compiled·with,·and·B·=·xb.yb.zb.*·be·the
233 version·of·Allegro·found·in·the·system·shared·library.</p>233 version·of·Allegro·found·in·the·system·shared·library.</p>
234 <p>If·you·defined·<code>ALLEGRO_UNSTABLE</code>·before·including·Allegro234 <p>If·you·defined·<code>ALLEGRO_UNSTABLE</code>·before·including·Allegro
235 headers,·then·version·A·is·compatible·with·B·only·if·xa.ya.za·=235 headers,·then·version·A·is·compatible·with·B·only·if·xa.ya.za·=
236 xb.yb.zb.·Otherwise,·A·is·compatible·with·B·only·if·xa.ya·=·xb.yb.</p>236 xb.yb.zb.·Otherwise,·A·is·compatible·with·B·only·if·xa.ya·=·xb.yb.</p>
237 <p>See·also:·<a·href="system.html#al_init">al_init</a></p>237 <p>See·also:·<a·href="system.html#al_init">al_init</a></p>
238 <h1·id="al_init">al_init</h1>238 <h1·id="al_init">al_init</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="pp">#define·al_init</span><span·class="op">()</span><span·class="pp">····</span><span·class="op">(</span><span·class="pp">al_install_system</span><span·class="op">(</span><span·class="pp">ALLEGRO_VERSION_INT</span><span·class="op">,</span><span·class="pp">·atexit</span><span·class="op">))</span></span></code></pre></div>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="pp">#define·al_init</span><span·class="op">()</span><span·class="pp">····</span><span·class="op">(</span><span·class="pp">al_install_system</span><span·class="op">(</span><span·class="pp">ALLEGRO_VERSION_INT</span><span·class="op">,</span><span·class="pp">·atexit</span><span·class="op">))</span></span>
 240 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·al_init</span><span·class="op">()</span><span·class="pp">····</span><span·class="op">(</span><span·class="pp">al_install_system</span><span·class="op">(</span><span·class="pp">ALLEGRO_VERSION_INT</span><span·class="op">,</span><span·class="pp">·atexit</span><span·class="op">))</span></span></code></pre></div>
240 <p><a241 <p><a
241 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L30">Source242 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L30">Source
242 Code</a></p>243 Code</a></p>
243 <p>Like·<a·href="system.html#al_install_system">al_install_system</a>,244 <p>Like·<a·href="system.html#al_install_system">al_install_system</a>,
244 but·automatically·passes·in·the·version·and·uses·the·atexit·function245 but·automatically·passes·in·the·version·and·uses·the·atexit·function
245 visible·in·the·current·binary.</p>246 visible·in·the·current·binary.</p>
246 <blockquote>247 <blockquote>
Offset 848, 15 lines modifiedOffset 849, 16 lines modified
848 <p>Since:·5.1.12</p>849 <p>Since:·5.1.12</p>
849 <p>Examples:</p>850 <p>Examples:</p>
850 <ul>851 <ul>
851 <li><a852 <li><a
852 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L1">ex_cpu.c</a></li>853 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_cpu.c#L1">ex_cpu.c</a></li>
853 </ul>854 </ul>
854 <h1·id="allegro_system_id">ALLEGRO_SYSTEM_ID</h1>855 <h1·id="allegro_system_id">ALLEGRO_SYSTEM_ID</h1>
855 <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>856 <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>
 857 <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>
856 <p><a858 <p><a
857 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L15">Source859 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/system.h#L15">Source
858 Code</a></p>860 Code</a></p>
859 <p>The·system·Allegro·is·running·on.</p>861 <p>The·system·Allegro·is·running·on.</p>
860 <ul>862 <ul>
861 <li>ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.</li>863 <li>ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.</li>
862 <li>ALLEGRO_SYSTEM_ID_XGLX·-·Xglx</li>864 <li>ALLEGRO_SYSTEM_ID_XGLX·-·Xglx</li>
1.63 KB
html2text {}
    
Offset 81, 14 lines modifiedOffset 81, 15 lines modified
81 Allegro·found·in·the·system·shared·library.81 Allegro·found·in·the·system·shared·library.
82 If·you·defined·ALLEGRO_UNSTABLE·before·including·Allegro·headers,·then·version82 If·you·defined·ALLEGRO_UNSTABLE·before·including·Allegro·headers,·then·version
83 A·is·compatible·with·B·only·if·xa.ya.za·=·xb.yb.zb.·Otherwise,·A·is·compatible83 A·is·compatible·with·B·only·if·xa.ya.za·=·xb.yb.zb.·Otherwise,·A·is·compatible
84 with·B·only·if·xa.ya·=·xb.yb.84 with·B·only·if·xa.ya·=·xb.yb.
85 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t85 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t
86 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*86 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
87 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))87 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))
 88 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))
88 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e89 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
89 Like·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8s_\x8y_\x8s_\x8t_\x8e_\x8m,·but·automatically·passes·in·the·version·and·uses·the90 Like·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8s_\x8y_\x8s_\x8t_\x8e_\x8m,·but·automatically·passes·in·the·version·and·uses·the
90 atexit·function·visible·in·the·current·binary.91 atexit·function·visible·in·the·current·binary.
91 ·····Note:·It·is·typically·wrong·to·call·al_init·anywhere·except·the·final92 ·····Note:·It·is·typically·wrong·to·call·al_init·anywhere·except·the·final
92 ·····game·binary.·In·particular,·do·not·call·it·inside·a·shared·library93 ·····game·binary.·In·particular,·do·not·call·it·inside·a·shared·library
93 ·····unless·you·know·what·you’re·doing.·In·those·cases,·it·is·better·to94 ·····unless·you·know·what·you’re·doing.·In·those·cases,·it·is·better·to
94 ·····call·al_install_system·either·with·a·NULL·atexit_ptr,·or·with·a95 ·····call·al_install_system·either·with·a·NULL·atexit_ptr,·or·with·a
Offset 581, 14 lines modifiedOffset 582, 15 lines modified
581 returns·a·certain·“desirable”·number.582 returns·a·certain·“desirable”·number.
582 This·function·may·be·called·prior·to·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8s_\x8y_\x8s_\x8t_\x8e_\x8m·or·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t.583 This·function·may·be·called·prior·to·_\x8a_\x8l_\x8__\x8i_\x8n_\x8s_\x8t_\x8a_\x8l_\x8l_\x8__\x8s_\x8y_\x8s_\x8t_\x8e_\x8m·or·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t.
583 Since:·5.1.12584 Since:·5.1.12
584 Examples:585 Examples:
585 ····*·_\x8e_\x8x_\x8__\x8c_\x8p_\x8u_\x8._\x8c586 ····*·_\x8e_\x8x_\x8__\x8c_\x8p_\x8u_\x8._\x8c
586 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SY\x8YS\x8ST\x8TE\x8EM\x8M_\x8_I\x8ID\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*587 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_S\x8SY\x8YS\x8ST\x8TE\x8EM\x8M_\x8_I\x8ID\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*
587 enum·ALLEGRO_SYSTEM_ID·{588 enum·ALLEGRO_SYSTEM_ID·{
 589 enum·ALLEGRO_SYSTEM_ID·{
588 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e590 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
589 The·system·Allegro·is·running·on.591 The·system·Allegro·is·running·on.
590 ····*·ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.592 ····*·ALLEGRO_SYSTEM_ID_UNKNOWN·-·Unknown·system.
591 ····*·ALLEGRO_SYSTEM_ID_XGLX·-·Xglx593 ····*·ALLEGRO_SYSTEM_ID_XGLX·-·Xglx
592 ····*·ALLEGRO_SYSTEM_ID_WINDOWS·-·Windows594 ····*·ALLEGRO_SYSTEM_ID_WINDOWS·-·Windows
593 ····*·ALLEGRO_SYSTEM_ID_MACOSX·-·macOS595 ····*·ALLEGRO_SYSTEM_ID_MACOSX·-·macOS
594 ····*·ALLEGRO_SYSTEM_ID_ANDROID·-·Android596 ····*·ALLEGRO_SYSTEM_ID_ANDROID·-·Android
5.88 KB
./usr/share/doc/allegro5-doc/refman/threads.html
    
Offset 223, 43 lines modifiedOffset 223, 46 lines modified
223 would·be·difficult·at·best,·hence·the·behaviour·of·the·following223 would·be·difficult·at·best,·hence·the·behaviour·of·the·following
224 functions·will·differ·subtly·on·different·platforms·(more·so·than224 functions·will·differ·subtly·on·different·platforms·(more·so·than
225 usual).·Your·best·bet·is·to·be·aware·of·this·and·code·to·the225 usual).·Your·best·bet·is·to·be·aware·of·this·and·code·to·the
226 intersection·of·the·semantics·and·avoid·edge·cases.</p>226 intersection·of·the·semantics·and·avoid·edge·cases.</p>
227 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>227 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
228 <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>228 <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>
229 <h1·id="allegro_thread">ALLEGRO_THREAD</h1>229 <h1·id="allegro_thread">ALLEGRO_THREAD</h1>
230 <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>230 <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>
 231 <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>
231 <p><a232 <p><a
232 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L27">Source233 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L27">Source
233 Code</a></p>234 Code</a></p>
234 <p>An·opaque·structure·representing·a·thread.</p>235 <p>An·opaque·structure·representing·a·thread.</p>
235 <p>Examples:</p>236 <p>Examples:</p>
236 <ul>237 <ul>
237 <li><a238 <li><a
238 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads.c#L97">ex_threads.c</a></li>239 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads.c#L97">ex_threads.c</a></li>
239 <li><a240 <li><a
240 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L150">ex_threads2.c</a></li>241 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L150">ex_threads2.c</a></li>
241 <li><a242 <li><a
242 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L16">ex_loading_thread.c</a></li>243 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L16">ex_loading_thread.c</a></li>
243 </ul>244 </ul>
244 <h1·id="allegro_mutex">ALLEGRO_MUTEX</h1>245 <h1·id="allegro_mutex">ALLEGRO_MUTEX</h1>
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">struct</span>·ALLEGRO_MUTEX·ALLEGRO_MUTEX<span·class="op">;</span></span></code></pre></div>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">struct</span>·ALLEGRO_MUTEX·ALLEGRO_MUTEX<span·class="op">;</span></span>
 247 <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>
246 <p><a248 <p><a
247 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L31">Source249 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L31">Source
248 Code</a></p>250 Code</a></p>
249 <p>An·opaque·structure·representing·a·mutex.</p>251 <p>An·opaque·structure·representing·a·mutex.</p>
250 <p>Examples:</p>252 <p>Examples:</p>
251 <ul>253 <ul>
252 <li><a254 <li><a
253 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L27">ex_threads2.c</a></li>255 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_threads2.c#L27">ex_threads2.c</a></li>
254 <li><a256 <li><a
255 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L14">ex_loading_thread.c</a></li>257 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_loading_thread.c#L14">ex_loading_thread.c</a></li>
256 </ul>258 </ul>
257 <h1·id="allegro_cond">ALLEGRO_COND</h1>259 <h1·id="allegro_cond">ALLEGRO_COND</h1>
258 <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>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><span·class="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_COND·ALLEGRO_COND<span·class="op">;</span></span>
 261 <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>
259 <p><a262 <p><a
260 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L35">Source263 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/threads.h#L35">Source
261 Code</a></p>264 Code</a></p>
262 <p>An·opaque·structure·representing·a·condition·variable.</p>265 <p>An·opaque·structure·representing·a·condition·variable.</p>
263 <p>Examples:</p>266 <p>Examples:</p>
264 <ul>267 <ul>
265 <li><a268 <li><a
1.55 KB
html2text {}
    
Offset 72, 29 lines modifiedOffset 72, 32 lines modified
72 subtly·on·different·platforms·(more·so·than·usual).·Your·best·bet·is·to·be72 subtly·on·different·platforms·(more·so·than·usual).·Your·best·bet·is·to·be
73 aware·of·this·and·code·to·the·intersection·of·the·semantics·and·avoid·edge73 aware·of·this·and·code·to·the·intersection·of·the·semantics·and·avoid·edge
74 cases.74 cases.
75 These·functions·are·declared·in·the·main·Allegro·header·file:75 These·functions·are·declared·in·the·main·Allegro·header·file:
76 ·#include·<allegro5/allegro.h>76 ·#include·<allegro5/allegro.h>
77 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TH\x8HR\x8RE\x8EA\x8AD\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*77 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TH\x8HR\x8RE\x8EA\x8AD\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*
78 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;78 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;
 79 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;
79 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e80 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
80 An·opaque·structure·representing·a·thread.81 An·opaque·structure·representing·a·thread.
81 Examples:82 Examples:
82 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x8._\x8c83 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x8._\x8c
83 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x82_\x8._\x8c84 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x82_\x8._\x8c
84 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8a_\x8d_\x8i_\x8n_\x8g_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8._\x8c85 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8a_\x8d_\x8i_\x8n_\x8g_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8._\x8c
85 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MU\x8UT\x8TE\x8EX\x8X·*\x8**\x8**\x8**\x8**\x8**\x8*86 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MU\x8UT\x8TE\x8EX\x8X·*\x8**\x8**\x8**\x8**\x8**\x8*
86 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;87 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;
 88 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;
87 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e89 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
88 An·opaque·structure·representing·a·mutex.90 An·opaque·structure·representing·a·mutex.
89 Examples:91 Examples:
90 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x82_\x8._\x8c92 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x82_\x8._\x8c
91 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8a_\x8d_\x8i_\x8n_\x8g_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8._\x8c93 ····*·_\x8e_\x8x_\x8__\x8l_\x8o_\x8a_\x8d_\x8i_\x8n_\x8g_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8._\x8c
92 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8ND\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*94 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_C\x8CO\x8ON\x8ND\x8D·*\x8**\x8**\x8**\x8**\x8**\x8*
93 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;95 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;
 96 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;
94 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e97 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
95 An·opaque·structure·representing·a·condition·variable.98 An·opaque·structure·representing·a·condition·variable.
96 Examples:99 Examples:
97 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x82_\x8._\x8c100 ····*·_\x8e_\x8x_\x8__\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8s_\x82_\x8._\x8c
98 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8th\x8hr\x8re\x8ea\x8ad\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*101 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8th\x8hr\x8re\x8ea\x8ad\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*
99 ALLEGRO_THREAD·*al_create_thread(102 ALLEGRO_THREAD·*al_create_thread(
100 ···void·*(*proc)(ALLEGRO_THREAD·*thread,·void·*arg),·void·*arg)103 ···void·*(*proc)(ALLEGRO_THREAD·*thread,·void·*arg),·void·*arg)
11.6 KB
./usr/share/doc/allegro5-doc/refman/timer.html
    
Offset 208, 53 lines modifiedOffset 208, 58 lines modified
208 <li><a·href="#al_get_timer_event_source"208 <li><a·href="#al_get_timer_event_source"
209 id="toc-al_get_timer_event_source">al_get_timer_event_source</a></li>209 id="toc-al_get_timer_event_source">al_get_timer_event_source</a></li>
210 </ul>210 </ul>
211 </nav>211 </nav>
212 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>212 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
213 <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>213 <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>
214 <h1·id="allegro_timer">ALLEGRO_TIMER</h1>214 <h1·id="allegro_timer">ALLEGRO_TIMER</h1>
215 <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>215 <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>
 216 <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>
216 <p><a217 <p><a
217 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L46">Source218 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L46">Source
218 Code</a></p>219 Code</a></p>
219 <p>This·is·an·abstract·data·type·representing·a·timer·object.</p>220 <p>This·is·an·abstract·data·type·representing·a·timer·object.</p>
220 <p>Examples:</p>221 <p>Examples:</p>
221 <ul>222 <ul>
222 <li><a223 <li><a
223 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L188">ex_enet_server.c</a></li>224 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_enet_server.c#L188">ex_enet_server.c</a></li>
224 <li><a225 <li><a
225 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L22">ex_timer_pause.c</a></li>226 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_timer_pause.c#L22">ex_timer_pause.c</a></li>
226 <li><a227 <li><a
227 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L46">ex_user_events.c</a></li>228 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_user_events.c#L46">ex_user_events.c</a></li>
228 </ul>229 </ul>
229 <h1·id="allegro_usecs_to_secs">ALLEGRO_USECS_TO_SECS</h1>230 <h1·id="allegro_usecs_to_secs">ALLEGRO_USECS_TO_SECS</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="pp">#define·ALLEGRO_USECS_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">······</span><span·class="op">((</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="fl">1000000.0</span><span·class="op">)</span></span></code></pre></div>231 <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</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">······</span><span·class="op">((</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="fl">1000000.0</span><span·class="op">)</span></span>
 232 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_USECS_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">······</span><span·class="op">((</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="fl">1000000.0</span><span·class="op">)</span></span></code></pre></div>
231 <p><a233 <p><a
232 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L29">Source234 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L29">Source
233 Code</a></p>235 Code</a></p>
234 <p>Convert·microseconds·to·seconds.</p>236 <p>Convert·microseconds·to·seconds.</p>
235 <h1·id="allegro_msecs_to_secs">ALLEGRO_MSECS_TO_SECS</h1>237 <h1·id="allegro_msecs_to_secs">ALLEGRO_MSECS_TO_SECS</h1>
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="pp">#define·ALLEGRO_MSECS_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">······</span><span·class="op">((</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="fl">1000.0</span><span·class="op">)</span></span></code></pre></div>238 <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</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">······</span><span·class="op">((</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="fl">1000.0</span><span·class="op">)</span></span>
 239 <span·id="cb4-2"><a·href="#cb4-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_MSECS_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">······</span><span·class="op">((</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="fl">1000.0</span><span·class="op">)</span></span></code></pre></div>
237 <p><a240 <p><a
238 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L33">Source241 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L33">Source
239 Code</a></p>242 Code</a></p>
240 <p>Convert·milliseconds·to·seconds.</p>243 <p>Convert·milliseconds·to·seconds.</p>
241 <h1·id="allegro_bps_to_secs">ALLEGRO_BPS_TO_SECS</h1>244 <h1·id="allegro_bps_to_secs">ALLEGRO_BPS_TO_SECS</h1>
242 <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</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">(</span><span·class="fl">1.0</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">))</span></span></code></pre></div>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·ALLEGRO_BPS_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">(</span><span·class="fl">1.0</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">))</span></span>
 246 <span·id="cb5-2"><a·href="#cb5-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPS_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">(</span><span·class="fl">1.0</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">))</span></span></code></pre></div>
243 <p><a247 <p><a
244 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L37">Source248 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L37">Source
245 Code</a></p>249 Code</a></p>
246 <p>Convert·beats·per·second·to·seconds.</p>250 <p>Convert·beats·per·second·to·seconds.</p>
247 <p>Examples:</p>251 <p>Examples:</p>
248 <ul>252 <ul>
249 <li><a253 <li><a
250 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L719">ex_prim.c</a></li>254 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_prim.c#L719">ex_prim.c</a></li>
251 </ul>255 </ul>
252 <h1·id="allegro_bpm_to_secs">ALLEGRO_BPM_TO_SECS</h1>256 <h1·id="allegro_bpm_to_secs">ALLEGRO_BPM_TO_SECS</h1>
253 <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</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">(</span><span·class="fl">60.0</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">))</span></span></code></pre></div>257 <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</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">(</span><span·class="fl">60.0</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">))</span></span>
 258 <span·id="cb6-2"><a·href="#cb6-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_BPM_TO_SECS</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">)</span><span·class="pp">········</span><span·class="op">(</span><span·class="fl">60.0</span><span·class="pp">·</span><span·class="op">/</span><span·class="pp">·</span><span·class="op">(</span><span·class="pp">x</span><span·class="op">))</span></span></code></pre></div>
254 <p><a259 <p><a
255 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L41">Source260 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/timer.h#L41">Source
256 Code</a></p>261 Code</a></p>
257 <p>Convert·beats·per·minute·to·seconds.</p>262 <p>Convert·beats·per·minute·to·seconds.</p>
258 <h1·id="al_create_timer">al_create_timer</h1>263 <h1·id="al_create_timer">al_create_timer</h1>
259 <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>264 <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>
260 <p><a265 <p><a
2.24 KB
html2text {}
    
Offset 60, 36 lines modifiedOffset 60, 41 lines modified
60 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8s_\x8p_\x8e_\x8e_\x8d60 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8s_\x8p_\x8e_\x8e_\x8d
61 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8s_\x8p_\x8e_\x8e_\x8d61 ····*·_\x8a_\x8l_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8s_\x8p_\x8e_\x8e_\x8d
62 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e62 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
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 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TI\x8IM\x8ME\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*65 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TI\x8IM\x8ME\x8ER\x8R·*\x8**\x8**\x8**\x8**\x8**\x8*
66 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;66 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;
 67 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;
67 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e68 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
68 This·is·an·abstract·data·type·representing·a·timer·object.69 This·is·an·abstract·data·type·representing·a·timer·object.
69 Examples:70 Examples:
70 ····*·_\x8e_\x8x_\x8__\x8e_\x8n_\x8e_\x8t_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8c71 ····*·_\x8e_\x8x_\x8__\x8e_\x8n_\x8e_\x8t_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8c
71 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8._\x8c72 ····*·_\x8e_\x8x_\x8__\x8t_\x8i_\x8m_\x8e_\x8r_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8._\x8c
72 ····*·_\x8e_\x8x_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c73 ····*·_\x8e_\x8x_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8s_\x8._\x8c
73 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8SE\x8EC\x8CS\x8S_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*74 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8SE\x8EC\x8CS\x8S_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
74 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)75 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)
 76 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)
75 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e77 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
76 Convert·microseconds·to·seconds.78 Convert·microseconds·to·seconds.
77 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MS\x8SE\x8EC\x8CS\x8S_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*79 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MS\x8SE\x8EC\x8CS\x8S_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
78 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)80 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)
 81 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)
79 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e82 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
80 Convert·milliseconds·to·seconds.83 Convert·milliseconds·to·seconds.
81 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BP\x8PS\x8S_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*84 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BP\x8PS\x8S_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
82 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))85 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))
 86 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))
83 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e87 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
84 Convert·beats·per·second·to·seconds.88 Convert·beats·per·second·to·seconds.
85 Examples:89 Examples:
86 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8._\x8c90 ····*·_\x8e_\x8x_\x8__\x8p_\x8r_\x8i_\x8m_\x8._\x8c
87 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BP\x8PM\x8M_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*91 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_B\x8BP\x8PM\x8M_\x8_T\x8TO\x8O_\x8_S\x8SE\x8EC\x8CS\x8S·*\x8**\x8**\x8**\x8**\x8**\x8*
88 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))92 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))
 93 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))
89 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e94 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
90 Convert·beats·per·minute·to·seconds.95 Convert·beats·per·minute·to·seconds.
91 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8ti\x8im\x8me\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*96 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8ti\x8im\x8me\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*
92 ALLEGRO_TIMER·*al_create_timer(double·speed_secs)97 ALLEGRO_TIMER·*al_create_timer(double·speed_secs)
93 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e98 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
94 Allocates·and·initializes·a·timer.·If·successful,·a·pointer·to·a·new·timer99 Allocates·and·initializes·a·timer.·If·successful,·a·pointer·to·a·new·timer
95 object·is·returned,·otherwise·NULL·is·returned.·s\x8sp\x8pe\x8ee\x8ed\x8d_\x8_s\x8se\x8ec\x8cs\x8s·is·in·seconds·per100 object·is·returned,·otherwise·NULL·is·returned.·s\x8sp\x8pe\x8ee\x8ed\x8d_\x8_s\x8se\x8ec\x8cs\x8s·is·in·seconds·per
9.15 KB
./usr/share/doc/allegro5-doc/refman/touch.html
    
Offset 200, 31 lines modifiedOffset 200, 34 lines modified
200 <li><a·href="#al_get_touch_input_mouse_emulation_event_source"200 <li><a·href="#al_get_touch_input_mouse_emulation_event_source"
201 id="toc-al_get_touch_input_mouse_emulation_event_source">al_get_touch_input_mouse_emulation_event_source</a></li>201 id="toc-al_get_touch_input_mouse_emulation_event_source">al_get_touch_input_mouse_emulation_event_source</a></li>
202 </ul>202 </ul>
203 </nav>203 </nav>
204 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>204 <p>These·functions·are·declared·in·the·main·Allegro·header·file:</p>
205 <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 <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>
206 <h1·id="allegro_touch_input">ALLEGRO_TOUCH_INPUT</h1>206 <h1·id="allegro_touch_input">ALLEGRO_TOUCH_INPUT</h1>
207 <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>207 <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>
 208 <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>
208 <p><a209 <p><a
209 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L34">Source210 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L34">Source
210 Code</a></p>211 Code</a></p>
211 <p>An·abstract·data·type·representing·a·physical·touch·screen·or·touch212 <p>An·abstract·data·type·representing·a·physical·touch·screen·or·touch
212 pad.</p>213 pad.</p>
213 <p>Since:·5.1.0</p>214 <p>Since:·5.1.0</p>
214 <h1215 <h1
215 id="allegro_touch_input_max_touch_count">ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT</h1>216 id="allegro_touch_input_max_touch_count">ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT</h1>
216 <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········</span><span·class="dv">16</span></span></code></pre></div>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="pp">#define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········</span><span·class="dv">16</span></span>
 218 <span·id="cb3-2"><a·href="#cb3-2"·aria-hidden="true"·tabindex="-1"></a><span·class="pp">#define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········</span><span·class="dv">16</span></span></code></pre></div>
217 <p><a219 <p><a
218 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L29">Source220 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L29">Source
219 Code</a></p>221 Code</a></p>
220 <p>The·maximum·amount·of·simultaneous·touches·that·can·be·detected.</p>222 <p>The·maximum·amount·of·simultaneous·touches·that·can·be·detected.</p>
221 <p>Since:·5.1.0</p>223 <p>Since:·5.1.0</p>
222 <h1·id="allegro_touch_state">ALLEGRO_TOUCH_STATE</h1>224 <h1·id="allegro_touch_state">ALLEGRO_TOUCH_STATE</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">struct</span>·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE<span·class="op">;</span></span></code></pre></div>225 <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>
 226 <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>
224 <p><a227 <p><a
225 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L44">Source228 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L44">Source
226 Code</a></p>229 Code</a></p>
227 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·touch·at·a230 <p>This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·touch·at·a
228 particular·instant.</p>231 particular·instant.</p>
229 <p>Public·fields·(read·only):</p>232 <p>Public·fields·(read·only):</p>
230 <ul>233 <ul>
Offset 238, 28 lines modifiedOffset 241, 30 lines modified
238 one).</li>241 one).</li>
239 <li>display·-·The·<a242 <li>display·-·The·<a
240 href="display.html#allegro_display">ALLEGRO_DISPLAY</a>·that·was243 href="display.html#allegro_display">ALLEGRO_DISPLAY</a>·that·was
241 touched.</li>244 touched.</li>
242 </ul>245 </ul>
243 <p>Since:·5.1.0</p>246 <p>Since:·5.1.0</p>
244 <h1·id="allegro_touch_input_state">ALLEGRO_TOUCH_INPUT_STATE</h1>247 <h1·id="allegro_touch_input_state">ALLEGRO_TOUCH_INPUT_STATE</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="kw">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE<span·class="op">;</span></span></code></pre></div>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">typedef</span>·<span·class="kw">struct</span>·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE<span·class="op">;</span></span>
 249 <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>
246 <p><a250 <p><a
247 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L39">Source251 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L39">Source
248 Code</a></p>252 Code</a></p>
249 <p>This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches253 <p>This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches
250 at·a·particular·instant.</p>254 at·a·particular·instant.</p>
251 <p>Public·fields·(read·only):</p>255 <p>Public·fields·(read·only):</p>
252 <ul>256 <ul>
253 <li>touches·-·an·array·of·<a257 <li>touches·-·an·array·of·<a
254 href="touch.html#allegro_touch_state">ALLEGRO_TOUCH_STATE</a></li>258 href="touch.html#allegro_touch_state">ALLEGRO_TOUCH_STATE</a></li>
255 </ul>259 </ul>
256 <p>Since:·5.1.0</p>260 <p>Since:·5.1.0</p>
257 <h1·id="allegro_mouse_emulation_mode">ALLEGRO_MOUSE_EMULATION_MODE</h1>261 <h1·id="allegro_mouse_emulation_mode">ALLEGRO_MOUSE_EMULATION_MODE</h1>
258 <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>262 <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>
 263 <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>
259 <p><a264 <p><a
260 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L71">Source265 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/touch_input.h#L71">Source
261 Code</a></p>266 Code</a></p>
262 <p>Type·of·mouse·emulation·to·apply.</p>267 <p>Type·of·mouse·emulation·to·apply.</p>
263 <dl>268 <dl>
264 <dt>ALLEGRO_MOUSE_EMULATION_NONE</dt>269 <dt>ALLEGRO_MOUSE_EMULATION_NONE</dt>
265 <dd>270 <dd>
2.85 KB
html2text {}
    
Offset 56, 46 lines modifiedOffset 56, 51 lines modified
56 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8e_\x8m_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8m_\x8o_\x8d_\x8e56 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8e_\x8m_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8m_\x8o_\x8d_\x8e
57 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8u_\x8c_\x8h_\x8__\x8i_\x8n_\x8p_\x8u_\x8t_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e57 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8u_\x8c_\x8h_\x8__\x8i_\x8n_\x8p_\x8u_\x8t_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
58 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8u_\x8c_\x8h_\x8__\x8i_\x8n_\x8p_\x8u_\x8t_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8e_\x8m_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e58 ····*·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8u_\x8c_\x8h_\x8__\x8i_\x8n_\x8p_\x8u_\x8t_\x8__\x8m_\x8o_\x8u_\x8s_\x8e_\x8__\x8e_\x8m_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
59 These·functions·are·declared·in·the·main·Allegro·header·file:59 These·functions·are·declared·in·the·main·Allegro·header·file:
60 ·#include·<allegro5/allegro.h>60 ·#include·<allegro5/allegro.h>
61 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_I\x8IN\x8NP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*61 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_I\x8IN\x8NP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
62 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;62 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;
 63 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;
63 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e64 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
64 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.65 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.
65 Since:·5.1.066 Since:·5.1.0
66 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_I\x8IN\x8NP\x8PU\x8UT\x8T_\x8_M\x8MA\x8AX\x8X_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_C\x8CO\x8OU\x8UN\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*67 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_I\x8IN\x8NP\x8PU\x8UT\x8T_\x8_M\x8MA\x8AX\x8X_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_C\x8CO\x8OU\x8UN\x8NT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
67 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········1668 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16
 69 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16
68 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e70 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
69 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.71 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.
70 Since:·5.1.072 Since:·5.1.0
71 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*73 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
72 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;74 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;
 75 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;
73 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e76 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
74 This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·touch·at·a77 This·is·a·structure·that·is·used·to·hold·a·“snapshot”·of·a·touch·at·a
75 particular·instant.78 particular·instant.
76 Public·fields·(read·only):79 Public·fields·(read·only):
77 ····*·id·-·identifier·of·the·touch.·If·the·touch·is·valid,·this·is·positive.80 ····*·id·-·identifier·of·the·touch.·If·the·touch·is·valid,·this·is·positive.
78 ····*·x·-·touch·x·position81 ····*·x·-·touch·x·position
79 ····*·y·-·touch·y·position82 ····*·y·-·touch·y·position
80 ····*·dx·-·touch·relative·x·position83 ····*·dx·-·touch·relative·x·position
81 ····*·dy·-·touch·relative·y·position84 ····*·dy·-·touch·relative·y·position
82 ····*·primary·-·TRUE·if·this·touch·is·the·primary·one·(usually·the·first·one).85 ····*·primary·-·TRUE·if·this·touch·is·the·primary·one·(usually·the·first·one).
83 ····*·display·-·The·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y·that·was·touched.86 ····*·display·-·The·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8D_\x8I_\x8S_\x8P_\x8L_\x8A_\x8Y·that·was·touched.
84 Since:·5.1.087 Since:·5.1.0
85 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_I\x8IN\x8NP\x8PU\x8UT\x8T_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*88 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TO\x8OU\x8UC\x8CH\x8H_\x8_I\x8IN\x8NP\x8PU\x8UT\x8T_\x8_S\x8ST\x8TA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
86 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;89 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;
 90 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;
87 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e91 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
88 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
89 particular·instant.93 particular·instant.
90 Public·fields·(read·only):94 Public·fields·(read·only):
91 ····*·touches·-·an·array·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8T_\x8O_\x8U_\x8C_\x8H_\x8__\x8S_\x8T_\x8A_\x8T_\x8E95 ····*·touches·-·an·array·of·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8T_\x8O_\x8U_\x8C_\x8H_\x8__\x8S_\x8T_\x8A_\x8T_\x8E
92 Since:·5.1.096 Since:·5.1.0
93 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MO\x8OU\x8US\x8SE\x8E_\x8_E\x8EM\x8MU\x8UL\x8LA\x8AT\x8TI\x8IO\x8ON\x8N_\x8_M\x8MO\x8OD\x8DE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*97 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_M\x8MO\x8OU\x8US\x8SE\x8E_\x8_E\x8EM\x8MU\x8UL\x8LA\x8AT\x8TI\x8IO\x8ON\x8N_\x8_M\x8MO\x8OD\x8DE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
94 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE98 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE
 99 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE
95 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e100 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
96 Type·of·mouse·emulation·to·apply.101 Type·of·mouse·emulation·to·apply.
97 ··ALLEGRO_MOUSE_EMULATION_NONE102 ··ALLEGRO_MOUSE_EMULATION_NONE
98 ······Disables·mouse·emulation.103 ······Disables·mouse·emulation.
99 ··ALLEGRO_MOUSE_EMULATION_TRANSPARENT104 ··ALLEGRO_MOUSE_EMULATION_TRANSPARENT
100 ······Enables·transparent·mouse·emulation.105 ······Enables·transparent·mouse·emulation.
101 ··ALLEGRO_MOUSE_EMULATION_INCLUSIVE106 ··ALLEGRO_MOUSE_EMULATION_INCLUSIVE
3.13 KB
./usr/share/doc/allegro5-doc/refman/transformations.html
    
Offset 301, 15 lines modifiedOffset 301, 16 lines modified
301 <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>301 <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>
302 <p>it·does·exactly·the·same·as:</p>302 <p>it·does·exactly·the·same·as:</p>
303 <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>303 <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>
304 <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>304 <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>
305 <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>305 <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>
306 <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>306 <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>
307 <h1·id="allegro_transform">ALLEGRO_TRANSFORM</h1>307 <h1·id="allegro_transform">ALLEGRO_TRANSFORM</h1>
308 <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>308 <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>
 309 <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>
309 <p><a310 <p><a
310 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/transformations.h#L12">Source311 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/transformations.h#L12">Source
311 Code</a></p>312 Code</a></p>
312 <p>Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms313 <p>Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms
313 use·only·a·small·subsection·of·this·matrix,·namely·the·top·left·2x2314 use·only·a·small·subsection·of·this·matrix,·namely·the·top·left·2x2
314 matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.</p>315 matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.</p>
315 <p><em>Fields:</em></p>316 <p><em>Fields:</em></p>
695 B
html2text {}
    
Offset 130, 14 lines modifiedOffset 130, 15 lines modified
130 it·does·exactly·the·same·as:130 it·does·exactly·the·same·as:
131 al_identity_transform(&T);131 al_identity_transform(&T);
132 al_scale_transform(&T,·2,·2);132 al_scale_transform(&T,·2,·2);
133 al_translate_transform(&T,·100,·0);133 al_translate_transform(&T,·100,·0);
134 al_use_transform(&T);134 al_use_transform(&T);
135 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TR\x8RA\x8AN\x8NS\x8SF\x8FO\x8OR\x8RM\x8M·*\x8**\x8**\x8**\x8**\x8**\x8*135 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_T\x8TR\x8RA\x8AN\x8NS\x8SF\x8FO\x8OR\x8RM\x8M·*\x8**\x8**\x8**\x8**\x8**\x8*
136 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;136 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;
 137 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;
137 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e138 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
138 Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms·use·only·a139 Defines·the·generic·transformation·type,·a·4x4·matrix.·2D·transforms·use·only·a
139 small·subsection·of·this·matrix,·namely·the·top·left·2x2·matrix,·and·the·right140 small·subsection·of·this·matrix,·namely·the·top·left·2x2·matrix,·and·the·right
140 most·2x1·matrix,·for·a·total·of·6·values.141 most·2x1·matrix,·for·a·total·of·6·values.
141 F\x8Fi\x8ie\x8el\x8ld\x8ds\x8s:\x8:142 F\x8Fi\x8ie\x8el\x8ld\x8ds\x8s:\x8:
142 ····*·m·-·A·4x4·float·matrix143 ····*·m·-·A·4x4·float·matrix
143 Examples:144 Examples:
4.71 KB
./usr/share/doc/allegro5-doc/refman/utf8.html
    
Offset 437, 15 lines modifiedOffset 437, 16 lines modified
437 <p>For·actual·text·processing,·where·you·want·to·specify·positions·with437 <p>For·actual·text·processing,·where·you·want·to·specify·positions·with
438 code·point·indices,·you·should·use·<a438 code·point·indices,·you·should·use·<a
439 href="utf8.html#al_ustr_offset">al_ustr_offset</a>·to·find·the·code·unit439 href="utf8.html#al_ustr_offset">al_ustr_offset</a>·to·find·the·code·unit
440 offset·position.·However,·most·of·the·time·you·would·probably·just·work440 offset·position.·However,·most·of·the·time·you·would·probably·just·work
441 with·byte·offsets.</p>441 with·byte·offsets.</p>
442 <h1·id="utf-8-string-types">UTF-8·string·types</h1>442 <h1·id="utf-8-string-types">UTF-8·string·types</h1>
443 <h2·id="allegro_ustr">ALLEGRO_USTR</h2>443 <h2·id="allegro_ustr">ALLEGRO_USTR</h2>
444 <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>444 <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>
 445 <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>
445 <p><a446 <p><a
446 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L12">Source447 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L12">Source
447 Code</a></p>448 Code</a></p>
448 <p>An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain449 <p>An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain
449 UTF-8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,450 UTF-8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,
450 including·NULs.</p>451 including·NULs.</p>
451 <p>Examples:</p>452 <p>Examples:</p>
Offset 454, 15 lines modifiedOffset 455, 16 lines modified
454 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_multiline.cpp#L248">ex_font_multiline.cpp</a></li>455 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_font_multiline.cpp#L248">ex_font_multiline.cpp</a></li>
455 <li><a456 <li><a
456 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L39">nihgui.cpp</a></li>457 href="https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L39">nihgui.cpp</a></li>
457 <li><a458 <li><a
458 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend.c#L57">ex_blend.c</a></li>459 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_blend.c#L57">ex_blend.c</a></li>
459 </ul>460 </ul>
460 <h2·id="allegro_ustr_info">ALLEGRO_USTR_INFO</h2>461 <h2·id="allegro_ustr_info">ALLEGRO_USTR_INFO</h2>
461 <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>462 <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>
 463 <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>
462 <p><a464 <p><a
463 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L16">Source465 href="https://github.com/liballeg/allegro5/blob/master/include/allegro5/utf8.h#L16">Source
464 Code</a></p>466 Code</a></p>
465 <p>A·type·that·holds·additional·information·for·an·<a467 <p>A·type·that·holds·additional·information·for·an·<a
466 href="utf8.html#allegro_ustr">ALLEGRO_USTR</a>·that·references·an468 href="utf8.html#allegro_ustr">ALLEGRO_USTR</a>·that·references·an
467 external·memory·buffer.·You·can·convert·it·back·to·<a469 external·memory·buffer.·You·can·convert·it·back·to·<a
468 href="utf8.html#allegro_ustr">ALLEGRO_USTR</a>·via·<a470 href="utf8.html#allegro_ustr">ALLEGRO_USTR</a>·via·<a
1.62 KB
html2text {}
    
Offset 191, 24 lines modifiedOffset 191, 26 lines modified
191 actually·store·arbitrary·data·in·the·ALLEGRO_USTRs.)191 actually·store·arbitrary·data·in·the·ALLEGRO_USTRs.)
192 For·actual·text·processing,·where·you·want·to·specify·positions·with·code·point192 For·actual·text·processing,·where·you·want·to·specify·positions·with·code·point
193 indices,·you·should·use·_\x8a_\x8l_\x8__\x8u_\x8s_\x8t_\x8r_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t·to·find·the·code·unit·offset·position.193 indices,·you·should·use·_\x8a_\x8l_\x8__\x8u_\x8s_\x8t_\x8r_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t·to·find·the·code·unit·offset·position.
194 However,·most·of·the·time·you·would·probably·just·work·with·byte·offsets.194 However,·most·of·the·time·you·would·probably·just·work·with·byte·offsets.
195 *\x8**\x8**\x8**\x8**\x8**\x8*·U\x8UT\x8TF\x8F-\x8-8\x88·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·t\x8ty\x8yp\x8pe\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*195 *\x8**\x8**\x8**\x8**\x8**\x8*·U\x8UT\x8TF\x8F-\x8-8\x88·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·t\x8ty\x8yp\x8pe\x8es\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
196 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8ST\x8TR\x8R·*\x8**\x8**\x8**\x8**\x8*196 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8ST\x8TR\x8R·*\x8**\x8**\x8**\x8**\x8*
197 typedef·struct·_al_tagbstring·ALLEGRO_USTR;197 typedef·struct·_al_tagbstring·ALLEGRO_USTR;
 198 typedef·struct·_al_tagbstring·ALLEGRO_USTR;
198 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e199 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
199 An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain·UTF-200 An·opaque·type·representing·a·string.·ALLEGRO_USTRs·normally·contain·UTF-
200 8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,·including201 8·encoded·strings,·but·they·may·be·used·to·hold·any·byte·sequences,·including
201 NULs.202 NULs.
202 Examples:203 Examples:
203 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8l_\x8i_\x8n_\x8e_\x8._\x8c_\x8p_\x8p204 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8l_\x8i_\x8n_\x8e_\x8._\x8c_\x8p_\x8p
204 ····*·_\x8n_\x8i_\x8h_\x8g_\x8u_\x8i_\x8._\x8c_\x8p_\x8p205 ····*·_\x8n_\x8i_\x8h_\x8g_\x8u_\x8i_\x8._\x8c_\x8p_\x8p
205 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8._\x8c206 ····*·_\x8e_\x8x_\x8__\x8b_\x8l_\x8e_\x8n_\x8d_\x8._\x8c
206 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8ST\x8TR\x8R_\x8_I\x8IN\x8NF\x8FO\x8O·*\x8**\x8**\x8**\x8**\x8*207 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_U\x8US\x8ST\x8TR\x8R_\x8_I\x8IN\x8NF\x8FO\x8O·*\x8**\x8**\x8**\x8**\x8*
207 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;208 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;
 209 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;
208 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e210 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
209 A·type·that·holds·additional·information·for·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8U_\x8S_\x8T_\x8R·that·references·an211 A·type·that·holds·additional·information·for·an·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8U_\x8S_\x8T_\x8R·that·references·an
210 external·memory·buffer.·You·can·convert·it·back·to·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8U_\x8S_\x8T_\x8R·via212 external·memory·buffer.·You·can·convert·it·back·to·_\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8U_\x8S_\x8T_\x8R·via
211 _\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8i_\x8n_\x8f_\x8o.213 _\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8i_\x8n_\x8f_\x8o.
212 See·also:·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8c_\x8s_\x8t_\x8r,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8i_\x8n_\x8f_\x8o·and·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8u_\x8s_\x8t_\x8r.214 See·also:·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8c_\x8s_\x8t_\x8r,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r,·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8i_\x8n_\x8f_\x8o·and·_\x8a_\x8l_\x8__\x8r_\x8e_\x8f_\x8__\x8u_\x8s_\x8t_\x8r.
213 Examples:215 Examples:
214 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8l_\x8i_\x8n_\x8e_\x8._\x8c_\x8p_\x8p216 ····*·_\x8e_\x8x_\x8__\x8f_\x8o_\x8n_\x8t_\x8__\x8m_\x8u_\x8l_\x8t_\x8i_\x8l_\x8i_\x8n_\x8e_\x8._\x8c_\x8p_\x8p
42.3 KB
./usr/share/doc/allegro5-doc/refman/video.html
    
Offset 229, 15 lines modifiedOffset 229, 16 lines modified
229 allegro_video.</p>229 allegro_video.</p>
230 <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>230 <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>
231 <p>Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·<a231 <p>Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·<a
232 href="http://xiph.org/"·class="uri">http://xiph.org/</a>·for232 href="http://xiph.org/"·class="uri">http://xiph.org/</a>·for
233 installation·instructions,·licensing·information·and·supported·video233 installation·instructions,·licensing·information·and·supported·video
234 formats.</p>234 formats.</p>
235 <h1·id="allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</h1>235 <h1·id="allegro_video_event_type">ALLEGRO_VIDEO_EVENT_TYPE</h1>
236 <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>236 <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>
 237 <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>
237 <p><a238 <p><a
238 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L35">Source239 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L35">Source
239 Code</a></p>240 Code</a></p>
240 <p>Events·sent·by·<a241 <p>Events·sent·by·<a
241 href="video.html#al_get_video_event_source">al_get_video_event_source</a>.</p>242 href="video.html#al_get_video_event_source">al_get_video_event_source</a>.</p>
242 <h2243 <h2
243 id="allegro_event_video_frame_show">ALLEGRO_EVENT_VIDEO_FRAME_SHOW</h2>244 id="allegro_event_video_frame_show">ALLEGRO_EVENT_VIDEO_FRAME_SHOW</h2>
Offset 262, 15 lines modifiedOffset 263, 16 lines modified
262 <dt>user.data1·(ALLEGRO_VIDEO·*)</dt>263 <dt>user.data1·(ALLEGRO_VIDEO·*)</dt>
263 <dd>264 <dd>
264 The·video·which·generated·the·event.265 The·video·which·generated·the·event.
265 </dd>266 </dd>
266 </dl>267 </dl>
267 <p>Since:·5.1.0</p>268 <p>Since:·5.1.0</p>
268 <h1·id="allegro_video_position_type">ALLEGRO_VIDEO_POSITION_TYPE</h1>269 <h1·id="allegro_video_position_type">ALLEGRO_VIDEO_POSITION_TYPE</h1>
269 <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>270 <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>
 271 <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>
270 <p><a272 <p><a
271 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L51">Source273 href="https://github.com/liballeg/allegro5/blob/master/addons/video/allegro5/allegro_video.h#L51">Source
272 Code</a></p>274 Code</a></p>
273 <p>Used·with·<a275 <p>Used·with·<a
274 href="video.html#al_get_video_position">al_get_video_position</a>·to276 href="video.html#al_get_video_position">al_get_video_position</a>·to
275 specify·which·position·to·retrieve.·If·these·get·out·of·sync,·audio·and277 specify·which·position·to·retrieve.·If·these·get·out·of·sync,·audio·and
276 video·may·be·out·of·sync·in·the·display·of·the·video.</p>278 video·may·be·out·of·sync·in·the·display·of·the·video.</p>
Offset 284, 79 lines modifiedOffset 286, 86 lines modified
284 <li><p>ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that286 <li><p>ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that
285 has·been·decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL287 has·been·decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL
286 if·audio·decode·is·driving·the·position,·which·is·common·to·keep·audio288 if·audio·decode·is·driving·the·position,·which·is·common·to·keep·audio
287 and·video·in·sync.</p></li>289 and·video·in·sync.</p></li>
288 </ul>290 </ul>
289 <p>Since:·5.1.11</p>291 <p>Since:·5.1.11</p>
290 <h1·id="al_init_video_addon">al_init_video_addon</h1>292 <h1·id="al_init_video_addon">al_init_video_addon</h1>
291 <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>293 <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>
 294 <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>
292 <p><a295 <p><a
293 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L275">Source296 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L275">Source
294 Code</a></p>297 Code</a></p>
295 <p>Initializes·the·video·addon.</p>298 <p>Initializes·the·video·addon.</p>
296 <p>Since:·5.1.12</p>299 <p>Since:·5.1.12</p>
297 <p>Examples:</p>300 <p>Examples:</p>
298 <ul>301 <ul>
299 <li><a302 <li><a
300 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L114">ex_video.c</a></li>303 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L114">ex_video.c</a></li>
301 </ul>304 </ul>
302 <h1305 <h1
303 id="al_is_video_addon_initialized">al_is_video_addon_initialized</h1>306 id="al_is_video_addon_initialized">al_is_video_addon_initialized</h1>
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_is_video_addon_initialized<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span></code></pre></div>307 <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>
 308 <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>
305 <p><a309 <p><a
306 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L297">Source310 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L297">Source
307 Code</a></p>311 Code</a></p>
308 <p>Returns·true·if·the·video·addon·is·initialized,·otherwise·returns312 <p>Returns·true·if·the·video·addon·is·initialized,·otherwise·returns
309 false.</p>313 false.</p>
310 <p>Since:·5.2.6</p>314 <p>Since:·5.2.6</p>
311 <h1·id="al_shutdown_video_addon">al_shutdown_video_addon</h1>315 <h1·id="al_shutdown_video_addon">al_shutdown_video_addon</h1>
312 <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>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><span·class="dt">void</span>·al_shutdown_video_addon<span·class="op">(</span><span·class="dt">void</span><span·class="op">)</span></span>
 317 <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>
313 <p><a318 <p><a
314 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L305">Source319 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L305">Source
315 Code</a></p>320 Code</a></p>
316 <p>Shut·down·the·video·addon.·This·is·done·automatically·at·program321 <p>Shut·down·the·video·addon.·This·is·done·automatically·at·program
317 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>322 exit,·but·can·be·called·any·time·the·user·wishes·as·well.</p>
318 <p>Since:·5.1.12</p>323 <p>Since:·5.1.12</p>
319 <h1·id="al_get_allegro_video_version">al_get_allegro_video_version</h1>324 <h1·id="al_get_allegro_video_version">al_get_allegro_video_version</h1>
320 <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>325 <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>
 326 <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>
321 <p><a327 <p><a
322 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L318">Source328 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L318">Source
323 Code</a></p>329 Code</a></p>
324 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a330 <p>Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as·<a
325 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>331 href="system.html#al_get_allegro_version">al_get_allegro_version</a>.</p>
326 <p>Since:·5.1.12</p>332 <p>Since:·5.1.12</p>
327 <h1·id="al_open_video">al_open_video</h1>333 <h1·id="al_open_video">al_open_video</h1>
328 <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>334 <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>
 335 <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>
329 <p><a336 <p><a
330 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L100">Source337 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L100">Source
331 Code</a></p>338 Code</a></p>
332 <p>Reads·a·video·file.·This·does·not·start·playing·yet·but·reads·the339 <p>Reads·a·video·file.·This·does·not·start·playing·yet·but·reads·the
333 meta·info·so·you·can·query·e.g. the·size·or·audio·rate.</p>340 meta·info·so·you·can·query·e.g. the·size·or·audio·rate.</p>
334 <p>Since:·5.1.0</p>341 <p>Since:·5.1.0</p>
335 <p>Examples:</p>342 <p>Examples:</p>
336 <ul>343 <ul>
337 <li><a344 <li><a
338 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L141">ex_video.c</a></li>345 href="https://github.com/liballeg/allegro5/blob/master/examples/ex_video.c#L141">ex_video.c</a></li>
339 </ul>346 </ul>
340 <h1·id="al_identify_video">al_identify_video</h1>347 <h1·id="al_identify_video">al_identify_video</h1>
341 <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>348 <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>
 349 <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>
342 <p><a350 <p><a
343 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L334">Source351 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L334">Source
344 Code</a></p>352 Code</a></p>
345 <p>This·works·exactly·as·<a353 <p>This·works·exactly·as·<a
346 href="video.html#al_identify_video_f">al_identify_video_f</a>·but·you354 href="video.html#al_identify_video_f">al_identify_video_f</a>·but·you
347 specify·the·filename·of·the·file·for·which·to·detect·the·type·and·not·a355 specify·the·filename·of·the·file·for·which·to·detect·the·type·and·not·a
348 file·handle.·The·extension,·if·any,·of·the·passed·filename·is·not·taken356 file·handle.·The·extension,·if·any,·of·the·passed·filename·is·not·taken
349 into·account·-·only·the·file·contents.</p>357 into·account·-·only·the·file·contents.</p>
350 <p>Since:·5.2.8</p>358 <p>Since:·5.2.8</p>
351 <p>See·also:·<a359 <p>See·also:·<a
352 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a360 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a
353 href="video.html#al_identify_video_f">al_identify_video_f</a></p>361 href="video.html#al_identify_video_f">al_identify_video_f</a></p>
354 <h1·id="al_identify_video_f">al_identify_video_f</h1>362 <h1·id="al_identify_video_f">al_identify_video_f</h1>
355 <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>363 <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>
 364 <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>
356 <p><a365 <p><a
357 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L326">Source366 href="https://github.com/liballeg/allegro5/blob/master/addons/video/video.c#L326">Source
358 Code</a></p>367 Code</a></p>
359 <p>Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by368 <p>Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by
360 reading·the·first·few·bytes.·By·default·Allegro·cannot·recognize·any369 reading·the·first·few·bytes.·By·default·Allegro·cannot·recognize·any
361 file·types,·but·calling·<a370 file·types,·but·calling·<a
362 href="video.html#al_init_video_addon">al_init_video_addon</a>·will·add371 href="video.html#al_init_video_addon">al_init_video_addon</a>·will·add
Offset 365, 111 lines modifiedOffset 374, 120 lines modified
365 type,·including·the·leading·dot.·For·example·“.ogv”.·Returns·NULL·if·the374 type,·including·the·leading·dot.·For·example·“.ogv”.·Returns·NULL·if·the
366 video·type·cannot·be·determined.</p>375 video·type·cannot·be·determined.</p>
367 <p>Since:·5.2.8</p>376 <p>Since:·5.2.8</p>
368 <p>See·also:·<a377 <p>See·also:·<a
369 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a378 href="video.html#al_init_video_addon">al_init_video_addon</a>,·<a
370 href="video.html#al_identify_video">al_identify_video</a></p>379 href="video.html#al_identify_video">al_identify_video</a></p>
Max diff block lines reached; 18452/31488 bytes (58.60%) of diff not shown.
11.5 KB
html2text {}
    
Offset 70, 14 lines modifiedOffset 70, 15 lines modified
70 These·functions·are·declared·in·the·following·header·file.·Link·with70 These·functions·are·declared·in·the·following·header·file.·Link·with
71 allegro_video.71 allegro_video.
72 ·#include·<allegro5/allegro_video.h>72 ·#include·<allegro5/allegro_video.h>
73 Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8x_\x8i_\x8p_\x8h_\x8._\x8o_\x8r_\x8g_\x8/·for73 Currently·we·have·an·Ogg·backend·(Theora·+·Vorbis).·See·_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8x_\x8i_\x8p_\x8h_\x8._\x8o_\x8r_\x8g_\x8/·for
74 installation·instructions,·licensing·information·and·supported·video·formats.74 installation·instructions,·licensing·information·and·supported·video·formats.
75 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_V\x8VI\x8ID\x8DE\x8EO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*75 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_V\x8VI\x8ID\x8DE\x8EO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
76 enum·ALLEGRO_VIDEO_EVENT_TYPE76 enum·ALLEGRO_VIDEO_EVENT_TYPE
 77 enum·ALLEGRO_VIDEO_EVENT_TYPE
77 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e78 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
78 Events·sent·by·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e.79 Events·sent·by·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e.
79 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_V\x8VI\x8ID\x8DE\x8EO\x8O_\x8_F\x8FR\x8RA\x8AM\x8ME\x8E_\x8_S\x8SH\x8HO\x8OW\x8W·*\x8**\x8**\x8**\x8**\x8*80 *\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_E\x8EV\x8VE\x8EN\x8NT\x8T_\x8_V\x8VI\x8ID\x8DE\x8EO\x8O_\x8_F\x8FR\x8RA\x8AM\x8ME\x8E_\x8_S\x8SH\x8HO\x8OW\x8W·*\x8**\x8**\x8**\x8**\x8*
80 This·event·is·sent·when·it·is·time·to·show·a·new·frame.·Once·you·receive·this81 This·event·is·sent·when·it·is·time·to·show·a·new·frame.·Once·you·receive·this
81 event,·you·can·draw·the·current·frame·(as·returned·by·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f_\x8r_\x8a_\x8m_\x8e).82 event,·you·can·draw·the·current·frame·(as·returned·by·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f_\x8r_\x8a_\x8m_\x8e).
82 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f_\x8r_\x8a_\x8m_\x8e·will·continue·returning·the·same·frame·until·the·next83 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f_\x8r_\x8a_\x8m_\x8e·will·continue·returning·the·same·frame·until·the·next
83 ALLEGRO_EVENT_VIDEO_FRAME_SHOW·is·sent.84 ALLEGRO_EVENT_VIDEO_FRAME_SHOW·is·sent.
Offset 89, 14 lines modifiedOffset 90, 15 lines modified
89 be·possible·to·seek·to·an·earlier·part·of·the·video·and·set·the·video·to·play90 be·possible·to·seek·to·an·earlier·part·of·the·video·and·set·the·video·to·play
90 to·resume·playback.91 to·resume·playback.
91 ··user.data1·(ALLEGRO_VIDEO·*)92 ··user.data1·(ALLEGRO_VIDEO·*)
92 ······The·video·which·generated·the·event.93 ······The·video·which·generated·the·event.
93 Since:·5.1.094 Since:·5.1.0
94 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_V\x8VI\x8ID\x8DE\x8EO\x8O_\x8_P\x8PO\x8OS\x8SI\x8IT\x8TI\x8IO\x8ON\x8N_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*95 *\x8**\x8**\x8**\x8**\x8**\x8*·A\x8AL\x8LL\x8LE\x8EG\x8GR\x8RO\x8O_\x8_V\x8VI\x8ID\x8DE\x8EO\x8O_\x8_P\x8PO\x8OS\x8SI\x8IT\x8TI\x8IO\x8ON\x8N_\x8_T\x8TY\x8YP\x8PE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
95 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;96 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;
 97 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;
96 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e98 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
97 Used·with·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n·to·specify·which·position·to·retrieve.·If·these99 Used·with·_\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n·to·specify·which·position·to·retrieve.·If·these
98 get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the·display·of·the100 get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the·display·of·the
99 video.101 video.
100 ····*·ALLEGRO_VIDEO_POSITION_ACTUAL·-·The·amount·of·time·the·video·has·been102 ····*·ALLEGRO_VIDEO_POSITION_ACTUAL·-·The·amount·of·time·the·video·has·been
101 ······playing.·If·the·video·has·audio·then·this·value·can·be·ahead·of103 ······playing.·If·the·video·has·audio·then·this·value·can·be·ahead·of
102 ······ALLEGRO_VIDEO_POSITION_VIDEO_DECODE·when·video·decoding·lags.104 ······ALLEGRO_VIDEO_POSITION_VIDEO_DECODE·when·video·decoding·lags.
Offset 106, 142 lines modifiedOffset 108, 160 lines modified
106 ····*·ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that·has·been108 ····*·ALLEGRO_VIDEO_POSITION_AUDIO_DECODE·-·The·amount·of·audio·that·has·been
107 ······decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL·if·audio109 ······decoded.·This·may·be·the·same·as·ALLEGRO_VIDEO_POSITION_ACTUAL·if·audio
108 ······decode·is·driving·the·position,·which·is·common·to·keep·audio·and·video110 ······decode·is·driving·the·position,·which·is·common·to·keep·audio·and·video
109 ······in·sync.111 ······in·sync.
110 Since:·5.1.11112 Since:·5.1.11
111 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*113 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8in\x8ni\x8it\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
112 bool·al_init_video_addon(void)114 bool·al_init_video_addon(void)
 115 bool·al_init_video_addon(void)
113 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e116 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
114 Initializes·the·video·addon.117 Initializes·the·video·addon.
115 Since:·5.1.12118 Since:·5.1.12
116 Examples:119 Examples:
117 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c120 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c
118 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*121 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8is\x8s_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_a\x8ad\x8dd\x8do\x8on\x8n_\x8_i\x8in\x8ni\x8it\x8ti\x8ia\x8al\x8li\x8iz\x8ze\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8**\x8*
119 bool·al_is_video_addon_initialized(void)122 bool·al_is_video_addon_initialized(void)
 123 bool·al_is_video_addon_initialized(void)
120 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e124 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
121 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.125 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.
122 Since:·5.2.6126 Since:·5.2.6
123 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*127 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8sh\x8hu\x8ut\x8td\x8do\x8ow\x8wn\x8n_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_a\x8ad\x8dd\x8do\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
124 void·al_shutdown_video_addon(void)128 void·al_shutdown_video_addon(void)
 129 void·al_shutdown_video_addon(void)
125 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e130 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
126 Shut·down·the·video·addon.·This·is·done·automatically·at·program·exit,·but·can131 Shut·down·the·video·addon.·This·is·done·automatically·at·program·exit,·but·can
127 be·called·any·time·the·user·wishes·as·well.132 be·called·any·time·the·user·wishes·as·well.
128 Since:·5.1.12133 Since:·5.1.12
129 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*134 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_a\x8al\x8ll\x8le\x8eg\x8gr\x8ro\x8o_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_v\x8ve\x8er\x8rs\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
130 uint32_t·al_get_allegro_video_version(void)135 uint32_t·al_get_allegro_video_version(void)
 136 uint32_t·al_get_allegro_video_version(void)
131 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e137 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
132 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as138 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
133 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.139 _\x8a_\x8l_\x8__\x8g_\x8e_\x8t_\x8__\x8a_\x8l_\x8l_\x8e_\x8g_\x8r_\x8o_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n.
134 Since:·5.1.12140 Since:·5.1.12
135 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_o\x8op\x8pe\x8en\x8n_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*141 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_o\x8op\x8pe\x8en\x8n_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
136 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)142 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)
 143 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)
137 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e144 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
138 Reads·a·video·file.·This·does·not·start·playing·yet·but·reads·the·meta·info·so145 Reads·a·video·file.·This·does·not·start·playing·yet·but·reads·the·meta·info·so
139 you·can·query·e.g. the·size·or·audio·rate.146 you·can·query·e.g. the·size·or·audio·rate.
140 Since:·5.1.0147 Since:·5.1.0
141 Examples:148 Examples:
142 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c149 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c
143 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8id\x8de\x8en\x8nt\x8ti\x8if\x8fy\x8y_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*150 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8id\x8de\x8en\x8nt\x8ti\x8if\x8fy\x8y_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
144 char·const·*al_identify_video(char·const·*filename)151 char·const·*al_identify_video(char·const·*filename)
 152 char·const·*al_identify_video(char·const·*filename)
145 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e153 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
146 This·works·exactly·as·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f·but·you·specify·the·filename·of·the154 This·works·exactly·as·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f·but·you·specify·the·filename·of·the
147 file·for·which·to·detect·the·type·and·not·a·file·handle.·The·extension,·if·any,155 file·for·which·to·detect·the·type·and·not·a·file·handle.·The·extension,·if·any,
148 of·the·passed·filename·is·not·taken·into·account·-·only·the·file·contents.156 of·the·passed·filename·is·not·taken·into·account·-·only·the·file·contents.
149 Since:·5.2.8157 Since:·5.2.8
150 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f158 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8f
151 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8id\x8de\x8en\x8nt\x8ti\x8if\x8fy\x8y_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_f\x8f·*\x8**\x8**\x8**\x8**\x8**\x8*159 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_i\x8id\x8de\x8en\x8nt\x8ti\x8if\x8fy\x8y_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_f\x8f·*\x8**\x8**\x8**\x8**\x8**\x8*
152 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)160 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)
 161 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)
153 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e162 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
154 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading·the163 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading·the
155 first·few·bytes.·By·default·Allegro·cannot·recognize·any·file·types,·but164 first·few·bytes.·By·default·Allegro·cannot·recognize·any·file·types,·but
156 calling·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8d_\x8o_\x8n·will·add·detection·of·the·types·it·can·read.165 calling·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8d_\x8o_\x8n·will·add·detection·of·the·types·it·can·read.
157 Returns·a·pointer·to·a·static·string·with·a·file·extension·for·the·type,166 Returns·a·pointer·to·a·static·string·with·a·file·extension·for·the·type,
158 including·the·leading·dot.·For·example·“.ogv”.·Returns·NULL·if·the·video·type167 including·the·leading·dot.·For·example·“.ogv”.·Returns·NULL·if·the·video·type
159 cannot·be·determined.168 cannot·be·determined.
160 Since:·5.2.8169 Since:·5.2.8
161 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8v_\x8i_\x8d_\x8e_\x8o170 See·also:·_\x8a_\x8l_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8__\x8a_\x8d_\x8d_\x8o_\x8n,·_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8y_\x8__\x8v_\x8i_\x8d_\x8e_\x8o
162 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cl\x8lo\x8os\x8se\x8e_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*171 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_c\x8cl\x8lo\x8os\x8se\x8e_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
163 void·al_close_video(ALLEGRO_VIDEO·*video)172 void·al_close_video(ALLEGRO_VIDEO·*video)
 173 void·al_close_video(ALLEGRO_VIDEO·*video)
164 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e174 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
165 Closes·the·video·and·frees·all·allocated·resources.·The·video·pointer·is175 Closes·the·video·and·frees·all·allocated·resources.·The·video·pointer·is
166 invalid·after·the·function·returns.176 invalid·after·the·function·returns.
167 Since:·5.1.0177 Since:·5.1.0
168 Examples:178 Examples:
169 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c179 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c
170 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8ta\x8ar\x8rt\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*180 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8ta\x8ar\x8rt\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
171 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)181 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)
 182 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)
172 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e183 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
173 Starts·playing·the·video·from·the·beginning.184 Starts·playing·the·video·from·the·beginning.
174 Since:·5.1.0185 Since:·5.1.0
175 Examples:186 Examples:
176 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c187 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c
177 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8ta\x8ar\x8rt\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_w\x8wi\x8it\x8th\x8h_\x8_v\x8vo\x8oi\x8ic\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*188 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_s\x8st\x8ta\x8ar\x8rt\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_w\x8wi\x8it\x8th\x8h_\x8_v\x8vo\x8oi\x8ic\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
178 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)189 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)
 190 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)
179 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e191 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
180 Like·_\x8a_\x8l_\x8__\x8s_\x8t_\x8a_\x8r_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o·but·audio·is·routed·to·the·provided·voice.192 Like·_\x8a_\x8l_\x8__\x8s_\x8t_\x8a_\x8r_\x8t_\x8__\x8v_\x8i_\x8d_\x8e_\x8o·but·audio·is·routed·to·the·provided·voice.
181 Since:·5.1.0193 Since:·5.1.0
182 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_e\x8ev\x8ve\x8en\x8nt\x8t_\x8_s\x8so\x8ou\x8ur\x8rc\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*194 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8l_\x8_g\x8ge\x8et\x8t_\x8_v\x8vi\x8id\x8de\x8eo\x8o_\x8_e\x8ev\x8ve\x8en\x8nt\x8t_\x8_s\x8so\x8ou\x8ur\x8rc\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
183 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)195 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)
 196 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)
184 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e197 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8C_\x8o_\x8d_\x8e
185 Get·an·event·source·for·the·video.·The·possible·events·are·described·under198 Get·an·event·source·for·the·video.·The·possible·events·are·described·under
186 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8V_\x8I_\x8D_\x8E_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E.199 _\x8A_\x8L_\x8L_\x8E_\x8G_\x8R_\x8O_\x8__\x8V_\x8I_\x8D_\x8E_\x8O_\x8__\x8E_\x8V_\x8E_\x8N_\x8T_\x8__\x8T_\x8Y_\x8P_\x8E.
187 Since:·5.1.0200 Since:·5.1.0
188 Examples:201 Examples:
189 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c202 ····*·_\x8e_\x8x_\x8__\x8v_\x8i_\x8d_\x8e_\x8o_\x8._\x8c
Max diff block lines reached; 4392/11705 bytes (37.52%) of diff not shown.
563 B
./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz
461 B
ALLEGRO_AUDIO_DEPTH.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_AUDIO_DEPTH·\-·Allegro·5·API5 ALLEGRO_AUDIO_DEPTH·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 enum·ALLEGRO_AUDIO_DEPTH10 enum·ALLEGRO_AUDIO_DEPTH
 11 enum·ALLEGRO_AUDIO_DEPTH
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Sample·depth·and·type·as·well·as·signedness.14 Sample·depth·and·type·as·well·as·signedness.
14 Mixers·only·use·32\-bit·signed·float·(\-1..+1),·or·16\-bit·signed15 Mixers·only·use·32\-bit·signed·float·(\-1..+1),·or·16\-bit·signed
15 integers.16 integers.
16 Signedness·is·determined·by·an·\[lq]unsigned\[rq]·bit\-flag·applied·to17 Signedness·is·determined·by·an·\[lq]unsigned\[rq]·bit\-flag·applied·to
17 the·depth·value.18 the·depth·value.
473 B
./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz
369 B
ALLEGRO_AUDIO_DEVICE.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_AUDIO_DEVICE·\-·Allegro·5·API5 ALLEGRO_AUDIO_DEVICE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_AUDIO_DEVICE·ALLEGRO_AUDIO_DEVICE;10 typedef·struct·ALLEGRO_AUDIO_DEVICE·ALLEGRO_AUDIO_DEVICE;
 11 typedef·struct·ALLEGRO_AUDIO_DEVICE·ALLEGRO_AUDIO_DEVICE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·datatype·that·represents·an·audio·device.14 An·opaque·datatype·that·represents·an·audio·device.
631 B
./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz
519 B
ALLEGRO_AUDIO_EVENT_TYPE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_AUDIO_EVENT_TYPE·\-·Allegro·5·API5 ALLEGRO_AUDIO_EVENT_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 enum·ALLEGRO_AUDIO_EVENT_TYPE10 enum·ALLEGRO_AUDIO_EVENT_TYPE
 11 enum·ALLEGRO_AUDIO_EVENT_TYPE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Events·sent·by·al_get_audio_stream_event_source(3alleg5)·or14 Events·sent·by·al_get_audio_stream_event_source(3alleg5)·or
14 al_get_audio_recorder_event_source(3alleg5).15 al_get_audio_recorder_event_source(3alleg5).
15 .SS·ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT16 .SS·ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT
16 Sent·when·a·stream·fragment·is·ready·to·be·filled·in.17 Sent·when·a·stream·fragment·is·ready·to·be·filled·in.
17 See·al_get_audio_stream_fragment(3alleg5).18 See·al_get_audio_stream_fragment(3alleg5).
631 B
./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz
523 B
ALLEGRO_AUDIO_PAN_NONE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_AUDIO_PAN_NONE·\-·Allegro·5·API5 ALLEGRO_AUDIO_PAN_NONE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 #define·ALLEGRO_AUDIO_PAN_NONE······(\-1000.0f)10 #define·ALLEGRO_AUDIO_PAN_NONE······(\-1000.0f)
 11 #define·ALLEGRO_AUDIO_PAN_NONE······(\-1000.0f)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·special·value·for·the·pan·property·of·sample·instances·and·audio14 A·special·value·for·the·pan·property·of·sample·instances·and·audio
14 streams.15 streams.
15 Use·this·value·to·disable·panning·on·sample·instances·and·audio·streams,16 Use·this·value·to·disable·panning·on·sample·instances·and·audio·streams,
16 and·play·them·without·attentuation·implied·by·panning·support.17 and·play·them·without·attentuation·implied·by·panning·support.
17 .PP18 .PP
522 B
./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz
414 B
ALLEGRO_AUDIO_RECORDER.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_AUDIO_RECORDER·\-·Allegro·5·API5 ALLEGRO_AUDIO_RECORDER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_AUDIO_RECORDER·ALLEGRO_AUDIO_RECORDER;10 typedef·struct·ALLEGRO_AUDIO_RECORDER·ALLEGRO_AUDIO_RECORDER;
 11 typedef·struct·ALLEGRO_AUDIO_RECORDER·ALLEGRO_AUDIO_RECORDER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·datatype·that·represents·a·recording·device.14 An·opaque·datatype·that·represents·a·recording·device.
14 .SH·SINCE15 .SH·SINCE
15 5.1.116 5.1.1
16 .RS17 .RS
17 .PP18 .PP
637 B
./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz
517 B
ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_AUDIO_RECORDER_EVENT·\-·Allegro·5·API5 ALLEGRO_AUDIO_RECORDER_EVENT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_AUDIO_RECORDER_EVENT·ALLEGRO_AUDIO_RECORDER_EVENT;10 typedef·struct·ALLEGRO_AUDIO_RECORDER_EVENT·ALLEGRO_AUDIO_RECORDER_EVENT;
 11 typedef·struct·ALLEGRO_AUDIO_RECORDER_EVENT·ALLEGRO_AUDIO_RECORDER_EVENT;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Structure·that·holds·the·audio·recorder·event·data.14 Structure·that·holds·the·audio·recorder·event·data.
14 Every·event·type·will·contain:15 Every·event·type·will·contain:
15 .IP·\[bu]·216 .IP·\[bu]·2
16 \&.source:·pointer·to·the·audio·recorder17 \&.source:·pointer·to·the·audio·recorder
17 .PP18 .PP
678 B
./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz
574 B
ALLEGRO_AUDIO_STREAM.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_AUDIO_STREAM·\-·Allegro·5·API5 ALLEGRO_AUDIO_STREAM·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_AUDIO_STREAM·ALLEGRO_AUDIO_STREAM;10 typedef·struct·ALLEGRO_AUDIO_STREAM·ALLEGRO_AUDIO_STREAM;
 11 typedef·struct·ALLEGRO_AUDIO_STREAM·ALLEGRO_AUDIO_STREAM;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_AUDIO_STREAM·object·is·used·to·stream·generated·audio·to·the14 An·ALLEGRO_AUDIO_STREAM·object·is·used·to·stream·generated·audio·to·the
14 sound·device,·in·real\-time.15 sound·device,·in·real\-time.
15 This·is·done·by·reading·from·a·buffer,·which·is·split·into·a·number·of16 This·is·done·by·reading·from·a·buffer,·which·is·split·into·a·number·of
16 fragments.17 fragments.
17 Whenever·a·fragment·has·finished·playing,·the·user·can·refill·it·with18 Whenever·a·fragment·has·finished·playing,·the·user·can·refill·it·with
409 B
./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz
317 B
ALLEGRO_BITMAP.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_BITMAP·\-·Allegro·5·API5 ALLEGRO_BITMAP·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;10 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;
 11 typedef·struct·ALLEGRO_BITMAP·ALLEGRO_BITMAP;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Abstract·type·representing·a·bitmap·(2D·image).14 Abstract·type·representing·a·bitmap·(2D·image).
631 B
./usr/share/man/man3/ALLEGRO_BITMAP_WRAP.3alleg5.gz
529 B
ALLEGRO_BITMAP_WRAP.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_BITMAP_WRAP·\-·Allegro·5·API5 ALLEGRO_BITMAP_WRAP·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_BITMAP_WRAP·{10 typedef·enum·ALLEGRO_BITMAP_WRAP·{
 11 typedef·enum·ALLEGRO_BITMAP_WRAP·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying14 Controls·the·how·the·pixel·color·is·determined·from·a·texture·querying
14 the·texture·coordinates·are·outside·the·usual·bounds.15 the·texture·coordinates·are·outside·the·usual·bounds.
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_BITMAP_WRAP_DEFAULT·\-·The·default·behavior.17 ALLEGRO_BITMAP_WRAP_DEFAULT·\-·The·default·behavior.
17 This·corresponds·to·ALLEGRO_BITMAP_WRAP_REPEAT·when·using·the·primitives18 This·corresponds·to·ALLEGRO_BITMAP_WRAP_REPEAT·when·using·the·primitives
433 B
./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz
331 B
ALLEGRO_BPM_TO_SECS.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_BPM_TO_SECS·\-·Allegro·5·API5 ALLEGRO_BPM_TO_SECS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))10 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))
 11 #define·ALLEGRO_BPM_TO_SECS(x)········(60.0·/·(x))
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Convert·beats·per·minute·to·seconds.14 Convert·beats·per·minute·to·seconds.
431 B
./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz
329 B
ALLEGRO_BPS_TO_SECS.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_BPS_TO_SECS·\-·Allegro·5·API5 ALLEGRO_BPS_TO_SECS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))10 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))
 11 #define·ALLEGRO_BPS_TO_SECS(x)········(1.0·/·(x))
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Convert·beats·per·second·to·seconds.14 Convert·beats·per·second·to·seconds.
479 B
./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz
375 B
ALLEGRO_CHANNEL_CONF.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_CHANNEL_CONF·\-·Allegro·5·API5 ALLEGRO_CHANNEL_CONF·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 enum·ALLEGRO_CHANNEL_CONF10 enum·ALLEGRO_CHANNEL_CONF
 11 enum·ALLEGRO_CHANNEL_CONF
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Speaker·configuration·(mono,·stereo,·2.1,·etc).14 Speaker·configuration·(mono,·stereo,·2.1,·etc).
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_CHANNEL_CONF_116 ALLEGRO_CHANNEL_CONF_1
16 .IP·\[bu]·217 .IP·\[bu]·2
17 ALLEGRO_CHANNEL_CONF_218 ALLEGRO_CHANNEL_CONF_2
551 B
./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz
461 B
ALLEGRO_COLOR.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 ALLEGRO_COLOR·\-·Allegro·5·API5 ALLEGRO_COLOR·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;10 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;
 11 typedef·struct·ALLEGRO_COLOR·ALLEGRO_COLOR;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent14 An·ALLEGRO_COLOR·structure·describes·a·color·in·a·device·independent
14 way.15 way.
15 Use·al_map_rgb(3alleg5)·et·al.\·and·al_unmap_rgb(3alleg5)·et·al.\·to16 Use·al_map_rgb(3alleg5)·et·al.\·and·al_unmap_rgb(3alleg5)·et·al.\·to
16 translate·from·and·to·various·color·representations.17 translate·from·and·to·various·color·representations.
398 B
./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz
310 B
ALLEGRO_COND.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_COND·\-·Allegro·5·API5 ALLEGRO_COND·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;10 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;
 11 typedef·struct·ALLEGRO_COND·ALLEGRO_COND;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·structure·representing·a·condition·variable.14 An·opaque·structure·representing·a·condition·variable.
398 B
./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz
306 B
ALLEGRO_CONFIG.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_CONFIG·\-·Allegro·5·API5 ALLEGRO_CONFIG·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;10 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;
 11 typedef·struct·ALLEGRO_CONFIG·ALLEGRO_CONFIG;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·abstract·configuration·structure.14 An·abstract·configuration·structure.
583 B
./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz
479 B
ALLEGRO_CONFIG_ENTRY.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 ALLEGRO_CONFIG_ENTRY·\-·Allegro·5·API5 ALLEGRO_CONFIG_ENTRY·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;10 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;
 11 typedef·struct·ALLEGRO_CONFIG_ENTRY·ALLEGRO_CONFIG_ENTRY;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration14 An·opaque·structure·used·for·iterating·across·entries·in·a·configuration
14 section.15 section.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_get_first_config_entry(3alleg5),·al_get_next_config_entry(3alleg5)17 al_get_first_config_entry(3alleg5),·al_get_next_config_entry(3alleg5)
609 B
./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz
501 B
ALLEGRO_CONFIG_SECTION.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_CONFIG_SECTION·\-·Allegro·5·API5 ALLEGRO_CONFIG_SECTION·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;10 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;
 11 typedef·struct·ALLEGRO_CONFIG_SECTION·ALLEGRO_CONFIG_SECTION;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·structure·used·for·iterating·across·sections·in·a14 An·opaque·structure·used·for·iterating·across·sections·in·a
14 configuration·structure.15 configuration·structure.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_get_first_config_section(3alleg5),17 al_get_first_config_section(3alleg5),
17 al_get_next_config_section(3alleg5)18 al_get_next_config_section(3alleg5)
425 B
./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz
331 B
ALLEGRO_DISPLAY.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_DISPLAY·\-·Allegro·5·API5 ALLEGRO_DISPLAY·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;10 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;
 11 typedef·struct·ALLEGRO_DISPLAY·ALLEGRO_DISPLAY;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·type·representing·an·open·display·or·window.14 An·opaque·type·representing·an·open·display·or·window.
512 B
./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz
408 B
ALLEGRO_DISPLAY_MODE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_DISPLAY_MODE·\-·Allegro·5·API5 ALLEGRO_DISPLAY_MODE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_DISPLAY_MODE10 typedef·struct·ALLEGRO_DISPLAY_MODE
 11 typedef·struct·ALLEGRO_DISPLAY_MODE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Used·for·fullscreen·mode·queries.14 Used·for·fullscreen·mode·queries.
14 Contains·information·about·a·supported·fullscreen·modes.15 Contains·information·about·a·supported·fullscreen·modes.
15 .IP16 .IP
16 .EX17 .EX
17 typedef·struct·ALLEGRO_DISPLAY_MODE·{18 typedef·struct·ALLEGRO_DISPLAY_MODE·{
564 B
./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz
474 B
ALLEGRO_EVENT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_EVENT·\-·Allegro·5·API5 ALLEGRO_EVENT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;10 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;
 11 typedef·union·ALLEGRO_EVENT·ALLEGRO_EVENT;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e.\·it·is14 An·ALLEGRO_EVENT·is·a·union·of·all·builtin·event·structures,·i.e.\·it·is
14 an·object·large·enough·to·hold·the·data·of·any·event·type.15 an·object·large·enough·to·hold·the·data·of·any·event·type.
15 All·events·have·the·following·fields·in·common:16 All·events·have·the·following·fields·in·common:
16 .TP17 .TP
17 type·(ALLEGRO_EVENT_TYPE)18 type·(ALLEGRO_EVENT_TYPE)
640 B
./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz
538 B
ALLEGRO_EVENT_QUEUE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_EVENT_QUEUE·\-·Allegro·5·API5 ALLEGRO_EVENT_QUEUE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;10 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;
 11 typedef·struct·ALLEGRO_EVENT_QUEUE·ALLEGRO_EVENT_QUEUE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·event·queue·holds·events·that·have·been·generated·by·event·sources14 An·event·queue·holds·events·that·have·been·generated·by·event·sources
14 that·are·registered·with·the·queue.15 that·are·registered·with·the·queue.
15 Events·are·stored·in·the·order·they·are·generated.16 Events·are·stored·in·the·order·they·are·generated.
16 Access·is·in·a·strictly·FIFO·(first\-in\-first\-out)·order.17 Access·is·in·a·strictly·FIFO·(first\-in\-first\-out)·order.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
649 B
./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz
545 B
ALLEGRO_EVENT_SOURCE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_EVENT_SOURCE·\-·Allegro·5·API5 ALLEGRO_EVENT_SOURCE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;10 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;
 11 typedef·struct·ALLEGRO_EVENT_SOURCE·ALLEGRO_EVENT_SOURCE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·event·source·is·any·object·which·can·generate·events.14 An·event·source·is·any·object·which·can·generate·events.
14 For·example,·an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the15 For·example,·an·ALLEGRO_DISPLAY·can·generate·events,·and·you·can·get·the
15 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with16 ALLEGRO_EVENT_SOURCE·pointer·from·an·ALLEGRO_DISPLAY·with
16 al_get_display_event_source(3alleg5).17 al_get_display_event_source(3alleg5).
17 .PP18 .PP
546 B
./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz
446 B
ALLEGRO_EVENT_TYPE.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 ALLEGRO_EVENT_TYPE·\-·Allegro·5·API5 ALLEGRO_EVENT_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;10 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;
 11 typedef·unsigned·int·ALLEGRO_EVENT_TYPE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·integer·used·to·distinguish·between·different·types·of·events.14 An·integer·used·to·distinguish·between·different·types·of·events.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_EVENT(3alleg5),·ALLEGRO_GET_EVENT_TYPE(3alleg5),16 ALLEGRO_EVENT(3alleg5),·ALLEGRO_GET_EVENT_TYPE(3alleg5),
16 ALLEGRO_EVENT_TYPE_IS_USER(3alleg5)17 ALLEGRO_EVENT_TYPE_IS_USER(3alleg5)
586 B
./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz
470 B
ALLEGRO_EVENT_TYPE_IS_USER.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 ALLEGRO_EVENT_TYPE_IS_USER·\-·Allegro·5·API5 ALLEGRO_EVENT_TYPE_IS_USER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)10 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)
 11 #define·ALLEGRO_EVENT_TYPE_IS_USER(t)········((t)·>=·512)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event14 A·macro·which·evaluates·to·true·if·the·event·type·is·not·a·builtin·event
14 type,·i.e.\·one·of·those·described·in·ALLEGRO_EVENT_TYPE(3alleg5).15 type,·i.e.\·one·of·those·described·in·ALLEGRO_EVENT_TYPE(3alleg5).
441 B
./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz
353 B
ALLEGRO_FILE.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 ALLEGRO_FILE·\-·Allegro·5·API5 ALLEGRO_FILE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;10 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;
 11 typedef·struct·ALLEGRO_FILE·ALLEGRO_FILE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·object·representing·an·open·file.14 An·opaque·object·representing·an·open·file.
14 This·could·be·a·real·file·on·disk·or·a·virtual·file.15 This·could·be·a·real·file·on·disk·or·a·virtual·file.
459 B
./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz
357 B
ALLEGRO_FILECHOOSER.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_FILECHOOSER·\-·Allegro·5·API5 ALLEGRO_FILECHOOSER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;10 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;
 11 typedef·struct·ALLEGRO_FILECHOOSER·ALLEGRO_FILECHOOSER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Opaque·handle·to·a·native·file·dialog.14 Opaque·handle·to·a·native·file·dialog.
566 B
./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz
458 B
ALLEGRO_FILE_INTERFACE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_FILE_INTERFACE·\-·Allegro·5·API5 ALLEGRO_FILE_INTERFACE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_FILE_INTERFACE10 typedef·struct·ALLEGRO_FILE_INTERFACE
 11 typedef·struct·ALLEGRO_FILE_INTERFACE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·structure·containing·function·pointers·to·handle·a·type·of14 A·structure·containing·function·pointers·to·handle·a·type·of
14 \[lq]file\[rq],·real·or·virtual.15 \[lq]file\[rq],·real·or·virtual.
15 See·the·full·discussion·in·al_set_new_file_interface(3alleg5).16 See·the·full·discussion·in·al_set_new_file_interface(3alleg5).
16 .PP17 .PP
17 The·fields·are:18 The·fields·are:
466 B
./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz
368 B
ALLEGRO_FILE_MODE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_FILE_MODE·\-·Allegro·5·API5 ALLEGRO_FILE_MODE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_FILE_MODE10 typedef·enum·ALLEGRO_FILE_MODE
 11 typedef·enum·ALLEGRO_FILE_MODE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Filesystem·modes/types14 Filesystem·modes/types
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_FILEMODE_READ·\-·Readable16 ALLEGRO_FILEMODE_READ·\-·Readable
16 .IP·\[bu]·217 .IP·\[bu]·2
17 ALLEGRO_FILEMODE_WRITE·\-·Writable18 ALLEGRO_FILEMODE_WRITE·\-·Writable
669 B
./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz
581 B
ALLEGRO_FONT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_FONT·\-·Allegro·5·API5 ALLEGRO_FONT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;10 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;
 11 typedef·struct·ALLEGRO_FONT·ALLEGRO_FONT;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·handle·identifying·any·kind·of·font.14 A·handle·identifying·any·kind·of·font.
14 Usually·you·will·create·it·with·al_load_font(3alleg5)·which·supports15 Usually·you·will·create·it·with·al_load_font(3alleg5)·which·supports
15 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.16 loading·all·kinds·of·TrueType·fonts·supported·by·the·FreeType·library.
16 If·you·instead·pass·the·filename·of·a·bitmap·file,·it·will·be·loaded17 If·you·instead·pass·the·filename·of·a·bitmap·file,·it·will·be·loaded
17 with·al_load_bitmap(3alleg5)·and·a·font·in·Allegro\[cq]s·bitmap·font18 with·al_load_bitmap(3alleg5)·and·a·font·in·Allegro\[cq]s·bitmap·font
631 B
./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz
503 B
ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·\-·Allegro·5·API5 ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{10 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{
 11 typedef·enum·ALLEGRO_FOR_EACH_FS_ENTRY_RESULT·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·values·for·the·callbacks·of·al_for_each_fs_entry(3alleg5)·and·for14 Return·values·for·the·callbacks·of·al_for_each_fs_entry(3alleg5)·and·for
14 that·function·itself.15 that·function·itself.
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_FOR_EACH_FS_ENTRY_ERROR·\-·An·error·ocurred.17 ALLEGRO_FOR_EACH_FS_ENTRY_ERROR·\-·An·error·ocurred.
17 .IP·\[bu]·218 .IP·\[bu]·2
538 B
./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz
442 B
ALLEGRO_FS_ENTRY.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 ALLEGRO_FS_ENTRY·\-·Allegro·5·API5 ALLEGRO_FS_ENTRY·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;10 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;
 11 typedef·struct·ALLEGRO_FS_ENTRY·ALLEGRO_FS_ENTRY;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Opaque·filesystem·entry·object.14 Opaque·filesystem·entry·object.
14 Represents·a·file·or·a·directory·(check·with15 Represents·a·file·or·a·directory·(check·with
15 al_get_fs_entry_mode(3alleg5)).16 al_get_fs_entry_mode(3alleg5)).
16 There·are·no·user·accessible·member·variables.17 There·are·no·user·accessible·member·variables.
556 B
./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz
452 B
ALLEGRO_FS_INTERFACE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_FS_INTERFACE·\-·Allegro·5·API5 ALLEGRO_FS_INTERFACE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;10 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;
 11 typedef·struct·ALLEGRO_FS_INTERFACE·ALLEGRO_FS_INTERFACE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 The·available·functions·you·can·provide·for·a·filesystem.14 The·available·functions·you·can·provide·for·a·filesystem.
14 They·are:15 They·are:
15 .IP16 .IP
16 .EX17 .EX
17 ···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);18 ···ALLEGRO_FS_ENTRY·*··fs_create_entry···(const·char·*path);
601 B
./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz
493 B
ALLEGRO_GET_EVENT_TYPE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_GET_EVENT_TYPE·\-·Allegro·5·API5 ALLEGRO_GET_EVENT_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)10 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)
 11 #define·ALLEGRO_GET_EVENT_TYPE(a,·b,·c,·d)···AL_ID(a,·b,·c,·d)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Make·an·event·type·identifier,·which·is·a·32\-bit·integer.14 Make·an·event·type·identifier,·which·is·a·32\-bit·integer.
14 Usually,·but·not·necessarily,·this·will·be·made·from·four·8\-bit15 Usually,·but·not·necessarily,·this·will·be·made·from·four·8\-bit
15 character·codes,·for·example:16 character·codes,·for·example:
16 .IP17 .IP
17 .EX18 .EX
527 B
./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz
437 B
ALLEGRO_GLYPH.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_GLYPH·\-·Allegro·5·API5 ALLEGRO_GLYPH·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;10 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;
 11 typedef·struct·ALLEGRO_GLYPH·ALLEGRO_GLYPH;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·structure·containing·the·properties·of·a·character·in·a·font.14 A·structure·containing·the·properties·of·a·character·in·a·font.
14 .IP15 .IP
15 .EX16 .EX
16 typedef·struct·ALLEGRO_GLYPH·{17 typedef·struct·ALLEGRO_GLYPH·{
17 ···ALLEGRO_BITMAP·*bitmap;···//·the·bitmap·the·character·is·on18 ···ALLEGRO_BITMAP·*bitmap;···//·the·bitmap·the·character·is·on
487 B
./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz
395 B
ALLEGRO_HAPTIC.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_HAPTIC·\-·Allegro·5·API5 ALLEGRO_HAPTIC·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;10 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;
 11 typedef·struct·ALLEGRO_HAPTIC·ALLEGRO_HAPTIC;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports14 This·is·an·abstract·data·type·representing·a·haptic·device·that·supports
14 force·feedback·or·vibration.15 force·feedback·or·vibration.
15 .SH·SINCE16 .SH·SINCE
16 5.1.817 5.1.8
17 .RS18 .RS
591 B
./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz
479 B
ALLEGRO_HAPTIC_CONSTANTS.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_HAPTIC_CONSTANTS·\-·Allegro·5·API5 ALLEGRO_HAPTIC_CONSTANTS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 enum·ALLEGRO_HAPTIC_CONSTANTS10 enum·ALLEGRO_HAPTIC_CONSTANTS
 11 enum·ALLEGRO_HAPTIC_CONSTANTS
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and14 This·enum·contains·flags·that·are·used·to·define·haptic·effects·and
14 capabilities.15 capabilities.
15 If·the·flag·is·set·in·the·return·value·of16 If·the·flag·is·set·in·the·return·value·of
16 al_get_haptic_capabilities(3alleg5),·it·means·the·device·supports·the17 al_get_haptic_capabilities(3alleg5),·it·means·the·device·supports·the
17 given·effect.18 given·effect.
551 B
./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz
445 B
ALLEGRO_HAPTIC_EFFECT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_HAPTIC_EFFECT·\-·Allegro·5·API5 ALLEGRO_HAPTIC_EFFECT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 struct·ALLEGRO_HAPTIC_EFFECT10 struct·ALLEGRO_HAPTIC_EFFECT
 11 struct·ALLEGRO_HAPTIC_EFFECT
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·struct·models·a·particular·haptic·or·vibration·effect.14 This·struct·models·a·particular·haptic·or·vibration·effect.
14 It·needs·to·be·filled·in·correctly·and·uploaded·to·a·haptic·device15 It·needs·to·be·filled·in·correctly·and·uploaded·to·a·haptic·device
15 before·the·device·can·play·it·back.16 before·the·device·can·play·it·back.
16 .PP17 .PP
17 \f[I]Fields:\f[R]18 \f[I]Fields:\f[R]
663 B
./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz
551 B
ALLEGRO_HAPTIC_EFFECT_ID.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_HAPTIC_EFFECT_ID·\-·Allegro·5·API5 ALLEGRO_HAPTIC_EFFECT_ID·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;10 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;
 11 typedef·struct·ALLEGRO_HAPTIC_EFFECT_ID·ALLEGRO_HAPTIC_EFFECT_ID;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect14 This·struct·is·used·as·a·handle·to·control·playback·of·a·haptic·effect
14 and·should·be·considered·opaque.15 and·should·be·considered·opaque.
15 Its·implementation·is·visible·merely·to·allow·allocation·by·the·users·of16 Its·implementation·is·visible·merely·to·allow·allocation·by·the·users·of
16 the·Allegro·library.17 the·Allegro·library.
17 .SH·SINCE18 .SH·SINCE
606 B
./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz
502 B
ALLEGRO_INDEX_BUFFER.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_INDEX_BUFFER·\-·Allegro·5·API5 ALLEGRO_INDEX_BUFFER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·struct·ALLEGRO_INDEX_BUFFER·ALLEGRO_INDEX_BUFFER;10 typedef·struct·ALLEGRO_INDEX_BUFFER·ALLEGRO_INDEX_BUFFER;
 11 typedef·struct·ALLEGRO_INDEX_BUFFER·ALLEGRO_INDEX_BUFFER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·GPU·index·buffer·that·you·can·use·to·store·indices·of·vertices·in·a14 A·GPU·index·buffer·that·you·can·use·to·store·indices·of·vertices·in·a
14 vertex·buffer·on·the·GPU·instead·of·uploading·them·afresh·during·every15 vertex·buffer·on·the·GPU·instead·of·uploading·them·afresh·during·every
15 drawing·operation.16 drawing·operation.
16 .SH·SINCE17 .SH·SINCE
17 5.1.818 5.1.8
477 B
./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz
381 B
ALLEGRO_JOYFLAGS.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_JOYFLAGS·\-·Allegro·5·API5 ALLEGRO_JOYFLAGS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 enum·ALLEGRO_JOYFLAGS10 enum·ALLEGRO_JOYFLAGS
 11 enum·ALLEGRO_JOYFLAGS
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 .IP·\[bu]·214 .IP·\[bu]·2
14 ALLEGRO_JOYFLAG_DIGITAL·\-·the·stick·provides·digital·input15 ALLEGRO_JOYFLAG_DIGITAL·\-·the·stick·provides·digital·input
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_JOYFLAG_ANALOGUE·\-·the·stick·provides·analogue·input17 ALLEGRO_JOYFLAG_ANALOGUE·\-·the·stick·provides·analogue·input
17 .PP18 .PP
483 B
./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz
387 B
ALLEGRO_JOYSTICK.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 ALLEGRO_JOYSTICK·\-·Allegro·5·API5 ALLEGRO_JOYSTICK·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;10 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;
 11 typedef·struct·ALLEGRO_JOYSTICK·ALLEGRO_JOYSTICK;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·an·abstract·data·type·representing·a·physical·joystick.14 This·is·an·abstract·data·type·representing·a·physical·joystick.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_joystick(3alleg5)16 al_get_joystick(3alleg5)
603 B
./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz
495 B
ALLEGRO_JOYSTICK_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_JOYSTICK_STATE·\-·Allegro·5·API5 ALLEGRO_JOYSTICK_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;10 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;
 11 typedef·struct·ALLEGRO_JOYSTICK_STATE·ALLEGRO_JOYSTICK_STATE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a14 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a
14 joystick\[cq]s·axes·and·buttons·at·a·particular·instant.15 joystick\[cq]s·axes·and·buttons·at·a·particular·instant.
15 All·fields·public·and·read\-only.16 All·fields·public·and·read\-only.
16 .IP17 .IP
17 .EX18 .EX
689 B
./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz
581 B
ALLEGRO_KEYBOARD_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_KEYBOARD_STATE·\-·Allegro·5·API5 ALLEGRO_KEYBOARD_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;10 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;
 11 typedef·struct·ALLEGRO_KEYBOARD_STATE·ALLEGRO_KEYBOARD_STATE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a14 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a
14 keyboard\[cq]s·state·at·a·particular·instant.15 keyboard\[cq]s·state·at·a·particular·instant.
15 It·contains·the·following·publically·readable·fields:16 It·contains·the·following·publically·readable·fields:
16 .IP·\[bu]·217 .IP·\[bu]·2
17 display·\-·points·to·the·display·that·had·keyboard·focus·at·the·time·the18 display·\-·points·to·the·display·that·had·keyboard·focus·at·the·time·the
436 B
./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz
340 B
ALLEGRO_LINE_CAP.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_LINE_CAP·\-·Allegro·5·API5 ALLEGRO_LINE_CAP·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·enum·ALLEGRO_LINE_CAP10 typedef·enum·ALLEGRO_LINE_CAP
 11 typedef·enum·ALLEGRO_LINE_CAP
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 .IP·\[bu]·214 .IP·\[bu]·2
14 ALLEGRO_LINE_CAP_NONE15 ALLEGRO_LINE_CAP_NONE
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_LINE_CAP_SQUARE17 ALLEGRO_LINE_CAP_SQUARE
17 .IP·\[bu]·218 .IP·\[bu]·2
444 B
./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz
346 B
ALLEGRO_LINE_JOIN.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_LINE_JOIN·\-·Allegro·5·API5 ALLEGRO_LINE_JOIN·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·enum·ALLEGRO_LINE_JOIN10 typedef·enum·ALLEGRO_LINE_JOIN
 11 typedef·enum·ALLEGRO_LINE_JOIN
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 .IP·\[bu]·214 .IP·\[bu]·2
14 ALLEGRO_LINE_JOIN_NONE15 ALLEGRO_LINE_JOIN_NONE
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_LINE_JOIN_BEVEL17 ALLEGRO_LINE_JOIN_BEVEL
17 .IP·\[bu]·218 .IP·\[bu]·2
656 B
./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz
550 B
ALLEGRO_LOCKED_REGION.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_LOCKED_REGION·\-·Allegro·5·API5 ALLEGRO_LOCKED_REGION·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;10 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;
 11 typedef·struct·ALLEGRO_LOCKED_REGION·ALLEGRO_LOCKED_REGION;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to14 Users·who·wish·to·manually·edit·or·read·from·a·bitmap·are·required·to
14 lock·it·first.15 lock·it·first.
15 The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the16 The·ALLEGRO_LOCKED_REGION·structure·represents·the·locked·region·of·the
16 bitmap.17 bitmap.
17 This·call·will·work·with·any·bitmap,·including·memory·bitmaps.18 This·call·will·work·with·any·bitmap,·including·memory·bitmaps.
654 B
./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz
542 B
ALLEGRO_MEMORY_INTERFACE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MEMORY_INTERFACE·\-·Allegro·5·API5 ALLEGRO_MEMORY_INTERFACE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;10 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;
 11 typedef·struct·ALLEGRO_MEMORY_INTERFACE·ALLEGRO_MEMORY_INTERFACE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·structure·has·the·following·fields.14 This·structure·has·the·following·fields.
14 .IP15 .IP
15 .EX16 .EX
16 void·*(*mi_malloc)(size_t·n,·int·line,·const·char·*file,·const·char·*func);17 void·*(*mi_malloc)(size_t·n,·int·line,·const·char·*file,·const·char·*func);
17 void·(*mi_free)(void·*ptr,·int·line,·const·char·*file,·const·char·*func);18 void·(*mi_free)(void·*ptr,·int·line,·const·char·*file,·const·char·*func);
486 B
./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz
398 B
ALLEGRO_MENU.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 ALLEGRO_MENU·\-·Allegro·5·API5 ALLEGRO_MENU·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 typedef·struct·ALLEGRO_MENU·ALLEGRO_MENU;10 typedef·struct·ALLEGRO_MENU·ALLEGRO_MENU;
 11 typedef·struct·ALLEGRO_MENU·ALLEGRO_MENU;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·data·type·that·represents·a·menu·that·contains·menu·items.14 An·opaque·data·type·that·represents·a·menu·that·contains·menu·items.
14 Each·of·the·menu·items·may·optionally·include·a·sub\-menu.15 Each·of·the·menu·items·may·optionally·include·a·sub\-menu.
530 B
./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz
432 B
ALLEGRO_MENU_INFO.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MENU_INFO·\-·Allegro·5·API5 ALLEGRO_MENU_INFO·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 typedef·struct·ALLEGRO_MENU_INFO·{10 typedef·struct·ALLEGRO_MENU_INFO·{
 11 typedef·struct·ALLEGRO_MENU_INFO·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·structure·that·defines·how·to·create·a·complete·menu·system.14 A·structure·that·defines·how·to·create·a·complete·menu·system.
14 For·standard·menu·items,·the·following·format·is·used:15 For·standard·menu·items,·the·following·format·is·used:
15 .IP16 .IP
16 .EX17 .EX
17 ···{·caption,·id,·flags,·icon·}18 ···{·caption,·id,·flags,·icon·}
629 B
./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz
539 B
ALLEGRO_MIXER.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MIXER·\-·Allegro·5·API5 ALLEGRO_MIXER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_MIXER·ALLEGRO_MIXER;10 typedef·struct·ALLEGRO_MIXER·ALLEGRO_MIXER;
 11 typedef·struct·ALLEGRO_MIXER·ALLEGRO_MIXER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·mixer·mixes·together·attached·streams·into·a·single·buffer.14 A·mixer·mixes·together·attached·streams·into·a·single·buffer.
14 In·the·process,·it·converts·channel·configurations,·sample·frequencies15 In·the·process,·it·converts·channel·configurations,·sample·frequencies
15 and·audio·depths·of·the·attached·sample·instances·and·audio·streams16 and·audio·depths·of·the·attached·sample·instances·and·audio·streams
16 accordingly.17 accordingly.
17 You·can·control·the·quality·of·this·conversion·using18 You·can·control·the·quality·of·this·conversion·using
503 B
./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz
397 B
ALLEGRO_MIXER_QUALITY.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MIXER_QUALITY·\-·Allegro·5·API5 ALLEGRO_MIXER_QUALITY·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 enum·ALLEGRO_MIXER_QUALITY10 enum·ALLEGRO_MIXER_QUALITY
 11 enum·ALLEGRO_MIXER_QUALITY
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 .IP·\[bu]·214 .IP·\[bu]·2
14 ALLEGRO_MIXER_QUALITY_POINT·\-·point·sampling15 ALLEGRO_MIXER_QUALITY_POINT·\-·point·sampling
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_MIXER_QUALITY_LINEAR·\-·linear·interpolation17 ALLEGRO_MIXER_QUALITY_LINEAR·\-·linear·interpolation
17 .IP·\[bu]·218 .IP·\[bu]·2
655 B
./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz
551 B
ALLEGRO_MONITOR_INFO.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MONITOR_INFO·\-·Allegro·5·API5 ALLEGRO_MONITOR_INFO·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_MONITOR_INFO10 typedef·struct·ALLEGRO_MONITOR_INFO
 11 typedef·struct·ALLEGRO_MONITOR_INFO
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Describes·a·monitor\[cq]s·size·and·position·relative·to·other·monitors.14 Describes·a·monitor\[cq]s·size·and·position·relative·to·other·monitors.
14 x1,·y1·will·be·0,·0·on·the·primary·display.15 x1,·y1·will·be·0,·0·on·the·primary·display.
15 Other·monitors·can·have·negative·values·if·they·are·to·the·left·or·above16 Other·monitors·can·have·negative·values·if·they·are·to·the·left·or·above
16 the·primary·display.17 the·primary·display.
17 x2,·y2·are·the·coordinates·one·beyond·the·bottom·right·pixel,·so·that18 x2,·y2·are·the·coordinates·one·beyond·the·bottom·right·pixel,·so·that
524 B
./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz
404 B
ALLEGRO_MOUSE_EMULATION_MODE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MOUSE_EMULATION_MODE·\-·Allegro·5·API5 ALLEGRO_MOUSE_EMULATION_MODE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE10 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE
 11 typedef·enum·ALLEGRO_MOUSE_EMULATION_MODE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Type·of·mouse·emulation·to·apply.14 Type·of·mouse·emulation·to·apply.
14 .TP15 .TP
15 ALLEGRO_MOUSE_EMULATION_NONE16 ALLEGRO_MOUSE_EMULATION_NONE
16 Disables·mouse·emulation.17 Disables·mouse·emulation.
17 .TP18 .TP
505 B
./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz
403 B
ALLEGRO_MOUSE_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_MOUSE_STATE·\-·Allegro·5·API5 ALLEGRO_MOUSE_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;10 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;
 11 typedef·struct·ALLEGRO_MOUSE_STATE·ALLEGRO_MOUSE_STATE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Public·fields·(read·only):14 Public·fields·(read·only):
14 .IP·\[bu]·215 .IP·\[bu]·2
15 x·\-·mouse·x·position16 x·\-·mouse·x·position
16 .IP·\[bu]·217 .IP·\[bu]·2
17 y·\-·mouse·y·position18 y·\-·mouse·y·position
443 B
./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz
337 B
ALLEGRO_MSECS_TO_SECS.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_MSECS_TO_SECS·\-·Allegro·5·API5 ALLEGRO_MSECS_TO_SECS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)10 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)
 11 #define·ALLEGRO_MSECS_TO_SECS(x)······((x)·/·1000.0)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Convert·milliseconds·to·seconds.14 Convert·milliseconds·to·seconds.
394 B
./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz
304 B
ALLEGRO_MUTEX.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_MUTEX·\-·Allegro·5·API5 ALLEGRO_MUTEX·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;10 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;
 11 typedef·struct·ALLEGRO_MUTEX·ALLEGRO_MUTEX;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·structure·representing·a·mutex.14 An·opaque·structure·representing·a·mutex.
609 B
./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz
479 B
ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·\-·Allegro·5·API5 ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·25510 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255
 11 #define·ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE·255
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·the·maximum·size·of·the·title·that·can·be·set·with14 This·is·the·maximum·size·of·the·title·that·can·be·set·with
14 al_set_new_window_title(3alleg5).15 al_set_new_window_title(3alleg5).
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_set_new_window_title(3alleg5)17 al_set_new_window_title(3alleg5)
17 .SH·SINCE18 .SH·SINCE
451 B
./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz
367 B
ALLEGRO_PI.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 ALLEGRO_PI·\-·Allegro·5·API5 ALLEGRO_PI·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_PI········3.1415926535897932384610 #define·ALLEGRO_PI········3.14159265358979323846
 11 #define·ALLEGRO_PI········3.14159265358979323846
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,·but14 C99·compilers·have·no·predefined·value·like·M_PI·for·the·constant·π,·but
14 you·can·use·this·one·instead.15 you·can·use·this·one·instead.
594 B
./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz
490 B
ALLEGRO_PIXEL_FORMAT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PIXEL_FORMAT·\-·Allegro·5·API5 ALLEGRO_PIXEL_FORMAT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_PIXEL_FORMAT10 typedef·enum·ALLEGRO_PIXEL_FORMAT
 11 typedef·enum·ALLEGRO_PIXEL_FORMAT
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Pixel·formats.14 Pixel·formats.
14 Each·pixel·format·specifies·the·exact·size·and·bit·layout·of·a·pixel·in15 Each·pixel·format·specifies·the·exact·size·and·bit·layout·of·a·pixel·in
15 memory.16 memory.
16 Components·are·specified·from·high·bits·to·low·bits,·so·for·example·a17 Components·are·specified·from·high·bits·to·low·bits,·so·for·example·a
17 fully·opaque·red·pixel·in·ARGB_8888·format·is·0xFFFF0000.18 fully·opaque·red·pixel·in·ARGB_8888·format·is·0xFFFF0000.
482 B
./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz
386 B
ALLEGRO_PLAYMODE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PLAYMODE·\-·Allegro·5·API5 ALLEGRO_PLAYMODE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 enum·ALLEGRO_PLAYMODE10 enum·ALLEGRO_PLAYMODE
 11 enum·ALLEGRO_PLAYMODE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Sample·and·stream·playback·mode.14 Sample·and·stream·playback·mode.
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_PLAYMODE_ONCE·\-·the·sample/stream·is·played·from·start·to16 ALLEGRO_PLAYMODE_ONCE·\-·the·sample/stream·is·played·from·start·to
16 finish·an·then·it·stops.17 finish·an·then·it·stops.
17 .IP·\[bu]·218 .IP·\[bu]·2
596 B
./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz
498 B
ALLEGRO_PRIM_ATTR.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PRIM_ATTR·\-·Allegro·5·API5 ALLEGRO_PRIM_ATTR·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·enum·ALLEGRO_PRIM_ATTR10 typedef·enum·ALLEGRO_PRIM_ATTR
 11 typedef·enum·ALLEGRO_PRIM_ATTR
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Enumerates·the·types·of·vertex·attributes·that·a·custom·vertex·may·have.14 Enumerates·the·types·of·vertex·attributes·that·a·custom·vertex·may·have.
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_PRIM_POSITION·\-·Position·information,·can·be·stored·only·in16 ALLEGRO_PRIM_POSITION·\-·Position·information,·can·be·stored·only·in
16 ALLEGRO_PRIM_SHORT_2,·ALLEGRO_PRIM_FLOAT_2·and·ALLEGRO_PRIM_FLOAT_3.17 ALLEGRO_PRIM_SHORT_2,·ALLEGRO_PRIM_FLOAT_2·and·ALLEGRO_PRIM_FLOAT_3.
17 .IP·\[bu]·218 .IP·\[bu]·2
624 B
./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz
510 B
ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PRIM_BUFFER_FLAGS·\-·Allegro·5·API5 ALLEGRO_PRIM_BUFFER_FLAGS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·enum·ALLEGRO_PRIM_BUFFER_FLAGS10 typedef·enum·ALLEGRO_PRIM_BUFFER_FLAGS
 11 typedef·enum·ALLEGRO_PRIM_BUFFER_FLAGS
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Flags·to·specify·how·to·create·a·vertex·or·an·index·buffer.14 Flags·to·specify·how·to·create·a·vertex·or·an·index·buffer.
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_PRIM_BUFFER_STREAM·\-·Hints·to·the·driver·that·the·buffer·is16 ALLEGRO_PRIM_BUFFER_STREAM·\-·Hints·to·the·driver·that·the·buffer·is
16 written·to·often,·but·used·only·a·few·times·per·frame17 written·to·often,·but·used·only·a·few·times·per·frame
17 .IP·\[bu]·218 .IP·\[bu]·2
611 B
./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz
507 B
ALLEGRO_PRIM_QUALITY.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PRIM_QUALITY·\-·Allegro·5·API5 ALLEGRO_PRIM_QUALITY·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 #define·ALLEGRO_PRIM_QUALITY·1010 #define·ALLEGRO_PRIM_QUALITY·10
 11 #define·ALLEGRO_PRIM_QUALITY·10
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Controls·the·quality·of·the·approximation·of·curved·primitives14 Controls·the·quality·of·the·approximation·of·curved·primitives
14 (e.g.\·circles).15 (e.g.\·circles).
15 Curved·primitives·are·drawn·by·approximating·them·with·a·sequence·of16 Curved·primitives·are·drawn·by·approximating·them·with·a·sequence·of
16 line·segments.17 line·segments.
17 By·default,·this·roughly·corresponds·to·error·of·less·than·half·of·a18 By·default,·this·roughly·corresponds·to·error·of·less·than·half·of·a
638 B
./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz
534 B
ALLEGRO_PRIM_STORAGE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PRIM_STORAGE·\-·Allegro·5·API5 ALLEGRO_PRIM_STORAGE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·enum·ALLEGRO_PRIM_STORAGE10 typedef·enum·ALLEGRO_PRIM_STORAGE
 11 typedef·enum·ALLEGRO_PRIM_STORAGE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Enumerates·the·types·of·storage·an·attribute·of·a·custom·vertex·may·be14 Enumerates·the·types·of·storage·an·attribute·of·a·custom·vertex·may·be
14 stored·in.15 stored·in.
15 Many·of·these·can·only·be·used·for·ALLEGRO_PRIM_USER_ATTR·attributes·and16 Many·of·these·can·only·be·used·for·ALLEGRO_PRIM_USER_ATTR·attributes·and
16 can·only·be·accessed·via·shaders.17 can·only·be·accessed·via·shaders.
17 Usually·no·matter·what·the·storage·is·specified·the·attribute·gets18 Usually·no·matter·what·the·storage·is·specified·the·attribute·gets
586 B
./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz
488 B
ALLEGRO_PRIM_TYPE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_PRIM_TYPE·\-·Allegro·5·API5 ALLEGRO_PRIM_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·enum·ALLEGRO_PRIM_TYPE10 typedef·enum·ALLEGRO_PRIM_TYPE
 11 typedef·enum·ALLEGRO_PRIM_TYPE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Enumerates·the·types·of·primitives·this·addon·can·draw.14 Enumerates·the·types·of·primitives·this·addon·can·draw.
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_PRIM_POINT_LIST·\-·A·list·of·points,·each·vertex·defines·a·point16 ALLEGRO_PRIM_POINT_LIST·\-·A·list·of·points,·each·vertex·defines·a·point
16 .IP·\[bu]·217 .IP·\[bu]·2
17 ALLEGRO_PRIM_LINE_LIST·\-·A·list·of·lines,·sequential·pairs·of·vertices18 ALLEGRO_PRIM_LINE_LIST·\-·A·list·of·lines,·sequential·pairs·of·vertices
487 B
./usr/share/man/man3/ALLEGRO_RENDER_FUNCTION.3alleg5.gz
377 B
ALLEGRO_RENDER_FUNCTION.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_RENDER_FUNCTION·\-·Allegro·5·API5 ALLEGRO_RENDER_FUNCTION·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_RENDER_FUNCTION·{10 typedef·enum·ALLEGRO_RENDER_FUNCTION·{
 11 typedef·enum·ALLEGRO_RENDER_FUNCTION·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Possible·functions·are:14 Possible·functions·are:
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_RENDER_NEVER16 ALLEGRO_RENDER_NEVER
16 .IP·\[bu]·217 .IP·\[bu]·2
17 ALLEGRO_RENDER_ALWAYS18 ALLEGRO_RENDER_ALWAYS
535 B
./usr/share/man/man3/ALLEGRO_RENDER_STATE.3alleg5.gz
431 B
ALLEGRO_RENDER_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_RENDER_STATE·\-·Allegro·5·API5 ALLEGRO_RENDER_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_RENDER_STATE·{10 typedef·enum·ALLEGRO_RENDER_STATE·{
 11 typedef·enum·ALLEGRO_RENDER_STATE·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Possible·render·states·which·can·be·set·with14 Possible·render·states·which·can·be·set·with
14 al_set_render_state(3alleg5):15 al_set_render_state(3alleg5):
15 .TP16 .TP
16 ALLEGRO_ALPHA_TEST17 ALLEGRO_ALPHA_TEST
17 If·this·is·set·to·1,·the·values·of·ALLEGRO_ALPHA_FUNCTION·and18 If·this·is·set·to·1,·the·values·of·ALLEGRO_ALPHA_FUNCTION·and
654 B
./usr/share/man/man3/ALLEGRO_SAMPLE.3alleg5.gz
562 B
ALLEGRO_SAMPLE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SAMPLE·\-·Allegro·5·API5 ALLEGRO_SAMPLE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_SAMPLE·ALLEGRO_SAMPLE;10 typedef·struct·ALLEGRO_SAMPLE·ALLEGRO_SAMPLE;
 11 typedef·struct·ALLEGRO_SAMPLE·ALLEGRO_SAMPLE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_SAMPLE·object·stores·the·data·necessary·for·playing14 An·ALLEGRO_SAMPLE·object·stores·the·data·necessary·for·playing
14 pre\-defined·digital·audio.15 pre\-defined·digital·audio.
15 It·holds·a·user\-specified·PCM·data·buffer·and·information·about·its16 It·holds·a·user\-specified·PCM·data·buffer·and·information·about·its
16 format·(data·length,·depth,·frequency,·channel·configuration).17 format·(data·length,·depth,·frequency,·channel·configuration).
17 You·can·have·the·same·ALLEGRO_SAMPLE·playing·multiple·times18 You·can·have·the·same·ALLEGRO_SAMPLE·playing·multiple·times
641 B
./usr/share/man/man3/ALLEGRO_SAMPLE_ID.3alleg5.gz
543 B
ALLEGRO_SAMPLE_ID.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SAMPLE_ID·\-·Allegro·5·API5 ALLEGRO_SAMPLE_ID·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;10 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;
 11 typedef·struct·ALLEGRO_SAMPLE_ID·ALLEGRO_SAMPLE_ID;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via14 An·ALLEGRO_SAMPLE_ID·represents·a·sample·being·played·via
14 al_play_sample(3alleg5).15 al_play_sample(3alleg5).
15 It·can·be·used·to·later·stop·the·sample·with·al_stop_sample(3alleg5).16 It·can·be·used·to·later·stop·the·sample·with·al_stop_sample(3alleg5).
16 The·underlying·ALLEGRO_SAMPLE_INSTANCE·can·be·extracted·using17 The·underlying·ALLEGRO_SAMPLE_INSTANCE·can·be·extracted·using
17 al_lock_sample_id(3alleg5).18 al_lock_sample_id(3alleg5).
738 B
./usr/share/man/man3/ALLEGRO_SAMPLE_INSTANCE.3alleg5.gz
628 B
ALLEGRO_SAMPLE_INSTANCE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SAMPLE_INSTANCE·\-·Allegro·5·API5 ALLEGRO_SAMPLE_INSTANCE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_SAMPLE_INSTANCE·ALLEGRO_SAMPLE_INSTANCE;10 typedef·struct·ALLEGRO_SAMPLE_INSTANCE·ALLEGRO_SAMPLE_INSTANCE;
 11 typedef·struct·ALLEGRO_SAMPLE_INSTANCE·ALLEGRO_SAMPLE_INSTANCE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_SAMPLE_INSTANCE·object·represents·a·playable·instance·of·a14 An·ALLEGRO_SAMPLE_INSTANCE·object·represents·a·playable·instance·of·a
14 predefined·sound·effect.15 predefined·sound·effect.
15 It·holds·information·about·how·the·effect·should·be·played:·These16 It·holds·information·about·how·the·effect·should·be·played:·These
16 playback·parameters·consist·of·the·looping·mode,·loop·start/end·points,17 playback·parameters·consist·of·the·looping·mode,·loop·start/end·points,
17 playing·position,·speed,·gain,·pan·and·the·playmode.18 playing·position,·speed,·gain,·pan·and·the·playmode.
465 B
./usr/share/man/man3/ALLEGRO_SEEK.3alleg5.gz
377 B
ALLEGRO_SEEK.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SEEK·\-·Allegro·5·API5 ALLEGRO_SEEK·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_SEEK10 typedef·enum·ALLEGRO_SEEK
 11 typedef·enum·ALLEGRO_SEEK
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 .IP·\[bu]·214 .IP·\[bu]·2
14 ALLEGRO_SEEK_SET·\-·seek·relative·to·beginning·of·file15 ALLEGRO_SEEK_SET·\-·seek·relative·to·beginning·of·file
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_SEEK_CUR·\-·seek·relative·to·current·file·position17 ALLEGRO_SEEK_CUR·\-·seek·relative·to·current·file·position
17 .IP·\[bu]·218 .IP·\[bu]·2
624 B
./usr/share/man/man3/ALLEGRO_SHADER.3alleg5.gz
532 B
ALLEGRO_SHADER.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SHADER·\-·Allegro·5·API5 ALLEGRO_SHADER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;10 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;
 11 typedef·struct·ALLEGRO_SHADER·ALLEGRO_SHADER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·ALLEGRO_SHADER(3alleg5)·is·a·program·that·runs·on·the·GPU.14 An·ALLEGRO_SHADER(3alleg5)·is·a·program·that·runs·on·the·GPU.
14 It·combines·both·a·vertex·and·a·pixel·shader.15 It·combines·both·a·vertex·and·a·pixel·shader.
15 (In·OpenGL·terms,·an·ALLEGRO_SHADER(3alleg5)·is·actually·a16 (In·OpenGL·terms,·an·ALLEGRO_SHADER(3alleg5)·is·actually·a
16 \f[I]program\f[R]·which·has·one·or·more·\f[I]shaders\f[R]·attached.17 \f[I]program\f[R]·which·has·one·or·more·\f[I]shaders\f[R]·attached.
17 This·can·be·confusing.)18 This·can·be·confusing.)
674 B
./usr/share/man/man3/ALLEGRO_SHADER_PLATFORM.3alleg5.gz
564 B
ALLEGRO_SHADER_PLATFORM.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SHADER_PLATFORM·\-·Allegro·5·API5 ALLEGRO_SHADER_PLATFORM·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;10 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;
 11 typedef·enum·ALLEGRO_SHADER_PLATFORM·ALLEGRO_SHADER_PLATFORM;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 The·underlying·platform·which·the·ALLEGRO_SHADER(3alleg5)·is·built·on14 The·underlying·platform·which·the·ALLEGRO_SHADER(3alleg5)·is·built·on
14 top·of,·which·dictates·the·language·used·to·program·the·shader.15 top·of,·which·dictates·the·language·used·to·program·the·shader.
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_SHADER_AUTO·\-·Pick·a·platform·automatically·given·the·current17 ALLEGRO_SHADER_AUTO·\-·Pick·a·platform·automatically·given·the·current
17 display·flags.18 display·flags.
566 B
./usr/share/man/man3/ALLEGRO_SHADER_TYPE.3alleg5.gz
464 B
ALLEGRO_SHADER_TYPE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SHADER_TYPE·\-·Allegro·5·API5 ALLEGRO_SHADER_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;10 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;
 11 typedef·enum·ALLEGRO_SHADER_TYPE·ALLEGRO_SHADER_TYPE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Used·with·al_attach_shader_source(3alleg5)·and14 Used·with·al_attach_shader_source(3alleg5)·and
14 al_attach_shader_source_file(3alleg5)·to·specify·how·to·interpret·the15 al_attach_shader_source_file(3alleg5)·to·specify·how·to·interpret·the
15 attached·source.16 attached·source.
16 .TP17 .TP
17 ALLEGRO_VERTEX_SHADER18 ALLEGRO_VERTEX_SHADER
490 B
./usr/share/man/man3/ALLEGRO_STATE.3alleg5.gz
400 B
ALLEGRO_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_STATE·\-·Allegro·5·API5 ALLEGRO_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
  
  
9 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;9 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;
 10 typedef·struct·ALLEGRO_STATE·ALLEGRO_STATE;
10 .EE11 .EE
11 .SH·DESCRIPTION12 .SH·DESCRIPTION
12 Opaque·type·which·is·passed·to13 Opaque·type·which·is·passed·to
13 al_store_state(3alleg5)/al_restore_state(3alleg5).14 al_store_state(3alleg5)/al_restore_state(3alleg5).
14 .PP15 .PP
15 The·various·state·kept·internally·by·Allegro·can·be·displayed·like·this:16 The·various·state·kept·internally·by·Allegro·can·be·displayed·like·this:
16 .IP17 .IP
484 B
./usr/share/man/man3/ALLEGRO_STATE_FLAGS.3alleg5.gz
382 B
ALLEGRO_STATE_FLAGS.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 ALLEGRO_STATE_FLAGS·\-·Allegro·5·API5 ALLEGRO_STATE_FLAGS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
  
  
9 typedef·enum·ALLEGRO_STATE_FLAGS9 typedef·enum·ALLEGRO_STATE_FLAGS
 10 typedef·enum·ALLEGRO_STATE_FLAGS
10 .EE11 .EE
11 .SH·DESCRIPTION12 .SH·DESCRIPTION
12 Flags·which·can·be·passed·to13 Flags·which·can·be·passed·to
13 al_store_state(3alleg5)/al_restore_state(3alleg5)·as·bit·combinations.14 al_store_state(3alleg5)/al_restore_state(3alleg5)·as·bit·combinations.
14 See·al_store_state(3alleg5)·for·the·list·of·flags.15 See·al_store_state(3alleg5)·for·the·list·of·flags.
472 B
./usr/share/man/man3/ALLEGRO_SYSTEM_ID.3alleg5.gz
374 B
ALLEGRO_SYSTEM_ID.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_SYSTEM_ID·\-·Allegro·5·API5 ALLEGRO_SYSTEM_ID·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 enum·ALLEGRO_SYSTEM_ID·{10 enum·ALLEGRO_SYSTEM_ID·{
 11 enum·ALLEGRO_SYSTEM_ID·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 The·system·Allegro·is·running·on.14 The·system·Allegro·is·running·on.
14 .IP·\[bu]·215 .IP·\[bu]·2
15 ALLEGRO_SYSTEM_ID_UNKNOWN·\-·Unknown·system.16 ALLEGRO_SYSTEM_ID_UNKNOWN·\-·Unknown·system.
16 .IP·\[bu]·217 .IP·\[bu]·2
17 ALLEGRO_SYSTEM_ID_XGLX·\-·Xglx18 ALLEGRO_SYSTEM_ID_XGLX·\-·Xglx
420 B
./usr/share/man/man3/ALLEGRO_TEXTLOG.3alleg5.gz
326 B
ALLEGRO_TEXTLOG.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_TEXTLOG·\-·Allegro·5·API5 ALLEGRO_TEXTLOG·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;10 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;
 11 typedef·struct·ALLEGRO_TEXTLOG·ALLEGRO_TEXTLOG;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Opaque·handle·to·a·text·log·window.14 Opaque·handle·to·a·text·log·window.
404 B
./usr/share/man/man3/ALLEGRO_THREAD.3alleg5.gz
312 B
ALLEGRO_THREAD.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_THREAD·\-·Allegro·5·API5 ALLEGRO_THREAD·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;10 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;
 11 typedef·struct·ALLEGRO_THREAD·ALLEGRO_THREAD;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·structure·representing·a·thread.14 An·opaque·structure·representing·a·thread.
411 B
./usr/share/man/man3/ALLEGRO_TIMER.3alleg5.gz
321 B
ALLEGRO_TIMER.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_TIMER·\-·Allegro·5·API5 ALLEGRO_TIMER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;10 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;
 11 typedef·struct·ALLEGRO_TIMER·ALLEGRO_TIMER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·an·abstract·data·type·representing·a·timer·object.14 This·is·an·abstract·data·type·representing·a·timer·object.
497 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT.3alleg5.gz
395 B
ALLEGRO_TOUCH_INPUT.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 ALLEGRO_TOUCH_INPUT·\-·Allegro·5·API5 ALLEGRO_TOUCH_INPUT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;10 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;
 11 typedef·struct·ALLEGRO_TOUCH_INPUT·ALLEGRO_TOUCH_INPUT;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.14 An·abstract·data·type·representing·a·physical·touch·screen·or·touch·pad.
14 .SH·SINCE15 .SH·SINCE
15 5.1.016 5.1.0
565 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5.gz
431 B
ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT·\-·Allegro·5·API5 ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········1610 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16
 11 #define·ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT········16
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.14 The·maximum·amount·of·simultaneous·touches·that·can·be·detected.
14 .SH·SINCE15 .SH·SINCE
15 5.1.016 5.1.0
602 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_STATE.3alleg5.gz
488 B
ALLEGRO_TOUCH_INPUT_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_TOUCH_INPUT_STATE·\-·Allegro·5·API5 ALLEGRO_TOUCH_INPUT_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;10 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;
 11 typedef·struct·ALLEGRO_TOUCH_INPUT_STATE·ALLEGRO_TOUCH_INPUT_STATE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches·at14 This·is·a·structure·that·holds·a·snapshot·of·all·simultaneous·touches·at
14 a·particular·instant.15 a·particular·instant.
15 .PP16 .PP
16 Public·fields·(read·only):17 Public·fields·(read·only):
17 .IP·\[bu]·218 .IP·\[bu]·2
551 B
./usr/share/man/man3/ALLEGRO_TOUCH_STATE.3alleg5.gz
449 B
ALLEGRO_TOUCH_STATE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_TOUCH_STATE·\-·Allegro·5·API5 ALLEGRO_TOUCH_STATE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;10 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;
 11 typedef·struct·ALLEGRO_TOUCH_STATE·ALLEGRO_TOUCH_STATE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a·touch14 This·is·a·structure·that·is·used·to·hold·a·\[lq]snapshot\[rq]·of·a·touch
14 at·a·particular·instant.15 at·a·particular·instant.
15 .PP16 .PP
16 Public·fields·(read·only):17 Public·fields·(read·only):
17 .IP·\[bu]·218 .IP·\[bu]·2
615 B
./usr/share/man/man3/ALLEGRO_TRANSFORM.3alleg5.gz
517 B
ALLEGRO_TRANSFORM.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_TRANSFORM·\-·Allegro·5·API5 ALLEGRO_TRANSFORM·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;10 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;
 11 typedef·struct·ALLEGRO_TRANSFORM·ALLEGRO_TRANSFORM;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Defines·the·generic·transformation·type,·a·4x4·matrix.14 Defines·the·generic·transformation·type,·a·4x4·matrix.
14 2D·transforms·use·only·a·small·subsection·of·this·matrix,·namely·the·top15 2D·transforms·use·only·a·small·subsection·of·this·matrix,·namely·the·top
15 left·2x2·matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.16 left·2x2·matrix,·and·the·right·most·2x1·matrix,·for·a·total·of·6·values.
16 .PP17 .PP
17 \f[I]Fields:\f[R]18 \f[I]Fields:\f[R]
449 B
./usr/share/man/man3/ALLEGRO_USECS_TO_SECS.3alleg5.gz
343 B
ALLEGRO_USECS_TO_SECS.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 ALLEGRO_USECS_TO_SECS·\-·Allegro·5·API5 ALLEGRO_USECS_TO_SECS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)10 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)
 11 #define·ALLEGRO_USECS_TO_SECS(x)······((x)·/·1000000.0)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Convert·microseconds·to·seconds.14 Convert·microseconds·to·seconds.
546 B
./usr/share/man/man3/ALLEGRO_USER_EVENT.3alleg5.gz
446 B
ALLEGRO_USER_EVENT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_USER_EVENT·\-·Allegro·5·API5 ALLEGRO_USER_EVENT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;10 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;
 11 typedef·struct·ALLEGRO_USER_EVENT·ALLEGRO_USER_EVENT;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·event·structure·that·can·be·emitted·by·user·event·sources.14 An·event·structure·that·can·be·emitted·by·user·event·sources.
14 These·are·the·public·fields:15 These·are·the·public·fields:
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_EVENT_SOURCE·*source;17 ALLEGRO_EVENT_SOURCE·*source;
17 .IP·\[bu]·218 .IP·\[bu]·2
507 B
./usr/share/man/man3/ALLEGRO_USTR.3alleg5.gz
419 B
ALLEGRO_USTR.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 ALLEGRO_USTR·\-·Allegro·5·API5 ALLEGRO_USTR·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·_al_tagbstring·ALLEGRO_USTR;10 typedef·struct·_al_tagbstring·ALLEGRO_USTR;
 11 typedef·struct·_al_tagbstring·ALLEGRO_USTR;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 An·opaque·type·representing·a·string.14 An·opaque·type·representing·a·string.
14 ALLEGRO_USTRs·normally·contain·UTF\-8·encoded·strings,·but·they·may·be15 ALLEGRO_USTRs·normally·contain·UTF\-8·encoded·strings,·but·they·may·be
15 used·to·hold·any·byte·sequences,·including·NULs.16 used·to·hold·any·byte·sequences,·including·NULs.
587 B
./usr/share/man/man3/ALLEGRO_USTR_INFO.3alleg5.gz
489 B
ALLEGRO_USTR_INFO.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_USTR_INFO·\-·Allegro·5·API5 ALLEGRO_USTR_INFO·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;10 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;
 11 typedef·struct·_al_tagbstring·ALLEGRO_USTR_INFO;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·type·that·holds·additional·information·for·an·ALLEGRO_USTR(3alleg5)14 A·type·that·holds·additional·information·for·an·ALLEGRO_USTR(3alleg5)
14 that·references·an·external·memory·buffer.15 that·references·an·external·memory·buffer.
15 You·can·convert·it·back·to·ALLEGRO_USTR(3alleg5)·via16 You·can·convert·it·back·to·ALLEGRO_USTR(3alleg5)·via
16 al_ref_info(3alleg5).17 al_ref_info(3alleg5).
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
614 B
./usr/share/man/man3/ALLEGRO_VERTEX.3alleg5.gz
522 B
ALLEGRO_VERTEX.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VERTEX·\-·Allegro·5·API5 ALLEGRO_VERTEX·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·struct·ALLEGRO_VERTEX·ALLEGRO_VERTEX;10 typedef·struct·ALLEGRO_VERTEX·ALLEGRO_VERTEX;
 11 typedef·struct·ALLEGRO_VERTEX·ALLEGRO_VERTEX;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Defines·the·generic·vertex·type,·with·a·3D·position,·color·and·texture14 Defines·the·generic·vertex·type,·with·a·3D·position,·color·and·texture
14 coordinates·for·a·single·texture.15 coordinates·for·a·single·texture.
15 Note·that·at·this·time,·the·software·driver·for·this·addon·cannot·render16 Note·that·at·this·time,·the·software·driver·for·this·addon·cannot·render
16 3D·primitives.17 3D·primitives.
17 If·you·want·a·2D·only·primitive,·set·z·to·0.18 If·you·want·a·2D·only·primitive,·set·z·to·0.
599 B
./usr/share/man/man3/ALLEGRO_VERTEX_BUFFER.3alleg5.gz
493 B
ALLEGRO_VERTEX_BUFFER.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VERTEX_BUFFER·\-·Allegro·5·API5 ALLEGRO_VERTEX_BUFFER·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·struct·ALLEGRO_VERTEX_BUFFER·ALLEGRO_VERTEX_BUFFER;10 typedef·struct·ALLEGRO_VERTEX_BUFFER·ALLEGRO_VERTEX_BUFFER;
 11 typedef·struct·ALLEGRO_VERTEX_BUFFER·ALLEGRO_VERTEX_BUFFER;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·GPU·vertex·buffer·that·you·can·use·to·store·vertices·on·the·GPU14 A·GPU·vertex·buffer·that·you·can·use·to·store·vertices·on·the·GPU
14 instead·of·uploading·them·afresh·during·every·drawing·operation.15 instead·of·uploading·them·afresh·during·every·drawing·operation.
15 .SH·SINCE16 .SH·SINCE
16 5.1.317 5.1.3
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
668 B
./usr/share/man/man3/ALLEGRO_VERTEX_CACHE_SIZE.3alleg5.gz
554 B
ALLEGRO_VERTEX_CACHE_SIZE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VERTEX_CACHE_SIZE·\-·Allegro·5·API5 ALLEGRO_VERTEX_CACHE_SIZE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 #define·ALLEGRO_VERTEX_CACHE_SIZE·25610 #define·ALLEGRO_VERTEX_CACHE_SIZE·256
 11 #define·ALLEGRO_VERTEX_CACHE_SIZE·256
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Defines·the·size·of·the·transformation·vertex·cache·for·the·software14 Defines·the·size·of·the·transformation·vertex·cache·for·the·software
14 renderer.15 renderer.
15 If·you·pass·less·than·this·many·vertices·to·the·primitive·rendering16 If·you·pass·less·than·this·many·vertices·to·the·primitive·rendering
16 functions·you·will·get·a·speed·boost.17 functions·you·will·get·a·speed·boost.
17 This·also·defines·the·size·of·the·cache·vertex·buffer,·used·for·the18 This·also·defines·the·size·of·the·cache·vertex·buffer,·used·for·the
617 B
./usr/share/man/man3/ALLEGRO_VERTEX_DECL.3alleg5.gz
515 B
ALLEGRO_VERTEX_DECL.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VERTEX_DECL·\-·Allegro·5·API5 ALLEGRO_VERTEX_DECL·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·struct·ALLEGRO_VERTEX_DECL·ALLEGRO_VERTEX_DECL;10 typedef·struct·ALLEGRO_VERTEX_DECL·ALLEGRO_VERTEX_DECL;
 11 typedef·struct·ALLEGRO_VERTEX_DECL·ALLEGRO_VERTEX_DECL;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·vertex·declaration.14 A·vertex·declaration.
14 This·opaque·structure·is·responsible·for·describing·the·format·and15 This·opaque·structure·is·responsible·for·describing·the·format·and
15 layout·of·a·user·defined·custom·vertex.16 layout·of·a·user·defined·custom·vertex.
16 It·is·created·and·destroyed·by·specialized·functions.17 It·is·created·and·destroyed·by·specialized·functions.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
662 B
./usr/share/man/man3/ALLEGRO_VERTEX_ELEMENT.3alleg5.gz
554 B
ALLEGRO_VERTEX_ELEMENT.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VERTEX_ELEMENT·\-·Allegro·5·API5 ALLEGRO_VERTEX_ELEMENT·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 typedef·struct·ALLEGRO_VERTEX_ELEMENT·ALLEGRO_VERTEX_ELEMENT;10 typedef·struct·ALLEGRO_VERTEX_ELEMENT·ALLEGRO_VERTEX_ELEMENT;
 11 typedef·struct·ALLEGRO_VERTEX_ELEMENT·ALLEGRO_VERTEX_ELEMENT;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·small·structure·describing·a·certain·element·of·a·vertex.14 A·small·structure·describing·a·certain·element·of·a·vertex.
14 E.g.15 E.g.
15 the·position·of·the·vertex,·or·its·color.16 the·position·of·the·vertex,·or·its·color.
16 These·structures·are·used·by·the·al_create_vertex_decl(3alleg5)·function17 These·structures·are·used·by·the·al_create_vertex_decl(3alleg5)·function
17 to·create·the·vertex·declaration.18 to·create·the·vertex·declaration.
637 B
./usr/share/man/man3/ALLEGRO_VIDEO_EVENT_TYPE.3alleg5.gz
525 B
ALLEGRO_VIDEO_EVENT_TYPE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VIDEO_EVENT_TYPE·\-·Allegro·5·API5 ALLEGRO_VIDEO_EVENT_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 enum·ALLEGRO_VIDEO_EVENT_TYPE10 enum·ALLEGRO_VIDEO_EVENT_TYPE
 11 enum·ALLEGRO_VIDEO_EVENT_TYPE
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Events·sent·by·al_get_video_event_source(3alleg5).14 Events·sent·by·al_get_video_event_source(3alleg5).
14 .SS·ALLEGRO_EVENT_VIDEO_FRAME_SHOW15 .SS·ALLEGRO_EVENT_VIDEO_FRAME_SHOW
15 This·event·is·sent·when·it·is·time·to·show·a·new·frame.16 This·event·is·sent·when·it·is·time·to·show·a·new·frame.
16 Once·you·receive·this·event,·you·can·draw·the·current·frame·(as·returned17 Once·you·receive·this·event,·you·can·draw·the·current·frame·(as·returned
17 by·al_get_video_frame(3alleg5)).18 by·al_get_video_frame(3alleg5)).
666 B
./usr/share/man/man3/ALLEGRO_VIDEO_POSITION_TYPE.3alleg5.gz
548 B
ALLEGRO_VIDEO_POSITION_TYPE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VIDEO_POSITION_TYPE·\-·Allegro·5·API5 ALLEGRO_VIDEO_POSITION_TYPE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;10 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;
 11 typedef·enum·ALLEGRO_VIDEO_POSITION_TYPE·ALLEGRO_VIDEO_POSITION_TYPE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Used·with·al_get_video_position(3alleg5)·to·specify·which·position·to14 Used·with·al_get_video_position(3alleg5)·to·specify·which·position·to
14 retrieve.15 retrieve.
15 If·these·get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the16 If·these·get·out·of·sync,·audio·and·video·may·be·out·of·sync·in·the
16 display·of·the·video.17 display·of·the·video.
17 .IP·\[bu]·218 .IP·\[bu]·2
599 B
./usr/share/man/man3/ALLEGRO_VOICE.3alleg5.gz
509 B
ALLEGRO_VOICE.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_VOICE·\-·Allegro·5·API5 ALLEGRO_VOICE·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 typedef·struct·ALLEGRO_VOICE·ALLEGRO_VOICE;10 typedef·struct·ALLEGRO_VOICE·ALLEGRO_VOICE;
 11 typedef·struct·ALLEGRO_VOICE·ALLEGRO_VOICE;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·voice·represents·an·audio·device·on·the·system,·which·may·be·a·real14 A·voice·represents·an·audio·device·on·the·system,·which·may·be·a·real
14 device,·or·an·abstract·device·provided·by·the·operating·system.15 device,·or·an·abstract·device·provided·by·the·operating·system.
15 To·play·back·audio,·you·would·attach·a·mixer,·sample·instance·or·audio16 To·play·back·audio,·you·would·attach·a·mixer,·sample·instance·or·audio
16 stream·to·a·voice.17 stream·to·a·voice.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
535 B
./usr/share/man/man3/ALLEGRO_WRITE_MASK_FLAGS.3alleg5.gz
423 B
ALLEGRO_WRITE_MASK_FLAGS.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 ALLEGRO_WRITE_MASK_FLAGS·\-·Allegro·5·API5 ALLEGRO_WRITE_MASK_FLAGS·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{10 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{
 11 typedef·enum·ALLEGRO_WRITE_MASK_FLAGS·{
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled14 Each·enabled·bit·means·the·corresponding·value·is·written,·a·disabled
14 bit·means·it·is·not.15 bit·means·it·is·not.
15 .IP·\[bu]·216 .IP·\[bu]·2
16 ALLEGRO_MASK_RED17 ALLEGRO_MASK_RED
17 .IP·\[bu]·218 .IP·\[bu]·2
678 B
./usr/share/man/man3/al_append_menu_item.3alleg5.gz
576 B
al_append_menu_item.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 int·al_append_menu_item(ALLEGRO_MENU·*parent,·char·const·*title,·uint16_t·id,10 int·al_append_menu_item(ALLEGRO_MENU·*parent,·char·const·*title,·uint16_t·id,
11 ···int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)11 ···int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)
 12 int·al_append_menu_item(ALLEGRO_MENU·*parent,·char·const·*title,·uint16_t·id,
 13 ···int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Appends·a·menu·item·to·the·end·of·the·menu.16 Appends·a·menu·item·to·the·end·of·the·menu.
15 See·al_insert_menu_item(3alleg5)·for·more·information.17 See·al_insert_menu_item(3alleg5)·for·more·information.
16 .SH·SINCE18 .SH·SINCE
17 5.1.019 5.1.0
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
674 B
./usr/share/man/man3/al_append_native_text_log.3alleg5.gz
560 B
al_append_native_text_log.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_append_native_text_log(ALLEGRO_TEXTLOG·*textlog,10 void·al_append_native_text_log(ALLEGRO_TEXTLOG·*textlog,
11 ···char·const·*format,·...)11 ···char·const·*format,·...)
 12 void·al_append_native_text_log(ALLEGRO_TEXTLOG·*textlog,
 13 ···char·const·*format,·...)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Appends·a·line·of·text·to·the·message·log·window·and·scrolls·to·the16 Appends·a·line·of·text·to·the·message·log·window·and·scrolls·to·the
15 bottom·(if·the·line·would·not·be·visible·otherwise).17 bottom·(if·the·line·would·not·be·visible·otherwise).
16 This·works·like·printf.18 This·works·like·printf.
17 A·line·is·continued·until·you·add·a·newline·character.19 A·line·is·continued·until·you·add·a·newline·character.
18 .PP20 .PP
690 B
./usr/share/man/man3/al_attach_audio_stream_to_mixer.3alleg5.gz
564 B
al_attach_audio_stream_to_mixer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_attach_audio_stream_to_mixer·\-·Allegro·5·API5 al_attach_audio_stream_to_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM·*stream,·ALLEGRO_MIXER·*mixer)10 bool·al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM·*stream,·ALLEGRO_MIXER·*mixer)
 11 bool·al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM·*stream,·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Attach·an·audio·stream·to·a·mixer.14 Attach·an·audio·stream·to·a·mixer.
14 The·stream·must·not·already·be·attached·to·anything.15 The·stream·must·not·already·be·attached·to·anything.
15 .PP16 .PP
16 Returns·true·on·success,·false·on·failure.17 Returns·true·on·success,·false·on·failure.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
718 B
./usr/share/man/man3/al_attach_audio_stream_to_voice.3alleg5.gz
592 B
al_attach_audio_stream_to_voice.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM·*stream,10 bool·al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM·*stream,
11 ···ALLEGRO_VOICE·*voice)11 ···ALLEGRO_VOICE·*voice)
 12 bool·al_attach_audio_stream_to_voice(ALLEGRO_AUDIO_STREAM·*stream,
 13 ···ALLEGRO_VOICE·*voice)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Attaches·an·audio·stream·to·a·voice.16 Attaches·an·audio·stream·to·a·voice.
15 The·same·rules·as·al_attach_sample_instance_to_voice(3alleg5)·apply.17 The·same·rules·as·al_attach_sample_instance_to_voice(3alleg5)·apply.
16 This·may·fail·if·the·driver·can\[cq]t·create·a·voice·with·the·buffer18 This·may·fail·if·the·driver·can\[cq]t·create·a·voice·with·the·buffer
17 count·and·buffer·size·the·stream·uses.19 count·and·buffer·size·the·stream·uses.
18 .PP20 .PP
727 B
./usr/share/man/man3/al_attach_mixer_to_mixer.3alleg5.gz
615 B
al_attach_mixer_to_mixer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_attach_mixer_to_mixer·\-·Allegro·5·API5 al_attach_mixer_to_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_attach_mixer_to_mixer(ALLEGRO_MIXER·*stream,·ALLEGRO_MIXER·*mixer)10 bool·al_attach_mixer_to_mixer(ALLEGRO_MIXER·*stream,·ALLEGRO_MIXER·*mixer)
 11 bool·al_attach_mixer_to_mixer(ALLEGRO_MIXER·*stream,·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Attaches·the·mixer·passed·as·the·first·argument·onto·the·mixer·passed·as14 Attaches·the·mixer·passed·as·the·first·argument·onto·the·mixer·passed·as
14 the·second·argument.15 the·second·argument.
15 The·first·mixer·(that·is·going·to·be·attached)·must·not·already·be16 The·first·mixer·(that·is·going·to·be·attached)·must·not·already·be
16 attached·to·anything.17 attached·to·anything.
17 Both·mixers·must·use·the·same·frequency,·audio·depth·and·channel18 Both·mixers·must·use·the·same·frequency,·audio·depth·and·channel
644 B
./usr/share/man/man3/al_attach_mixer_to_voice.3alleg5.gz
532 B
al_attach_mixer_to_voice.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_attach_mixer_to_voice·\-·Allegro·5·API5 al_attach_mixer_to_voice·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_attach_mixer_to_voice(ALLEGRO_MIXER·*mixer,·ALLEGRO_VOICE·*voice)10 bool·al_attach_mixer_to_voice(ALLEGRO_MIXER·*mixer,·ALLEGRO_VOICE·*voice)
 11 bool·al_attach_mixer_to_voice(ALLEGRO_MIXER·*mixer,·ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Attaches·a·mixer·to·a·voice.14 Attaches·a·mixer·to·a·voice.
14 It·must·have·the·same·frequency·and·channel·configuration,·but·the·depth15 It·must·have·the·same·frequency·and·channel·configuration,·but·the·depth
15 may·be·different.16 may·be·different.
16 .PP17 .PP
17 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
670 B
./usr/share/man/man3/al_attach_sample_instance_to_mixer.3alleg5.gz
538 B
al_attach_sample_instance_to_mixer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE·*spl,10 bool·al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE·*spl,
11 ···ALLEGRO_MIXER·*mixer)11 ···ALLEGRO_MIXER·*mixer)
 12 bool·al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE·*spl,
 13 ···ALLEGRO_MIXER·*mixer)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Attach·a·sample·instance·to·a·mixer.16 Attach·a·sample·instance·to·a·mixer.
15 The·instance·must·not·already·be·attached·to·anything.17 The·instance·must·not·already·be·attached·to·anything.
16 .PP18 .PP
17 Returns·true·on·success,·false·on·failure.19 Returns·true·on·success,·false·on·failure.
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
809 B
./usr/share/man/man3/al_attach_sample_instance_to_voice.3alleg5.gz
677 B
al_attach_sample_instance_to_voice.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE·*spl,10 bool·al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE·*spl,
11 ···ALLEGRO_VOICE·*voice)11 ···ALLEGRO_VOICE·*voice)
 12 bool·al_attach_sample_instance_to_voice(ALLEGRO_SAMPLE_INSTANCE·*spl,
 13 ···ALLEGRO_VOICE·*voice)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Attaches·a·sample·instance·to·a·voice,·and·allows·it·to·play.16 Attaches·a·sample·instance·to·a·voice,·and·allows·it·to·play.
15 The·instance\[cq]s·gain·and·loop·mode·will·be·ignored,·and·it·must·have17 The·instance\[cq]s·gain·and·loop·mode·will·be·ignored,·and·it·must·have
16 the·same·frequency,·channel·configuration·and·depth·(including18 the·same·frequency,·channel·configuration·and·depth·(including
17 signed\-ness)·as·the·voice.19 signed\-ness)·as·the·voice.
18 This·function·may·fail·if·the·selected·driver·doesn\[cq]t·support20 This·function·may·fail·if·the·selected·driver·doesn\[cq]t·support
576 B
./usr/share/man/man3/al_build_menu.3alleg5.gz
486 B
al_build_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_build_menu·\-·Allegro·5·API5 al_build_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_build_menu(ALLEGRO_MENU_INFO·*info)10 ALLEGRO_MENU·*al_build_menu(ALLEGRO_MENU_INFO·*info)
 11 ALLEGRO_MENU·*al_build_menu(ALLEGRO_MENU_INFO·*info)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Builds·a·menu·based·on·the·specifications·of·a·sequence·of14 Builds·a·menu·based·on·the·specifications·of·a·sequence·of
14 \f[CR]ALLEGRO_MENU_INFO\f[R]·elements.15 \f[CR]ALLEGRO_MENU_INFO\f[R]·elements.
15 .PP16 .PP
16 Returns·a·pointer·to·the·root·\f[CR]ALLEGRO_MENU\f[R],·or17 Returns·a·pointer·to·the·root·\f[CR]ALLEGRO_MENU\f[R],·or
17 \f[CR]NULL\f[R]·on·failure.18 \f[CR]NULL\f[R]·on·failure.
921 B
./usr/share/man/man3/al_calculate_arc.3alleg5.gz
825 B
al_calculate_arc.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_calculate_arc(float*·dest,·int·stride,·float·cx,·float·cy,10 void·al_calculate_arc(float*·dest,·int·stride,·float·cx,·float·cy,
11 ···float·rx,·float·ry,·float·start_theta,·float·delta_theta,·float·thickness,11 ···float·rx,·float·ry,·float·start_theta,·float·delta_theta,·float·thickness,
12 ···int·num_points)12 ···int·num_points)
 13 void·al_calculate_arc(float*·dest,·int·stride,·float·cx,·float·cy,
 14 ···float·rx,·float·ry,·float·start_theta,·float·delta_theta,·float·thickness,
 15 ···int·num_points)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 When·\f[CR]thickness·<=·0\f[R]·this·function·computes·positions·of18 When·\f[CR]thickness·<=·0\f[R]·this·function·computes·positions·of
16 \f[CR]num_points\f[R]·regularly·spaced·points·on·an·elliptical·arc.19 \f[CR]num_points\f[R]·regularly·spaced·points·on·an·elliptical·arc.
17 When·\f[CR]thickness·>·0\f[R]·this·function·computes·two·sets·of·points,20 When·\f[CR]thickness·>·0\f[R]·this·function·computes·two·sets·of·points,
18 obtained·as·follows:·the·first·set·is·obtained·by·taking·the·points21 obtained·as·follows:·the·first·set·is·obtained·by·taking·the·points
19 computed·in·the·\f[CR]thickness·<=·0\f[R]·case·and·shifting·them·by22 computed·in·the·\f[CR]thickness·<=·0\f[R]·case·and·shifting·them·by
856 B
./usr/share/man/man3/al_calculate_ribbon.3alleg5.gz
754 B
al_calculate_ribbon.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_calculate_ribbon(float*·dest,·int·dest_stride,·const·float·*points,10 void·al_calculate_ribbon(float*·dest,·int·dest_stride,·const·float·*points,
11 ···int·points_stride,·float·thickness,·int·num_segments)11 ···int·points_stride,·float·thickness,·int·num_segments)
 12 void·al_calculate_ribbon(float*·dest,·int·dest_stride,·const·float·*points,
 13 ···int·points_stride,·float·thickness,·int·num_segments)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Calculates·a·ribbon·given·an·array·of·points.16 Calculates·a·ribbon·given·an·array·of·points.
15 The·ribbon·will·go·through·all·of·the·passed·points.17 The·ribbon·will·go·through·all·of·the·passed·points.
16 If·\f[CR]thickness·<=·0\f[R],·then·\f[CR]num_segments\f[R]·of·points·are18 If·\f[CR]thickness·<=·0\f[R],·then·\f[CR]num_segments\f[R]·of·points·are
17 required·in·the·destination·buffer,·otherwise·twice·as·many·are·needed.19 required·in·the·destination·buffer,·otherwise·twice·as·many·are·needed.
18 The·destination·and·the·points·buffer·should·consist·of·regularly·spaced20 The·destination·and·the·points·buffer·should·consist·of·regularly·spaced
817 B
./usr/share/man/man3/al_calculate_spline.3alleg5.gz
715 B
al_calculate_spline.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_calculate_spline(float*·dest,·int·stride,·const·float·points[8],10 void·al_calculate_spline(float*·dest,·int·stride,·const·float·points[8],
11 ···float·thickness,·int·num_segments)11 ···float·thickness,·int·num_segments)
 12 void·al_calculate_spline(float*·dest,·int·stride,·const·float·points[8],
 13 ···float·thickness,·int·num_segments)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Calculates·a·Bézier·spline·given·4·control·points.16 Calculates·a·Bézier·spline·given·4·control·points.
15 If·\f[CR]thickness·<=·0\f[R],·then·\f[CR]num_segments\f[R]·of·points·are17 If·\f[CR]thickness·<=·0\f[R],·then·\f[CR]num_segments\f[R]·of·points·are
16 required·in·the·destination,·otherwise·twice·as·many·are·needed.18 required·in·the·destination,·otherwise·twice·as·many·are·needed.
17 The·destination·buffer·should·consist·of·regularly·spaced·(by·distance19 The·destination·buffer·should·consist·of·regularly·spaced·(by·distance
18 of·stride·bytes)·doublets·of·floats,·corresponding·to·x·and·y20 of·stride·bytes)·doublets·of·floats,·corresponding·to·x·and·y
535 B
./usr/share/man/man3/al_calloc.3alleg5.gz
453 B
al_calloc.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·al_calloc(c,·n)·\[rs]10 #define·al_calloc(c,·n)·\[rs]
11 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))11 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))
 12 #define·al_calloc(c,·n)·\[rs]
 13 ···(al_calloc_with_context((c),·(n),·__LINE__,·__FILE__,·__func__))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be16 Like·calloc()·in·the·C·standard·library,·but·the·implementation·may·be
15 overridden.17 overridden.
16 .PP18 .PP
17 This·is·a·macro.19 This·is·a·macro.
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
560 B
./usr/share/man/man3/al_clone_menu.3alleg5.gz
470 B
al_clone_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_clone_menu·\-·Allegro·5·API5 al_clone_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_clone_menu(ALLEGRO_MENU·*menu)10 ALLEGRO_MENU·*al_clone_menu(ALLEGRO_MENU·*menu)
 11 ALLEGRO_MENU·*al_clone_menu(ALLEGRO_MENU·*menu)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Makes·a·copy·of·a·menu·so·that·it·can·be·reused·on·another·display.14 Makes·a·copy·of·a·menu·so·that·it·can·be·reused·on·another·display.
14 The·menu·being·cloned·can·be·anything:·a·regular·menu,·a·popup·menu,·or15 The·menu·being·cloned·can·be·anything:·a·regular·menu,·a·popup·menu,·or
15 a·sub\-menu.16 a·sub\-menu.
16 .PP17 .PP
17 Returns·the·cloned·menu.18 Returns·the·cloned·menu.
556 B
./usr/share/man/man3/al_clone_menu_for_popup.3alleg5.gz
446 B
al_clone_menu_for_popup.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_clone_menu_for_popup·\-·Allegro·5·API5 al_clone_menu_for_popup·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_clone_menu_for_popup(ALLEGRO_MENU·*menu)10 ALLEGRO_MENU·*al_clone_menu_for_popup(ALLEGRO_MENU·*menu)
 11 ALLEGRO_MENU·*al_clone_menu_for_popup(ALLEGRO_MENU·*menu)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Exactly·like·al_clone_menu(3alleg5),·except·that·the·copy·is·for·a·popup14 Exactly·like·al_clone_menu(3alleg5),·except·that·the·copy·is·for·a·popup
14 menu.15 menu.
15 .SH·SINCE16 .SH·SINCE
16 5.1.017 5.1.0
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
577 B
./usr/share/man/man3/al_close_native_text_log.3alleg5.gz
465 B
al_close_native_text_log.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_close_native_text_log·\-·Allegro·5·API5 al_close_native_text_log·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_close_native_text_log(ALLEGRO_TEXTLOG·*textlog)10 void·al_close_native_text_log(ALLEGRO_TEXTLOG·*textlog)
 11 void·al_close_native_text_log(ALLEGRO_TEXTLOG·*textlog)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Closes·a·message·log·window·opened·with·al_open_native_text_log(3alleg5)14 Closes·a·message·log·window·opened·with·al_open_native_text_log(3alleg5)
14 earlier.15 earlier.
15 .PP16 .PP
16 Does·nothing·if·passed·NULL.17 Does·nothing·if·passed·NULL.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
487 B
./usr/share/man/man3/al_close_video.3alleg5.gz
395 B
al_close_video.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_close_video·\-·Allegro·5·API5 al_close_video·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 void·al_close_video(ALLEGRO_VIDEO·*video)10 void·al_close_video(ALLEGRO_VIDEO·*video)
 11 void·al_close_video(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Closes·the·video·and·frees·all·allocated·resources.14 Closes·the·video·and·frees·all·allocated·resources.
14 The·video·pointer·is·invalid·after·the·function·returns.15 The·video·pointer·is·invalid·after·the·function·returns.
15 .SH·SINCE16 .SH·SINCE
16 5.1.017 5.1.0
567 B
./usr/share/man/man3/al_color_cmyk.3alleg5.gz
477 B
al_color_cmyk.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_color_cmyk·\-·Allegro·5·API5 al_color_cmyk·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)10 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)
 11 ALLEGRO_COLOR·al_color_cmyk(float·c,·float·m,·float·y,·float·k)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CMYK·values·(cyan,14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CMYK·values·(cyan,
14 magenta,·yellow,·black).15 magenta,·yellow,·black).
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_color_cmyk_to_rgb(3alleg5),·al_color_rgb_to_cmyk(3alleg5)17 al_color_cmyk_to_rgb(3alleg5),·al_color_rgb_to_cmyk(3alleg5)
614 B
./usr/share/man/man3/al_color_cmyk_to_rgb.3alleg5.gz
510 B
al_color_cmyk_to_rgb.3alleg5
    
Offset 6, 12 lines modifiedOffset 6, 14 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,10 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,
11 ····float·key,·float·*red,·float·*green,·float·*blue)11 ····float·key,·float·*red,·float·*green,·float·*blue)
 12 void·al_color_cmyk_to_rgb(float·cyan,·float·magenta,·float·yellow,
 13 ····float·key,·float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·CMYK·values·to·RGB·values.16 Convert·CMYK·values·to·RGB·values.
15 .SH·SEE·ALSO17 .SH·SEE·ALSO
16 al_color_cmyk(3alleg5),·al_color_rgb_to_cmyk(3alleg5)18 al_color_cmyk(3alleg5),·al_color_rgb_to_cmyk(3alleg5)
638 B
./usr/share/man/man3/al_color_distance_ciede2000.3alleg5.gz
520 B
al_color_distance_ciede2000.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 double·al_color_distance_ciede2000(ALLEGRO_COLOR·color1,10 double·al_color_distance_ciede2000(ALLEGRO_COLOR·color1,
11 ······ALLEGRO_COLOR·color2)·{11 ······ALLEGRO_COLOR·color2)·{
 12 double·al_color_distance_ciede2000(ALLEGRO_COLOR·color1,
 13 ······ALLEGRO_COLOR·color2)·{
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 This·function·computes·the·CIEDE2000·color·difference·between·two·RGB16 This·function·computes·the·CIEDE2000·color·difference·between·two·RGB
15 colors.17 colors.
16 This·is·a·visually·uniform·color·difference,·unlike·for·example·the·RGB18 This·is·a·visually·uniform·color·difference,·unlike·for·example·the·RGB
17 distance.19 distance.
18 .PP20 .PP
494 B
./usr/share/man/man3/al_color_hsl.3alleg5.gz
406 B
al_color_hsl.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_hsl·\-·Allegro·5·API5 al_color_hsl·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)10 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)
 11 ALLEGRO_COLOR·al_color_hsl(float·h,·float·s,·float·l)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSL·(hue,·saturation,14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSL·(hue,·saturation,
14 lightness)·values.15 lightness)·values.
15 .PP16 .PP
16 Parameters:17 Parameters:
17 .IP·\[bu]·218 .IP·\[bu]·2
619 B
./usr/share/man/man3/al_color_hsl_to_rgb.3alleg5.gz
517 B
al_color_hsl_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,10 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,
11 ···float·*red,·float·*green,·float·*blue)11 ···float·*red,·float·*green,·float·*blue)
 12 void·al_color_hsl_to_rgb(float·hue,·float·saturation,·float·lightness,
 13 ···float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·values·in·HSL·color·model·to·RGB·color·model.16 Convert·values·in·HSL·color·model·to·RGB·color·model.
15 .PP17 .PP
16 Parameters:18 Parameters:
17 .IP·\[bu]·219 .IP·\[bu]·2
18 hue·\-·Color·hue·angle·in·the·range·0..36020 hue·\-·Color·hue·angle·in·the·range·0..360
490 B
./usr/share/man/man3/al_color_hsv.3alleg5.gz
402 B
al_color_hsv.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_hsv·\-·Allegro·5·API5 al_color_hsv·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)10 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)
 11 ALLEGRO_COLOR·al_color_hsv(float·h,·float·s,·float·v)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSV·(hue,·saturation,14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·HSV·(hue,·saturation,
14 value)·values.15 value)·values.
15 .PP16 .PP
16 Parameters:17 Parameters:
17 .IP·\[bu]·218 .IP·\[bu]·2
611 B
./usr/share/man/man3/al_color_hsv_to_rgb.3alleg5.gz
509 B
al_color_hsv_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,10 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,
11 ···float·*red,·float·*green,·float·*blue)11 ···float·*red,·float·*green,·float·*blue)
 12 void·al_color_hsv_to_rgb(float·hue,·float·saturation,·float·value,
 13 ···float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·values·in·HSV·color·model·to·RGB·color·model.16 Convert·values·in·HSV·color·model·to·RGB·color·model.
15 .PP17 .PP
16 Parameters:18 Parameters:
17 .IP·\[bu]·219 .IP·\[bu]·2
18 hue·\-·Color·hue·angle·in·the·range·0..36020 hue·\-·Color·hue·angle·in·the·range·0..360
609 B
./usr/share/man/man3/al_color_html.3alleg5.gz
519 B
al_color_html.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_html·\-·Allegro·5·API5 al_color_html·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_html(char·const·*string)10 ALLEGRO_COLOR·al_color_html(char·const·*string)
 11 ALLEGRO_COLOR·al_color_html(char·const·*string)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Interprets·an·HTML\-style·hex·number·(e.g.\·#00faff)·as·a·color.14 Interprets·an·HTML\-style·hex·number·(e.g.\·#00faff)·as·a·color.
14 The·accepted·format·is·the·same·as·al_color_html_to_rgb(3alleg5).15 The·accepted·format·is·the·same·as·al_color_html_to_rgb(3alleg5).
15 .PP16 .PP
16 Returns·the·interpreted·color,·or·\f[CR]al_map_rgba(0,·0,·0,·0)\f[R]·if17 Returns·the·interpreted·color,·or·\f[CR]al_map_rgba(0,·0,·0,·0)\f[R]·if
17 the·string·could·not·be·parsed.18 the·string·could·not·be·parsed.
682 B
./usr/share/man/man3/al_color_html_to_rgb.3alleg5.gz
578 B
al_color_html_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 bool·al_color_html_to_rgb(char·const·*string,10 bool·al_color_html_to_rgb(char·const·*string,
11 ···float·*red,·float·*green,·float·*blue)11 ···float·*red,·float·*green,·float·*blue)
 12 bool·al_color_html_to_rgb(char·const·*string,
 13 ···float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Interprets·an·HTML\-style·hex·number·(e.g.\·#00faff)·as·a·color.16 Interprets·an·HTML\-style·hex·number·(e.g.\·#00faff)·as·a·color.
15 The·only·accepted·formats·are·\[lq]#RRGGBB\[rq]·and·\[lq]RRGGBB\[rq]17 The·only·accepted·formats·are·\[lq]#RRGGBB\[rq]·and·\[lq]RRGGBB\[rq]
16 where·R,·G,·B·are·hexadecimal·digits·[0\-9A\-Fa\-f].18 where·R,·G,·B·are·hexadecimal·digits·[0\-9A\-Fa\-f].
17 .PP19 .PP
18 Returns·true·on·success,·false·on·failure.20 Returns·true·on·success,·false·on·failure.
556 B
./usr/share/man/man3/al_color_lab.3alleg5.gz
468 B
al_color_lab.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_lab·\-·Allegro·5·API5 al_color_lab·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_lab(float·l,·float·a,·float·b)10 ALLEGRO_COLOR·al_color_lab(float·l,·float·a,·float·b)
 11 ALLEGRO_COLOR·al_color_lab(float·l,·float·a,·float·b)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·L*a*b*·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·L*a*b*·values.
14 The·L*·component·corresponds·to·luminance·from·0..1.15 The·L*·component·corresponds·to·luminance·from·0..1.
15 The·a*·and·b*·components·are·in·the·range·\-1..+1.16 The·a*·and·b*·components·are·in·the·range·\-1..+1.
16 .RS17 .RS
17 .PP18 .PP
591 B
./usr/share/man/man3/al_color_lab_to_rgb.3alleg5.gz
489 B
al_color_lab_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_lab_to_rgb(float·l,·float·a,·float·b,10 void·al_color_lab_to_rgb(float·l,·float·a,·float·b,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_lab_to_rgb(float·l,·float·a,·float·b,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·CIE·L*a*b*·color·values·to·RGB·color·space.16 Convert·CIE·L*a*b*·color·values·to·RGB·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_lab(3alleg5),·al_color_rgb_to_lab(3alleg5)20 al_color_lab(3alleg5),·al_color_rgb_to_lab(3alleg5)
655 B
./usr/share/man/man3/al_color_lch.3alleg5.gz
567 B
al_color_lch.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_lch·\-·Allegro·5·API5 al_color_lch·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_lch(float·l,·float·c,·float·h)10 ALLEGRO_COLOR·al_color_lch(float·l,·float·c,·float·h)
 11 ALLEGRO_COLOR·al_color_lch(float·l,·float·c,·float·h)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·LCH·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·CIE·LCH·values.
14 LCH·colors·are·very·similar·to·HSL,·with·the·same·meaning·of·L·and·H·and15 LCH·colors·are·very·similar·to·HSL,·with·the·same·meaning·of·L·and·H·and
15 C·corresponding·to·S.·However·LCH·is·more·visually·uniform.16 C·corresponding·to·S.·However·LCH·is·more·visually·uniform.
16 Furthermore,·this·function·expects·the·angle·for·H·in·radians·and·not·in17 Furthermore,·this·function·expects·the·angle·for·H·in·radians·and·not·in
17 degree.18 degree.
588 B
./usr/share/man/man3/al_color_lch_to_rgb.3alleg5.gz
486 B
al_color_lch_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_lch_to_rgb(float·l,·float·c,·float·h,10 void·al_color_lch_to_rgb(float·l,·float·c,·float·h,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_lch_to_rgb(float·l,·float·c,·float·h,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·CIE·LCH·color·values·to·RGB·color·space.16 Convert·CIE·LCH·color·values·to·RGB·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_lch(3alleg5),·al_color_rgb_to_lch(3alleg5)20 al_color_lch(3alleg5),·al_color_rgb_to_lch(3alleg5)
663 B
./usr/share/man/man3/al_color_linear.3alleg5.gz
569 B
al_color_linear.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_linear·\-·Allegro·5·API5 al_color_linear·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_linear(float·r,·float·g,·float·b)10 ALLEGRO_COLOR·al_color_linear(float·r,·float·g,·float·b)
 11 ALLEGRO_COLOR·al_color_linear(float·r,·float·g,·float·b)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·linear·sRGB·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·linear·sRGB·values.
14 Allegro·RGB·values·are·assumed·to·be·sRGB.15 Allegro·RGB·values·are·assumed·to·be·sRGB.
15 The·sRGB·standard·is·in·wide·use·by·various·display·devices.16 The·sRGB·standard·is·in·wide·use·by·various·display·devices.
16 It·accounts·for·a·standard·gamma·correction·applied·to·RGB·colors·before17 It·accounts·for·a·standard·gamma·correction·applied·to·RGB·colors·before
17 they·get·displayed.18 they·get·displayed.
584 B
./usr/share/man/man3/al_color_linear_to_rgb.3alleg5.gz
476 B
al_color_linear_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_linear_to_rgb(float·r,·float·g,·float·b,10 void·al_color_linear_to_rgb(float·r,·float·g,·float·b,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_linear_to_rgb(float·r,·float·g,·float·b,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·linear·sRGB·color·values·to·gamma·corrected·(i.e.\·normal)·RGB16 Convert·linear·sRGB·color·values·to·gamma·corrected·(i.e.\·normal)·RGB
15 values.17 values.
16 .SH·SINCE18 .SH·SINCE
17 5.2.819 5.2.8
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
530 B
./usr/share/man/man3/al_color_name.3alleg5.gz
440 B
al_color_name.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_color_name·\-·Allegro·5·API5 al_color_name·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_name(char·const·*name)10 ALLEGRO_COLOR·al_color_name(char·const·*name)
 11 ALLEGRO_COLOR·al_color_name(char·const·*name)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·with·the·given·name.14 Return·an·ALLEGRO_COLOR(3alleg5)·with·the·given·name.
14 If·the·color·is·not·found·then·black·is·returned.15 If·the·color·is·not·found·then·black·is·returned.
15 .PP16 .PP
16 See·al_color_name_to_rgb(3alleg5)·for·the·list·of·names.17 See·al_color_name_to_rgb(3alleg5)·for·the·list·of·names.
605 B
./usr/share/man/man3/al_color_name_to_rgb.3alleg5.gz
501 B
al_color_name_to_rgb.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_name_to_rgb·\-·Allegro·5·API5 al_color_name_to_rgb·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 bool·al_color_name_to_rgb(char·const·*name,·float·*r,·float·*g,·float·*b)10 bool·al_color_name_to_rgb(char·const·*name,·float·*r,·float·*g,·float·*b)
 11 bool·al_color_name_to_rgb(char·const·*name,·float·*r,·float·*g,·float·*b)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Parameters:14 Parameters:
14 .IP·\[bu]·215 .IP·\[bu]·2
15 name·\-·The·(lowercase)·name·of·the·color.16 name·\-·The·(lowercase)·name·of·the·color.
16 .IP·\[bu]·217 .IP·\[bu]·2
17 r,·g,·b·\-·If·one·of·the·recognized·color·names·below·is·passed,·the18 r,·g,·b·\-·If·one·of·the·recognized·color·names·below·is·passed,·the
562 B
./usr/share/man/man3/al_color_oklab.3alleg5.gz
470 B
al_color_oklab.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_oklab·\-·Allegro·5·API5 al_color_oklab·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_oklab(float·l,·float·a,·float·b)10 ALLEGRO_COLOR·al_color_oklab(float·l,·float·a,·float·b)
 11 ALLEGRO_COLOR·al_color_oklab(float·l,·float·a,·float·b)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·Oklab·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·Oklab·values.
14 The·L·component·corresponds·to·luminance·from·0..1.15 The·L·component·corresponds·to·luminance·from·0..1.
15 The·a·and·b·components·are·in·the·range·\-1..+1.16 The·a·and·b·components·are·in·the·range·\-1..+1.
16 .RS17 .RS
17 .PP18 .PP
596 B
./usr/share/man/man3/al_color_oklab_to_rgb.3alleg5.gz
490 B
al_color_oklab_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_oklab_to_rgb(float·ol,·float·oa,·float·ob,10 void·al_color_oklab_to_rgb(float·ol,·float·oa,·float·ob,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_oklab_to_rgb(float·ol,·float·oa,·float·ob,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·Oklab·color·values·to·RGB.16 Convert·Oklab·color·values·to·RGB.
15 .SH·SINCE17 .SH·SINCE
16 5.2.818 5.2.8
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_oklab(3alleg5),·al_color_rgb_to_oklab(3alleg5)20 al_color_oklab(3alleg5),·al_color_rgb_to_oklab(3alleg5)
627 B
./usr/share/man/man3/al_color_rgb_to_cmyk.3alleg5.gz
523 B
al_color_rgb_to_cmyk.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_cmyk(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_cmyk(float·red,·float·green,·float·blue,
11 ···float·*cyan,·float·*magenta,·float·*yellow,·float·*key)11 ···float·*cyan,·float·*magenta,·float·*yellow,·float·*key)
 12 void·al_color_rgb_to_cmyk(float·red,·float·green,·float·blue,
 13 ···float·*cyan,·float·*magenta,·float·*yellow,·float·*key)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Each·RGB·color·can·be·represented·in·CMYK·with·a·K·component·of·0·with16 Each·RGB·color·can·be·represented·in·CMYK·with·a·K·component·of·0·with
15 the·following·formula:17 the·following·formula:
16 .IP18 .IP
17 .EX19 .EX
18 C·=·1·\-·R20 C·=·1·\-·R
700 B
./usr/share/man/man3/al_color_rgb_to_hsl.3alleg5.gz
598 B
al_color_rgb_to_hsl.3alleg5
    
Offset 6, 13 lines modifiedOffset 6, 15 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_hsl(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_hsl(float·red,·float·green,·float·blue,
11 ···float·*hue,·float·*saturation,·float·*lightness)11 ···float·*hue,·float·*saturation,·float·*lightness)
 12 void·al_color_rgb_to_hsl(float·red,·float·green,·float·blue,
 13 ···float·*hue,·float·*saturation,·float·*lightness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue16 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue
15 in·degrees·from·0..360·and·saturation·and·lightness·in·the·range·0..1.17 in·degrees·from·0..360·and·saturation·and·lightness·in·the·range·0..1.
16 .SH·SEE·ALSO18 .SH·SEE·ALSO
17 al_color_hsl_to_rgb(3alleg5),·al_color_hsl(3alleg5)19 al_color_hsl_to_rgb(3alleg5),·al_color_hsl(3alleg5)
688 B
./usr/share/man/man3/al_color_rgb_to_hsv.3alleg5.gz
586 B
al_color_rgb_to_hsv.3alleg5
    
Offset 6, 13 lines modifiedOffset 6, 15 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_hsv(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_hsv(float·red,·float·green,·float·blue,
11 ···float·*hue,·float·*saturation,·float·*value)11 ···float·*hue,·float·*saturation,·float·*value)
 12 void·al_color_rgb_to_hsv(float·red,·float·green,·float·blue,
 13 ···float·*hue,·float·*saturation,·float·*value)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue16 Given·an·RGB·triplet·with·components·in·the·range·0..1,·return·the·hue
15 in·degrees·from·0..360·and·saturation·and·value·in·the·range·0..1.17 in·degrees·from·0..360·and·saturation·and·value·in·the·range·0..1.
16 .SH·SEE·ALSO18 .SH·SEE·ALSO
17 al_color_hsv_to_rgb(3alleg5),·al_color_hsv(3alleg5)19 al_color_hsv_to_rgb(3alleg5),·al_color_hsv(3alleg5)
549 B
./usr/share/man/man3/al_color_rgb_to_html.3alleg5.gz
445 B
al_color_rgb_to_html.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,
11 ····char·*string)11 ····char·*string)
 12 void·al_color_rgb_to_html(float·red,·float·green,·float·blue,
 13 ····char·*string)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Create·an·HTML\-style·string·representation·of·an16 Create·an·HTML\-style·string·representation·of·an
15 ALLEGRO_COLOR(3alleg5),·e.g.\·#00faff.17 ALLEGRO_COLOR(3alleg5),·e.g.\·#00faff.
16 .PP18 .PP
17 Parameters:19 Parameters:
18 .IP·\[bu]·220 .IP·\[bu]·2
579 B
./usr/share/man/man3/al_color_rgb_to_lab.3alleg5.gz
477 B
al_color_rgb_to_lab.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_lab(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_lab(float·red,·float·green,·float·blue,
11 ···float·*l,·float·*a,·float·*b)11 ···float·*l,·float·*a,·float·*b)
 12 void·al_color_rgb_to_lab(float·red,·float·green,·float·blue,
 13 ···float·*l,·float·*a,·float·*b)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·RGB·values·to·L*a*b*·color·space.16 Convert·RGB·values·to·L*a*b*·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_lab(3alleg5),·al_color_lab_to_rgb(3alleg5)20 al_color_lab(3alleg5),·al_color_lab_to_rgb(3alleg5)
580 B
./usr/share/man/man3/al_color_rgb_to_lch.3alleg5.gz
478 B
al_color_rgb_to_lch.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_lch(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_lch(float·red,·float·green,·float·blue,
11 ···float·*l,·float·*c,·float·*h)11 ···float·*l,·float·*c,·float·*h)
 12 void·al_color_rgb_to_lch(float·red,·float·green,·float·blue,
 13 ···float·*l,·float·*c,·float·*h)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·RGB·values·to·CIE·LCH·color·space.16 Convert·RGB·values·to·CIE·LCH·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_lch(3alleg5),·al_color_lch_to_rgb(3alleg5)20 al_color_lch(3alleg5),·al_color_lch_to_rgb(3alleg5)
580 B
./usr/share/man/man3/al_color_rgb_to_linear.3alleg5.gz
472 B
al_color_rgb_to_linear.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_linear(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_linear(float·red,·float·green,·float·blue,
11 ···float·*r,·float·*g,·float·*b)11 ···float·*r,·float·*g,·float·*b)
 12 void·al_color_rgb_to_linear(float·red,·float·green,·float·blue,
 13 ···float·*r,·float·*g,·float·*b)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·gamma·corrected·sRGB·values·(i.e.\·normal·RGB)·to·linear·sRGB16 Convert·gamma·corrected·sRGB·values·(i.e.\·normal·RGB)·to·linear·sRGB
15 space.17 space.
16 .SH·SINCE18 .SH·SINCE
17 5.2.819 5.2.8
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
598 B
./usr/share/man/man3/al_color_rgb_to_name.3alleg5.gz
494 B
al_color_rgb_to_name.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_color_rgb_to_name·\-·Allegro·5·API5 al_color_rgb_to_name·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 char·const·*al_color_rgb_to_name(float·r,·float·g,·float·b)10 char·const·*al_color_rgb_to_name(float·r,·float·g,·float·b)
 11 char·const·*al_color_rgb_to_name(float·r,·float·g,·float·b)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Given·an·RGB·triplet·with·components·in·the·range·0..1,·find·a·color14 Given·an·RGB·triplet·with·components·in·the·range·0..1,·find·a·color
14 name·describing·it·approximately.15 name·describing·it·approximately.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_color_name_to_rgb(3alleg5),·al_color_name(3alleg5)17 al_color_name_to_rgb(3alleg5),·al_color_name(3alleg5)
604 B
./usr/share/man/man3/al_color_rgb_to_oklab.3alleg5.gz
498 B
al_color_rgb_to_oklab.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_oklab(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_oklab(float·red,·float·green,·float·blue,
11 ···float·*ol,·float·*oa,·float·*ob)11 ···float·*ol,·float·*oa,·float·*ob)
 12 void·al_color_rgb_to_oklab(float·red,·float·green,·float·blue,
 13 ···float·*ol,·float·*oa,·float·*ob)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·RGB·values·to·the·Oklab·color·space.16 Convert·RGB·values·to·the·Oklab·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.818 5.2.8
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_oklab(3alleg5),·al_color_oklab_to_rgb(3alleg5)20 al_color_oklab(3alleg5),·al_color_oklab_to_rgb(3alleg5)
578 B
./usr/share/man/man3/al_color_rgb_to_xyy.3alleg5.gz
476 B
al_color_rgb_to_xyy.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_xyy(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_xyy(float·red,·float·green,·float·blue,
11 ···float·*x,·float·*y,·float·*y2)11 ···float·*x,·float·*y,·float·*y2)
 12 void·al_color_rgb_to_xyy(float·red,·float·green,·float·blue,
 13 ···float·*x,·float·*y,·float·*y2)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·RGB·values·to·xyY·color·space.16 Convert·RGB·values·to·xyY·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_xyy(3alleg5),·al_color_xyy_to_rgb(3alleg5)20 al_color_xyy(3alleg5),·al_color_xyy_to_rgb(3alleg5)
576 B
./usr/share/man/man3/al_color_rgb_to_xyz.3alleg5.gz
474 B
al_color_rgb_to_xyz.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_xyz(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_xyz(float·red,·float·green,·float·blue,
11 ···float·*x,·float·*y,·float·*z)11 ···float·*x,·float·*y,·float·*z)
 12 void·al_color_rgb_to_xyz(float·red,·float·green,·float·blue,
 13 ···float·*x,·float·*y,·float·*z)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·RGB·values·to·XYZ·color·space.16 Convert·RGB·values·to·XYZ·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_xyz(3alleg5),·al_color_xyz_to_rgb(3alleg5)20 al_color_xyz(3alleg5),·al_color_xyz_to_rgb(3alleg5)
558 B
./usr/share/man/man3/al_color_rgb_to_yuv.3alleg5.gz
456 B
al_color_rgb_to_yuv.3alleg5
    
Offset 6, 12 lines modifiedOffset 6, 14 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_rgb_to_yuv(float·red,·float·green,·float·blue,10 void·al_color_rgb_to_yuv(float·red,·float·green,·float·blue,
11 ···float·*y,·float·*u,·float·*v)11 ···float·*y,·float·*u,·float·*v)
 12 void·al_color_rgb_to_yuv(float·red,·float·green,·float·blue,
 13 ···float·*y,·float·*u,·float·*v)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·RGB·values·to·YUV·color·space.16 Convert·RGB·values·to·YUV·color·space.
15 .SH·SEE·ALSO17 .SH·SEE·ALSO
16 al_color_yuv(3alleg5),·al_color_yuv_to_rgb(3alleg5)18 al_color_yuv(3alleg5),·al_color_yuv_to_rgb(3alleg5)
575 B
./usr/share/man/man3/al_color_xyy.3alleg5.gz
487 B
al_color_xyy.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_xyy·\-·Allegro·5·API5 al_color_xyy·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_xyy(float·x,·float·y,·float·y2)10 ALLEGRO_COLOR·al_color_xyy(float·x,·float·y,·float·y2)
 11 ALLEGRO_COLOR·al_color_xyy(float·x,·float·y,·float·y2)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·xyY·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·xyY·values.
14 The·Y·component·in·the·xyY·color·space·is·the·same·as·the·Y·in·XYZ.15 The·Y·component·in·the·xyY·color·space·is·the·same·as·the·Y·in·XYZ.
15 .PP16 .PP
16 However·the·x·and·y·values·are·computed·from·XYZ·like·this:17 However·the·x·and·y·values·are·computed·from·XYZ·like·this:
17 .IP18 .IP
586 B
./usr/share/man/man3/al_color_xyy_to_rgb.3alleg5.gz
484 B
al_color_xyy_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_xyy_to_rgb(float·x,·float·y,·float·y2,10 void·al_color_xyy_to_rgb(float·x,·float·y,·float·y2,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_xyy_to_rgb(float·x,·float·y,·float·y2,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·xyY·color·values·to·RGB·color·space.16 Convert·xyY·color·values·to·RGB·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_xyy(3alleg5),·al_color_rgb_to_xyy(3alleg5)20 al_color_xyy(3alleg5),·al_color_rgb_to_xyy(3alleg5)
600 B
./usr/share/man/man3/al_color_xyz.3alleg5.gz
512 B
al_color_xyz.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_color_xyz·\-·Allegro·5·API5 al_color_xyz·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_xyz(float·x,·float·y,·float·z)10 ALLEGRO_COLOR·al_color_xyz(float·x,·float·y,·float·z)
 11 ALLEGRO_COLOR·al_color_xyz(float·x,·float·y,·float·z)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·XYZ·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·XYZ·values.
14 The·CIE·1931·XYZ·color·space·consists·of·three·components·in·the·range15 The·CIE·1931·XYZ·color·space·consists·of·three·components·in·the·range
15 0..1.16 0..1.
16 The·Y·component·corresponds·to·luminance·and·the·X·and·Z·components17 The·Y·component·corresponds·to·luminance·and·the·X·and·Z·components
17 define·the·color.18 define·the·color.
584 B
./usr/share/man/man3/al_color_xyz_to_rgb.3alleg5.gz
482 B
al_color_xyz_to_rgb.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_xyz_to_rgb(float·x,·float·y,·float·z,10 void·al_color_xyz_to_rgb(float·x,·float·y,·float·z,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_xyz_to_rgb(float·x,·float·y,·float·z,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·XYZ·color·values·to·RGB·color·space.16 Convert·XYZ·color·values·to·RGB·color·space.
15 .SH·SINCE17 .SH·SINCE
16 5.2.318 5.2.3
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_color_xyz(3alleg5),·al_color_rgb_to_xyz(3alleg5)20 al_color_xyz(3alleg5),·al_color_rgb_to_xyz(3alleg5)
507 B
./usr/share/man/man3/al_color_yuv.3alleg5.gz
419 B
al_color_yuv.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_color_yuv·\-·Allegro·5·API5 al_color_yuv·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 ALLEGRO_COLOR·al_color_yuv(float·y,·float·u,·float·v)10 ALLEGRO_COLOR·al_color_yuv(float·y,·float·u,·float·v)
 11 ALLEGRO_COLOR·al_color_yuv(float·y,·float·u,·float·v)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·YUV·values.14 Return·an·ALLEGRO_COLOR(3alleg5)·structure·from·YUV·values.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_color_yuv_to_rgb(3alleg5),·al_color_rgb_to_yuv(3alleg5)16 al_color_yuv_to_rgb(3alleg5),·al_color_rgb_to_yuv(3alleg5)
566 B
./usr/share/man/man3/al_color_yuv_to_rgb.3alleg5.gz
464 B
al_color_yuv_to_rgb.3alleg5
    
Offset 6, 12 lines modifiedOffset 6, 14 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 void·al_color_yuv_to_rgb(float·y,·float·u,·float·v,10 void·al_color_yuv_to_rgb(float·y,·float·u,·float·v,
11 ····float·*red,·float·*green,·float·*blue)11 ····float·*red,·float·*green,·float·*blue)
 12 void·al_color_yuv_to_rgb(float·y,·float·u,·float·v,
 13 ····float·*red,·float·*green,·float·*blue)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Convert·YUV·color·values·to·RGB·color·space.16 Convert·YUV·color·values·to·RGB·color·space.
15 .SH·SEE·ALSO17 .SH·SEE·ALSO
16 al_color_yuv(3alleg5),·al_color_rgb_to_yuv(3alleg5)18 al_color_yuv(3alleg5),·al_color_rgb_to_yuv(3alleg5)
820 B
./usr/share/man/man3/al_create_audio_recorder.3alleg5.gz
708 B
al_create_audio_recorder.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_RECORDER·*al_create_audio_recorder(size_t·fragment_count,10 ALLEGRO_AUDIO_RECORDER·*al_create_audio_recorder(size_t·fragment_count,
11 ···unsigned·int·samples,·unsigned·int·frequency,11 ···unsigned·int·samples,·unsigned·int·frequency,
12 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)12 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
 13 ALLEGRO_AUDIO_RECORDER·*al_create_audio_recorder(size_t·fragment_count,
 14 ···unsigned·int·samples,·unsigned·int·frequency,
 15 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Creates·an·audio·recorder·using·the·system\[cq]s·default·recording18 Creates·an·audio·recorder·using·the·system\[cq]s·default·recording
16 device.19 device.
17 (So·if·the·returned·device·does·not·work,·try·updating·the·system\[cq]s20 (So·if·the·returned·device·does·not·work,·try·updating·the·system\[cq]s
18 default·recording·device.)21 default·recording·device.)
19 .PP22 .PP
797 B
./usr/share/man/man3/al_create_audio_stream.3alleg5.gz
689 B
al_create_audio_stream.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_STREAM·*al_create_audio_stream(size_t·fragment_count,10 ALLEGRO_AUDIO_STREAM·*al_create_audio_stream(size_t·fragment_count,
11 ···unsigned·int·frag_samples,·unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,11 ···unsigned·int·frag_samples,·unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,
12 ···ALLEGRO_CHANNEL_CONF·chan_conf)12 ···ALLEGRO_CHANNEL_CONF·chan_conf)
 13 ALLEGRO_AUDIO_STREAM·*al_create_audio_stream(size_t·fragment_count,
 14 ···unsigned·int·frag_samples,·unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,
 15 ···ALLEGRO_CHANNEL_CONF·chan_conf)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Creates·an·ALLEGRO_AUDIO_STREAM(3alleg5).18 Creates·an·ALLEGRO_AUDIO_STREAM(3alleg5).
16 The·stream·will·be·set·to·play·by·default.19 The·stream·will·be·set·to·play·by·default.
17 It·will·feed·audio·data·from·a·buffer,·which·is·split·into·a·number·of20 It·will·feed·audio·data·from·a·buffer,·which·is·split·into·a·number·of
18 fragments.21 fragments.
19 .PP22 .PP
660 B
./usr/share/man/man3/al_create_builtin_font.3alleg5.gz
552 B
al_create_builtin_font.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_create_builtin_font·\-·Allegro·5·API5 al_create_builtin_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 ALLEGRO_FONT·*al_create_builtin_font(void)10 ALLEGRO_FONT·*al_create_builtin_font(void)
 11 ALLEGRO_FONT·*al_create_builtin_font(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Creates·a·monochrome·bitmap·font·(8x8·pixels·per·character).14 Creates·a·monochrome·bitmap·font·(8x8·pixels·per·character).
14 .PP15 .PP
15 This·font·is·primarily·intended·to·be·used·for·displaying·information·in16 This·font·is·primarily·intended·to·be·used·for·displaying·information·in
16 environments·or·during·early·runtime·states·where·no·external·font·data17 environments·or·during·early·runtime·states·where·no·external·font·data
17 is·available·or·loaded·(e.g.\·for·debugging).18 is·available·or·loaded·(e.g.\·for·debugging).
660 B
./usr/share/man/man3/al_create_index_buffer.3alleg5.gz
552 B
al_create_index_buffer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 ALLEGRO_INDEX_BUFFER*·al_create_index_buffer(int·index_size,10 ALLEGRO_INDEX_BUFFER*·al_create_index_buffer(int·index_size,
11 ····const·void*·initial_data,·int·num_indices,·int·flags)11 ····const·void*·initial_data,·int·num_indices,·int·flags)
 12 ALLEGRO_INDEX_BUFFER*·al_create_index_buffer(int·index_size,
 13 ····const·void*·initial_data,·int·num_indices,·int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Creates·a·index·buffer.16 Creates·a·index·buffer.
15 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system17 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system
16 only·supports·write\-only·buffers).18 only·supports·write\-only·buffers).
17 .RS19 .RS
18 .PP20 .PP
464 B
./usr/share/man/man3/al_create_menu.3alleg5.gz
372 B
al_create_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_create_menu·\-·Allegro·5·API5 al_create_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_create_menu(void)10 ALLEGRO_MENU·*al_create_menu(void)
 11 ALLEGRO_MENU·*al_create_menu(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Creates·a·menu·container·that·can·hold·menu·items.14 Creates·a·menu·container·that·can·hold·menu·items.
14 .PP15 .PP
15 Returns·\f[CR]NULL\f[R]·on·failure.16 Returns·\f[CR]NULL\f[R]·on·failure.
16 .SH·SINCE17 .SH·SINCE
17 5.1.018 5.1.0
639 B
./usr/share/man/man3/al_create_mixer.3alleg5.gz
545 B
al_create_mixer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_MIXER·*al_create_mixer(unsigned·int·freq,10 ALLEGRO_MIXER·*al_create_mixer(unsigned·int·freq,
11 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)11 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
 12 ALLEGRO_MIXER·*al_create_mixer(unsigned·int·freq,
 13 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Creates·a·mixer·to·attach·sample·instances,·audio·streams,·or·other16 Creates·a·mixer·to·attach·sample·instances,·audio·streams,·or·other
15 mixers·to.17 mixers·to.
16 It·will·mix·into·a·buffer·at·the·requested·frequency·(in·Hz)·and·channel18 It·will·mix·into·a·buffer·at·the·requested·frequency·(in·Hz)·and·channel
17 count.19 count.
18 .PP20 .PP
691 B
./usr/share/man/man3/al_create_native_file_dialog.3alleg5.gz
571 B
al_create_native_file_dialog.3alleg5
    
Offset 9, 14 lines modifiedOffset 9, 19 lines modified
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(10 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(
11 ···char·const·*initial_path,11 ···char·const·*initial_path,
12 ···char·const·*title,12 ···char·const·*title,
13 ···char·const·*patterns,13 ···char·const·*patterns,
14 ···int·mode)14 ···int·mode)
 15 ALLEGRO_FILECHOOSER·*al_create_native_file_dialog(
 16 ···char·const·*initial_path,
 17 ···char·const·*title,
 18 ···char·const·*patterns,
 19 ···int·mode)
15 .EE20 .EE
16 .SH·DESCRIPTION21 .SH·DESCRIPTION
17 Creates·a·new·native·file·dialog.22 Creates·a·new·native·file·dialog.
18 You·should·only·have·one·such·dialog·opened·at·a·time.23 You·should·only·have·one·such·dialog·opened·at·a·time.
19 .PP24 .PP
20 Parameters:25 Parameters:
21 .IP·\[bu]·226 .IP·\[bu]·2
618 B
./usr/share/man/man3/al_create_popup_menu.3alleg5.gz
514 B
al_create_popup_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_create_popup_menu·\-·Allegro·5·API5 al_create_popup_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_create_popup_menu(void)10 ALLEGRO_MENU·*al_create_popup_menu(void)
 11 ALLEGRO_MENU·*al_create_popup_menu(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Creates·a·menu·container·for·popup·menus.14 Creates·a·menu·container·for·popup·menus.
14 Only·the·root·(outermost)·menu·should·be·created·with·this·function.15 Only·the·root·(outermost)·menu·should·be·created·with·this·function.
15 Sub·menus·of·popups·should·be·created·with·al_create_menu(3alleg5).16 Sub·menus·of·popups·should·be·created·with·al_create_menu(3alleg5).
16 .PP17 .PP
17 Returns·\f[CR]NULL\f[R]·on·failure.18 Returns·\f[CR]NULL\f[R]·on·failure.
860 B
./usr/share/man/man3/al_create_sample.3alleg5.gz
764 B
al_create_sample.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_SAMPLE·*al_create_sample(void·*buf,·unsigned·int·samples,10 ALLEGRO_SAMPLE·*al_create_sample(void·*buf,·unsigned·int·samples,
11 ···unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,11 ···unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,
12 ···ALLEGRO_CHANNEL_CONF·chan_conf,·bool·free_buf)12 ···ALLEGRO_CHANNEL_CONF·chan_conf,·bool·free_buf)
 13 ALLEGRO_SAMPLE·*al_create_sample(void·*buf,·unsigned·int·samples,
 14 ···unsigned·int·freq,·ALLEGRO_AUDIO_DEPTH·depth,
 15 ···ALLEGRO_CHANNEL_CONF·chan_conf,·bool·free_buf)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Create·a·sample·data·structure·from·the·supplied·buffer.18 Create·a·sample·data·structure·from·the·supplied·buffer.
16 If·\f[CR]free_buf\f[R]·is·true·then·the·buffer·will·be·freed·with19 If·\f[CR]free_buf\f[R]·is·true·then·the·buffer·will·be·freed·with
17 al_free(3alleg5)·when·the·sample·data·structure·is·destroyed.20 al_free(3alleg5)·when·the·sample·data·structure·is·destroyed.
18 For·portability·(especially·Windows),·the·buffer·should·have·been21 For·portability·(especially·Windows),·the·buffer·should·have·been
19 allocated·with·al_malloc(3alleg5).22 allocated·with·al_malloc(3alleg5).
672 B
./usr/share/man/man3/al_create_sample_instance.3alleg5.gz
558 B
al_create_sample_instance.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_create_sample_instance·\-·Allegro·5·API5 al_create_sample_instance·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_SAMPLE_INSTANCE·*al_create_sample_instance(ALLEGRO_SAMPLE·*sample_data)10 ALLEGRO_SAMPLE_INSTANCE·*al_create_sample_instance(ALLEGRO_SAMPLE·*sample_data)
 11 ALLEGRO_SAMPLE_INSTANCE·*al_create_sample_instance(ALLEGRO_SAMPLE·*sample_data)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Creates·a·sample·instance,·using·the·supplied·sample·data.14 Creates·a·sample·instance,·using·the·supplied·sample·data.
14 The·instance·must·be·attached·to·a·mixer·(or·voice)·in·order·to·actually15 The·instance·must·be·attached·to·a·mixer·(or·voice)·in·order·to·actually
15 produce·output.16 produce·output.
16 .PP17 .PP
17 The·argument·may·be·NULL.18 The·argument·may·be·NULL.
691 B
./usr/share/man/man3/al_create_vertex_buffer.3alleg5.gz
581 B
al_create_vertex_buffer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 ALLEGRO_VERTEX_BUFFER*·al_create_vertex_buffer(ALLEGRO_VERTEX_DECL*·decl,10 ALLEGRO_VERTEX_BUFFER*·al_create_vertex_buffer(ALLEGRO_VERTEX_DECL*·decl,
11 ···const·void*·initial_data,·int·num_vertices,·int·flags)11 ···const·void*·initial_data,·int·num_vertices,·int·flags)
 12 ALLEGRO_VERTEX_BUFFER*·al_create_vertex_buffer(ALLEGRO_VERTEX_DECL*·decl,
 13 ···const·void*·initial_data,·int·num_vertices,·int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Creates·a·vertex·buffer.16 Creates·a·vertex·buffer.
15 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system17 Can·return·NULL·if·the·buffer·could·not·be·created·(e.g.\·the·system
16 only·supports·write\-only·buffers).18 only·supports·write\-only·buffers).
17 .RS19 .RS
18 .PP20 .PP
685 B
./usr/share/man/man3/al_create_vertex_decl.3alleg5.gz
579 B
al_create_vertex_decl.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_create_vertex_decl·\-·Allegro·5·API5 al_create_vertex_decl·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 ALLEGRO_VERTEX_DECL*·al_create_vertex_decl(const·ALLEGRO_VERTEX_ELEMENT*·elements,·int·stride)10 ALLEGRO_VERTEX_DECL*·al_create_vertex_decl(const·ALLEGRO_VERTEX_ELEMENT*·elements,·int·stride)
 11 ALLEGRO_VERTEX_DECL*·al_create_vertex_decl(const·ALLEGRO_VERTEX_ELEMENT*·elements,·int·stride)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Creates·a·vertex·declaration,·which·describes·a·custom·vertex·format.14 Creates·a·vertex·declaration,·which·describes·a·custom·vertex·format.
14 .PP15 .PP
15 \f[I]Parameters:\f[R]16 \f[I]Parameters:\f[R]
16 .IP·\[bu]·217 .IP·\[bu]·2
17 elements·\-·An·array·of·ALLEGRO_VERTEX_ELEMENT(3alleg5)·structures.18 elements·\-·An·array·of·ALLEGRO_VERTEX_ELEMENT(3alleg5)·structures.
758 B
./usr/share/man/man3/al_create_voice.3alleg5.gz
664 B
al_create_voice.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_VOICE·*al_create_voice(unsigned·int·freq,10 ALLEGRO_VOICE·*al_create_voice(unsigned·int·freq,
11 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)11 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
 12 ALLEGRO_VOICE·*al_create_voice(unsigned·int·freq,
 13 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Creates·a·voice·structure·and·allocates·a·voice·from·the·digital·sound16 Creates·a·voice·structure·and·allocates·a·voice·from·the·digital·sound
15 driver.17 driver.
16 The·passed·frequency·(in·Hz),·sample·format·and·channel·configuration18 The·passed·frequency·(in·Hz),·sample·format·and·channel·configuration
17 are·used·as·a·hint·to·what·kind·of·data·will·be·sent·to·the·voice.19 are·used·as·a·hint·to·what·kind·of·data·will·be·sent·to·the·voice.
18 However,·the·underlying·sound·driver·is·free·to·use·non\-matching20 However,·the·underlying·sound·driver·is·free·to·use·non\-matching
710 B
./usr/share/man/man3/al_destroy_audio_recorder.3alleg5.gz
596 B
al_destroy_audio_recorder.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_audio_recorder·\-·Allegro·5·API5 al_destroy_audio_recorder·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)10 void·al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
 11 void·al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·the·audio·recorder·and·frees·all·resources·associated·with·it.14 Destroys·the·audio·recorder·and·frees·all·resources·associated·with·it.
14 It·is·safe·to·destroy·a·recorder·that·is·recording.15 It·is·safe·to·destroy·a·recorder·that·is·recording.
15 .PP16 .PP
16 You·may·receive·events·after·the·recorder·has·been·destroyed.17 You·may·receive·events·after·the·recorder·has·been·destroyed.
17 They·must·be·ignored,·as·the·fragment·buffer·will·no·longer·be·valid.18 They·must·be·ignored,·as·the·fragment·buffer·will·no·longer·be·valid.
632 B
./usr/share/man/man3/al_destroy_audio_stream.3alleg5.gz
522 B
al_destroy_audio_stream.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_audio_stream·\-·Allegro·5·API5 al_destroy_audio_stream·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)10 void·al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
 11 void·al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroy·an·audio·stream·which·was·created·with14 Destroy·an·audio·stream·which·was·created·with
14 al_create_audio_stream(3alleg5)·or·al_load_audio_stream(3alleg5).15 al_create_audio_stream(3alleg5)·or·al_load_audio_stream(3alleg5).
15 .RS16 .RS
16 .PP17 .PP
17 \f[I]Note:\f[R]·If·the·stream·is·still·attached·to·a·mixer·or·voice,18 \f[I]Note:\f[R]·If·the·stream·is·still·attached·to·a·mixer·or·voice,
471 B
./usr/share/man/man3/al_destroy_font.3alleg5.gz
377 B
al_destroy_font.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_destroy_font·\-·Allegro·5·API5 al_destroy_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_destroy_font(ALLEGRO_FONT·*f)10 void·al_destroy_font(ALLEGRO_FONT·*f)
 11 void·al_destroy_font(ALLEGRO_FONT·*f)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Frees·the·memory·being·used·by·a·font·structure.14 Frees·the·memory·being·used·by·a·font·structure.
14 Does·nothing·if·passed·NULL.15 Does·nothing·if·passed·NULL.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_load_font(3alleg5)17 al_load_font(3alleg5)
530 B
./usr/share/man/man3/al_destroy_index_buffer.3alleg5.gz
420 B
al_destroy_index_buffer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_index_buffer·\-·Allegro·5·API5 al_destroy_index_buffer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)10 void·al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)
 11 void·al_destroy_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·a·index·buffer.14 Destroys·a·index·buffer.
14 Does·nothing·if·passed·NULL.15 Does·nothing·if·passed·NULL.
15 .SH·SINCE16 .SH·SINCE
16 5.1.817 5.1.8
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
567 B
./usr/share/man/man3/al_destroy_menu.3alleg5.gz
473 B
al_destroy_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_menu·\-·Allegro·5·API5 al_destroy_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_destroy_menu(ALLEGRO_MENU·*menu)10 void·al_destroy_menu(ALLEGRO_MENU·*menu)
 11 void·al_destroy_menu(ALLEGRO_MENU·*menu)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·an·entire·menu,·including·its·sub\-menus.14 Destroys·an·entire·menu,·including·its·sub\-menus.
14 Any·references·to·it·or·a·sub\-menu·are·no·longer·valid.15 Any·references·to·it·or·a·sub\-menu·are·no·longer·valid.
15 It·is·safe·to·call·this·on·a·menu·that·is·currently·being·displayed.16 It·is·safe·to·call·this·on·a·menu·that·is·currently·being·displayed.
16 .SH·SINCE17 .SH·SINCE
17 5.1.018 5.1.0
433 B
./usr/share/man/man3/al_destroy_mixer.3alleg5.gz
337 B
al_destroy_mixer.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_destroy_mixer·\-·Allegro·5·API5 al_destroy_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_destroy_mixer(ALLEGRO_MIXER·*mixer)10 void·al_destroy_mixer(ALLEGRO_MIXER·*mixer)
 11 void·al_destroy_mixer(ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·the·mixer.14 Destroys·the·mixer.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_create_mixer(3alleg5)16 al_create_mixer(3alleg5)
534 B
./usr/share/man/man3/al_destroy_native_file_dialog.3alleg5.gz
412 B
al_destroy_native_file_dialog.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 al_destroy_native_file_dialog·\-·Allegro·5·API5 al_destroy_native_file_dialog·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)10 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)
 11 void·al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER·*dialog)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Frees·up·all·resources·used·by·the·file·dialog.14 Frees·up·all·resources·used·by·the·file·dialog.
611 B
./usr/share/man/man3/al_destroy_sample.3alleg5.gz
513 B
al_destroy_sample.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_sample·\-·Allegro·5·API5 al_destroy_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_destroy_sample(ALLEGRO_SAMPLE·*spl)10 void·al_destroy_sample(ALLEGRO_SAMPLE·*spl)
 11 void·al_destroy_sample(ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Free·the·sample·data·structure.14 Free·the·sample·data·structure.
14 If·it·was·created·with·the·\f[CR]free_buf\f[R]·parameter·set·to·true,15 If·it·was·created·with·the·\f[CR]free_buf\f[R]·parameter·set·to·true,
15 then·the·buffer·will·be·freed·with·al_free(3alleg5).16 then·the·buffer·will·be·freed·with·al_free(3alleg5).
16 .PP17 .PP
17 This·function·will·stop·any·sample·instances·which·may·be·playing·the18 This·function·will·stop·any·sample·instances·which·may·be·playing·the
659 B
./usr/share/man/man3/al_destroy_sample_instance.3alleg5.gz
543 B
al_destroy_sample_instance.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_sample_instance·\-·Allegro·5·API5 al_destroy_sample_instance·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)10 void·al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 void·al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Detaches·the·sample·instance·from·anything·it·may·be·attached·to·and14 Detaches·the·sample·instance·from·anything·it·may·be·attached·to·and
14 frees·it·(the·sample·data,·i.e.\·its·ALLEGRO_SAMPLE,·is·\f[I]not\f[R]15 frees·it·(the·sample·data,·i.e.\·its·ALLEGRO_SAMPLE,·is·\f[I]not\f[R]
15 freed!).16 freed!).
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_create_sample_instance(3alleg5)18 al_create_sample_instance(3alleg5)
540 B
./usr/share/man/man3/al_destroy_vertex_buffer.3alleg5.gz
428 B
al_destroy_vertex_buffer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_vertex_buffer·\-·Allegro·5·API5 al_destroy_vertex_buffer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)10 void·al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)
 11 void·al_destroy_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·a·vertex·buffer.14 Destroys·a·vertex·buffer.
14 Does·nothing·if·passed·NULL.15 Does·nothing·if·passed·NULL.
15 .SH·SINCE16 .SH·SINCE
16 5.1.317 5.1.3
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
541 B
./usr/share/man/man3/al_destroy_vertex_decl.3alleg5.gz
433 B
al_destroy_vertex_decl.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_destroy_vertex_decl·\-·Allegro·5·API5 al_destroy_vertex_decl·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL*·decl)10 void·al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL*·decl)
 11 void·al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL*·decl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·a·vertex·declaration.14 Destroys·a·vertex·declaration.
14 .PP15 .PP
15 \f[I]Parameters:\f[R]16 \f[I]Parameters:\f[R]
16 .IP·\[bu]·217 .IP·\[bu]·2
17 decl·\-·Vertex·declaration·to·destroy18 decl·\-·Vertex·declaration·to·destroy
512 B
./usr/share/man/man3/al_destroy_voice.3alleg5.gz
416 B
al_destroy_voice.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_destroy_voice·\-·Allegro·5·API5 al_destroy_voice·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_destroy_voice(ALLEGRO_VOICE·*voice)10 void·al_destroy_voice(ALLEGRO_VOICE·*voice)
 11 void·al_destroy_voice(ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Destroys·the·voice·and·deallocates·it·from·the·digital·driver.14 Destroys·the·voice·and·deallocates·it·from·the·digital·driver.
14 Does·nothing·if·the·voice·is·NULL.15 Does·nothing·if·the·voice·is·NULL.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_create_voice(3alleg5)17 al_create_voice(3alleg5)
638 B
./usr/share/man/man3/al_detach_audio_stream.3alleg5.gz
530 B
al_detach_audio_stream.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_detach_audio_stream·\-·Allegro·5·API5 al_detach_audio_stream·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_detach_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)10 bool·al_detach_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
 11 bool·al_detach_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Detach·the·stream·from·whatever·it\[cq]s·attached·to,·if·anything.14 Detach·the·stream·from·whatever·it\[cq]s·attached·to,·if·anything.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_attach_audio_stream_to_mixer(3alleg5),16 al_attach_audio_stream_to_mixer(3alleg5),
16 al_attach_audio_stream_to_voice(3alleg5),17 al_attach_audio_stream_to_voice(3alleg5),
17 al_get_audio_stream_attached(3alleg5).18 al_get_audio_stream_attached(3alleg5).
479 B
./usr/share/man/man3/al_detach_mixer.3alleg5.gz
385 B
al_detach_mixer.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_detach_mixer·\-·Allegro·5·API5 al_detach_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_detach_mixer(ALLEGRO_MIXER·*mixer)10 bool·al_detach_mixer(ALLEGRO_MIXER·*mixer)
 11 bool·al_detach_mixer(ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Detach·the·mixer·from·whatever·it·is·attached·to,·if·anything.14 Detach·the·mixer·from·whatever·it·is·attached·to,·if·anything.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_attach_mixer_to_mixer(3alleg5).16 al_attach_mixer_to_mixer(3alleg5).
574 B
./usr/share/man/man3/al_detach_sample_instance.3alleg5.gz
460 B
al_detach_sample_instance.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_detach_sample_instance·\-·Allegro·5·API5 al_detach_sample_instance·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)10 bool·al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 bool·al_detach_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Detach·the·sample·instance·from·whatever·it\[cq]s·attached·to,·if14 Detach·the·sample·instance·from·whatever·it\[cq]s·attached·to,·if
14 anything.15 anything.
15 .PP16 .PP
16 Returns·true·on·success.17 Returns·true·on·success.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
572 B
./usr/share/man/man3/al_detach_voice.3alleg5.gz
478 B
al_detach_voice.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_detach_voice·\-·Allegro·5·API5 al_detach_voice·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_detach_voice(ALLEGRO_VOICE·*voice)10 void·al_detach_voice(ALLEGRO_VOICE·*voice)
 11 void·al_detach_voice(ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Detaches·the·mixer,·sample·instance·or·audio·stream·from·the·voice.14 Detaches·the·mixer,·sample·instance·or·audio·stream·from·the·voice.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_attach_mixer_to_voice(3alleg5),16 al_attach_mixer_to_voice(3alleg5),
16 al_attach_sample_instance_to_voice(3alleg5),17 al_attach_sample_instance_to_voice(3alleg5),
17 al_attach_audio_stream_to_voice(3alleg5)18 al_attach_audio_stream_to_voice(3alleg5)
583 B
./usr/share/man/man3/al_disable_menu_event_source.3alleg5.gz
463 B
al_disable_menu_event_source.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_disable_menu_event_source·\-·Allegro·5·API5 al_disable_menu_event_source·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_disable_menu_event_source(ALLEGRO_MENU·*menu)10 void·al_disable_menu_event_source(ALLEGRO_MENU·*menu)
 11 void·al_disable_menu_event_source(ALLEGRO_MENU·*menu)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Disables·a·unique·event·source·for·the·menu,·causing·it·to·use·the14 Disables·a·unique·event·source·for·the·menu,·causing·it·to·use·the
14 default·event·source.15 default·event·source.
15 .SH·SINCE16 .SH·SINCE
16 5.1.017 5.1.0
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
896 B
./usr/share/man/man3/al_do_multiline_text.3alleg5.gz
792 B
al_do_multiline_text.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 18 lines modified
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_do_multiline_text(const·ALLEGRO_FONT·*font,10 void·al_do_multiline_text(const·ALLEGRO_FONT·*font,
11 ···float·max_width,·const·char·*text,11 ···float·max_width,·const·char·*text,
12 ···bool·(*cb)(int·line_num,·const·char·*line,·int·size,·void·*extra),12 ···bool·(*cb)(int·line_num,·const·char·*line,·int·size,·void·*extra),
13 ···void·*extra)13 ···void·*extra)
 14 void·al_do_multiline_text(const·ALLEGRO_FONT·*font,
 15 ···float·max_width,·const·char·*text,
 16 ···bool·(*cb)(int·line_num,·const·char·*line,·int·size,·void·*extra),
 17 ···void·*extra)
14 .EE18 .EE
15 .SH·DESCRIPTION19 .SH·DESCRIPTION
16 This·function·processes·the·\f[CR]text\f[R]·and·splits·it·into·lines·as20 This·function·processes·the·\f[CR]text\f[R]·and·splits·it·into·lines·as
17 al_draw_multiline_text(3alleg5)·would,·and·then·calls·the·callback21 al_draw_multiline_text(3alleg5)·would,·and·then·calls·the·callback
18 \f[CR]cb\f[R]·once·for·every·line.22 \f[CR]cb\f[R]·once·for·every·line.
19 This·is·useful·for·custom·drawing·of·multiline·text,·or·for·calculating23 This·is·useful·for·custom·drawing·of·multiline·text,·or·for·calculating
20 the·size·of·multiline·text·ahead·of·time.24 the·size·of·multiline·text·ahead·of·time.
760 B
./usr/share/man/man3/al_do_multiline_ustr.3alleg5.gz
656 B
al_do_multiline_ustr.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 18 lines modified
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_do_multiline_ustr(const·ALLEGRO_FONT·*font,·float·max_width,10 void·al_do_multiline_ustr(const·ALLEGRO_FONT·*font,·float·max_width,
11 ···const·ALLEGRO_USTR·*ustr,11 ···const·ALLEGRO_USTR·*ustr,
12 ···bool·(*cb)(int·line_num,·const·ALLEGRO_USTR·*·line,·void·*extra),12 ···bool·(*cb)(int·line_num,·const·ALLEGRO_USTR·*·line,·void·*extra),
13 ···void·*extra)13 ···void·*extra)
 14 void·al_do_multiline_ustr(const·ALLEGRO_FONT·*font,·float·max_width,
 15 ···const·ALLEGRO_USTR·*ustr,
 16 ···bool·(*cb)(int·line_num,·const·ALLEGRO_USTR·*·line,·void·*extra),
 17 ···void·*extra)
14 .EE18 .EE
15 .SH·DESCRIPTION19 .SH·DESCRIPTION
16 Like·al_do_multiline_text(3alleg5),·but·using·ALLEGRO_USTR·instead·of·a20 Like·al_do_multiline_text(3alleg5),·but·using·ALLEGRO_USTR·instead·of·a
17 NUL\-terminated·char·array·for·text.21 NUL\-terminated·char·array·for·text.
18 .SH·SINCE22 .SH·SINCE
19 5.1.923 5.1.9
20 .SH·SEE·ALSO24 .SH·SEE·ALSO
663 B
./usr/share/man/man3/al_drain_audio_stream.3alleg5.gz
557 B
al_drain_audio_stream.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_drain_audio_stream·\-·Allegro·5·API5 al_drain_audio_stream·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_drain_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)10 void·al_drain_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
 11 void·al_drain_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 You·should·call·this·to·finalise·an·audio·stream·that·you·will·no·longer14 You·should·call·this·to·finalise·an·audio·stream·that·you·will·no·longer
14 be·feeding,·to·wait·for·all·pending·buffers·to·finish·playing.15 be·feeding,·to·wait·for·all·pending·buffers·to·finish·playing.
15 The·stream\[cq]s·playing·state·will·change·to·false.16 The·stream\[cq]s·playing·state·will·change·to·false.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_destroy_audio_stream(3alleg5)18 al_destroy_audio_stream(3alleg5)
571 B
./usr/share/man/man3/al_draw_arc.3alleg5.gz
485 B
al_draw_arc.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_arc(float·cx,·float·cy,·float·r,·float·start_theta,10 void·al_draw_arc(float·cx,·float·cy,·float·r,·float·start_theta,
11 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)11 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_arc(float·cx,·float·cy,·float·r,·float·start_theta,
 13 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·arc.16 Draws·an·arc.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·arc20 cx,·cy·\-·Center·of·the·arc
528 B
./usr/share/man/man3/al_draw_circle.3alleg5.gz
436 B
al_draw_circle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color,10 void·al_draw_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color,
11 ···float·thickness)11 ···float·thickness)
 12 void·al_draw_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color,
 13 ···float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·outlined·circle.16 Draws·an·outlined·circle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·circle20 cx,·cy·\-·Center·of·the·circle
558 B
./usr/share/man/man3/al_draw_ellipse.3alleg5.gz
464 B
al_draw_ellipse.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_ellipse(float·cx,·float·cy,·float·rx,·float·ry,10 void·al_draw_ellipse(float·cx,·float·cy,·float·rx,·float·ry,
11 ···ALLEGRO_COLOR·color,·float·thickness)11 ···ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_ellipse(float·cx,·float·cy,·float·rx,·float·ry,
 13 ···ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·outlined·ellipse.16 Draws·an·outlined·ellipse.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·ellipse20 cx,·cy·\-·Center·of·the·ellipse
670 B
./usr/share/man/man3/al_draw_elliptical_arc.3alleg5.gz
562 B
al_draw_elliptical_arc.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_elliptical_arc(float·cx,·float·cy,·float·rx,·float·ry,·float·start_theta,10 void·al_draw_elliptical_arc(float·cx,·float·cy,·float·rx,·float·ry,·float·start_theta,
11 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)11 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_elliptical_arc(float·cx,·float·cy,·float·rx,·float·ry,·float·start_theta,
 13 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·elliptical·arc.16 Draws·an·elliptical·arc.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·arc20 cx,·cy·\-·Center·of·the·arc
565 B
./usr/share/man/man3/al_draw_filled_circle.3alleg5.gz
459 B
al_draw_filled_circle.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_draw_filled_circle·\-·Allegro·5·API5 al_draw_filled_circle·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color)10 void·al_draw_filled_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color)
 11 void·al_draw_filled_circle(float·cx,·float·cy,·float·r,·ALLEGRO_COLOR·color)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Draws·a·filled·circle.14 Draws·a·filled·circle.
14 .PP15 .PP
15 \f[I]Parameters:\f[R]16 \f[I]Parameters:\f[R]
16 .IP·\[bu]·217 .IP·\[bu]·2
17 cx,·cy·\-·Center·of·the·circle18 cx,·cy·\-·Center·of·the·circle
563 B
./usr/share/man/man3/al_draw_filled_ellipse.3alleg5.gz
455 B
al_draw_filled_ellipse.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_ellipse(float·cx,·float·cy,·float·rx,·float·ry,10 void·al_draw_filled_ellipse(float·cx,·float·cy,·float·rx,·float·ry,
11 ···ALLEGRO_COLOR·color)11 ···ALLEGRO_COLOR·color)
 12 void·al_draw_filled_ellipse(float·cx,·float·cy,·float·rx,·float·ry,
 13 ···ALLEGRO_COLOR·color)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·filled·ellipse.16 Draws·a·filled·ellipse.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·ellipse20 cx,·cy·\-·Center·of·the·ellipse
650 B
./usr/share/man/man3/al_draw_filled_pieslice.3alleg5.gz
540 B
al_draw_filled_pieslice.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,10 void·al_draw_filled_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,
11 ···float·delta_theta,·ALLEGRO_COLOR·color)11 ···float·delta_theta,·ALLEGRO_COLOR·color)
 12 void·al_draw_filled_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,
 13 ···float·delta_theta,·ALLEGRO_COLOR·color)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·filled·pieslice·(filled·circular·sector).16 Draws·a·filled·pieslice·(filled·circular·sector).
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·pieslice20 cx,·cy·\-·Center·of·the·pieslice
559 B
./usr/share/man/man3/al_draw_filled_polygon.3alleg5.gz
451 B
al_draw_filled_polygon.3alleg5
    
Offset 4, 14 lines modifiedOffset 4, 15 lines modified
4 .SH·NAME4 .SH·NAME
5 al_draw_filled_polygon·\-·Allegro·5·API5 al_draw_filled_polygon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
 10 ···ALLEGRO_COLOR·color)
10 void·al_draw_filled_polygon(const·float·*vertices,·int·vertex_count,11 void·al_draw_filled_polygon(const·float·*vertices,·int·vertex_count,
11 ···ALLEGRO_COLOR·color)12 ···ALLEGRO_COLOR·color)
12 .EE13 .EE
13 .SH·DESCRIPTION14 .SH·DESCRIPTION
14 Draw·a·filled,·simple·polygon.15 Draw·a·filled,·simple·polygon.
15 Simple·means·it·does·not·have·to·be·convex·but·must·not·be16 Simple·means·it·does·not·have·to·be·convex·but·must·not·be
16 self\-overlapping.17 self\-overlapping.
744 B
./usr/share/man/man3/al_draw_filled_polygon_with_holes.3alleg5.gz
614 B
al_draw_filled_polygon_with_holes.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_polygon_with_holes(const·float·*vertices,10 void·al_draw_filled_polygon_with_holes(const·float·*vertices,
11 ···const·int·*vertex_counts,·ALLEGRO_COLOR·color)11 ···const·int·*vertex_counts,·ALLEGRO_COLOR·color)
 12 void·al_draw_filled_polygon_with_holes(const·float·*vertices,
 13 ···const·int·*vertex_counts,·ALLEGRO_COLOR·color)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·filled·simple·polygon·with·zero·or·more·other·simple·polygons16 Draws·a·filled·simple·polygon·with·zero·or·more·other·simple·polygons
15 subtracted·from·it·\-·the·holes.17 subtracted·from·it·\-·the·holes.
16 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·filled18 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·filled
17 polygon.19 polygon.
18 .IP·\[bu]·220 .IP·\[bu]·2
614 B
./usr/share/man/man3/al_draw_filled_rectangle.3alleg5.gz
502 B
al_draw_filled_rectangle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
11 ···ALLEGRO_COLOR·color)11 ···ALLEGRO_COLOR·color)
 12 void·al_draw_filled_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···ALLEGRO_COLOR·color)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·filled·rectangle.16 Draws·a·filled·rectangle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle20 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle
711 B
./usr/share/man/man3/al_draw_filled_rounded_rectangle.3alleg5.gz
583 B
al_draw_filled_rounded_rectangle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_filled_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
11 ···float·rx,·float·ry,·ALLEGRO_COLOR·color)11 ···float·rx,·float·ry,·ALLEGRO_COLOR·color)
 12 void·al_draw_filled_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···float·rx,·float·ry,·ALLEGRO_COLOR·color)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·filled·rounded·rectangle.16 Draws·an·filled·rounded·rectangle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle20 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle
633 B
./usr/share/man/man3/al_draw_filled_triangle.3alleg5.gz
523 B
al_draw_filled_triangle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,
11 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)11 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)
 12 void·al_draw_filled_triangle(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···float·x3,·float·y3,·ALLEGRO_COLOR·color)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·filled·triangle.16 Draws·a·filled·triangle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2,·x3,·y3·\-·Three·points·of·the·triangle20 x1,·y1,·x2,·y2,·x3,·y3·\-·Three·points·of·the·triangle
708 B
./usr/share/man/man3/al_draw_glyph.3alleg5.gz
618 B
al_draw_glyph.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_glyph(const·ALLEGRO_FONT·*f,·ALLEGRO_COLOR·color,·float·x,·float·y,10 void·al_draw_glyph(const·ALLEGRO_FONT·*f,·ALLEGRO_COLOR·color,·float·x,·float·y,
11 ···int·codepoint)11 ···int·codepoint)
 12 void·al_draw_glyph(const·ALLEGRO_FONT·*f,·ALLEGRO_COLOR·color,·float·x,·float·y,
 13 ···int·codepoint)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·the·glyph·that·corresponds·with·\f[CR]codepoint\f[R]·in·the·given16 Draws·the·glyph·that·corresponds·with·\f[CR]codepoint\f[R]·in·the·given
15 \f[CR]color\f[R]·using·the·given·\f[CR]font\f[R].17 \f[CR]color\f[R]·using·the·given·\f[CR]font\f[R].
16 If·\f[CR]font\f[R]·does·not·have·such·a·glyph,·nothing·will·be·drawn.18 If·\f[CR]font\f[R]·does·not·have·such·a·glyph,·nothing·will·be·drawn.
17 .PP19 .PP
18 To·draw·a·string·as·left·to·right·horizontal·text·you·will·need·to·use20 To·draw·a·string·as·left·to·right·horizontal·text·you·will·need·to·use
887 B
./usr/share/man/man3/al_draw_indexed_buffer.3alleg5.gz
779 B
al_draw_indexed_buffer.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 int·al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,10 int·al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,
11 ···ALLEGRO_BITMAP*·texture,·ALLEGRO_INDEX_BUFFER*·index_buffer,11 ···ALLEGRO_BITMAP*·texture,·ALLEGRO_INDEX_BUFFER*·index_buffer,
12 ···int·start,·int·end,·int·type)12 ···int·start,·int·end,·int·type)
 13 int·al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,
 14 ···ALLEGRO_BITMAP*·texture,·ALLEGRO_INDEX_BUFFER*·index_buffer,
 15 ···int·start,·int·end,·int·type)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Draws·a·subset·of·the·passed·vertex·buffer.18 Draws·a·subset·of·the·passed·vertex·buffer.
16 This·function·uses·an·index·buffer·to·specify·which·vertices·to·use.19 This·function·uses·an·index·buffer·to·specify·which·vertices·to·use.
17 Both·buffers·must·not·be·locked.20 Both·buffers·must·not·be·locked.
18 Additionally,·to·draw·onto·memory·bitmaps·or·with·memory·bitmap·textures21 Additionally,·to·draw·onto·memory·bitmaps·or·with·memory·bitmap·textures
19 both·buffers·must·support·reading·(i.e.\·they·must·be·created·with·the22 both·buffers·must·support·reading·(i.e.\·they·must·be·created·with·the
720 B
./usr/share/man/man3/al_draw_indexed_prim.3alleg5.gz
616 B
al_draw_indexed_prim.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 int·al_draw_indexed_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,10 int·al_draw_indexed_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,
11 ···ALLEGRO_BITMAP*·texture,·const·int*·indices,·int·num_vtx,·int·type)11 ···ALLEGRO_BITMAP*·texture,·const·int*·indices,·int·num_vtx,·int·type)
 12 int·al_draw_indexed_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,
 13 ···ALLEGRO_BITMAP*·texture,·const·int*·indices,·int·num_vtx,·int·type)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·subset·of·the·passed·vertex·array.16 Draws·a·subset·of·the·passed·vertex·array.
15 This·function·uses·an·index·array·to·specify·which·vertices·to·use.17 This·function·uses·an·index·array·to·specify·which·vertices·to·use.
16 .PP18 .PP
17 \f[I]Parameters:\f[R]19 \f[I]Parameters:\f[R]
18 .IP·\[bu]·220 .IP·\[bu]·2
744 B
./usr/share/man/man3/al_draw_justified_text.3alleg5.gz
636 B
al_draw_justified_text.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_justified_text(const·ALLEGRO_FONT·*font,10 void·al_draw_justified_text(const·ALLEGRO_FONT·*font,
11 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,11 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,
12 ···float·y,·float·diff,·int·flags,·const·char·*text)12 ···float·y,·float·diff,·int·flags,·const·char·*text)
 13 void·al_draw_justified_text(const·ALLEGRO_FONT·*font,
 14 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,
 15 ···float·y,·float·diff,·int·flags,·const·char·*text)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Like·al_draw_text(3alleg5),·but·justifies·the·string·to·the·region18 Like·al_draw_text(3alleg5),·but·justifies·the·string·to·the·region
16 x1\-x2.19 x1\-x2.
17 .PP20 .PP
18 The·\f[CR]diff\f[R]·parameter·is·the·maximum·amount·of·horizontal·space21 The·\f[CR]diff\f[R]·parameter·is·the·maximum·amount·of·horizontal·space
19 to·allow·between·words.22 to·allow·between·words.
811 B
./usr/share/man/man3/al_draw_justified_textf.3alleg5.gz
701 B
al_draw_justified_textf.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_justified_textf(const·ALLEGRO_FONT·*f,10 void·al_draw_justified_textf(const·ALLEGRO_FONT·*f,
11 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,·float·y,11 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,·float·y,
12 ···float·diff,·int·flags,·const·char·*format,·...)12 ···float·diff,·int·flags,·const·char·*format,·...)
 13 void·al_draw_justified_textf(const·ALLEGRO_FONT·*f,
 14 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,·float·y,
 15 ···float·diff,·int·flags,·const·char·*format,·...)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Formatted·text·output,·using·a·printf()·style·format·string.18 Formatted·text·output,·using·a·printf()·style·format·string.
16 All·parameters·have·the·same·meaning·as·with19 All·parameters·have·the·same·meaning·as·with
17 al_draw_justified_text(3alleg5)·otherwise.20 al_draw_justified_text(3alleg5)·otherwise.
18 .SH·SEE·ALSO21 .SH·SEE·ALSO
19 al_draw_justified_text(3alleg5),·al_draw_justified_ustr(3alleg5).22 al_draw_justified_text(3alleg5),·al_draw_justified_ustr(3alleg5).
788 B
./usr/share/man/man3/al_draw_justified_ustr.3alleg5.gz
680 B
al_draw_justified_ustr.3alleg5
    
Offset 7, 13 lines modifiedOffset 7, 16 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_justified_ustr(const·ALLEGRO_FONT·*font,10 void·al_draw_justified_ustr(const·ALLEGRO_FONT·*font,
11 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,11 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,
12 ···float·y,·float·diff,·int·flags,·const·ALLEGRO_USTR·*ustr)12 ···float·y,·float·diff,·int·flags,·const·ALLEGRO_USTR·*ustr)
 13 void·al_draw_justified_ustr(const·ALLEGRO_FONT·*font,
 14 ···ALLEGRO_COLOR·color,·float·x1,·float·x2,
 15 ···float·y,·float·diff,·int·flags,·const·ALLEGRO_USTR·*ustr)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Like·al_draw_justified_text(3alleg5),·except·the·text·is·passed·as·an18 Like·al_draw_justified_text(3alleg5),·except·the·text·is·passed·as·an
16 ALLEGRO_USTR·instead·of·a·NUL\-terminated·char·array.19 ALLEGRO_USTR·instead·of·a·NUL\-terminated·char·array.
17 .SH·SEE·ALSO20 .SH·SEE·ALSO
18 al_draw_justified_text(3alleg5),·al_draw_justified_textf(3alleg5).21 al_draw_justified_text(3alleg5),·al_draw_justified_textf(3alleg5).
573 B
./usr/share/man/man3/al_draw_line.3alleg5.gz
485 B
al_draw_line.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,
11 ···ALLEGRO_COLOR·color,·float·thickness)11 ···ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_line(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·line·segment·between·two·points.16 Draws·a·line·segment·between·two·points.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2·\-·Start·and·end·points·of·the·line20 x1,·y1,·x2,·y2·\-·Start·and·end·points·of·the·line
848 B
./usr/share/man/man3/al_draw_multiline_text.3alleg5.gz
740 B
al_draw_multiline_text.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_multiline_text(const·ALLEGRO_FONT·*font,10 void·al_draw_multiline_text(const·ALLEGRO_FONT·*font,
11 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,11 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
12 ·····int·flags,·const·char·*text)12 ·····int·flags,·const·char·*text)
 13 void·al_draw_multiline_text(const·ALLEGRO_FONT·*font,
 14 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
 15 ·····int·flags,·const·char·*text)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Like·al_draw_text(3alleg5),·but·this·function·supports·drawing·multiple18 Like·al_draw_text(3alleg5),·but·this·function·supports·drawing·multiple
16 lines·of·text.19 lines·of·text.
17 It·will·break·\f[CR]text\f[R]·in·lines·based·on·its·contents·and·the20 It·will·break·\f[CR]text\f[R]·in·lines·based·on·its·contents·and·the
18 \f[CR]max_width\f[R]·parameter.21 \f[CR]max_width\f[R]·parameter.
19 The·lines·are·then·layed·out·vertically·depending·on·the22 The·lines·are·then·layed·out·vertically·depending·on·the
788 B
./usr/share/man/man3/al_draw_multiline_textf.3alleg5.gz
678 B
al_draw_multiline_textf.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_multiline_textf(const·ALLEGRO_FONT·*font,10 void·al_draw_multiline_textf(const·ALLEGRO_FONT·*font,
11 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,11 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
12 ·····int·flags,·const·char·*format,·...)12 ·····int·flags,·const·char·*format,·...)
 13 void·al_draw_multiline_textf(const·ALLEGRO_FONT·*font,
 14 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
 15 ·····int·flags,·const·char·*format,·...)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Formatted·text·output,·using·a·printf()·style·format·string.18 Formatted·text·output,·using·a·printf()·style·format·string.
16 All·parameters·have·the·same·meaning·as·with19 All·parameters·have·the·same·meaning·as·with
17 al_draw_multiline_text(3alleg5)·otherwise.20 al_draw_multiline_text(3alleg5)·otherwise.
18 .SH·SINCE21 .SH·SINCE
19 5.1.922 5.1.9
772 B
./usr/share/man/man3/al_draw_multiline_ustr.3alleg5.gz
664 B
al_draw_multiline_ustr.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_multiline_ustr(const·ALLEGRO_FONT·*font,10 void·al_draw_multiline_ustr(const·ALLEGRO_FONT·*font,
11 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,11 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
12 ·····int·flags,·const·ALLEGRO_USTR·*ustr)12 ·····int·flags,·const·ALLEGRO_USTR·*ustr)
 13 void·al_draw_multiline_ustr(const·ALLEGRO_FONT·*font,
 14 ·····ALLEGRO_COLOR·color,·float·x,·float·y,·float·max_width,·float·line_height,
 15 ·····int·flags,·const·ALLEGRO_USTR·*ustr)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Like·al_draw_multiline_text(3alleg5),·except·the·text·is·passed·as·an18 Like·al_draw_multiline_text(3alleg5),·except·the·text·is·passed·as·an
16 ALLEGRO_USTR·instead·of·a·NUL\-terminated·char·array.19 ALLEGRO_USTR·instead·of·a·NUL\-terminated·char·array.
17 .SH·SINCE20 .SH·SINCE
18 5.1.921 5.1.9
19 .SH·SEE·ALSO22 .SH·SEE·ALSO
637 B
./usr/share/man/man3/al_draw_pieslice.3alleg5.gz
541 B
al_draw_pieslice.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,10 void·al_draw_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,
11 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)11 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_pieslice(float·cx,·float·cy,·float·r,·float·start_theta,
 13 ···float·delta_theta,·ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·pieslice·(outlined·circular·sector).16 Draws·a·pieslice·(outlined·circular·sector).
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 cx,·cy·\-·Center·of·the·pieslice20 cx,·cy·\-·Center·of·the·pieslice
721 B
./usr/share/man/man3/al_draw_polygon.3alleg5.gz
627 B
al_draw_polygon.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_polygon(const·float·*vertices,·int·vertex_count,10 void·al_draw_polygon(const·float·*vertices,·int·vertex_count,
11 ···int·join_style,·ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)11 ···int·join_style,·ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)
 12 void·al_draw_polygon(const·float·*vertices,·int·vertex_count,
 13 ···int·join_style,·ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draw·an·unfilled·polygon.16 Draw·an·unfilled·polygon.
15 This·is·the·same·as·passing·\f[CR]ALLEGRO_LINE_CAP_CLOSED\f[R]·to17 This·is·the·same·as·passing·\f[CR]ALLEGRO_LINE_CAP_CLOSED\f[R]·to
16 al_draw_polyline(3alleg5).18 al_draw_polyline(3alleg5).
17 .IP·\[bu]·219 .IP·\[bu]·2
18 vertex·\-·Interleaved·array·of·(x,·y)·vertex·coordinates20 vertex·\-·Interleaved·array·of·(x,·y)·vertex·coordinates
784 B
./usr/share/man/man3/al_draw_polyline.3alleg5.gz
688 B
al_draw_polyline.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_polyline(const·float*·vertices,·int·vertex_stride,10 void·al_draw_polyline(const·float*·vertices,·int·vertex_stride,
11 ···int·vertex_count,·int·join_style,·int·cap_style,11 ···int·vertex_count,·int·join_style,·int·cap_style,
12 ···ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)12 ···ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)
 13 void·al_draw_polyline(const·float*·vertices,·int·vertex_stride,
 14 ···int·vertex_count,·int·join_style,·int·cap_style,
 15 ···ALLEGRO_COLOR·color,·float·thickness,·float·miter_limit)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Draw·a·series·of·line·segments.18 Draw·a·series·of·line·segments.
16 .IP·\[bu]·219 .IP·\[bu]·2
17 vertices·\-·Interleaved·array·of·(x,·y)·vertex·coordinates20 vertices·\-·Interleaved·array·of·(x,·y)·vertex·coordinates
18 .IP·\[bu]·221 .IP·\[bu]·2
19 vertex_stride·\-·the·number·of·bytes·between·pairs·of·vertices·(the22 vertex_stride·\-·the·number·of·bytes·between·pairs·of·vertices·(the
650 B
./usr/share/man/man3/al_draw_prim.3alleg5.gz
562 B
al_draw_prim.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 int·al_draw_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,10 int·al_draw_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,
11 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)11 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)
 12 int·al_draw_prim(const·void*·vtxs,·const·ALLEGRO_VERTEX_DECL*·decl,
 13 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·subset·of·the·passed·vertex·array.16 Draws·a·subset·of·the·passed·vertex·array.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 texture·\-·Texture·to·use,·pass·NULL·to·use·only·color·shaded·primitves20 texture·\-·Texture·to·use,·pass·NULL·to·use·only·color·shaded·primitves
609 B
./usr/share/man/man3/al_draw_rectangle.3alleg5.gz
511 B
al_draw_rectangle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
11 ···ALLEGRO_COLOR·color,·float·thickness)11 ···ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·outlined·rectangle.16 Draws·an·outlined·rectangle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle20 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle
716 B
./usr/share/man/man3/al_draw_ribbon.3alleg5.gz
624 B
al_draw_ribbon.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_ribbon(const·float·*points,·int·points_stride,·ALLEGRO_COLOR·color,10 void·al_draw_ribbon(const·float·*points,·int·points_stride,·ALLEGRO_COLOR·color,
11 ···float·thickness,·int·num_segments)11 ···float·thickness,·int·num_segments)
 12 void·al_draw_ribbon(const·float·*points,·int·points_stride,·ALLEGRO_COLOR·color,
 13 ···float·thickness,·int·num_segments)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·ribbon·given·an·array·of·points.16 Draws·a·ribbon·given·an·array·of·points.
15 The·ribbon·will·go·through·all·of·the·passed·points.17 The·ribbon·will·go·through·all·of·the·passed·points.
16 The·points·buffer·should·consist·of·regularly·spaced·doublets·of·floats,18 The·points·buffer·should·consist·of·regularly·spaced·doublets·of·floats,
17 corresponding·to·x·and·y·coordinates·of·the·vertices.19 corresponding·to·x·and·y·coordinates·of·the·vertices.
18 .PP20 .PP
705 B
./usr/share/man/man3/al_draw_rounded_rectangle.3alleg5.gz
591 B
al_draw_rounded_rectangle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
11 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)11 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_rounded_rectangle(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···float·rx,·float·ry,·ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·outlined·rounded·rectangle.16 Draws·an·outlined·rounded·rectangle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle20 x1,·y1,·x2,·y2·\-·Upper·left·and·lower·right·points·of·the·rectangle
916 B
./usr/share/man/man3/al_draw_soft_line.3alleg5.gz
818 B
al_draw_soft_line.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 18 lines modified
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_soft_line(ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·uintptr_t·state,10 void·al_draw_soft_line(ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·uintptr_t·state,
11 ···void·(*first)(uintptr_t,·int,·int,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),11 ···void·(*first)(uintptr_t,·int,·int,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),
12 ···void·(*step)(uintptr_t,·int),12 ···void·(*step)(uintptr_t,·int),
13 ···void·(*draw)(uintptr_t,·int,·int))13 ···void·(*draw)(uintptr_t,·int,·int))
 14 void·al_draw_soft_line(ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·uintptr_t·state,
 15 ···void·(*first)(uintptr_t,·int,·int,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),
 16 ···void·(*step)(uintptr_t,·int),
 17 ···void·(*draw)(uintptr_t,·int,·int))
14 .EE18 .EE
15 .SH·DESCRIPTION19 .SH·DESCRIPTION
16 Draws·a·line·using·the·software·rasterizer·and·user·supplied·pixel20 Draws·a·line·using·the·software·rasterizer·and·user·supplied·pixel
17 functions.21 functions.
18 For·help·in·understanding·what·these·functions·do,·see·the22 For·help·in·understanding·what·these·functions·do,·see·the
19 implementation·of·the·various·shading·routines·in23 implementation·of·the·various·shading·routines·in
20 addons/primitives/line_soft.c.24 addons/primitives/line_soft.c.
1.04 KB
./usr/share/man/man3/al_draw_soft_triangle.3alleg5.gz
964 B
al_draw_soft_triangle.3alleg5
    
Offset 10, 14 lines modifiedOffset 10, 20 lines modified
  
10 void·al_draw_soft_triangle(10 void·al_draw_soft_triangle(
11 ···ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·ALLEGRO_VERTEX*·v3,·uintptr_t·state,11 ···ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·ALLEGRO_VERTEX*·v3,·uintptr_t·state,
12 ···void·(*init)(uintptr_t,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),12 ···void·(*init)(uintptr_t,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),
13 ···void·(*first)(uintptr_t,·int,·int,·int,·int),13 ···void·(*first)(uintptr_t,·int,·int,·int,·int),
14 ···void·(*step)(uintptr_t,·int),14 ···void·(*step)(uintptr_t,·int),
15 ···void·(*draw)(uintptr_t,·int,·int,·int))15 ···void·(*draw)(uintptr_t,·int,·int,·int))
 16 void·al_draw_soft_triangle(
 17 ···ALLEGRO_VERTEX*·v1,·ALLEGRO_VERTEX*·v2,·ALLEGRO_VERTEX*·v3,·uintptr_t·state,
 18 ···void·(*init)(uintptr_t,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*,·ALLEGRO_VERTEX*),
 19 ···void·(*first)(uintptr_t,·int,·int,·int,·int),
 20 ···void·(*step)(uintptr_t,·int),
 21 ···void·(*draw)(uintptr_t,·int,·int,·int))
16 .EE22 .EE
17 .SH·DESCRIPTION23 .SH·DESCRIPTION
18 Draws·a·triangle·using·the·software·rasterizer·and·user·supplied·pixel24 Draws·a·triangle·using·the·software·rasterizer·and·user·supplied·pixel
19 functions.25 functions.
20 For·help·in·understanding·what·these·functions·do,·see·the26 For·help·in·understanding·what·these·functions·do,·see·the
21 implementation·of·the·various·shading·routines·in27 implementation·of·the·various·shading·routines·in
22 addons/primitives/tri_soft.c.28 addons/primitives/tri_soft.c.
599 B
./usr/share/man/man3/al_draw_spline.3alleg5.gz
507 B
al_draw_spline.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_draw_spline·\-·Allegro·5·API5 al_draw_spline·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_spline(const·float·points[8],·ALLEGRO_COLOR·color,·float·thickness)10 void·al_draw_spline(const·float·points[8],·ALLEGRO_COLOR·color,·float·thickness)
 11 void·al_draw_spline(const·float·points[8],·ALLEGRO_COLOR·color,·float·thickness)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Draws·a·Bézier·spline·given·4·control·points.14 Draws·a·Bézier·spline·given·4·control·points.
14 .PP15 .PP
15 \f[I]Parameters:\f[R]16 \f[I]Parameters:\f[R]
16 .IP·\[bu]·217 .IP·\[bu]·2
17 points·\-·An·array·of·4·pairs·of·coordinates·of·the·4·control·points18 points·\-·An·array·of·4·pairs·of·coordinates·of·the·4·control·points
690 B
./usr/share/man/man3/al_draw_text.3alleg5.gz
602 B
al_draw_text.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_text(const·ALLEGRO_FONT·*font,10 void·al_draw_text(const·ALLEGRO_FONT·*font,
11 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,11 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,
12 ···char·const·*text)·12 ···char·const·*text)·
 13 void·al_draw_text(const·ALLEGRO_FONT·*font,
 14 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,
 15 ···char·const·*text)·
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Writes·the·NUL\-terminated·string·\f[CR]text\f[R]·onto·the·target·bitmap18 Writes·the·NUL\-terminated·string·\f[CR]text\f[R]·onto·the·target·bitmap
16 at·position·\f[CR]x\f[R],·\f[CR]y\f[R],·using·the·specified19 at·position·\f[CR]x\f[R],·\f[CR]y\f[R],·using·the·specified
17 \f[CR]font\f[R].20 \f[CR]font\f[R].
18 .PP21 .PP
19 The·\f[CR]flags\f[R]·parameter·can·be·0·or·one·of·the·following·flags:22 The·\f[CR]flags\f[R]·parameter·can·be·0·or·one·of·the·following·flags:
680 B
./usr/share/man/man3/al_draw_textf.3alleg5.gz
590 B
al_draw_textf.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_textf(const·ALLEGRO_FONT·*font,·ALLEGRO_COLOR·color,10 void·al_draw_textf(const·ALLEGRO_FONT·*font,·ALLEGRO_COLOR·color,
11 ···float·x,·float·y,·int·flags,11 ···float·x,·float·y,·int·flags,
12 ···const·char·*format,·...)12 ···const·char·*format,·...)
 13 void·al_draw_textf(const·ALLEGRO_FONT·*font,·ALLEGRO_COLOR·color,
 14 ···float·x,·float·y,·int·flags,
 15 ···const·char·*format,·...)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Formatted·text·output,·using·a·printf()·style·format·string.18 Formatted·text·output,·using·a·printf()·style·format·string.
16 All·parameters·have·the·same·meaning·as·with·al_draw_text(3alleg5)19 All·parameters·have·the·same·meaning·as·with·al_draw_text(3alleg5)
17 otherwise.20 otherwise.
18 .SH·SEE·ALSO21 .SH·SEE·ALSO
19 al_draw_text(3alleg5),·al_draw_ustr(3alleg5)22 al_draw_text(3alleg5),·al_draw_ustr(3alleg5)
628 B
./usr/share/man/man3/al_draw_triangle.3alleg5.gz
532 B
al_draw_triangle.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,10 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,
11 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)11 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)
 12 void·al_draw_triangle(float·x1,·float·y1,·float·x2,·float·y2,
 13 ···float·x3,·float·y3,·ALLEGRO_COLOR·color,·float·thickness)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·an·outlined·triangle.16 Draws·an·outlined·triangle.
15 .PP17 .PP
16 \f[I]Parameters:\f[R]18 \f[I]Parameters:\f[R]
17 .IP·\[bu]·219 .IP·\[bu]·2
18 x1,·y1,·x2,·y2,·x3,·y3·\-·Three·points·of·the·triangle20 x1,·y1,·x2,·y2,·x3,·y3·\-·Three·points·of·the·triangle
696 B
./usr/share/man/man3/al_draw_ustr.3alleg5.gz
608 B
al_draw_ustr.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_draw_ustr(const·ALLEGRO_FONT·*font,10 void·al_draw_ustr(const·ALLEGRO_FONT·*font,
11 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,11 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,
12 ···const·ALLEGRO_USTR·*ustr)·12 ···const·ALLEGRO_USTR·*ustr)·
 13 void·al_draw_ustr(const·ALLEGRO_FONT·*font,
 14 ···ALLEGRO_COLOR·color,·float·x,·float·y,·int·flags,
 15 ···const·ALLEGRO_USTR·*ustr)·
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Like·al_draw_text(3alleg5),·except·the·text·is·passed·as·an·ALLEGRO_USTR18 Like·al_draw_text(3alleg5),·except·the·text·is·passed·as·an·ALLEGRO_USTR
16 instead·of·a·NUL\-terminated·char·array.19 instead·of·a·NUL\-terminated·char·array.
17 .SH·SEE·ALSO20 .SH·SEE·ALSO
18 al_draw_text(3alleg5),·al_draw_justified_ustr(3alleg5),21 al_draw_text(3alleg5),·al_draw_justified_ustr(3alleg5),
19 al_draw_multiline_ustr(3alleg5)22 al_draw_multiline_ustr(3alleg5)
796 B
./usr/share/man/man3/al_draw_vertex_buffer.3alleg5.gz
690 B
al_draw_vertex_buffer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 int·al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,10 int·al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,
11 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)11 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)
 12 int·al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·vertex_buffer,
 13 ···ALLEGRO_BITMAP*·texture,·int·start,·int·end,·int·type)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Draws·a·subset·of·the·passed·vertex·buffer.16 Draws·a·subset·of·the·passed·vertex·buffer.
15 The·vertex·buffer·must·not·be·locked.17 The·vertex·buffer·must·not·be·locked.
16 Additionally,·to·draw·onto·memory·bitmaps·or·with·memory·bitmap·textures18 Additionally,·to·draw·onto·memory·bitmaps·or·with·memory·bitmap·textures
17 the·vertex·buffer·must·support·reading·(i.e.19 the·vertex·buffer·must·support·reading·(i.e.
18 it·must·be·created·with·the·\f[CR]ALLEGRO_PRIM_BUFFER_READWRITE\f[R]).20 it·must·be·created·with·the·\f[CR]ALLEGRO_PRIM_BUFFER_READWRITE\f[R]).
683 B
./usr/share/man/man3/al_enable_menu_event_source.3alleg5.gz
565 B
al_enable_menu_event_source.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_enable_menu_event_source·\-·Allegro·5·API5 al_enable_menu_event_source·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_EVENT_SOURCE·*al_enable_menu_event_source(ALLEGRO_MENU·*menu)10 ALLEGRO_EVENT_SOURCE·*al_enable_menu_event_source(ALLEGRO_MENU·*menu)
 11 ALLEGRO_EVENT_SOURCE·*al_enable_menu_event_source(ALLEGRO_MENU·*menu)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Enables·a·unique·event·source·for·this·menu.14 Enables·a·unique·event·source·for·this·menu.
14 It·and·all·of·its·sub\-menus·will·use·this·event·source.15 It·and·all·of·its·sub\-menus·will·use·this·event·source.
15 (It·is·safe·to·call·this·multiple·times·on·the·same·menu.)16 (It·is·safe·to·call·this·multiple·times·on·the·same·menu.)
16 .PP17 .PP
17 Returns·the·event·source.18 Returns·the·event·source.
662 B
./usr/share/man/man3/al_fill_silence.3alleg5.gz
568 B
al_fill_silence.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_fill_silence(void·*buf,·unsigned·int·samples,10 void·al_fill_silence(void·*buf,·unsigned·int·samples,
11 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)11 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
 12 void·al_fill_silence(void·*buf,·unsigned·int·samples,
 13 ···ALLEGRO_AUDIO_DEPTH·depth,·ALLEGRO_CHANNEL_CONF·chan_conf)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Fill·a·buffer·with·silence,·for·the·given·format·and·channel16 Fill·a·buffer·with·silence,·for·the·given·format·and·channel
15 configuration.17 configuration.
16 The·buffer·must·have·enough·space·for·the·given·number·of·samples,·and18 The·buffer·must·have·enough·space·for·the·given·number·of·samples,·and
17 be·properly·aligned.19 be·properly·aligned.
18 .SH·SINCE20 .SH·SINCE
575 B
./usr/share/man/man3/al_find_menu.3alleg5.gz
487 B
al_find_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_find_menu·\-·Allegro·5·API5 al_find_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_find_menu(ALLEGRO_MENU·*haystack,·uint16_t·id)10 ALLEGRO_MENU·*al_find_menu(ALLEGRO_MENU·*haystack,·uint16_t·id)
 11 ALLEGRO_MENU·*al_find_menu(ALLEGRO_MENU·*haystack,·uint16_t·id)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Searches·in·the·\f[CR]haystack\f[R]·menu·for·any·submenu·with·the·given14 Searches·in·the·\f[CR]haystack\f[R]·menu·for·any·submenu·with·the·given
14 \f[CR]id\f[R].15 \f[CR]id\f[R].
15 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an16 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an
16 index.)17 index.)
17 .PP18 .PP
626 B
./usr/share/man/man3/al_find_menu_item.3alleg5.gz
528 B
al_find_menu_item.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_find_menu_item(ALLEGRO_MENU·*haystack,·uint16_t·id,·ALLEGRO_MENU·**menu,10 bool·al_find_menu_item(ALLEGRO_MENU·*haystack,·uint16_t·id,·ALLEGRO_MENU·**menu,
11 ···int·*index)11 ···int·*index)
 12 bool·al_find_menu_item(ALLEGRO_MENU·*haystack,·uint16_t·id,·ALLEGRO_MENU·**menu,
 13 ···int·*index)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Searches·in·the·\f[CR]haystack\f[R]·menu·for·an·item·with·the·given16 Searches·in·the·\f[CR]haystack\f[R]·menu·for·an·item·with·the·given
15 \f[CR]id\f[R].17 \f[CR]id\f[R].
16 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an18 (Note·that·this·only·represents·a·literal·ID,·and·cannot·be·used·as·an
17 index.)19 index.)
18 .PP20 .PP
531 B
./usr/share/man/man3/al_fixed.3alleg5.gz
451 B
al_fixed.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_fixed·\-·Allegro·5·API5 al_fixed·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 typedef·int32_t·al_fixed;10 typedef·int32_t·al_fixed;
 11 typedef·int32_t·al_fixed;
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 A·fixed·point·number.14 A·fixed·point·number.
14 .PP15 .PP
15 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and16 Allegro·provides·some·routines·for·working·with·fixed·point·numbers,·and
16 defines·the·type·\f[CR]al_fixed\f[R]·to·be·a·signed·32\-bit·integer.17 defines·the·type·\f[CR]al_fixed\f[R]·to·be·a·signed·32\-bit·integer.
17 The·high·word·is·used·for·the·integer·part·and·the·low·word·for·the18 The·high·word·is·used·for·the·integer·part·and·the·low·word·for·the
566 B
./usr/share/man/man3/al_free.3alleg5.gz
488 B
al_free.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·al_free(p)·\[rs]10 #define·al_free(p)·\[rs]
11 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))11 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))
 12 #define·al_free(p)·\[rs]
 13 ···(al_free_with_context((p),·__LINE__,·__FILE__,·__func__))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be16 Like·free()·in·the·C·standard·library,·but·the·implementation·may·be
15 overridden.17 overridden.
16 .PP18 .PP
17 Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be19 Additionally,·on·Windows,·a·memory·block·allocated·by·one·DLL·must·be
18 freed·from·the·same·DLL.20 freed·from·the·same·DLL.
534 B
./usr/share/man/man3/al_get_allegro_audio_version.3alleg5.gz
414 B
al_get_allegro_audio_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_audio_version·\-·Allegro·5·API5 al_get_allegro_audio_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 uint32_t·al_get_allegro_audio_version(void)10 uint32_t·al_get_allegro_audio_version(void)
 11 uint32_t·al_get_allegro_audio_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
534 B
./usr/share/man/man3/al_get_allegro_color_version.3alleg5.gz
414 B
al_get_allegro_color_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_color_version·\-·Allegro·5·API5 al_get_allegro_color_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_color.h>9 #include·<allegro5/allegro_color.h>
  
10 uint32_t·al_get_allegro_color_version(void)10 uint32_t·al_get_allegro_color_version(void)
 11 uint32_t·al_get_allegro_color_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
526 B
./usr/share/man/man3/al_get_allegro_font_version.3alleg5.gz
408 B
al_get_allegro_font_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_font_version·\-·Allegro·5·API5 al_get_allegro_font_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 uint32_t·al_get_allegro_font_version(void)10 uint32_t·al_get_allegro_font_version(void)
 11 uint32_t·al_get_allegro_font_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
534 B
./usr/share/man/man3/al_get_allegro_image_version.3alleg5.gz
414 B
al_get_allegro_image_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_image_version·\-·Allegro·5·API5 al_get_allegro_image_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_image.h>9 #include·<allegro5/allegro_image.h>
  
10 uint32_t·al_get_allegro_image_version(void)10 uint32_t·al_get_allegro_image_version(void)
 11 uint32_t·al_get_allegro_image_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
550 B
./usr/share/man/man3/al_get_allegro_memfile_version.3alleg5.gz
426 B
al_get_allegro_memfile_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_memfile_version·\-·Allegro·5·API5 al_get_allegro_memfile_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_memfile.h>9 #include·<allegro5/allegro_memfile.h>
  
10 uint32_t·al_get_allegro_memfile_version(void)10 uint32_t·al_get_allegro_memfile_version(void)
 11 uint32_t·al_get_allegro_memfile_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
598 B
./usr/share/man/man3/al_get_allegro_native_dialog_version.3alleg5.gz
462 B
al_get_allegro_native_dialog_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_native_dialog_version·\-·Allegro·5·API5 al_get_allegro_native_dialog_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 uint32_t·al_get_allegro_native_dialog_version(void)10 uint32_t·al_get_allegro_native_dialog_version(void)
 11 uint32_t·al_get_allegro_native_dialog_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
542 B
./usr/share/man/man3/al_get_allegro_physfs_version.3alleg5.gz
420 B
al_get_allegro_physfs_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_physfs_version·\-·Allegro·5·API5 al_get_allegro_physfs_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_physfs.h>9 #include·<allegro5/allegro_physfs.h>
  
10 uint32_t·al_get_allegro_physfs_version(void)10 uint32_t·al_get_allegro_physfs_version(void)
 11 uint32_t·al_get_allegro_physfs_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
574 B
./usr/share/man/man3/al_get_allegro_primitives_version.3alleg5.gz
444 B
al_get_allegro_primitives_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_primitives_version·\-·Allegro·5·API5 al_get_allegro_primitives_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 uint32_t·al_get_allegro_primitives_version(void)10 uint32_t·al_get_allegro_primitives_version(void)
 11 uint32_t·al_get_allegro_primitives_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
518 B
./usr/share/man/man3/al_get_allegro_ttf_version.3alleg5.gz
402 B
al_get_allegro_ttf_version.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_allegro_ttf_version·\-·Allegro·5·API5 al_get_allegro_ttf_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 uint32_t·al_get_allegro_ttf_version(void)10 uint32_t·al_get_allegro_ttf_version(void)
 11 uint32_t·al_get_allegro_ttf_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
553 B
./usr/share/man/man3/al_get_allegro_video_version.3alleg5.gz
433 B
al_get_allegro_video_version.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_allegro_video_version·\-·Allegro·5·API5 al_get_allegro_video_version·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 uint32_t·al_get_allegro_video_version(void)10 uint32_t·al_get_allegro_video_version(void)
 11 uint32_t·al_get_allegro_video_version(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as14 Returns·the·(compiled)·version·of·the·addon,·in·the·same·format·as
14 al_get_allegro_version(3alleg5).15 al_get_allegro_version(3alleg5).
15 .SH·SINCE16 .SH·SINCE
16 5.1.1217 5.1.12
574 B
./usr/share/man/man3/al_get_audio_depth_size.3alleg5.gz
464 B
al_get_audio_depth_size.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_depth_size·\-·Allegro·5·API5 al_get_audio_depth_size·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 size_t·al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH·depth)10 size_t·al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH·depth)
 11 size_t·al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH·depth)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·size·of·a·sample,·in·bytes,·for·the·given·format.14 Return·the·size·of·a·sample,·in·bytes,·for·the·given·format.
14 The·format·is·one·of·the·values·listed·under15 The·format·is·one·of·the·values·listed·under
15 ALLEGRO_AUDIO_DEPTH(3alleg5).16 ALLEGRO_AUDIO_DEPTH(3alleg5).
541 B
./usr/share/man/man3/al_get_audio_device_name.3alleg5.gz
429 B
al_get_audio_device_name.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_device_name·\-·Allegro·5·API5 al_get_audio_device_name·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 const·char*·al_get_audio_device_name(const·ALLEGRO_AUDIO_DEVICE·*·device)10 const·char*·al_get_audio_device_name(const·ALLEGRO_AUDIO_DEVICE·*·device)
 11 const·char*·al_get_audio_device_name(const·ALLEGRO_AUDIO_DEVICE·*·device)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·user·friendly·display·name·of·the·device.14 Get·the·user·friendly·display·name·of·the·device.
14 .SH·SINCE15 .SH·SINCE
15 5.2.816 5.2.8
537 B
./usr/share/man/man3/al_get_audio_output_device.3alleg5.gz
421 B
al_get_audio_output_device.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_output_device·\-·Allegro·5·API5 al_get_audio_output_device·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 const·ALLEGRO_AUDIO_DEVICE*·al_get_audio_output_device(int·index)10 const·ALLEGRO_AUDIO_DEVICE*·al_get_audio_output_device(int·index)
 11 const·ALLEGRO_AUDIO_DEVICE*·al_get_audio_output_device(int·index)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·output·audio·device·of·the·specified·index.14 Get·the·output·audio·device·of·the·specified·index.
14 .SH·SINCE15 .SH·SINCE
15 5.2.816 5.2.8
591 B
./usr/share/man/man3/al_get_audio_recorder_event.3alleg5.gz
473 B
al_get_audio_recorder_event.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_recorder_event·\-·Allegro·5·API5 al_get_audio_recorder_event·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_RECORDER_EVENT·*al_get_audio_recorder_event(ALLEGRO_EVENT·*event)10 ALLEGRO_AUDIO_RECORDER_EVENT·*al_get_audio_recorder_event(ALLEGRO_EVENT·*event)
 11 ALLEGRO_AUDIO_RECORDER_EVENT·*al_get_audio_recorder_event(ALLEGRO_EVENT·*event)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·event·as·an·ALLEGRO_AUDIO_RECORDER_EVENT(3alleg5).14 Returns·the·event·as·an·ALLEGRO_AUDIO_RECORDER_EVENT(3alleg5).
14 .SH·SINCE15 .SH·SINCE
15 5.1.116 5.1.1
16 .RS17 .RS
17 .PP18 .PP
654 B
./usr/share/man/man3/al_get_audio_recorder_event_source.3alleg5.gz
522 B
al_get_audio_recorder_event_source.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_recorder_event_source·\-·Allegro·5·API5 al_get_audio_recorder_event_source·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_EVENT_SOURCE·*al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER·*r)10 ALLEGRO_EVENT_SOURCE·*al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER·*r)
 11 ALLEGRO_EVENT_SOURCE·*al_get_audio_recorder_event_source(ALLEGRO_AUDIO_RECORDER·*r)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·event·source·for·the·recorder·that·generates·the·various14 Returns·the·event·source·for·the·recorder·that·generates·the·various
14 recording·events.15 recording·events.
15 .SH·SINCE16 .SH·SINCE
16 5.1.117 5.1.1
17 .RS18 .RS
671 B
./usr/share/man/man3/al_get_audio_stream_attached.3alleg5.gz
551 B
al_get_audio_stream_attached.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_stream_attached·\-·Allegro·5·API5 al_get_audio_stream_attached·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_audio_stream_attached(const·ALLEGRO_AUDIO_STREAM·*stream)10 bool·al_get_audio_stream_attached(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 bool·al_get_audio_stream_attached(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·whether·the·stream·is·attached·to·something.14 Return·whether·the·stream·is·attached·to·something.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_attach_audio_stream_to_mixer(3alleg5),16 al_attach_audio_stream_to_mixer(3alleg5),
16 al_attach_audio_stream_to_voice(3alleg5),17 al_attach_audio_stream_to_voice(3alleg5),
17 al_detach_audio_stream(3alleg5).18 al_detach_audio_stream(3alleg5).
567 B
./usr/share/man/man3/al_get_audio_stream_channels.3alleg5.gz
447 B
al_get_audio_stream_channels.3alleg5
    
Offset 6, 12 lines modifiedOffset 6, 14 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_CHANNEL_CONF·al_get_audio_stream_channels(10 ALLEGRO_CHANNEL_CONF·al_get_audio_stream_channels(
11 ···const·ALLEGRO_AUDIO_STREAM·*stream)11 ···const·ALLEGRO_AUDIO_STREAM·*stream)
 12 ALLEGRO_CHANNEL_CONF·al_get_audio_stream_channels(
 13 ···const·ALLEGRO_AUDIO_STREAM·*stream)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Return·the·stream·channel·configuration.16 Return·the·stream·channel·configuration.
15 .SH·SEE·ALSO17 .SH·SEE·ALSO
16 ALLEGRO_CHANNEL_CONF(3alleg5).18 ALLEGRO_CHANNEL_CONF(3alleg5).
536 B
./usr/share/man/man3/al_get_audio_stream_depth.3alleg5.gz
422 B
al_get_audio_stream_depth.3alleg5
    
Offset 6, 12 lines modifiedOffset 6, 14 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_DEPTH·al_get_audio_stream_depth(10 ALLEGRO_AUDIO_DEPTH·al_get_audio_stream_depth(
11 ···const·ALLEGRO_AUDIO_STREAM·*stream)11 ···const·ALLEGRO_AUDIO_STREAM·*stream)
 12 ALLEGRO_AUDIO_DEPTH·al_get_audio_stream_depth(
 13 ···const·ALLEGRO_AUDIO_STREAM·*stream)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Return·the·stream·audio·depth.16 Return·the·stream·audio·depth.
15 .SH·SEE·ALSO17 .SH·SEE·ALSO
16 ALLEGRO_AUDIO_DEPTH(3alleg5).18 ALLEGRO_AUDIO_DEPTH(3alleg5).
683 B
./usr/share/man/man3/al_get_audio_stream_event_source.3alleg5.gz
555 B
al_get_audio_stream_event_source.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_EVENT_SOURCE·*al_get_audio_stream_event_source(10 ALLEGRO_EVENT_SOURCE·*al_get_audio_stream_event_source(
11 ···ALLEGRO_AUDIO_STREAM·*stream)11 ···ALLEGRO_AUDIO_STREAM·*stream)
 12 ALLEGRO_EVENT_SOURCE·*al_get_audio_stream_event_source(
 13 ···ALLEGRO_AUDIO_STREAM·*stream)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Retrieve·the·associated·event·source.16 Retrieve·the·associated·event·source.
15 .PP17 .PP
16 See·al_get_audio_stream_fragment(3alleg5)·for·a·description·of·the18 See·al_get_audio_stream_fragment(3alleg5)·for·a·description·of·the
17 ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT(3alleg5)·event·that·audio·streams19 ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT(3alleg5)·event·that·audio·streams
18 emit.20 emit.
743 B
./usr/share/man/man3/al_get_audio_stream_fragment.3alleg5.gz
623 B
al_get_audio_stream_fragment.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_stream_fragment·\-·Allegro·5·API5 al_get_audio_stream_fragment·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·*al_get_audio_stream_fragment(const·ALLEGRO_AUDIO_STREAM·*stream)10 void·*al_get_audio_stream_fragment(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 void·*al_get_audio_stream_fragment(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 When·using·Allegro\[cq]s·audio·streaming,·you·will·use·this·function·to14 When·using·Allegro\[cq]s·audio·streaming,·you·will·use·this·function·to
14 continuously·provide·new·sample·data·to·a·stream.15 continuously·provide·new·sample·data·to·a·stream.
15 .PP16 .PP
16 If·the·stream·is·ready·for·new·data,·the·function·will·return·the17 If·the·stream·is·ready·for·new·data,·the·function·will·return·the
17 address·of·an·internal·buffer·to·be·filled·with·audio·data.18 address·of·an·internal·buffer·to·be·filled·with·audio·data.
722 B
./usr/share/man/man3/al_get_audio_stream_fragments.3alleg5.gz
600 B
al_get_audio_stream_fragments.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_stream_fragments·\-·Allegro·5·API5 al_get_audio_stream_fragments·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_audio_stream_fragments(const·ALLEGRO_AUDIO_STREAM·*stream)10 unsigned·int·al_get_audio_stream_fragments(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 unsigned·int·al_get_audio_stream_fragments(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·number·of·fragments·this·stream·uses.14 Returns·the·number·of·fragments·this·stream·uses.
14 This·is·the·same·value·as·passed·to·al_create_audio_stream(3alleg5)·when15 This·is·the·same·value·as·passed·to·al_create_audio_stream(3alleg5)·when
15 a·new·stream·is·created.16 a·new·stream·is·created.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_get_available_audio_stream_fragments(3alleg5)18 al_get_available_audio_stream_fragments(3alleg5)
545 B
./usr/share/man/man3/al_get_audio_stream_frequency.3alleg5.gz
423 B
al_get_audio_stream_frequency.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 al_get_audio_stream_frequency·\-·Allegro·5·API5 al_get_audio_stream_frequency·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_audio_stream_frequency(const·ALLEGRO_AUDIO_STREAM·*stream)10 unsigned·int·al_get_audio_stream_frequency(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 unsigned·int·al_get_audio_stream_frequency(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·stream·frequency·(in·Hz).14 Return·the·stream·frequency·(in·Hz).
549 B
./usr/share/man/man3/al_get_audio_stream_gain.3alleg5.gz
437 B
al_get_audio_stream_gain.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_stream_gain·\-·Allegro·5·API5 al_get_audio_stream_gain·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_audio_stream_gain(const·ALLEGRO_AUDIO_STREAM·*stream)10 float·al_get_audio_stream_gain(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 float·al_get_audio_stream_gain(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·playback·gain·of·the·stream.14 Return·the·playback·gain·of·the·stream.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_audio_stream_gain(3alleg5).16 al_set_audio_stream_gain(3alleg5).
524 B
./usr/share/man/man3/al_get_audio_stream_length.3alleg5.gz
408 B
al_get_audio_stream_length.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 al_get_audio_stream_length·\-·Allegro·5·API5 al_get_audio_stream_length·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_audio_stream_length(const·ALLEGRO_AUDIO_STREAM·*stream)10 unsigned·int·al_get_audio_stream_length(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 unsigned·int·al_get_audio_stream_length(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·stream·length·in·samples.14 Return·the·stream·length·in·samples.
704 B
./usr/share/man/man3/al_get_audio_stream_length_secs.3alleg5.gz
578 B
al_get_audio_stream_length_secs.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_stream_length_secs·\-·Allegro·5·API5 al_get_audio_stream_length_secs·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 double·al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM·*stream)10 double·al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM·*stream)
 11 double·al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·length·of·the·stream·in·seconds,·if·known.14 Return·the·length·of·the·stream·in·seconds,·if·known.
14 Otherwise·returns·zero.15 Otherwise·returns·zero.
15 .PP16 .PP
16 Currently·this·can·only·be·called·on·streams·created·with17 Currently·this·can·only·be·called·on·streams·created·with
17 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),18 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
534 B
./usr/share/man/man3/al_get_audio_stream_pan.3alleg5.gz
424 B
al_get_audio_stream_pan.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_stream_pan·\-·Allegro·5·API5 al_get_audio_stream_pan·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_audio_stream_pan(const·ALLEGRO_AUDIO_STREAM·*stream)10 float·al_get_audio_stream_pan(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 float·al_get_audio_stream_pan(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·pan·value·of·the·stream.14 Get·the·pan·value·of·the·stream.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_audio_stream_pan(3alleg5).16 al_set_audio_stream_pan(3alleg5).
639 B
./usr/share/man/man3/al_get_audio_stream_played_samples.3alleg5.gz
507 B
al_get_audio_stream_played_samples.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_audio_stream_played_samples·\-·Allegro·5·API5 al_get_audio_stream_played_samples·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 uint64_t·al_get_audio_stream_played_samples(const·ALLEGRO_AUDIO_STREAM·*stream)10 uint64_t·al_get_audio_stream_played_samples(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 uint64_t·al_get_audio_stream_played_samples(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·number·of·samples·consumed·by·the·parent·since·the·audio·stream14 Get·the·number·of·samples·consumed·by·the·parent·since·the·audio·stream
14 was·started.15 was·started.
15 .SH·SINCE16 .SH·SINCE
16 5.1.817 5.1.8
569 B
./usr/share/man/man3/al_get_audio_stream_playing.3alleg5.gz
451 B
al_get_audio_stream_playing.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_stream_playing·\-·Allegro·5·API5 al_get_audio_stream_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_audio_stream_playing(const·ALLEGRO_AUDIO_STREAM·*stream)10 bool·al_get_audio_stream_playing(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 bool·al_get_audio_stream_playing(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·true·if·the·stream·is·playing.14 Return·true·if·the·stream·is·playing.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_audio_stream_playing(3alleg5).16 al_set_audio_stream_playing(3alleg5).
593 B
./usr/share/man/man3/al_get_audio_stream_playmode.3alleg5.gz
473 B
al_get_audio_stream_playmode.3alleg5
    
Offset 6, 12 lines modifiedOffset 6, 14 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_PLAYMODE·al_get_audio_stream_playmode(10 ALLEGRO_PLAYMODE·al_get_audio_stream_playmode(
11 ···const·ALLEGRO_AUDIO_STREAM·*stream)11 ···const·ALLEGRO_AUDIO_STREAM·*stream)
 12 ALLEGRO_PLAYMODE·al_get_audio_stream_playmode(
 13 ···const·ALLEGRO_AUDIO_STREAM·*stream)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Return·the·playback·mode·of·the·stream.16 Return·the·playback·mode·of·the·stream.
15 .SH·SEE·ALSO17 .SH·SEE·ALSO
16 ALLEGRO_PLAYMODE(3alleg5),·al_set_audio_stream_playmode(3alleg5).18 ALLEGRO_PLAYMODE(3alleg5),·al_set_audio_stream_playmode(3alleg5).
763 B
./usr/share/man/man3/al_get_audio_stream_position_secs.3alleg5.gz
633 B
al_get_audio_stream_position_secs.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_audio_stream_position_secs·\-·Allegro·5·API5 al_get_audio_stream_position_secs·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 double·al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM·*stream)10 double·al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM·*stream)
 11 double·al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·position·of·the·stream·in·seconds.14 Return·the·position·of·the·stream·in·seconds.
14 Currently·this·can·only·be·called·on·streams·created·with15 Currently·this·can·only·be·called·on·streams·created·with
15 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),16 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
16 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).17 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
567 B
./usr/share/man/man3/al_get_audio_stream_speed.3alleg5.gz
453 B
al_get_audio_stream_speed.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_audio_stream_speed·\-·Allegro·5·API5 al_get_audio_stream_speed·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_audio_stream_speed(const·ALLEGRO_AUDIO_STREAM·*stream)10 float·al_get_audio_stream_speed(const·ALLEGRO_AUDIO_STREAM·*stream)
 11 float·al_get_audio_stream_speed(const·ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·relative·playback·speed·of·the·stream.14 Return·the·relative·playback·speed·of·the·stream.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_audio_stream_speed(3alleg5).16 al_set_audio_stream_speed(3alleg5).
756 B
./usr/share/man/man3/al_get_available_audio_stream_fragments.3alleg5.gz
614 B
al_get_available_audio_stream_fragments.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_available_audio_stream_fragments(10 unsigned·int·al_get_available_audio_stream_fragments(
11 ···const·ALLEGRO_AUDIO_STREAM·*stream)11 ···const·ALLEGRO_AUDIO_STREAM·*stream)
 12 unsigned·int·al_get_available_audio_stream_fragments(
 13 ···const·ALLEGRO_AUDIO_STREAM·*stream)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Returns·the·number·of·available·fragments·in·the·stream,·that·is,16 Returns·the·number·of·available·fragments·in·the·stream,·that·is,
15 fragments·which·are·not·currently·filled·with·data·for·playback.17 fragments·which·are·not·currently·filled·with·data·for·playback.
16 .SH·SEE·ALSO18 .SH·SEE·ALSO
17 al_get_audio_stream_fragment(3alleg5),19 al_get_audio_stream_fragment(3alleg5),
18 al_get_audio_stream_fragments(3alleg5)20 al_get_audio_stream_fragments(3alleg5)
554 B
./usr/share/man/man3/al_get_channel_count.3alleg5.gz
450 B
al_get_channel_count.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_get_channel_count·\-·Allegro·5·API5 al_get_channel_count·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 size_t·al_get_channel_count(ALLEGRO_CHANNEL_CONF·conf)10 size_t·al_get_channel_count(ALLEGRO_CHANNEL_CONF·conf)
 11 size_t·al_get_channel_count(ALLEGRO_CHANNEL_CONF·conf)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·number·of·channels·for·the·given·channel·configuration,·which14 Return·the·number·of·channels·for·the·given·channel·configuration,·which
14 is·one·of·the·values·listed·under·ALLEGRO_CHANNEL_CONF(3alleg5).15 is·one·of·the·values·listed·under·ALLEGRO_CHANNEL_CONF(3alleg5).
689 B
./usr/share/man/man3/al_get_default_menu_event_source.3alleg5.gz
561 B
al_get_default_menu_event_source.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_default_menu_event_source·\-·Allegro·5·API5 al_get_default_menu_event_source·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_EVENT_SOURCE·*al_get_default_menu_event_source(void)10 ALLEGRO_EVENT_SOURCE·*al_get_default_menu_event_source(void)
 11 ALLEGRO_EVENT_SOURCE·*al_get_default_menu_event_source(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·default·event·source·used·for·menu·clicks.14 Returns·the·default·event·source·used·for·menu·clicks.
14 If·a·menu·was·not·given·its·own·event·source·via15 If·a·menu·was·not·given·its·own·event·source·via
15 al_enable_menu_event_source(3alleg5),·then·it·will·use·this·default16 al_enable_menu_event_source(3alleg5),·then·it·will·use·this·default
16 source.17 source.
17 .SH·SINCE18 .SH·SINCE
654 B
./usr/share/man/man3/al_get_default_mixer.3alleg5.gz
550 B
al_get_default_mixer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_default_mixer·\-·Allegro·5·API5 al_get_default_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_MIXER·*al_get_default_mixer(void)10 ALLEGRO_MIXER·*al_get_default_mixer(void)
 11 ALLEGRO_MIXER·*al_get_default_mixer(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·default·mixer,·or·NULL·if·one·has·not·been·set.14 Return·the·default·mixer,·or·NULL·if·one·has·not·been·set.
14 Although·different·configurations·of·mixers·and·voices·can·be·used,·in15 Although·different·configurations·of·mixers·and·voices·can·be·used,·in
15 most·cases·a·single·mixer·attached·to·a·voice·is·what·you·want.16 most·cases·a·single·mixer·attached·to·a·voice·is·what·you·want.
16 The·default·mixer·is·used·by·al_play_sample(3alleg5).17 The·default·mixer·is·used·by·al_play_sample(3alleg5).
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
505 B
./usr/share/man/man3/al_get_default_voice.3alleg5.gz
401 B
al_get_default_voice.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_default_voice·\-·Allegro·5·API5 al_get_default_voice·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_VOICE·*al_get_default_voice(void)10 ALLEGRO_VOICE·*al_get_default_voice(void)
 11 ALLEGRO_VOICE·*al_get_default_voice(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·default·voice·or·NULL·if·there·is·none.14 Returns·the·default·voice·or·NULL·if·there·is·none.
14 .SH·SINCE15 .SH·SINCE
15 5.1.1316 5.1.13
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_get_default_mixer(3alleg5)18 al_get_default_mixer(3alleg5)
567 B
./usr/share/man/man3/al_get_display_menu.3alleg5.gz
465 B
al_get_display_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_display_menu·\-·Allegro·5·API5 al_get_display_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_get_display_menu(ALLEGRO_DISPLAY·*display)10 ALLEGRO_MENU·*al_get_display_menu(ALLEGRO_DISPLAY·*display)
 11 ALLEGRO_MENU·*al_get_display_menu(ALLEGRO_DISPLAY·*displaynt,
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·menu·associated·with·the·\f[CR]display\f[R],·or14 Returns·the·menu·associated·with·the·\f[CR]display\f[R],·or
14 \f[CR]NULL\f[R]·if·it·does·not·have·a·menu.15 \f[CR]NULL\f[R]·if·it·does·not·have·a·menu.
15 .SH·SINCE16 .SH·SINCE
16 5.1.017 5.1.0
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
529 B
./usr/share/man/man3/al_get_fallback_font.3alleg5.gz
425 B
al_get_fallback_font.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_fallback_font·\-·Allegro·5·API5 al_get_fallback_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 ALLEGRO_FONT·*al_get_fallback_font(ALLEGRO_FONT·*font)10 ALLEGRO_FONT·*al_get_fallback_font(ALLEGRO_FONT·*font)
 11 ALLEGRO_FONT·*al_get_fallback_font(ALLEGRO_FONT·*font)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Retrieves·the·fallback·font·for·this·font·or·NULL.14 Retrieves·the·fallback·font·for·this·font·or·NULL.
14 .SH·SINCE15 .SH·SINCE
15 5.1.1216 5.1.12
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_set_fallback_font(3alleg5)18 al_set_fallback_font(3alleg5)
506 B
./usr/share/man/man3/al_get_font_ascent.3alleg5.gz
406 B
al_get_font_ascent.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_font_ascent·\-·Allegro·5·API5 al_get_font_ascent·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)10 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)
 11 int·al_get_font_ascent(const·ALLEGRO_FONT·*f)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·ascent·of·the·specified·font.14 Returns·the·ascent·of·the·specified·font.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_font_descent(3alleg5),·al_get_font_line_height(3alleg5)16 al_get_font_descent(3alleg5),·al_get_font_line_height(3alleg5)
513 B
./usr/share/man/man3/al_get_font_descent.3alleg5.gz
411 B
al_get_font_descent.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_font_descent·\-·Allegro·5·API5 al_get_font_descent·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_font_descent(const·ALLEGRO_FONT·*f)10 int·al_get_font_descent(const·ALLEGRO_FONT·*f)
 11 int·al_get_font_descent(const·ALLEGRO_FONT·*f)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·descent·of·the·specified·font.14 Returns·the·descent·of·the·specified·font.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_font_ascent(3alleg5),·al_get_font_line_height(3alleg5)16 al_get_font_ascent(3alleg5),·al_get_font_line_height(3alleg5)
695 B
./usr/share/man/man3/al_get_font_line_height.3alleg5.gz
585 B
al_get_font_line_height.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_font_line_height·\-·Allegro·5·API5 al_get_font_line_height·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)10 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)
 11 int·al_get_font_line_height(const·ALLEGRO_FONT·*f)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.14 Returns·the·usual·height·of·a·line·of·text·in·the·specified·font.
14 For·bitmap·fonts·this·is·simply·the·height·of·all·glyph·bitmaps.15 For·bitmap·fonts·this·is·simply·the·height·of·all·glyph·bitmaps.
15 For·truetype·fonts·it·is·whatever·the·font·file·specifies.16 For·truetype·fonts·it·is·whatever·the·font·file·specifies.
16 In·particular,·some·special·glyphs·may·be·higher·than·the·height17 In·particular,·some·special·glyphs·may·be·higher·than·the·height
17 returned·here.18 returned·here.
660 B
./usr/share/man/man3/al_get_font_ranges.3alleg5.gz
560 B
al_get_font_ranges.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_font_ranges·\-·Allegro·5·API5 al_get_font_ranges·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_font_ranges(ALLEGRO_FONT·*f,·int·ranges_count,·int·*ranges)10 int·al_get_font_ranges(ALLEGRO_FONT·*f,·int·ranges_count,·int·*ranges)
 11 int·al_get_font_ranges(ALLEGRO_FONT·*f,·int·ranges_count,·int·*ranges)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Gets·information·about·all·glyphs·contained·in·a·font,·as·a·list·of14 Gets·information·about·all·glyphs·contained·in·a·font,·as·a·list·of
14 ranges.15 ranges.
15 Ranges·have·the·same·format·as·with·al_grab_font_from_bitmap(3alleg5).16 Ranges·have·the·same·format·as·with·al_grab_font_from_bitmap(3alleg5).
16 .PP17 .PP
17 \f[CR]ranges_count\f[R]·is·the·maximum·number·of·ranges·that·will·be18 \f[CR]ranges_count\f[R]·is·the·maximum·number·of·ranges·that·will·be
711 B
./usr/share/man/man3/al_get_glyph.3alleg5.gz
623 B
al_get_glyph.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_glyph·\-·Allegro·5·API5 al_get_glyph·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 bool·al_get_glyph(const·ALLEGRO_FONT·*f,·int·prev_codepoint,·int·codepoint,·ALLEGRO_GLYPH·*glyph)10 bool·al_get_glyph(const·ALLEGRO_FONT·*f,·int·prev_codepoint,·int·codepoint,·ALLEGRO_GLYPH·*glyph)
 11 bool·al_get_glyph(const·ALLEGRO_FONT·*f,·int·prev_codepoint,·int·codepoint,·ALLEGRO_GLYPH·*glyph)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Gets·all·the·information·about·a·glyph,·including·the·bitmap,·needed·to14 Gets·all·the·information·about·a·glyph,·including·the·bitmap,·needed·to
14 draw·it·yourself.15 draw·it·yourself.
15 prev_codepoint·is·the·codepoint·in·the·string·before·the·one·you·want·to16 prev_codepoint·is·the·codepoint·in·the·string·before·the·one·you·want·to
16 draw·and·is·used·for·kerning.17 draw·and·is·used·for·kerning.
17 codepoint·is·the·character·you·want·to·get·info·about.18 codepoint·is·the·character·you·want·to·get·info·about.
776 B
./usr/share/man/man3/al_get_glyph_advance.3alleg5.gz
672 B
al_get_glyph_advance.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_glyph_advance·\-·Allegro·5·API5 al_get_glyph_advance·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_glyph_advance(const·ALLEGRO_FONT·*f,·int·codepoint1,·int·codepoint2)10 int·al_get_glyph_advance(const·ALLEGRO_FONT·*f,·int·codepoint1,·int·codepoint2)
 11 int·al_get_glyph_advance(const·ALLEGRO_FONT·*f,·int·codepoint1,·int·codepoint2)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·function·returns·by·how·much·the·x·position·should·be·advanced·for14 This·function·returns·by·how·much·the·x·position·should·be·advanced·for
14 left·to·right·text·drawing·when·the·glyph·that·corresponds·to·codepoint115 left·to·right·text·drawing·when·the·glyph·that·corresponds·to·codepoint1
15 has·been·drawn,·and·the·glyph·that·corresponds·to·codepoint2·will·be·the16 has·been·drawn,·and·the·glyph·that·corresponds·to·codepoint2·will·be·the
16 next·to·be·drawn.17 next·to·be·drawn.
17 This·takes·into·consideration·the·horizontal·advance·width·of·the·glyph18 This·takes·into·consideration·the·horizontal·advance·width·of·the·glyph
743 B
./usr/share/man/man3/al_get_glyph_dimensions.3alleg5.gz
633 B
al_get_glyph_dimensions.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 bool·al_get_glyph_dimensions(const·ALLEGRO_FONT·*f,10 bool·al_get_glyph_dimensions(const·ALLEGRO_FONT·*f,
11 ···int·codepoint,·int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)11 ···int·codepoint,·int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
 12 bool·al_get_glyph_dimensions(const·ALLEGRO_FONT·*f,
 13 ···int·codepoint,·int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Sometimes,·the·al_get_glyph_width(3alleg5)·or16 Sometimes,·the·al_get_glyph_width(3alleg5)·or
15 al_get_glyph_advance(3alleg5)·functions·are·not·enough·for·exact·glyph17 al_get_glyph_advance(3alleg5)·functions·are·not·enough·for·exact·glyph
16 placement,·so·this·function·returns·some·additional·information,18 placement,·so·this·function·returns·some·additional·information,
17 particularly·if·you·want·to·draw·the·font·vertically.19 particularly·if·you·want·to·draw·the·font·vertically.
18 .PP20 .PP
617 B
./usr/share/man/man3/al_get_glyph_width.3alleg5.gz
517 B
al_get_glyph_width.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_glyph_width·\-·Allegro·5·API5 al_get_glyph_width·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_glyph_width(const·ALLEGRO_FONT·*f,·int·codepoint)10 int·al_get_glyph_width(const·ALLEGRO_FONT·*f,·int·codepoint)
 11 int·al_get_glyph_width(const·ALLEGRO_FONT·*f,·int·codepoint)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·function·returns·the·width·in·pixels·of·the·glyph·that·corresponds14 This·function·returns·the·width·in·pixels·of·the·glyph·that·corresponds
14 with·\f[CR]codepoint\f[R]·in·the·font·\f[CR]font\f[R].15 with·\f[CR]codepoint\f[R]·in·the·font·\f[CR]font\f[R].
15 Returns·zero·if·the·font·does·not·have·such·a·glyph.16 Returns·zero·if·the·font·does·not·have·such·a·glyph.
16 .SH·SINCE17 .SH·SINCE
17 5.1.1218 5.1.12
548 B
./usr/share/man/man3/al_get_index_buffer_size.3alleg5.gz
436 B
al_get_index_buffer_size.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_index_buffer_size·\-·Allegro·5·API5 al_get_index_buffer_size·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 int·al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER*·buffer)10 int·al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER*·buffer)
 11 int·al_get_index_buffer_size(ALLEGRO_INDEX_BUFFER*·buffer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·size·of·the·index·buffer14 Returns·the·size·of·the·index·buffer
14 .SH·SINCE15 .SH·SINCE
15 5.1.816 5.1.8
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 ALLEGRO_INDEX_BUFFER(3alleg5)18 ALLEGRO_INDEX_BUFFER(3alleg5)
637 B
./usr/share/man/man3/al_get_menu_item_caption.3alleg5.gz
525 B
al_get_menu_item_caption.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_menu_item_caption·\-·Allegro·5·API5 al_get_menu_item_caption·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 const·char·*al_get_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos)10 const·char·*al_get_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos)
 11 const·char·*al_get_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·caption·associated·with·the·menu·item.14 Returns·the·caption·associated·with·the·menu·item.
14 It·is·valid·as·long·as·the·caption·is·not·modified.15 It·is·valid·as·long·as·the·caption·is·not·modified.
15 .PP16 .PP
16 Returns·\f[CR]NULL\f[R]·if·the·item·was·not·found.17 Returns·\f[CR]NULL\f[R]·if·the·item·was·not·found.
17 .SH·SINCE18 .SH·SINCE
590 B
./usr/share/man/man3/al_get_menu_item_flags.3alleg5.gz
482 B
al_get_menu_item_flags.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_menu_item_flags·\-·Allegro·5·API5 al_get_menu_item_flags·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 int·al_get_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos)10 int·al_get_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos)
 11 int·al_get_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·currently·set·flags.14 Returns·the·currently·set·flags.
14 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available15 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available
15 flags.16 flags.
16 .PP17 .PP
17 Returns·\-1·if·the·item·was·not·found.18 Returns·\-1·if·the·item·was·not·found.
707 B
./usr/share/man/man3/al_get_menu_item_icon.3alleg5.gz
601 B
al_get_menu_item_icon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_menu_item_icon·\-·Allegro·5·API5 al_get_menu_item_icon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_BITMAP·*al_get_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos)10 ALLEGRO_BITMAP·*al_get_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos)
 11 ALLEGRO_BITMAP·*al_get_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·icon·associated·with·the·menu.14 Returns·the·icon·associated·with·the·menu.
14 It·is·safe·to·draw·to·the·returned·bitmap,·but·you·must·call15 It·is·safe·to·draw·to·the·returned·bitmap,·but·you·must·call
15 al_set_menu_item_icon(3alleg5)·in·order·for·the·changes·to·be·applied.16 al_set_menu_item_icon(3alleg5)·in·order·for·the·changes·to·be·applied.
16 .PP17 .PP
17 Returns·\f[CR]NULL\f[R]·if·the·item·was·not·found·or·if·it·has·no·icon.18 Returns·\f[CR]NULL\f[R]·if·the·item·was·not·found·or·if·it·has·no·icon.
610 B
./usr/share/man/man3/al_get_mixer_attached.3alleg5.gz
504 B
al_get_mixer_attached.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_mixer_attached·\-·Allegro·5·API5 al_get_mixer_attached·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_mixer_attached(const·ALLEGRO_MIXER·*mixer)10 bool·al_get_mixer_attached(const·ALLEGRO_MIXER·*mixer)
 11 bool·al_get_mixer_attached(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·true·if·the·mixer·is·attached·to·something.14 Return·true·if·the·mixer·is·attached·to·something.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_mixer_has_attachments(3alleg5),16 al_mixer_has_attachments(3alleg5),
16 al_attach_sample_instance_to_mixer(3alleg5),17 al_attach_sample_instance_to_mixer(3alleg5),
17 al_attach_audio_stream_to_mixer(3alleg5),18 al_attach_audio_stream_to_mixer(3alleg5),
538 B
./usr/share/man/man3/al_get_mixer_channels.3alleg5.gz
432 B
al_get_mixer_channels.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_mixer_channels·\-·Allegro·5·API5 al_get_mixer_channels·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_CHANNEL_CONF·al_get_mixer_channels(const·ALLEGRO_MIXER·*mixer)10 ALLEGRO_CHANNEL_CONF·al_get_mixer_channels(const·ALLEGRO_MIXER·*mixer)
 11 ALLEGRO_CHANNEL_CONF·al_get_mixer_channels(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·mixer·channel·configuration.14 Return·the·mixer·channel·configuration.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_CHANNEL_CONF(3alleg5).16 ALLEGRO_CHANNEL_CONF(3alleg5).
504 B
./usr/share/man/man3/al_get_mixer_depth.3alleg5.gz
404 B
al_get_mixer_depth.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_mixer_depth·\-·Allegro·5·API5 al_get_mixer_depth·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_DEPTH·al_get_mixer_depth(const·ALLEGRO_MIXER·*mixer)10 ALLEGRO_AUDIO_DEPTH·al_get_mixer_depth(const·ALLEGRO_MIXER·*mixer)
 11 ALLEGRO_AUDIO_DEPTH·al_get_mixer_depth(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·mixer·audio·depth.14 Return·the·mixer·audio·depth.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_AUDIO_DEPTH(3alleg5).16 ALLEGRO_AUDIO_DEPTH(3alleg5).
526 B
./usr/share/man/man3/al_get_mixer_frequency.3alleg5.gz
418 B
al_get_mixer_frequency.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_mixer_frequency·\-·Allegro·5·API5 al_get_mixer_frequency·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_mixer_frequency(const·ALLEGRO_MIXER·*mixer)10 unsigned·int·al_get_mixer_frequency(const·ALLEGRO_MIXER·*mixer)
 11 unsigned·int·al_get_mixer_frequency(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·mixer·frequency·(in·Hz).14 Return·the·mixer·frequency·(in·Hz).
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_mixer_frequency(3alleg5)16 al_set_mixer_frequency(3alleg5)
500 B
./usr/share/man/man3/al_get_mixer_gain.3alleg5.gz
402 B
al_get_mixer_gain.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_mixer_gain·\-·Allegro·5·API5 al_get_mixer_gain·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_mixer_gain(const·ALLEGRO_MIXER·*mixer)10 float·al_get_mixer_gain(const·ALLEGRO_MIXER·*mixer)
 11 float·al_get_mixer_gain(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·mixer·gain·(amplification·factor).14 Return·the·mixer·gain·(amplification·factor).
14 The·default·is·1.0.15 The·default·is·1.0.
15 .SH·SINCE16 .SH·SINCE
16 5.0.6,·5.1.017 5.0.6,·5.1.0
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
496 B
./usr/share/man/man3/al_get_mixer_playing.3alleg5.gz
392 B
al_get_mixer_playing.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_mixer_playing·\-·Allegro·5·API5 al_get_mixer_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_mixer_playing(const·ALLEGRO_MIXER·*mixer)10 bool·al_get_mixer_playing(const·ALLEGRO_MIXER·*mixer)
 11 bool·al_get_mixer_playing(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·true·if·the·mixer·is·playing.14 Return·true·if·the·mixer·is·playing.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_mixer_playing(3alleg5).16 al_set_mixer_playing(3alleg5).
550 B
./usr/share/man/man3/al_get_mixer_quality.3alleg5.gz
446 B
al_get_mixer_quality.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_mixer_quality·\-·Allegro·5·API5 al_get_mixer_quality·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_MIXER_QUALITY·al_get_mixer_quality(const·ALLEGRO_MIXER·*mixer)10 ALLEGRO_MIXER_QUALITY·al_get_mixer_quality(const·ALLEGRO_MIXER·*mixer)
 11 ALLEGRO_MIXER_QUALITY·al_get_mixer_quality(const·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·mixer·quality.14 Return·the·mixer·quality.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_MIXER_QUALITY(3alleg5),·al_set_mixer_quality(3alleg5)16 ALLEGRO_MIXER_QUALITY(3alleg5),·al_set_mixer_quality(3alleg5)
582 B
./usr/share/man/man3/al_get_native_file_dialog_count.3alleg5.gz
456 B
al_get_native_file_dialog_count.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 al_get_native_file_dialog_count·\-·Allegro·5·API5 al_get_native_file_dialog_count·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)10 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)
 11 int·al_get_native_file_dialog_count(const·ALLEGRO_FILECHOOSER·*dialog)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.14 Returns·the·number·of·files·selected,·or·0·if·the·dialog·was·cancelled.
692 B
./usr/share/man/man3/al_get_native_file_dialog_path.3alleg5.gz
568 B
al_get_native_file_dialog_path.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 const·char·*al_get_native_file_dialog_path(10 const·char·*al_get_native_file_dialog_path(
11 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)11 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)
 12 const·char·*al_get_native_file_dialog_path(
 13 ···const·ALLEGRO_FILECHOOSER·*dialog,·size_t·i)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Returns·one·of·the·selected·paths·with·index·\f[CR]i\f[R].16 Returns·one·of·the·selected·paths·with·index·\f[CR]i\f[R].
15 The·index·should·range·from·\f[CR]0\f[R]·to·the·return·value·of17 The·index·should·range·from·\f[CR]0\f[R]·to·the·return·value·of
16 al_get_native_file_dialog_count(3alleg5)·\f[CR]\-1\f[R].18 al_get_native_file_dialog_count(3alleg5)·\f[CR]\-1\f[R].
17 .RS19 .RS
18 .PP20 .PP
690 B
./usr/share/man/man3/al_get_native_text_log_event_source.3alleg5.gz
556 B
al_get_native_text_log_event_source.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_EVENT_SOURCE·*al_get_native_text_log_event_source(10 ALLEGRO_EVENT_SOURCE·*al_get_native_text_log_event_source(
11 ···ALLEGRO_TEXTLOG·*textlog)11 ···ALLEGRO_TEXTLOG·*textlog)
 12 ALLEGRO_EVENT_SOURCE·*al_get_native_text_log_event_source(
 13 ···ALLEGRO_TEXTLOG·*textlog)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Get·an·event·source·for·a·text·log·window.16 Get·an·event·source·for·a·text·log·window.
15 The·possible·events·are:17 The·possible·events·are:
16 .TP18 .TP
17 ALLEGRO_EVENT_NATIVE_DIALOG_CLOSE19 ALLEGRO_EVENT_NATIVE_DIALOG_CLOSE
18 The·window·was·requested·to·be·closed,·either·by·pressing·the·close20 The·window·was·requested·to·be·closed,·either·by·pressing·the·close
560 B
./usr/share/man/man3/al_get_num_audio_output_devices.3alleg5.gz
434 B
al_get_num_audio_output_devices.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_num_audio_output_devices·\-·Allegro·5·API5 al_get_num_audio_output_devices·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 int·al_get_num_audio_output_devices()10 int·al_get_num_audio_output_devices()
 11 int·al_get_num_audio_output_devices()
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·number·of·available·audio·output·devices·on·the·system.14 Get·the·number·of·available·audio·output·devices·on·the·system.
14 .SH·SINCE15 .SH·SINCE
15 5.2.816 5.2.8
16 .PP17 .PP
17 return·\-1·for·unsupported·drivers.18 return·\-1·for·unsupported·drivers.
601 B
./usr/share/man/man3/al_get_sample.3alleg5.gz
511 B
al_get_sample.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_sample·\-·Allegro·5·API5 al_get_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_SAMPLE·*al_get_sample(ALLEGRO_SAMPLE_INSTANCE·*spl)10 ALLEGRO_SAMPLE·*al_get_sample(ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 ALLEGRO_SAMPLE·*al_get_sample(ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·sample·data·that·the·sample·instance·plays.14 Return·the·sample·data·that·the·sample·instance·plays.
14 .PP15 .PP
15 Note·this·returns·a·pointer·to·an·internal·structure,·\f[I]not\f[R]·the16 Note·this·returns·a·pointer·to·an·internal·structure,·\f[I]not\f[R]·the
16 ALLEGRO_SAMPLE(3alleg5)·that·you·may·have·passed·to17 ALLEGRO_SAMPLE(3alleg5)·that·you·may·have·passed·to
17 al_set_sample(3alleg5).18 al_set_sample(3alleg5).
676 B
./usr/share/man/man3/al_get_sample_channels.3alleg5.gz
568 B
al_get_sample_channels.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_sample_channels·\-·Allegro·5·API5 al_get_sample_channels·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_CHANNEL_CONF·al_get_sample_channels(const·ALLEGRO_SAMPLE·*spl)10 ALLEGRO_CHANNEL_CONF·al_get_sample_channels(const·ALLEGRO_SAMPLE·*spl)
 11 ALLEGRO_CHANNEL_CONF·al_get_sample_channels(const·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·channel·configuration·of·the·sample.14 Return·the·channel·configuration·of·the·sample.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_CHANNEL_CONF(3alleg5),·al_get_sample_depth(3alleg5),16 ALLEGRO_CHANNEL_CONF(3alleg5),·al_get_sample_depth(3alleg5),
16 al_get_sample_frequency(3alleg5),·al_get_sample_length(3alleg5),17 al_get_sample_frequency(3alleg5),·al_get_sample_length(3alleg5),
17 al_get_sample_data(3alleg5)18 al_get_sample_data(3alleg5)
583 B
./usr/share/man/man3/al_get_sample_data.3alleg5.gz
483 B
al_get_sample_data.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_sample_data·\-·Allegro·5·API5 al_get_sample_data·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·*al_get_sample_data(const·ALLEGRO_SAMPLE·*spl)10 void·*al_get_sample_data(const·ALLEGRO_SAMPLE·*spl)
 11 void·*al_get_sample_data(const·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·a·pointer·to·the·raw·sample·data.14 Return·a·pointer·to·the·raw·sample·data.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_sample_channels(3alleg5),·al_get_sample_depth(3alleg5),16 al_get_sample_channels(3alleg5),·al_get_sample_depth(3alleg5),
16 al_get_sample_frequency(3alleg5),·al_get_sample_length(3alleg5)17 al_get_sample_frequency(3alleg5),·al_get_sample_length(3alleg5)
645 B
./usr/share/man/man3/al_get_sample_depth.3alleg5.gz
543 B
al_get_sample_depth.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_sample_depth·\-·Allegro·5·API5 al_get_sample_depth·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_DEPTH·al_get_sample_depth(const·ALLEGRO_SAMPLE·*spl)10 ALLEGRO_AUDIO_DEPTH·al_get_sample_depth(const·ALLEGRO_SAMPLE·*spl)
 11 ALLEGRO_AUDIO_DEPTH·al_get_sample_depth(const·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·audio·depth·of·the·sample.14 Return·the·audio·depth·of·the·sample.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_AUDIO_DEPTH(3alleg5),·al_get_sample_channels(3alleg5),16 ALLEGRO_AUDIO_DEPTH(3alleg5),·al_get_sample_channels(3alleg5),
16 al_get_sample_frequency(3alleg5),·al_get_sample_length(3alleg5),17 al_get_sample_frequency(3alleg5),·al_get_sample_length(3alleg5),
17 al_get_sample_data(3alleg5)18 al_get_sample_data(3alleg5)
630 B
./usr/share/man/man3/al_get_sample_frequency.3alleg5.gz
520 B
al_get_sample_frequency.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_sample_frequency·\-·Allegro·5·API5 al_get_sample_frequency·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_sample_frequency(const·ALLEGRO_SAMPLE·*spl)10 unsigned·int·al_get_sample_frequency(const·ALLEGRO_SAMPLE·*spl)
 11 unsigned·int·al_get_sample_frequency(const·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·frequency·(in·Hz)·of·the·sample.14 Return·the·frequency·(in·Hz)·of·the·sample.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_sample_channels(3alleg5),·al_get_sample_depth(3alleg5),16 al_get_sample_channels(3alleg5),·al_get_sample_depth(3alleg5),
16 al_get_sample_length(3alleg5),·al_get_sample_data(3alleg5)17 al_get_sample_length(3alleg5),·al_get_sample_data(3alleg5)
709 B
./usr/share/man/man3/al_get_sample_instance_attached.3alleg5.gz
583 B
al_get_sample_instance_attached.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_sample_instance_attached·\-·Allegro·5·API5 al_get_sample_instance_attached·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_sample_instance_attached(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 bool·al_get_sample_instance_attached(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 bool·al_get_sample_instance_attached(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·whether·the·sample·instance·is·attached·to·something.14 Return·whether·the·sample·instance·is·attached·to·something.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_attach_sample_instance_to_mixer(3alleg5),16 al_attach_sample_instance_to_mixer(3alleg5),
16 al_attach_sample_instance_to_voice(3alleg5),17 al_attach_sample_instance_to_voice(3alleg5),
17 al_detach_sample_instance(3alleg5)18 al_detach_sample_instance(3alleg5)
620 B
./usr/share/man/man3/al_get_sample_instance_channels.3alleg5.gz
494 B
al_get_sample_instance_channels.3alleg5
    
Offset 6, 13 lines modifiedOffset 6, 15 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_CHANNEL_CONF·al_get_sample_instance_channels(10 ALLEGRO_CHANNEL_CONF·al_get_sample_instance_channels(
11 ···const·ALLEGRO_SAMPLE_INSTANCE·*spl)11 ···const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 12 ALLEGRO_CHANNEL_CONF·al_get_sample_instance_channels(
 13 ···const·ALLEGRO_SAMPLE_INSTANCE·*spl)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Return·the·channel·configuration·of·the·sample·instance\[cq]s·sample16 Return·the·channel·configuration·of·the·sample·instance\[cq]s·sample
15 data.17 data.
16 .SH·SEE·ALSO18 .SH·SEE·ALSO
17 ALLEGRO_CHANNEL_CONF(3alleg5).19 ALLEGRO_CHANNEL_CONF(3alleg5).
625 B
./usr/share/man/man3/al_get_sample_instance_depth.3alleg5.gz
505 B
al_get_sample_instance_depth.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_sample_instance_depth·\-·Allegro·5·API5 al_get_sample_instance_depth·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_DEPTH·al_get_sample_instance_depth(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 ALLEGRO_AUDIO_DEPTH·al_get_sample_instance_depth(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 ALLEGRO_AUDIO_DEPTH·al_get_sample_instance_depth(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·audio·depth·of·the·sample·instance\[cq]s·sample·data.14 Return·the·audio·depth·of·the·sample·instance\[cq]s·sample·data.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_AUDIO_DEPTH(3alleg5).16 ALLEGRO_AUDIO_DEPTH(3alleg5).
600 B
./usr/share/man/man3/al_get_sample_instance_frequency.3alleg5.gz
472 B
al_get_sample_instance_frequency.3alleg5
    
Offset 5, 10 lines modifiedOffset 5, 11 lines modified
5 al_get_sample_instance_frequency·\-·Allegro·5·API5 al_get_sample_instance_frequency·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_sample_instance_frequency(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 unsigned·int·al_get_sample_instance_frequency(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 unsigned·int·al_get_sample_instance_frequency(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·frequency·(in·Hz)·of·the·sample·instance\[cq]s·sample·data.14 Return·the·frequency·(in·Hz)·of·the·sample·instance\[cq]s·sample·data.
581 B
./usr/share/man/man3/al_get_sample_instance_gain.3alleg5.gz
463 B
al_get_sample_instance_gain.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_sample_instance_gain·\-·Allegro·5·API5 al_get_sample_instance_gain·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_sample_instance_gain(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 float·al_get_sample_instance_gain(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 float·al_get_sample_instance_gain(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·playback·gain·of·the·sample·instance.14 Return·the·playback·gain·of·the·sample·instance.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_sample_instance_gain(3alleg5)16 al_set_sample_instance_gain(3alleg5)
700 B
./usr/share/man/man3/al_get_sample_instance_length.3alleg5.gz
578 B
al_get_sample_instance_length.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_sample_instance_length·\-·Allegro·5·API5 al_get_sample_instance_length·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_sample_instance_length(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 unsigned·int·al_get_sample_instance_length(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 unsigned·int·al_get_sample_instance_length(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·length·of·the·sample·instance·in·sample·values.14 Return·the·length·of·the·sample·instance·in·sample·values.
14 This·property·may·differ·from·the·length·of·the·instance\[cq]s·sample15 This·property·may·differ·from·the·length·of·the·instance\[cq]s·sample
15 data.16 data.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_set_sample_instance_length(3alleg5),18 al_set_sample_instance_length(3alleg5),
567 B
./usr/share/man/man3/al_get_sample_instance_pan.3alleg5.gz
451 B
al_get_sample_instance_pan.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_sample_instance_pan·\-·Allegro·5·API5 al_get_sample_instance_pan·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_sample_instance_pan(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 float·al_get_sample_instance_pan(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 float·al_get_sample_instance_pan(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·pan·value·of·the·sample·instance.14 Get·the·pan·value·of·the·sample·instance.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_sample_instance_pan(3alleg5).16 al_set_sample_instance_pan(3alleg5).
682 B
./usr/share/man/man3/al_get_sample_instance_playing.3alleg5.gz
558 B
al_get_sample_instance_playing.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_sample_instance_playing·\-·Allegro·5·API5 al_get_sample_instance_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_sample_instance_playing(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 bool·al_get_sample_instance_playing(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 bool·al_get_sample_instance_playing(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·true·if·the·sample·instance·is·in·the·playing·state.14 Return·true·if·the·sample·instance·is·in·the·playing·state.
14 This·may·be·true·even·if·the·instance·is·not·attached·to·anything.15 This·may·be·true·even·if·the·instance·is·not·attached·to·anything.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_set_sample_instance_playing(3alleg5)17 al_set_sample_instance_playing(3alleg5)
662 B
./usr/share/man/man3/al_get_sample_instance_playmode.3alleg5.gz
536 B
al_get_sample_instance_playmode.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_sample_instance_playmode·\-·Allegro·5·API5 al_get_sample_instance_playmode·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_PLAYMODE·al_get_sample_instance_playmode(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 ALLEGRO_PLAYMODE·al_get_sample_instance_playmode(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 ALLEGRO_PLAYMODE·al_get_sample_instance_playmode(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·playback·mode·of·the·sample·instance.14 Return·the·playback·mode·of·the·sample·instance.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_PLAYMODE(3alleg5),·al_set_sample_instance_playmode(3alleg5)16 ALLEGRO_PLAYMODE(3alleg5),·al_set_sample_instance_playmode(3alleg5)
626 B
./usr/share/man/man3/al_get_sample_instance_position.3alleg5.gz
500 B
al_get_sample_instance_position.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_sample_instance_position·\-·Allegro·5·API5 al_get_sample_instance_position·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_sample_instance_position(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 unsigned·int·al_get_sample_instance_position(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 unsigned·int·al_get_sample_instance_position(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·the·playback·position·of·a·sample·instance.14 Get·the·playback·position·of·a·sample·instance.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_sample_instance_position(3alleg5)16 al_set_sample_instance_position(3alleg5)
599 B
./usr/share/man/man3/al_get_sample_instance_speed.3alleg5.gz
479 B
al_get_sample_instance_speed.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_sample_instance_speed·\-·Allegro·5·API5 al_get_sample_instance_speed·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_sample_instance_speed(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 float·al_get_sample_instance_speed(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 float·al_get_sample_instance_speed(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·relative·playback·speed·of·the·sample·instance.14 Return·the·relative·playback·speed·of·the·sample·instance.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_sample_instance_speed(3alleg5)16 al_set_sample_instance_speed(3alleg5)
622 B
./usr/share/man/man3/al_get_sample_instance_time.3alleg5.gz
504 B
al_get_sample_instance_time.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_sample_instance_time·\-·Allegro·5·API5 al_get_sample_instance_time·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 float·al_get_sample_instance_time(const·ALLEGRO_SAMPLE_INSTANCE·*spl)10 float·al_get_sample_instance_time(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 float·al_get_sample_instance_time(const·ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·length·of·the·sample·instance·in·seconds,·assuming·a·playback14 Return·the·length·of·the·sample·instance·in·seconds,·assuming·a·playback
14 speed·of·1.0.15 speed·of·1.0.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_get_sample_instance_length(3alleg5)17 al_get_sample_instance_length(3alleg5)
618 B
./usr/share/man/man3/al_get_sample_length.3alleg5.gz
514 B
al_get_sample_length.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_sample_length·\-·Allegro·5·API5 al_get_sample_length·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_sample_length(const·ALLEGRO_SAMPLE·*spl)10 unsigned·int·al_get_sample_length(const·ALLEGRO_SAMPLE·*spl)
 11 unsigned·int·al_get_sample_length(const·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·length·of·the·sample·in·sample·values.14 Return·the·length·of·the·sample·in·sample·values.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_sample_channels(3alleg5),·al_get_sample_depth(3alleg5),16 al_get_sample_channels(3alleg5),·al_get_sample_depth(3alleg5),
16 al_get_sample_frequency(3alleg5),·al_get_sample_data(3alleg5)17 al_get_sample_frequency(3alleg5),·al_get_sample_data(3alleg5)
721 B
./usr/share/man/man3/al_get_text_dimensions.3alleg5.gz
613 B
al_get_text_dimensions.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_get_text_dimensions(const·ALLEGRO_FONT·*f,10 void·al_get_text_dimensions(const·ALLEGRO_FONT·*f,
11 ···char·const·*text,11 ···char·const·*text,
12 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)12 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
 13 void·al_get_text_dimensions(const·ALLEGRO_FONT·*f,
 14 ···char·const·*text,
 15 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Sometimes,·the·al_get_text_width(3alleg5)·and18 Sometimes,·the·al_get_text_width(3alleg5)·and
16 al_get_font_line_height(3alleg5)·functions·are·not·enough·for·exact·text19 al_get_font_line_height(3alleg5)·functions·are·not·enough·for·exact·text
17 placement,·so·this·function·returns·some·additional·information.20 placement,·so·this·function·returns·some·additional·information.
18 .PP21 .PP
19 Returned·variables·(all·in·pixels):22 Returned·variables·(all·in·pixels):
590 B
./usr/share/man/man3/al_get_text_width.3alleg5.gz
492 B
al_get_text_width.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_text_width·\-·Allegro·5·API5 al_get_text_width·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_text_width(const·ALLEGRO_FONT·*f,·const·char·*str)10 int·al_get_text_width(const·ALLEGRO_FONT·*f,·const·char·*str)
 11 int·al_get_text_width(const·ALLEGRO_FONT·*f,·const·char·*str)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Calculates·the·length·of·a·string·in·a·particular·font,·in·pixels.14 Calculates·the·length·of·a·string·in·a·particular·font,·in·pixels.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_ustr_width(3alleg5),·al_get_font_line_height(3alleg5),16 al_get_ustr_width(3alleg5),·al_get_font_line_height(3alleg5),
16 al_get_text_dimensions(3alleg5)17 al_get_text_dimensions(3alleg5)
681 B
./usr/share/man/man3/al_get_ustr_dimensions.3alleg5.gz
573 B
al_get_ustr_dimensions.3alleg5
    
Offset 7, 13 lines modifiedOffset 7, 16 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_get_ustr_dimensions(const·ALLEGRO_FONT·*f,10 void·al_get_ustr_dimensions(const·ALLEGRO_FONT·*f,
11 ···ALLEGRO_USTR·const·*ustr,11 ···ALLEGRO_USTR·const·*ustr,
12 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)12 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
 13 void·al_get_ustr_dimensions(const·ALLEGRO_FONT·*f,
 14 ···ALLEGRO_USTR·const·*ustr,
 15 ···int·*bbx,·int·*bby,·int·*bbw,·int·*bbh)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Like·al_get_text_dimensions(3alleg5),·except·the·text·is·passed·as·an18 Like·al_get_text_dimensions(3alleg5),·except·the·text·is·passed·as·an
16 ALLEGRO_USTR·instead·of·a·NUL\-terminated·char·array.19 ALLEGRO_USTR·instead·of·a·NUL\-terminated·char·array.
17 .SH·SEE·ALSO20 .SH·SEE·ALSO
18 al_get_text_dimensions(3alleg5)21 al_get_text_dimensions(3alleg5)
567 B
./usr/share/man/man3/al_get_ustr_width.3alleg5.gz
469 B
al_get_ustr_width.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_ustr_width·\-·Allegro·5·API5 al_get_ustr_width·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 int·al_get_ustr_width(const·ALLEGRO_FONT·*f,·ALLEGRO_USTR·const·*ustr)10 int·al_get_ustr_width(const·ALLEGRO_FONT·*f,·ALLEGRO_USTR·const·*ustr)
 11 int·al_get_ustr_width(const·ALLEGRO_FONT·*f,·ALLEGRO_USTR·const·*ustr)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Like·al_get_text_width(3alleg5)·but·expects·an·ALLEGRO_USTR.14 Like·al_get_text_width(3alleg5)·but·expects·an·ALLEGRO_USTR.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_text_width(3alleg5),·al_get_ustr_dimensions(3alleg5)16 al_get_text_width(3alleg5),·al_get_ustr_dimensions(3alleg5)
559 B
./usr/share/man/man3/al_get_vertex_buffer_size.3alleg5.gz
445 B
al_get_vertex_buffer_size.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_vertex_buffer_size·\-·Allegro·5·API5 al_get_vertex_buffer_size·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 int·al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER*·buffer)10 int·al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER*·buffer)
 11 int·al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER*·buffer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·size·of·the·vertex·buffer14 Returns·the·size·of·the·vertex·buffer
14 .SH·SINCE15 .SH·SINCE
15 5.1.816 5.1.8
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 ALLEGRO_VERTEX_BUFFER(3alleg5)18 ALLEGRO_VERTEX_BUFFER(3alleg5)
488 B
./usr/share/man/man3/al_get_video_audio_rate.3alleg5.gz
378 B
al_get_video_audio_rate.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_video_audio_rate·\-·Allegro·5·API5 al_get_video_audio_rate·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 double·al_get_video_audio_rate(ALLEGRO_VIDEO·*video)10 double·al_get_video_audio_rate(ALLEGRO_VIDEO·*video)
 11 double·al_get_video_audio_rate(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·audio·rate·of·the·video,·in·Hz.14 Returns·the·audio·rate·of·the·video,·in·Hz.
14 .SH·SINCE15 .SH·SINCE
15 5.1.016 5.1.0
600 B
./usr/share/man/man3/al_get_video_event_source.3alleg5.gz
486 B
al_get_video_event_source.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_video_event_source·\-·Allegro·5·API5 al_get_video_event_source·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)10 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)
 11 ALLEGRO_EVENT_SOURCE·*al_get_video_event_source(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Get·an·event·source·for·the·video.14 Get·an·event·source·for·the·video.
14 The·possible·events·are·described·under15 The·possible·events·are·described·under
15 ALLEGRO_VIDEO_EVENT_TYPE(3alleg5).16 ALLEGRO_VIDEO_EVENT_TYPE(3alleg5).
16 .SH·SINCE17 .SH·SINCE
17 5.1.018 5.1.0
490 B
./usr/share/man/man3/al_get_video_fps.3alleg5.gz
394 B
al_get_video_fps.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_get_video_fps·\-·Allegro·5·API5 al_get_video_fps·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 double·al_get_video_fps(ALLEGRO_VIDEO·*video)10 double·al_get_video_fps(ALLEGRO_VIDEO·*video)
 11 double·al_get_video_fps(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·speed·of·the·video·in·frames·per·second.14 Returns·the·speed·of·the·video·in·frames·per·second.
14 Often·this·will·not·be·an·integer·value.15 Often·this·will·not·be·an·integer·value.
15 .SH·SINCE16 .SH·SINCE
16 5.1.017 5.1.0
654 B
./usr/share/man/man3/al_get_video_frame.3alleg5.gz
554 B
al_get_video_frame.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_video_frame·\-·Allegro·5·API5 al_get_video_frame·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 ALLEGRO_BITMAP·*al_get_video_frame(ALLEGRO_VIDEO·*video)10 ALLEGRO_BITMAP·*al_get_video_frame(ALLEGRO_VIDEO·*video)
 11 ALLEGRO_BITMAP·*al_get_video_frame(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·current·video·frame.14 Returns·the·current·video·frame.
14 The·bitmap·is·owned·by·the·video·so·do·not·attempt·to·free·it.15 The·bitmap·is·owned·by·the·video·so·do·not·attempt·to·free·it.
15 The·bitmap·will·stay·valid·until·the·next·call·to·al_get_video_frame.16 The·bitmap·will·stay·valid·until·the·next·call·to·al_get_video_frame.
16 .PP17 .PP
17 Videos·often·do·not·use·square·pixels·so·the·recommended·way·to·draw·a18 Videos·often·do·not·use·square·pixels·so·the·recommended·way·to·draw·a
653 B
./usr/share/man/man3/al_get_video_position.3alleg5.gz
547 B
al_get_video_position.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_video_position·\-·Allegro·5·API5 al_get_video_position·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 double·al_get_video_position(ALLEGRO_VIDEO·*video,·ALLEGRO_VIDEO_POSITION_TYPE·which)10 double·al_get_video_position(ALLEGRO_VIDEO·*video,·ALLEGRO_VIDEO_POSITION_TYPE·which)
 11 double·al_get_video_position(ALLEGRO_VIDEO·*video,·ALLEGRO_VIDEO_POSITION_TYPE·which)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·current·position·of·the·video·stream·in·seconds·since·the14 Returns·the·current·position·of·the·video·stream·in·seconds·since·the
14 beginning.15 beginning.
15 The·parameter·is·one·of·the·ALLEGRO_VIDEO_POSITION_TYPE(3alleg5)16 The·parameter·is·one·of·the·ALLEGRO_VIDEO_POSITION_TYPE(3alleg5)
16 constants.17 constants.
17 .SH·SINCE18 .SH·SINCE
668 B
./usr/share/man/man3/al_get_video_scaled_height.3alleg5.gz
552 B
al_get_video_scaled_height.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_video_scaled_height·\-·Allegro·5·API5 al_get_video_scaled_height·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 float·al_get_video_scaled_height(ALLEGRO_VIDEO·*video)10 float·al_get_video_scaled_height(ALLEGRO_VIDEO·*video)
 11 float·al_get_video_scaled_height(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·height·with·which·the·video·frame·should·be·drawn.14 Returns·the·height·with·which·the·video·frame·should·be·drawn.
14 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value15 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value
15 larger·than·the·height·of·the·frame·bitmap.16 larger·than·the·height·of·the·frame·bitmap.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_get_video_frame(3alleg5)18 al_get_video_frame(3alleg5)
635 B
./usr/share/man/man3/al_get_video_scaled_width.3alleg5.gz
521 B
al_get_video_scaled_width.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_video_scaled_width·\-·Allegro·5·API5 al_get_video_scaled_width·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 float·al_get_video_scaled_width(ALLEGRO_VIDEO·*video)10 float·al_get_video_scaled_width(ALLEGRO_VIDEO·*video)
 11 float·al_get_video_scaled_width(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·the·width·with·which·the·video·frame·should·be·drawn.14 Returns·the·width·with·which·the·video·frame·should·be·drawn.
14 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value15 Videos·often·do·not·use·square·pixels,·so·this·will·may·return·a·value
15 larger·than·the·width·of·the·frame·bitmap.16 larger·than·the·width·of·the·frame·bitmap.
16 .SH·SINCE17 .SH·SINCE
17 5.1.1218 5.1.12
545 B
./usr/share/man/man3/al_get_voice_channels.3alleg5.gz
439 B
al_get_voice_channels.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_voice_channels·\-·Allegro·5·API5 al_get_voice_channels·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_CHANNEL_CONF·al_get_voice_channels(const·ALLEGRO_VOICE·*voice)10 ALLEGRO_CHANNEL_CONF·al_get_voice_channels(const·ALLEGRO_VOICE·*voice)
 11 ALLEGRO_CHANNEL_CONF·al_get_voice_channels(const·ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·channel·configuration·of·the·voice.14 Return·the·channel·configuration·of·the·voice.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_CHANNEL_CONF(3alleg5).16 ALLEGRO_CHANNEL_CONF(3alleg5).
511 B
./usr/share/man/man3/al_get_voice_depth.3alleg5.gz
411 B
al_get_voice_depth.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_voice_depth·\-·Allegro·5·API5 al_get_voice_depth·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_DEPTH·al_get_voice_depth(const·ALLEGRO_VOICE·*voice)10 ALLEGRO_AUDIO_DEPTH·al_get_voice_depth(const·ALLEGRO_VOICE·*voice)
 11 ALLEGRO_AUDIO_DEPTH·al_get_voice_depth(const·ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·the·audio·depth·of·the·voice.14 Return·the·audio·depth·of·the·voice.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 ALLEGRO_AUDIO_DEPTH(3alleg5).16 ALLEGRO_AUDIO_DEPTH(3alleg5).
505 B
./usr/share/man/man3/al_get_voice_playing.3alleg5.gz
401 B
al_get_voice_playing.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_get_voice_playing·\-·Allegro·5·API5 al_get_voice_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_get_voice_playing(const·ALLEGRO_VOICE·*voice)10 bool·al_get_voice_playing(const·ALLEGRO_VOICE·*voice)
 11 bool·al_get_voice_playing(const·ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Return·true·if·the·voice·is·currently·playing.14 Return·true·if·the·voice·is·currently·playing.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_set_voice_playing(3alleg5)16 al_set_voice_playing(3alleg5)
634 B
./usr/share/man/man3/al_get_voice_position.3alleg5.gz
528 B
al_get_voice_position.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_get_voice_position·\-·Allegro·5·API5 al_get_voice_position·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 unsigned·int·al_get_voice_position(const·ALLEGRO_VOICE·*voice)10 unsigned·int·al_get_voice_position(const·ALLEGRO_VOICE·*voice)
 11 unsigned·int·al_get_voice_position(const·ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 When·the·voice·has·a·non\-streaming·object·attached·to·it,·e.g.\·a14 When·the·voice·has·a·non\-streaming·object·attached·to·it,·e.g.\·a
14 sample,·returns·the·voice\[cq]s·current·sample·position.15 sample,·returns·the·voice\[cq]s·current·sample·position.
15 Otherwise,·returns·zero.16 Otherwise,·returns·zero.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_set_voice_position(3alleg5).18 al_set_voice_position(3alleg5).
637 B
./usr/share/man/man3/al_grab_font_from_bitmap.3alleg5.gz
525 B
al_grab_font_from_bitmap.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 ALLEGRO_FONT·*al_grab_font_from_bitmap(ALLEGRO_BITMAP·*bmp,10 ALLEGRO_FONT·*al_grab_font_from_bitmap(ALLEGRO_BITMAP·*bmp,
11 ···int·ranges_n,·const·int·ranges[])11 ···int·ranges_n,·const·int·ranges[])
 12 ALLEGRO_FONT·*al_grab_font_from_bitmap(ALLEGRO_BITMAP·*bmp,
 13 ···int·ranges_n,·const·int·ranges[])
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Creates·a·new·font·from·an·Allegro·bitmap.16 Creates·a·new·font·from·an·Allegro·bitmap.
15 You·can·delete·the·bitmap·after·the·function·returns·as·the·font·will17 You·can·delete·the·bitmap·after·the·function·returns·as·the·font·will
16 contain·a·copy·for·itself.18 contain·a·copy·for·itself.
17 .PP19 .PP
18 Parameters:20 Parameters:
659 B
./usr/share/man/man3/al_identify_sample.3alleg5.gz
559 B
al_identify_sample.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_identify_sample·\-·Allegro·5·API5 al_identify_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 char·const·*al_identify_sample(char·const·*filename)10 char·const·*al_identify_sample(char·const·*filename)
 11 char·const·*al_identify_sample(char·const·*filename)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·works·exactly·as·al_identify_sample_f(3alleg5)·but·you·specify·the14 This·works·exactly·as·al_identify_sample_f(3alleg5)·but·you·specify·the
14 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.15 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.
15 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account16 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account
16 \-·only·the·file·contents.17 \-·only·the·file·contents.
17 .SH·SINCE18 .SH·SINCE
642 B
./usr/share/man/man3/al_identify_sample_f.3alleg5.gz
538 B
al_identify_sample_f.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_identify_sample_f·\-·Allegro·5·API5 al_identify_sample_f·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 char·const·*al_identify_sample_f(ALLEGRO_FILE·*fp)10 char·const·*al_identify_sample_f(ALLEGRO_FILE·*fp)
 11 char·const·*al_identify_sample_f(ALLEGRO_FILE·*fp)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Tries·to·guess·the·audio·file·type·of·the·open·ALLEGRO_FILE·by·reading14 Tries·to·guess·the·audio·file·type·of·the·open·ALLEGRO_FILE·by·reading
14 the·first·few·bytes.15 the·first·few·bytes.
15 By·default·Allegro·cannot·recognize·any·file·types,·but·calling16 By·default·Allegro·cannot·recognize·any·file·types,·but·calling
16 al_init_acodec_addon(3alleg5)·will·add·detection·of·the·types·it·can17 al_init_acodec_addon(3alleg5)·will·add·detection·of·the·types·it·can
17 read.18 read.
651 B
./usr/share/man/man3/al_identify_video.3alleg5.gz
553 B
al_identify_video.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_identify_video·\-·Allegro·5·API5 al_identify_video·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 char·const·*al_identify_video(char·const·*filename)10 char·const·*al_identify_video(char·const·*filename)
 11 char·const·*al_identify_video(char·const·*filename)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·works·exactly·as·al_identify_video_f(3alleg5)·but·you·specify·the14 This·works·exactly·as·al_identify_video_f(3alleg5)·but·you·specify·the
14 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.15 filename·of·the·file·for·which·to·detect·the·type·and·not·a·file·handle.
15 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account16 The·extension,·if·any,·of·the·passed·filename·is·not·taken·into·account
16 \-·only·the·file·contents.17 \-·only·the·file·contents.
17 .SH·SINCE18 .SH·SINCE
634 B
./usr/share/man/man3/al_identify_video_f.3alleg5.gz
532 B
al_identify_video_f.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_identify_video_f·\-·Allegro·5·API5 al_identify_video_f·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)10 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)
 11 char·const·*al_identify_video_f(ALLEGRO_FILE·*fp)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading14 Tries·to·guess·the·video·file·type·of·the·open·ALLEGRO_FILE·by·reading
14 the·first·few·bytes.15 the·first·few·bytes.
15 By·default·Allegro·cannot·recognize·any·file·types,·but·calling16 By·default·Allegro·cannot·recognize·any·file·types,·but·calling
16 al_init_video_addon(3alleg5)·will·add·detection·of·the·types·it·can17 al_init_video_addon(3alleg5)·will·add·detection·of·the·types·it·can
17 read.18 read.
589 B
./usr/share/man/man3/al_init.3alleg5.gz
511 B
al_init.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init·\-·Allegro·5·API5 al_init·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))10 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))
 11 #define·al_init()····(al_install_system(ALLEGRO_VERSION_INT,·atexit))
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Like·al_install_system(3alleg5),·but·automatically·passes·in·the·version14 Like·al_install_system(3alleg5),·but·automatically·passes·in·the·version
14 and·uses·the·atexit·function·visible·in·the·current·binary.15 and·uses·the·atexit·function·visible·in·the·current·binary.
15 .RS16 .RS
16 .PP17 .PP
17 Note:·It·is·typically·wrong·to·call·al_init·anywhere·except·the·final18 Note:·It·is·typically·wrong·to·call·al_init·anywhere·except·the·final
601 B
./usr/share/man/man3/al_init_acodec_addon.3alleg5.gz
497 B
al_init_acodec_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init_acodec_addon·\-·Allegro·5·API5 al_init_acodec_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_acodec.h>9 #include·<allegro5/allegro_acodec.h>
  
10 bool·al_init_acodec_addon(void)10 bool·al_init_acodec_addon(void)
 11 bool·al_init_acodec_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·function·registers·all·the·known·audio·file·type·handlers·for14 This·function·registers·all·the·known·audio·file·type·handlers·for
14 al_load_sample(3alleg5),·al_save_sample(3alleg5),15 al_load_sample(3alleg5),·al_save_sample(3alleg5),
15 al_load_audio_stream(3alleg5),·etc.16 al_load_audio_stream(3alleg5),·etc.
16 .PP17 .PP
17 Depending·on·what·libraries·are·available,·the·full·set·of·recognised18 Depending·on·what·libraries·are·available,·the·full·set·of·recognised
543 B
./usr/share/man/man3/al_init_font_addon.3alleg5.gz
443 B
al_init_font_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init_font_addon·\-·Allegro·5·API5 al_init_font_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 bool·al_init_font_addon(void)10 bool·al_init_font_addon(void)
 11 bool·al_init_font_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Initialise·the·font·addon.14 Initialise·the·font·addon.
14 .PP15 .PP
15 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to16 Note·that·if·you·intend·to·load·bitmap·fonts,·you·will·need·to
16 initialise·allegro_image·separately·(unless·you·are·using·another17 initialise·allegro_image·separately·(unless·you·are·using·another
17 library·to·load·images).18 library·to·load·images).
545 B
./usr/share/man/man3/al_init_image_addon.3alleg5.gz
443 B
al_init_image_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init_image_addon·\-·Allegro·5·API5 al_init_image_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_image.h>9 #include·<allegro5/allegro_image.h>
  
10 bool·al_init_image_addon(void)10 bool·al_init_image_addon(void)
 11 bool·al_init_image_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Initializes·the·image·addon.14 Initializes·the·image·addon.
14 This·registers·bitmap·format·handlers·for·al_load_bitmap(3alleg5),15 This·registers·bitmap·format·handlers·for·al_load_bitmap(3alleg5),
15 al_load_bitmap_f(3alleg5),·al_save_bitmap(3alleg5),16 al_load_bitmap_f(3alleg5),·al_save_bitmap(3alleg5),
16 al_save_bitmap_f(3alleg5).17 al_save_bitmap_f(3alleg5).
17 .PP18 .PP
534 B
./usr/share/man/man3/al_init_native_dialog_addon.3alleg5.gz
416 B
al_init_native_dialog_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init_native_dialog_addon·\-·Allegro·5·API5 al_init_native_dialog_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_init_native_dialog_addon(void)10 bool·al_init_native_dialog_addon(void)
 11 bool·al_init_native_dialog_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Initialise·the·native·dialog·addon.14 Initialise·the·native·dialog·addon.
14 .PP15 .PP
15 Returns·true·on·success,·false·on·error.16 Returns·true·on·success,·false·on·error.
16 .SH·SINCE17 .SH·SINCE
17 5.0.9,·5.1.018 5.0.9,·5.1.0
549 B
./usr/share/man/man3/al_init_primitives_addon.3alleg5.gz
437 B
al_init_primitives_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init_primitives_addon·\-·Allegro·5·API5 al_init_primitives_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 bool·al_init_primitives_addon(void)10 bool·al_init_primitives_addon(void)
 11 bool·al_init_primitives_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Initializes·the·primitives·addon.14 Initializes·the·primitives·addon.
14 .PP15 .PP
15 \f[I]Returns:\f[R]·True·on·success,·false·on·failure.16 \f[I]Returns:\f[R]·True·on·success,·false·on·failure.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_shutdown_primitives_addon(3alleg5)18 al_shutdown_primitives_addon(3alleg5)
554 B
./usr/share/man/man3/al_init_ttf_addon.3alleg5.gz
456 B
al_init_ttf_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_init_ttf_addon·\-·Allegro·5·API5 al_init_ttf_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 bool·al_init_ttf_addon(void)10 bool·al_init_ttf_addon(void)
 11 bool·al_init_ttf_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Call·this·after·al_init_font_addon(3alleg5)·to·make14 Call·this·after·al_init_font_addon(3alleg5)·to·make
14 al_load_font(3alleg5)·recognize·\[lq].ttf\[rq]·and·other·formats15 al_load_font(3alleg5)·recognize·\[lq].ttf\[rq]·and·other·formats
15 supported·by·al_load_ttf_font(3alleg5).16 supported·by·al_load_ttf_font(3alleg5).
16 .PP17 .PP
17 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
410 B
./usr/share/man/man3/al_init_video_addon.3alleg5.gz
308 B
al_init_video_addon.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_init_video_addon·\-·Allegro·5·API5 al_init_video_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 bool·al_init_video_addon(void)10 bool·al_init_video_addon(void)
 11 bool·al_init_video_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Initializes·the·video·addon.14 Initializes·the·video·addon.
14 .SH·SINCE15 .SH·SINCE
15 5.1.1216 5.1.12
786 B
./usr/share/man/man3/al_insert_menu_item.3alleg5.gz
684 B
al_insert_menu_item.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 int·al_insert_menu_item(ALLEGRO_MENU·*parent,·int·pos,·char·const·*title,10 int·al_insert_menu_item(ALLEGRO_MENU·*parent,·int·pos,·char·const·*title,
11 ···uint16_t·id,·int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)11 ···uint16_t·id,·int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)
 12 int·al_insert_menu_item(ALLEGRO_MENU·*parent,·int·pos,·char·const·*title,
 13 ···uint16_t·id,·int·flags,·ALLEGRO_BITMAP·*icon,·ALLEGRO_MENU·*submenu)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Inserts·a·menu·item·at·the·spot·specified.16 Inserts·a·menu·item·at·the·spot·specified.
15 See·the·introductory·text·for·a·detailed·explanation·of·how·the17 See·the·introductory·text·for·a·detailed·explanation·of·how·the
16 \f[CR]pos\f[R]·parameter·is·interpreted.18 \f[CR]pos\f[R]·parameter·is·interpreted.
17 .PP19 .PP
18 The·\f[CR]parent\f[R]·menu·can·be·a·popup·menu·or·a·regular·menu.20 The·\f[CR]parent\f[R]·menu·can·be·a·popup·menu·or·a·regular·menu.
429 B
./usr/share/man/man3/al_install_audio.3alleg5.gz
333 B
al_install_audio.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_install_audio·\-·Allegro·5·API5 al_install_audio·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_install_audio(void)10 bool·al_install_audio(void)
 11 bool·al_install_audio(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Install·the·audio·subsystem.14 Install·the·audio·subsystem.
14 .PP15 .PP
15 Returns·true·on·success,·false·on·failure.16 Returns·true·on·success,·false·on·failure.
16 .RS17 .RS
17 .PP18 .PP
533 B
./usr/share/man/man3/al_is_acodec_addon_initialized.3alleg5.gz
409 B
al_is_acodec_addon_initialized.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_is_acodec_addon_initialized·\-·Allegro·5·API5 al_is_acodec_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_acodec.h>9 #include·<allegro5/allegro_acodec.h>
  
10 bool·al_is_acodec_addon_initialized(void)10 bool·al_is_acodec_addon_initialized(void)
 11 bool·al_is_acodec_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns14 Returns·true·if·the·acodec·addon·is·initialized,·otherwise·returns
14 false.15 false.
15 .SH·SINCE16 .SH·SINCE
16 5.2.617 5.2.6
468 B
./usr/share/man/man3/al_is_audio_installed.3alleg5.gz
362 B
al_is_audio_installed.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_is_audio_installed·\-·Allegro·5·API5 al_is_audio_installed·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_is_audio_installed(void)10 bool·al_is_audio_installed(void)
 11 bool·al_is_audio_installed(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·al_install_audio(3alleg5)·was·called·previously·and14 Returns·true·if·al_install_audio(3alleg5)·was·called·previously·and
14 returned·successfully.15 returned·successfully.
591 B
./usr/share/man/man3/al_is_audio_recorder_recording.3alleg5.gz
467 B
al_is_audio_recorder_recording.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_is_audio_recorder_recording·\-·Allegro·5·API5 al_is_audio_recorder_recording·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER·*r)10 bool·al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER·*r)
 11 bool·al_is_audio_recorder_recording(ALLEGRO_AUDIO_RECORDER·*r)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·audio·recorder·is·currently·capturing·data·and14 Returns·true·if·the·audio·recorder·is·currently·capturing·data·and
14 generating·events.15 generating·events.
15 .SH·SINCE16 .SH·SINCE
16 5.1.117 5.1.1
17 .RS18 .RS
590 B
./usr/share/man/man3/al_is_font_addon_initialized.3alleg5.gz
470 B
al_is_font_addon_initialized.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_is_font_addon_initialized·\-·Allegro·5·API5 al_is_font_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 bool·al_is_font_addon_initialized(void)10 bool·al_is_font_addon_initialized(void)
 11 bool·al_is_font_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.14 Returns·true·if·the·font·addon·is·initialized,·otherwise·returns·false.
14 .SH·SINCE15 .SH·SINCE
15 5.2.616 5.2.6
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_init_font_addon(3alleg5),·al_shutdown_font_addon(3alleg5)18 al_init_font_addon(3alleg5),·al_shutdown_font_addon(3alleg5)
523 B
./usr/share/man/man3/al_is_image_addon_initialized.3alleg5.gz
401 B
al_is_image_addon_initialized.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_is_image_addon_initialized·\-·Allegro·5·API5 al_is_image_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_image.h>9 #include·<allegro5/allegro_image.h>
  
10 bool·al_is_image_addon_initialized(void)10 bool·al_is_image_addon_initialized(void)
 11 bool·al_is_image_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.14 Returns·true·if·the·image·addon·is·initialized,·otherwise·returns·false.
14 .SH·SINCE15 .SH·SINCE
15 5.2.616 5.2.6
596 B
./usr/share/man/man3/al_is_native_dialog_addon_initialized.3alleg5.gz
458 B
al_is_native_dialog_addon_initialized.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_is_native_dialog_addon_initialized·\-·Allegro·5·API5 al_is_native_dialog_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_is_native_dialog_addon_initialized(void)10 bool·al_is_native_dialog_addon_initialized(void)
 11 bool·al_is_native_dialog_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise14 Returns·true·if·the·native·dialog·addon·is·initialized,·otherwise
14 returns·false.15 returns·false.
15 .SH·SINCE16 .SH·SINCE
16 5.2.617 5.2.6
583 B
./usr/share/man/man3/al_is_primitives_addon_initialized.3alleg5.gz
451 B
al_is_primitives_addon_initialized.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_is_primitives_addon_initialized·\-·Allegro·5·API5 al_is_primitives_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 bool·al_is_primitives_addon_initialized(void)10 bool·al_is_primitives_addon_initialized(void)
 11 bool·al_is_primitives_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns14 Returns·true·if·the·primitives·addon·is·initialized,·otherwise·returns
14 false.15 false.
15 .SH·SINCE16 .SH·SINCE
16 5.2.617 5.2.6
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
579 B
./usr/share/man/man3/al_is_ttf_addon_initialized.3alleg5.gz
461 B
al_is_ttf_addon_initialized.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_is_ttf_addon_initialized·\-·Allegro·5·API5 al_is_ttf_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 bool·al_is_ttf_addon_initialized(void)10 bool·al_is_ttf_addon_initialized(void)
 11 bool·al_is_ttf_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·TTF·addon·is·initialized,·otherwise·returns·false.14 Returns·true·if·the·TTF·addon·is·initialized,·otherwise·returns·false.
14 .SH·SINCE15 .SH·SINCE
15 5.2.616 5.2.6
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_init_ttf_addon(3alleg5),·al_shutdown_ttf_addon(3alleg5)18 al_init_ttf_addon(3alleg5),·al_shutdown_ttf_addon(3alleg5)
523 B
./usr/share/man/man3/al_is_video_addon_initialized.3alleg5.gz
401 B
al_is_video_addon_initialized.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_is_video_addon_initialized·\-·Allegro·5·API5 al_is_video_addon_initialized·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 bool·al_is_video_addon_initialized(void)10 bool·al_is_video_addon_initialized(void)
 11 bool·al_is_video_addon_initialized(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.14 Returns·true·if·the·video·addon·is·initialized,·otherwise·returns·false.
14 .SH·SINCE15 .SH·SINCE
15 5.2.616 5.2.6
461 B
./usr/share/man/man3/al_is_video_playing.3alleg5.gz
359 B
al_is_video_playing.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_is_video_playing·\-·Allegro·5·API5 al_is_video_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 bool·al_is_video_playing(ALLEGRO_VIDEO·*video)10 bool·al_is_video_playing(ALLEGRO_VIDEO·*video)
 11 bool·al_is_video_playing(ALLEGRO_VIDEO·*video)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·video·is·currently·playing.14 Returns·true·if·the·video·is·currently·playing.
14 .SH·SINCE15 .SH·SINCE
15 5.1.1216 5.1.12
702 B
./usr/share/man/man3/al_load_audio_stream.3alleg5.gz
598 B
al_load_audio_stream.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream(const·char·*filename,10 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream(const·char·*filename,
11 ···size_t·buffer_count,·unsigned·int·samples)11 ···size_t·buffer_count,·unsigned·int·samples)
 12 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream(const·char·*filename,
 13 ···size_t·buffer_count,·unsigned·int·samples)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Loads·an·audio·file·from·disk·as·it·is·needed.16 Loads·an·audio·file·from·disk·as·it·is·needed.
15 .PP17 .PP
16 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be18 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be
17 fed·by·the·user;·the·library·will·automatically·read·more·of·the·file·as19 fed·by·the·user;·the·library·will·automatically·read·more·of·the·file·as
18 it·is·needed.20 it·is·needed.
768 B
./usr/share/man/man3/al_load_audio_stream_f.3alleg5.gz
660 B
al_load_audio_stream_f.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream_f(ALLEGRO_FILE*·fp,·const·char·*ident,10 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream_f(ALLEGRO_FILE*·fp,·const·char·*ident,
11 ···size_t·buffer_count,·unsigned·int·samples)11 ···size_t·buffer_count,·unsigned·int·samples)
 12 ALLEGRO_AUDIO_STREAM·*al_load_audio_stream_f(ALLEGRO_FILE*·fp,·const·char·*ident,
 13 ···size_t·buffer_count,·unsigned·int·samples)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Loads·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream·as·it·is·needed.16 Loads·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream·as·it·is·needed.
15 .PP17 .PP
16 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be18 Unlike·regular·streams,·the·one·returned·by·this·function·need·not·be
17 fed·by·the·user;·the·library·will·automatically·read·more·of·the·file·as19 fed·by·the·user;·the·library·will·automatically·read·more·of·the·file·as
18 it·is·needed.20 it·is·needed.
622 B
./usr/share/man/man3/al_load_bitmap_font.3alleg5.gz
520 B
al_load_bitmap_font.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_load_bitmap_font·\-·Allegro·5·API5 al_load_bitmap_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 ALLEGRO_FONT·*al_load_bitmap_font(const·char·*fname)10 ALLEGRO_FONT·*al_load_bitmap_font(const·char·*fname)
 11 ALLEGRO_FONT·*al_load_bitmap_font(const·char·*fname)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Load·a·bitmap·font·from·a·file.14 Load·a·bitmap·font·from·a·file.
14 This·is·done·by·first·calling·al_load_bitmap_flags(3alleg5)·and·then15 This·is·done·by·first·calling·al_load_bitmap_flags(3alleg5)·and·then
15 al_grab_font_from_bitmap(3alleg5).16 al_grab_font_from_bitmap(3alleg5).
16 .PP17 .PP
17 If·you·wanted·to·load·an·old·A4·font,·for·example,·it·would·be·better·to18 If·you·wanted·to·load·an·old·A4·font,·for·example,·it·would·be·better·to
701 B
./usr/share/man/man3/al_load_bitmap_font_flags.3alleg5.gz
587 B
al_load_bitmap_font_flags.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_load_bitmap_font_flags·\-·Allegro·5·API5 al_load_bitmap_font_flags·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 ALLEGRO_FONT·*al_load_bitmap_font_flags(const·char·*fname,·int·flags)10 ALLEGRO_FONT·*al_load_bitmap_font_flags(const·char·*fname,·int·flags)
 11 ALLEGRO_FONT·*al_load_bitmap_font_flags(const·char·*fname,·int·flags)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Like·al_load_bitmap_font(3alleg5)·but·additionally·takes·a·flags14 Like·al_load_bitmap_font(3alleg5)·but·additionally·takes·a·flags
14 parameter·which·is·a·bitfield·containing·a·combination·of·the·following:15 parameter·which·is·a·bitfield·containing·a·combination·of·the·following:
15 .TP16 .TP
16 ALLEGRO_NO_PREMULTIPLIED_ALPHA17 ALLEGRO_NO_PREMULTIPLIED_ALPHA
17 The·same·meaning·as·for·al_load_bitmap_flags(3alleg5).18 The·same·meaning·as·for·al_load_bitmap_flags(3alleg5).
635 B
./usr/share/man/man3/al_load_font.3alleg5.gz
547 B
al_load_font.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_load_font·\-·Allegro·5·API5 al_load_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)10 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)
 11 ALLEGRO_FONT·*al_load_font(char·const·*filename,·int·size,·int·flags)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Loads·a·font·from·disk.14 Loads·a·font·from·disk.
14 This·will·use·al_load_bitmap_font_flags(3alleg5)·if·you·pass·the·name·of15 This·will·use·al_load_bitmap_font_flags(3alleg5)·if·you·pass·the·name·of
15 a·known·bitmap·format,·or·else·al_load_ttf_font(3alleg5).16 a·known·bitmap·format,·or·else·al_load_ttf_font(3alleg5).
16 .PP17 .PP
17 The·flags·parameter·is·passed·through·to·either·of·those·functions.18 The·flags·parameter·is·passed·through·to·either·of·those·functions.
613 B
./usr/share/man/man3/al_load_sample.3alleg5.gz
521 B
al_load_sample.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_load_sample·\-·Allegro·5·API5 al_load_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_SAMPLE·*al_load_sample(const·char·*filename)10 ALLEGRO_SAMPLE·*al_load_sample(const·char·*filename)
 11 ALLEGRO_SAMPLE·*al_load_sample(const·char·*filename)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Loads·a·few·different·audio·file·formats·based·on·their·extension.14 Loads·a·few·different·audio·file·formats·based·on·their·extension.
14 .PP15 .PP
15 Note·that·this·stores·the·entire·file·in·memory·at·once,·which·may·be16 Note·that·this·stores·the·entire·file·in·memory·at·once,·which·may·be
16 time·consuming.17 time·consuming.
17 To·read·the·file·as·it·is·needed,·use·al_load_audio_stream(3alleg5)·or18 To·read·the·file·as·it·is·needed,·use·al_load_audio_stream(3alleg5)·or
642 B
./usr/share/man/man3/al_load_sample_f.3alleg5.gz
546 B
al_load_sample_f.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_load_sample_f·\-·Allegro·5·API5 al_load_sample_f·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_SAMPLE·*al_load_sample_f(ALLEGRO_FILE*·fp,·const·char·*ident)10 ALLEGRO_SAMPLE·*al_load_sample_f(ALLEGRO_FILE*·fp,·const·char·*ident)
 11 ALLEGRO_SAMPLE·*al_load_sample_f(ALLEGRO_FILE*·fp,·const·char·*ident)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Loads·an·audio·file·from·an·ALLEGRO_FILE(3alleg5)·stream·into·an14 Loads·an·audio·file·from·an·ALLEGRO_FILE(3alleg5)·stream·into·an
14 ALLEGRO_SAMPLE(3alleg5).15 ALLEGRO_SAMPLE(3alleg5).
15 The·file·type·is·determined·by·the·passed·`ident'·parameter,·which·is·a16 The·file·type·is·determined·by·the·passed·`ident'·parameter,·which·is·a
16 file·name·extension·including·the·leading·dot.17 file·name·extension·including·the·leading·dot.
17 .PP18 .PP
655 B
./usr/share/man/man3/al_load_ttf_font.3alleg5.gz
559 B
al_load_ttf_font.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_load_ttf_font·\-·Allegro·5·API5 al_load_ttf_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 ALLEGRO_FONT·*al_load_ttf_font(char·const·*filename,·int·size,·int·flags)10 ALLEGRO_FONT·*al_load_ttf_font(char·const·*filename,·int·size,·int·flags)
 11 ALLEGRO_FONT·*al_load_ttf_font(char·const·*filename,·int·size,·int·flags)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Loads·a·TrueType·font·from·a·file·using·the·FreeType·library.14 Loads·a·TrueType·font·from·a·file·using·the·FreeType·library.
14 Quoting·from·the·FreeType·FAQ·this·means·support·for·many·different·font15 Quoting·from·the·FreeType·FAQ·this·means·support·for·many·different·font
15 formats:16 formats:
16 .PP17 .PP
17 \f[I]TrueType,·OpenType,·Type1,·CID,·CFF,·Windows·FON/FNT,·X11·PCF,·and18 \f[I]TrueType,·OpenType,·Type1,·CID,·CFF,·Windows·FON/FNT,·X11·PCF,·and
622 B
./usr/share/man/man3/al_load_ttf_font_f.3alleg5.gz
522 B
al_load_ttf_font_f.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 ALLEGRO_FONT·*al_load_ttf_font_f(ALLEGRO_FILE·*file,10 ALLEGRO_FONT·*al_load_ttf_font_f(ALLEGRO_FILE·*file,
11 ····char·const·*filename,·int·size,·int·flags)11 ····char·const·*filename,·int·size,·int·flags)
 12 ALLEGRO_FONT·*al_load_ttf_font_f(ALLEGRO_FILE·*file,
 13 ····char·const·*filename,·int·size,·int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·al_load_ttf_font(3alleg5),·but·the·font·is·read·from·the·file16 Like·al_load_ttf_font(3alleg5),·but·the·font·is·read·from·the·file
15 handle.17 handle.
16 The·filename·is·only·used·to·find·possible·additional·files·next·to·a18 The·filename·is·only·used·to·find·possible·additional·files·next·to·a
17 font·file.19 font·file.
18 .RS20 .RS
715 B
./usr/share/man/man3/al_load_ttf_font_stretch.3alleg5.gz
603 B
al_load_ttf_font_stretch.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 ALLEGRO_FONT·*al_load_ttf_font_stretch(char·const·*filename,·int·w,·int·h,10 ALLEGRO_FONT·*al_load_ttf_font_stretch(char·const·*filename,·int·w,·int·h,
11 ···int·flags)11 ···int·flags)
 12 ALLEGRO_FONT·*al_load_ttf_font_stretch(char·const·*filename,·int·w,·int·h,
 13 ···int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·al_load_ttf_font(3alleg5),·except·it·takes·separate·width·and16 Like·al_load_ttf_font(3alleg5),·except·it·takes·separate·width·and
15 height·parameters·instead·of·a·single·size·parameter.17 height·parameters·instead·of·a·single·size·parameter.
16 .PP18 .PP
17 If·the·height·is·a·positive·value,·and·the·width·zero·or·positive,·then19 If·the·height·is·a·positive·value,·and·the·width·zero·or·positive,·then
18 font·will·be·stretched·according·to·those·parameters.20 font·will·be·stretched·according·to·those·parameters.
686 B
./usr/share/man/man3/al_load_ttf_font_stretch_f.3alleg5.gz
570 B
al_load_ttf_font_stretch_f.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 ALLEGRO_FONT·*al_load_ttf_font_stretch_f(ALLEGRO_FILE·*file,10 ALLEGRO_FONT·*al_load_ttf_font_stretch_f(ALLEGRO_FILE·*file,
11 ····char·const·*filename,·int·w,·int·h,·int·flags)11 ····char·const·*filename,·int·w,·int·h,·int·flags)
 12 ALLEGRO_FONT·*al_load_ttf_font_stretch_f(ALLEGRO_FILE·*file,
 13 ····char·const·*filename,·int·w,·int·h,·int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·al_load_ttf_font_stretch(3alleg5),·but·the·font·is·read·from·the16 Like·al_load_ttf_font_stretch(3alleg5),·but·the·font·is·read·from·the
15 file·handle.17 file·handle.
16 The·filename·is·only·used·to·find·possible·additional·files·next·to·a18 The·filename·is·only·used·to·find·possible·additional·files·next·to·a
17 font·file.19 font·file.
18 .RS20 .RS
678 B
./usr/share/man/man3/al_lock_index_buffer.3alleg5.gz
574 B
al_lock_index_buffer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void*·al_lock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer,·int·offset,10 void*·al_lock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer,·int·offset,
11 ····int·length,·int·flags)11 ····int·length,·int·flags)
 12 void*·al_lock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer,·int·offset,
 13 ····int·length,·int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Locks·a·index·buffer·so·you·can·access·its·data.16 Locks·a·index·buffer·so·you·can·access·its·data.
15 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested17 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested
16 from·a·write·only·buffer·and·if·the·buffer·is·already·locked.18 from·a·write·only·buffer·and·if·the·buffer·is·already·locked.
17 .PP19 .PP
18 \f[I]Parameters:\f[R]20 \f[I]Parameters:\f[R]
653 B
./usr/share/man/man3/al_lock_sample_id.3alleg5.gz
555 B
al_lock_sample_id.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_lock_sample_id·\-·Allegro·5·API5 al_lock_sample_id·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)10 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
 11 ALLEGRO_SAMPLE_INSTANCE*·al_lock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Locks·a·ALLEGRO_SAMPLE_ID(3alleg5),·returning·the·underlying14 Locks·a·ALLEGRO_SAMPLE_ID(3alleg5),·returning·the·underlying
14 ALLEGRO_SAMPLE_INSTANCE(3alleg5).15 ALLEGRO_SAMPLE_INSTANCE(3alleg5).
15 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such16 This·allows·you·to·adjust·the·various·properties·of·the·instance·(such
16 as·volume,·pan,·etc)·while·the·sound·is·playing.17 as·volume,·pan,·etc)·while·the·sound·is·playing.
17 .PP18 .PP
685 B
./usr/share/man/man3/al_lock_vertex_buffer.3alleg5.gz
579 B
al_lock_vertex_buffer.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void*·al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer,·int·offset,10 void*·al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer,·int·offset,
11 ···int·length,·int·flags)11 ···int·length,·int·flags)
 12 void*·al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer,·int·offset,
 13 ···int·length,·int·flags)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Locks·a·vertex·buffer·so·you·can·access·its·data.16 Locks·a·vertex·buffer·so·you·can·access·its·data.
15 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested17 Will·return·NULL·if·the·parameters·are·invalid,·if·reading·is·requested
16 from·a·write·only·buffer,·or·if·the·buffer·is·already·locked.18 from·a·write·only·buffer,·or·if·the·buffer·is·already·locked.
17 .PP19 .PP
18 \f[I]Parameters:\f[R]20 \f[I]Parameters:\f[R]
519 B
./usr/share/man/man3/al_malloc.3alleg5.gz
437 B
al_malloc.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·al_malloc(n)·\[rs]10 #define·al_malloc(n)·\[rs]
11 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))11 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))
 12 #define·al_malloc(n)·\[rs]
 13 ···(al_malloc_with_context((n),·__LINE__,·__FILE__,·__func__))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be16 Like·malloc()·in·the·C·standard·library,·but·the·implementation·may·be
15 overridden.17 overridden.
16 .PP18 .PP
17 This·is·a·macro.19 This·is·a·macro.
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
633 B
./usr/share/man/man3/al_mixer_has_attachments.3alleg5.gz
521 B
al_mixer_has_attachments.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_mixer_has_attachments·\-·Allegro·5·API5 al_mixer_has_attachments·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_mixer_has_attachments(const·ALLEGRO_MIXER*·mixer)10 bool·al_mixer_has_attachments(const·ALLEGRO_MIXER*·mixer)
 11 bool·al_mixer_has_attachments(const·ALLEGRO_MIXER*·mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·mixer·has·something·attached·to·it.14 Returns·true·if·the·mixer·has·something·attached·to·it.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_get_mixer_attached(3alleg5),16 al_get_mixer_attached(3alleg5),
16 al_attach_sample_instance_to_mixer(3alleg5),17 al_attach_sample_instance_to_mixer(3alleg5),
17 al_attach_audio_stream_to_mixer(3alleg5),18 al_attach_audio_stream_to_mixer(3alleg5),
657 B
./usr/share/man/man3/al_open_memfile.3alleg5.gz
563 B
al_open_memfile.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_open_memfile·\-·Allegro·5·API5 al_open_memfile·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_memfile.h>9 #include·<allegro5/allegro_memfile.h>
  
10 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)10 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)
 11 ALLEGRO_FILE·*al_open_memfile(void·*mem,·int64_t·size,·const·char·*mode)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·a·file·handle·to·the·block·of·memory.14 Returns·a·file·handle·to·the·block·of·memory.
14 All·read·and·write·operations·act·upon·the·memory·directly,·so·it·must15 All·read·and·write·operations·act·upon·the·memory·directly,·so·it·must
15 not·be·freed·while·the·file·remains·open.16 not·be·freed·while·the·file·remains·open.
16 .PP17 .PP
17 The·mode·can·be·any·combination·of·\[lq]r\[rq]·(readable)·and18 The·mode·can·be·any·combination·of·\[lq]r\[rq]·(readable)·and
666 B
./usr/share/man/man3/al_open_native_text_log.3alleg5.gz
556 B
al_open_native_text_log.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_open_native_text_log·\-·Allegro·5·API5 al_open_native_text_log·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_TEXTLOG·*al_open_native_text_log(char·const·*title,·int·flags)10 ALLEGRO_TEXTLOG·*al_open_native_text_log(char·const·*title,·int·flags)
 11 ALLEGRO_TEXTLOG·*al_open_native_text_log(char·const·*title,·int·flags)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Opens·a·window·to·which·you·can·append·log·messages·with14 Opens·a·window·to·which·you·can·append·log·messages·with
14 al_append_native_text_log(3alleg5).15 al_append_native_text_log(3alleg5).
15 This·can·be·useful·for·debugging·if·you·don\[cq]t·want·to·depend·on·a16 This·can·be·useful·for·debugging·if·you·don\[cq]t·want·to·depend·on·a
16 console·being·available.17 console·being·available.
17 .PP18 .PP
515 B
./usr/share/man/man3/al_open_video.3alleg5.gz
425 B
al_open_video.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_open_video·\-·Allegro·5·API5 al_open_video·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)10 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)
 11 ALLEGRO_VIDEO·*al_open_video(char·const·*filename)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Reads·a·video·file.14 Reads·a·video·file.
14 This·does·not·start·playing·yet·but·reads·the·meta·info·so·you·can·query15 This·does·not·start·playing·yet·but·reads·the·meta·info·so·you·can·query
15 e.g.\·the·size·or·audio·rate.16 e.g.\·the·size·or·audio·rate.
16 .SH·SINCE17 .SH·SINCE
17 5.1.018 5.1.0
712 B
./usr/share/man/man3/al_play_audio_stream.3alleg5.gz
608 B
al_play_audio_stream.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_play_audio_stream·\-·Allegro·5·API5 al_play_audio_stream·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)10 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)
 11 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream(const·char·*filename)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Loads·and·plays·an·audio·file,·streaming·from·disk·as·it·is·needed.14 Loads·and·plays·an·audio·file,·streaming·from·disk·as·it·is·needed.
14 This·API·can·only·play·one·audio·stream·at·a·time.15 This·API·can·only·play·one·audio·stream·at·a·time.
15 This·requires·a·default·mixer·to·be·set,·which·is·typically·done·via16 This·requires·a·default·mixer·to·be·set,·which·is·typically·done·via
16 al_reserve_samples(3alleg5),·but·can·also·be·done·via17 al_reserve_samples(3alleg5),·but·can·also·be·done·via
17 al_set_default_mixer(3alleg5).18 al_set_default_mixer(3alleg5).
746 B
./usr/share/man/man3/al_play_audio_stream_f.3alleg5.gz
638 B
al_play_audio_stream_f.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_play_audio_stream_f·\-·Allegro·5·API5 al_play_audio_stream_f·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream_f(ALLEGRO_FILE·*fp,·const·char·*ident)10 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream_f(ALLEGRO_FILE·*fp,·const·char·*ident)
 11 ALLEGRO_AUDIO_STREAM·*al_play_audio_stream_f(ALLEGRO_FILE·*fp,·const·char·*ident)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Loads·and·plays·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream,14 Loads·and·plays·an·audio·file·from·ALLEGRO_FILE(3alleg5)·stream,
14 streaming·it·is·needed.15 streaming·it·is·needed.
15 This·API·can·only·play·one·audio·stream·at·a·time.16 This·API·can·only·play·one·audio·stream·at·a·time.
16 This·requires·a·default·mixer·to·be·set,·which·is·typically·done·via17 This·requires·a·default·mixer·to·be·set,·which·is·typically·done·via
17 al_reserve_samples(3alleg5),·but·can·also·be·done·via18 al_reserve_samples(3alleg5),·but·can·also·be·done·via
717 B
./usr/share/man/man3/al_play_sample.3alleg5.gz
625 B
al_play_sample.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,10 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,
11 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)11 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)
 12 bool·al_play_sample(ALLEGRO_SAMPLE·*spl,·float·gain,·float·pan,·float·speed,
 13 ···ALLEGRO_PLAYMODE·loop,·ALLEGRO_SAMPLE_ID·*ret_id)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Plays·a·sample·on·one·of·the·sample·instances·created·by16 Plays·a·sample·on·one·of·the·sample·instances·created·by
15 al_reserve_samples(3alleg5).17 al_reserve_samples(3alleg5).
16 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
17 Playback·may·fail·because·all·the·reserved·sample·instances·are19 Playback·may·fail·because·all·the·reserved·sample·instances·are
18 currently·used.20 currently·used.
556 B
./usr/share/man/man3/al_play_sample_instance.3alleg5.gz
446 B
al_play_sample_instance.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_play_sample_instance·\-·Allegro·5·API5 al_play_sample_instance·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)10 bool·al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 bool·al_play_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Play·the·sample·instance.14 Play·the·sample·instance.
14 Returns·true·on·success,·false·on·failure.15 Returns·true·on·success,·false·on·failure.
15 .SH·SEE·ALSO16 .SH·SEE·ALSO
16 al_stop_sample_instance(3alleg5)17 al_stop_sample_instance(3alleg5)
671 B
./usr/share/man/man3/al_popup_menu.3alleg5.gz
581 B
al_popup_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_popup_menu·\-·Allegro·5·API5 al_popup_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_popup_menu(ALLEGRO_MENU·*popup,·ALLEGRO_DISPLAY·*display)10 bool·al_popup_menu(ALLEGRO_MENU·*popup,·ALLEGRO_DISPLAY·*display)
 11 bool·al_popup_menu(ALLEGRO_MENU·*popup,·ALLEGRO_DISPLAY·*display)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Displays·a·context·menu·next·to·the·mouse·cursor.14 Displays·a·context·menu·next·to·the·mouse·cursor.
14 The·menu·must·have·been·created·with·al_create_popup_menu(3alleg5).15 The·menu·must·have·been·created·with·al_create_popup_menu(3alleg5).
15 It·generates·events·just·like·a·regular·display·menu·does.16 It·generates·events·just·like·a·regular·display·menu·does.
16 It·is·possible·that·the·menu·will·be·canceled·without·any·selection17 It·is·possible·that·the·menu·will·be·canceled·without·any·selection
17 being·made.18 being·made.
544 B
./usr/share/man/man3/al_realloc.3alleg5.gz
460 B
al_realloc.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro.h>9 #include·<allegro5/allegro.h>
  
10 #define·al_realloc(p,·n)·\[rs]10 #define·al_realloc(p,·n)·\[rs]
11 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))11 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))
 12 #define·al_realloc(p,·n)·\[rs]
 13 ···(al_realloc_with_context((p),·(n),·__LINE__,·__FILE__,·__func__))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be16 Like·realloc()·in·the·C·standard·library,·but·the·implementation·may·be
15 overridden.17 overridden.
16 .PP18 .PP
17 This·is·a·macro.19 This·is·a·macro.
18 .SH·SEE·ALSO20 .SH·SEE·ALSO
817 B
./usr/share/man/man3/al_register_audio_stream_loader.3alleg5.gz
691 B
al_register_audio_stream_loader.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_audio_stream_loader(const·char·*ext,10 bool·al_register_audio_stream_loader(const·char·*ext,
11 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(const·char·*filename,11 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(const·char·*filename,
12 ······size_t·buffer_count,·unsigned·int·samples))12 ······size_t·buffer_count,·unsigned·int·samples))
 13 bool·al_register_audio_stream_loader(const·char·*ext,
 14 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(const·char·*filename,
 15 ······size_t·buffer_count,·unsigned·int·samples))
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Register·a·handler·for·al_load_audio_stream(3alleg5)·and18 Register·a·handler·for·al_load_audio_stream(3alleg5)·and
16 al_play_audio_stream(3alleg5).19 al_play_audio_stream(3alleg5).
17 The·given·function·will·be·used·to·open·streams·from·files·with·the20 The·given·function·will·be·used·to·open·streams·from·files·with·the
18 given·extension.21 given·extension.
19 .PP22 .PP
825 B
./usr/share/man/man3/al_register_audio_stream_loader_f.3alleg5.gz
695 B
al_register_audio_stream_loader_f.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_audio_stream_loader_f(const·char·*ext,10 bool·al_register_audio_stream_loader_f(const·char·*ext,
11 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(ALLEGRO_FILE*·fp,11 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(ALLEGRO_FILE*·fp,
12 ······size_t·buffer_count,·unsigned·int·samples))12 ······size_t·buffer_count,·unsigned·int·samples))
 13 bool·al_register_audio_stream_loader_f(const·char·*ext,
 14 ···ALLEGRO_AUDIO_STREAM·*(*stream_loader)(ALLEGRO_FILE*·fp,
 15 ······size_t·buffer_count,·unsigned·int·samples))
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Register·a·handler·for·al_load_audio_stream_f(3alleg5)·and18 Register·a·handler·for·al_load_audio_stream_f(3alleg5)·and
16 al_play_audio_stream_f(3alleg5).19 al_play_audio_stream_f(3alleg5).
17 The·given·function·will·be·used·to·open·streams·from·files·with·the20 The·given·function·will·be·used·to·open·streams·from·files·with·the
18 given·extension.21 given·extension.
19 .PP22 .PP
738 B
./usr/share/man/man3/al_register_font_loader.3alleg5.gz
628 B
al_register_font_loader.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 bool·al_register_font_loader(char·const·*extension,10 bool·al_register_font_loader(char·const·*extension,
11 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))11 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))
 12 bool·al_register_font_loader(char·const·*extension,
 13 ···ALLEGRO_FONT·*(*load_font)(char·const·*filename,·int·size,·int·flags))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of16 Informs·Allegro·of·a·new·font·file·type,·telling·it·how·to·load·files·of
15 this·format.17 this·format.
16 .PP18 .PP
17 The·\f[CR]extension\f[R]·should·include·the·leading·dot·(`.')·character.19 The·\f[CR]extension\f[R]·should·include·the·leading·dot·(`.')·character.
18 It·will·be·matched·case\-insensitively.20 It·will·be·matched·case\-insensitively.
785 B
./usr/share/man/man3/al_register_sample_identifier.3alleg5.gz
663 B
al_register_sample_identifier.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_sample_identifier(const·char·*ext,10 bool·al_register_sample_identifier(const·char·*ext,
11 ···bool·(*identifier)(ALLEGRO_FILE*·fp))11 ···bool·(*identifier)(ALLEGRO_FILE*·fp))
 12 bool·al_register_sample_identifier(const·char·*ext,
 13 ···bool·(*identifier)(ALLEGRO_FILE*·fp))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Register·an·identify·handler·for·al_identify_sample(3alleg5).16 Register·an·identify·handler·for·al_identify_sample(3alleg5).
15 The·given·function·will·be·used·to·detect·files·for·the·given·extension.17 The·given·function·will·be·used·to·detect·files·for·the·given·extension.
16 It·will·be·called·with·a·single·argument·of·type·ALLEGRO_FILE(3alleg5)18 It·will·be·called·with·a·single·argument·of·type·ALLEGRO_FILE(3alleg5)
17 which·is·a·file·handle·opened·for·reading·and·located·at·the·first·byte19 which·is·a·file·handle·opened·for·reading·and·located·at·the·first·byte
18 of·the·file.20 of·the·file.
702 B
./usr/share/man/man3/al_register_sample_loader.3alleg5.gz
588 B
al_register_sample_loader.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_sample_loader(const·char·*ext,10 bool·al_register_sample_loader(const·char·*ext,
11 ···ALLEGRO_SAMPLE·*(*loader)(const·char·*filename))11 ···ALLEGRO_SAMPLE·*(*loader)(const·char·*filename))
 12 bool·al_register_sample_loader(const·char·*ext,
 13 ···ALLEGRO_SAMPLE·*(*loader)(const·char·*filename))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Register·a·handler·for·al_load_sample(3alleg5).16 Register·a·handler·for·al_load_sample(3alleg5).
15 The·given·function·will·be·used·to·handle·the·loading·of·sample·files17 The·given·function·will·be·used·to·handle·the·loading·of·sample·files
16 with·the·given·extension.18 with·the·given·extension.
17 .PP19 .PP
18 The·extension·should·include·the·leading·dot·(`.')·character.20 The·extension·should·include·the·leading·dot·(`.')·character.
708 B
./usr/share/man/man3/al_register_sample_loader_f.3alleg5.gz
590 B
al_register_sample_loader_f.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_sample_loader_f(const·char·*ext,10 bool·al_register_sample_loader_f(const·char·*ext,
11 ···ALLEGRO_SAMPLE·*(*loader)(ALLEGRO_FILE*·fp))11 ···ALLEGRO_SAMPLE·*(*loader)(ALLEGRO_FILE*·fp))
 12 bool·al_register_sample_loader_f(const·char·*ext,
 13 ···ALLEGRO_SAMPLE·*(*loader)(ALLEGRO_FILE*·fp))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Register·a·handler·for·al_load_sample_f(3alleg5).16 Register·a·handler·for·al_load_sample_f(3alleg5).
15 The·given·function·will·be·used·to·handle·the·loading·of·sample·files17 The·given·function·will·be·used·to·handle·the·loading·of·sample·files
16 with·the·given·extension.18 with·the·given·extension.
17 .PP19 .PP
18 The·extension·should·include·the·leading·dot·(`.')·character.20 The·extension·should·include·the·leading·dot·(`.')·character.
713 B
./usr/share/man/man3/al_register_sample_saver.3alleg5.gz
601 B
al_register_sample_saver.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_sample_saver(const·char·*ext,10 bool·al_register_sample_saver(const·char·*ext,
11 ···bool·(*saver)(const·char·*filename,·ALLEGRO_SAMPLE·*spl))11 ···bool·(*saver)(const·char·*filename,·ALLEGRO_SAMPLE·*spl))
 12 bool·al_register_sample_saver(const·char·*ext,
 13 ···bool·(*saver)(const·char·*filename,·ALLEGRO_SAMPLE·*spl))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Register·a·handler·for·al_save_sample(3alleg5).16 Register·a·handler·for·al_save_sample(3alleg5).
15 The·given·function·will·be·used·to·handle·the·saving·of·sample·files17 The·given·function·will·be·used·to·handle·the·saving·of·sample·files
16 with·the·given·extension.18 with·the·given·extension.
17 .PP19 .PP
18 The·extension·should·include·the·leading·dot·(`.')·character.20 The·extension·should·include·the·leading·dot·(`.')·character.
719 B
./usr/share/man/man3/al_register_sample_saver_f.3alleg5.gz
603 B
al_register_sample_saver_f.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_register_sample_saver_f(const·char·*ext,10 bool·al_register_sample_saver_f(const·char·*ext,
11 ···bool·(*saver)(ALLEGRO_FILE*·fp,·ALLEGRO_SAMPLE·*spl))11 ···bool·(*saver)(ALLEGRO_FILE*·fp,·ALLEGRO_SAMPLE·*spl))
 12 bool·al_register_sample_saver_f(const·char·*ext,
 13 ···bool·(*saver)(ALLEGRO_FILE*·fp,·ALLEGRO_SAMPLE·*spl))
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Register·a·handler·for·al_save_sample_f(3alleg5).16 Register·a·handler·for·al_save_sample_f(3alleg5).
15 The·given·function·will·be·used·to·handle·the·saving·of·sample·files17 The·given·function·will·be·used·to·handle·the·saving·of·sample·files
16 with·the·given·extension.18 with·the·given·extension.
17 .PP19 .PP
18 The·extension·should·include·the·leading·dot·(`.')·character.20 The·extension·should·include·the·leading·dot·(`.')·character.
687 B
./usr/share/man/man3/al_remove_display_menu.3alleg5.gz
579 B
al_remove_display_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_remove_display_menu·\-·Allegro·5·API5 al_remove_display_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 ALLEGRO_MENU·*al_remove_display_menu(ALLEGRO_DISPLAY·*display)10 ALLEGRO_MENU·*al_remove_display_menu(ALLEGRO_DISPLAY·*display)
 11 ALLEGRO_MENU·*al_remove_display_menu(ALLEGRO_DISPLAY·*display)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Detaches·the·menu·associated·with·the·display·and·returns·it.14 Detaches·the·menu·associated·with·the·display·and·returns·it.
14 The·menu·can·then·be·used·on·a·different·display.15 The·menu·can·then·be·used·on·a·different·display.
15 .PP16 .PP
16 If·you·simply·want·to·destroy·the·active·menu,·you·can·call17 If·you·simply·want·to·destroy·the·active·menu,·you·can·call
17 al_set_display_menu(3alleg5)·with·a·\f[CR]NULL\f[R]·menu.18 al_set_display_menu(3alleg5)·with·a·\f[CR]NULL\f[R]·menu.
669 B
./usr/share/man/man3/al_remove_menu_item.3alleg5.gz
567 B
al_remove_menu_item.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_remove_menu_item·\-·Allegro·5·API5 al_remove_menu_item·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_remove_menu_item(ALLEGRO_MENU·*menu,·int·pos)10 bool·al_remove_menu_item(ALLEGRO_MENU·*menu,·int·pos)
 11 bool·al_remove_menu_item(ALLEGRO_MENU·*menu,·int·pos)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Removes·the·specified·item·from·the·menu·and·destroys·it.14 Removes·the·specified·item·from·the·menu·and·destroys·it.
14 If·the·item·contains·a·sub\-menu,·it·too·is·destroyed.15 If·the·item·contains·a·sub\-menu,·it·too·is·destroyed.
15 Any·references·to·it·are·invalidated.16 Any·references·to·it·are·invalidated.
16 If·you·want·to·preserve·that·sub\-menu,·you·should·first·make·a·copy17 If·you·want·to·preserve·that·sub\-menu,·you·should·first·make·a·copy
17 with·al_clone_menu(3alleg5).18 with·al_clone_menu(3alleg5).
642 B
./usr/share/man/man3/al_reserve_samples.3alleg5.gz
542 B
al_reserve_samples.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_reserve_samples·\-·Allegro·5·API5 al_reserve_samples·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_reserve_samples(int·reserve_samples)10 bool·al_reserve_samples(int·reserve_samples)
 11 bool·al_reserve_samples(int·reserve_samples)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default14 Reserves·a·number·of·sample·instances,·attaching·them·to·the·default
14 mixer.15 mixer.
15 If·no·default·mixer·is·set·when·this·function·is·called,·then·it·will16 If·no·default·mixer·is·set·when·this·function·is·called,·then·it·will
16 create·one·and·attach·it·to·the·default·voice.17 create·one·and·attach·it·to·the·default·voice.
17 If·no·default·voice·has·been·set,·it,·too,·will·be·created.18 If·no·default·voice·has·been·set,·it,·too,·will·be·created.
659 B
./usr/share/man/man3/al_restore_default_mixer.3alleg5.gz
547 B
al_restore_default_mixer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_restore_default_mixer·\-·Allegro·5·API5 al_restore_default_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_restore_default_mixer(void)10 bool·al_restore_default_mixer(void)
 11 bool·al_restore_default_mixer(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Restores·Allegro\[cq]s·default·mixer·and·attaches·it·to·the·default14 Restores·Allegro\[cq]s·default·mixer·and·attaches·it·to·the·default
14 voice.15 voice.
15 If·the·default·mixer·hasn\[cq]t·been·created·before,·it·will·be·created.16 If·the·default·mixer·hasn\[cq]t·been·created·before,·it·will·be·created.
16 If·the·default·voice·hasn\[cq]t·been·set·via17 If·the·default·voice·hasn\[cq]t·been·set·via
17 al_set_default_voice(3alleg5)·or·created·before,·it·will·also·be18 al_set_default_voice(3alleg5)·or·created·before,·it·will·also·be
706 B
./usr/share/man/man3/al_rewind_audio_stream.3alleg5.gz
598 B
al_rewind_audio_stream.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_rewind_audio_stream·\-·Allegro·5·API5 al_rewind_audio_stream·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)10 bool·al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
 11 bool·al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM·*stream)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·streaming·file·playing·position·to·the·beginning.14 Set·the·streaming·file·playing·position·to·the·beginning.
14 Returns·true·on·success.15 Returns·true·on·success.
15 Currently·this·can·only·be·called·on·streams·created·with16 Currently·this·can·only·be·called·on·streams·created·with
16 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),17 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
17 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).18 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).
566 B
./usr/share/man/man3/al_save_sample.3alleg5.gz
474 B
al_save_sample.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_save_sample·\-·Allegro·5·API5 al_save_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_save_sample(const·char·*filename,·ALLEGRO_SAMPLE·*spl)10 bool·al_save_sample(const·char·*filename,·ALLEGRO_SAMPLE·*spl)
 11 bool·al_save_sample(const·char·*filename,·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Writes·a·sample·into·a·file.14 Writes·a·sample·into·a·file.
14 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be15 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be
15 \[lq].wav\[rq].16 \[lq].wav\[rq].
16 .PP17 .PP
17 Returns·true·on·success,·false·on·error.18 Returns·true·on·success,·false·on·error.
638 B
./usr/share/man/man3/al_save_sample_f.3alleg5.gz
542 B
al_save_sample_f.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_save_sample_f·\-·Allegro·5·API5 al_save_sample_f·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_save_sample_f(ALLEGRO_FILE·*fp,·const·char·*ident,·ALLEGRO_SAMPLE·*spl)10 bool·al_save_sample_f(ALLEGRO_FILE·*fp,·const·char·*ident,·ALLEGRO_SAMPLE·*spl)
 11 bool·al_save_sample_f(ALLEGRO_FILE·*fp,·const·char·*ident,·ALLEGRO_SAMPLE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Writes·a·sample·into·a·ALLEGRO_FILE(3alleg5)·filestream.14 Writes·a·sample·into·a·ALLEGRO_FILE(3alleg5)·filestream.
14 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be15 Currently,·wav·is·the·only·supported·format,·and·the·extension·must·be
15 \[lq].wav\[rq].16 \[lq].wav\[rq].
16 .PP17 .PP
17 Returns·true·on·success,·false·on·error.18 Returns·true·on·success,·false·on·error.
744 B
./usr/share/man/man3/al_seek_audio_stream_secs.3alleg5.gz
630 B
al_seek_audio_stream_secs.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_seek_audio_stream_secs·\-·Allegro·5·API5 al_seek_audio_stream_secs·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM·*stream,·double·time)10 bool·al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM·*stream,·double·time)
 11 bool·al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM·*stream,·double·time)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·streaming·file·playing·position·to·time.14 Set·the·streaming·file·playing·position·to·time.
14 Returns·true·on·success.15 Returns·true·on·success.
15 Currently·this·can·only·be·called·on·streams·created·with16 Currently·this·can·only·be·called·on·streams·created·with
16 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),17 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
17 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).18 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).
527 B
./usr/share/man/man3/al_seek_video.3alleg5.gz
437 B
al_seek_video.3alleg5
    
Offset 5, 13 lines modifiedOffset 5, 14 lines modified
5 al_seek_video·\-·Allegro·5·API5 al_seek_video·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds)10 bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds)
 11 bool·al_seek_video(ALLEGRO_VIDEO·*video,·double·pos_in_seconds)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Seek·to·a·different·position·in·the·video.14 Seek·to·a·different·position·in·the·video.
14 Currently·only·seeking·to·the·beginning·of·the·video·is·supported.15 Currently·only·seeking·to·the·beginning·of·the·video·is·supported.
15 .SH·SINCE16 .SH·SINCE
16 5.1.017 5.1.0
734 B
./usr/share/man/man3/al_set_audio_stream_fragment.3alleg5.gz
614 B
al_set_audio_stream_fragment.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_audio_stream_fragment·\-·Allegro·5·API5 al_set_audio_stream_fragment·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM·*stream,·void·*val)10 bool·al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM·*stream,·void·*val)
 11 bool·al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM·*stream,·void·*val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·function·needs·to·be·called·for·every·successful·call·of14 This·function·needs·to·be·called·for·every·successful·call·of
14 al_get_audio_stream_fragment(3alleg5)·to·indicate·that·the·buffer15 al_get_audio_stream_fragment(3alleg5)·to·indicate·that·the·buffer
15 (pointed·to·by·\f[CR]val\f[R])·is·filled·with·new·data.16 (pointed·to·by·\f[CR]val\f[R])·is·filled·with·new·data.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_get_audio_stream_fragment(3alleg5)18 al_get_audio_stream_fragment(3alleg5)
631 B
./usr/share/man/man3/al_set_audio_stream_gain.3alleg5.gz
519 B
al_set_audio_stream_gain.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_audio_stream_gain·\-·Allegro·5·API5 al_set_audio_stream_gain·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM·*stream,·float·val)10 bool·al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
 11 bool·al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·playback·gain·of·the·stream.14 Set·the·playback·gain·of·the·stream.
14 .PP15 .PP
15 Returns·true·on·success,·false·on·failure.16 Returns·true·on·success,·false·on·failure.
16 Will·fail·if·the·audio·stream·is·attached·directly·to·a·voice.17 Will·fail·if·the·audio·stream·is·attached·directly·to·a·voice.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
731 B
./usr/share/man/man3/al_set_audio_stream_loop_secs.3alleg5.gz
609 B
al_set_audio_stream_loop_secs.3alleg5
    
Offset 6, 13 lines modifiedOffset 6, 15 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM·*stream,10 bool·al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM·*stream,
11 ···double·start,·double·end)11 ···double·start,·double·end)
 12 bool·al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM·*stream,
 13 ···double·start,·double·end)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Sets·the·loop·points·for·the·stream·in·seconds.16 Sets·the·loop·points·for·the·stream·in·seconds.
15 Currently·this·can·only·be·called·on·streams·created·with17 Currently·this·can·only·be·called·on·streams·created·with
16 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),18 al_load_audio_stream(3alleg5),·al_play_audio_stream(3alleg5),
17 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).19 al_load_audio_stream_f(3alleg5)·or·al_play_audio_stream_f(3alleg5).
728 B
./usr/share/man/man3/al_set_audio_stream_pan.3alleg5.gz
618 B
al_set_audio_stream_pan.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_audio_stream_pan·\-·Allegro·5·API5 al_set_audio_stream_pan·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM·*stream,·float·val)10 bool·al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
 11 bool·al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·pan·value·on·an·audio·stream.14 Set·the·pan·value·on·an·audio·stream.
14 A·value·of·\-1.0·means·to·play·the·stream·only·through·the·left·speaker;15 A·value·of·\-1.0·means·to·play·the·stream·only·through·the·left·speaker;
15 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is16 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is
16 centre·balanced.17 centre·balanced.
17 A·special·value·ALLEGRO_AUDIO_PAN_NONE(3alleg5)·disables·panning·and18 A·special·value·ALLEGRO_AUDIO_PAN_NONE(3alleg5)·disables·panning·and
625 B
./usr/share/man/man3/al_set_audio_stream_playing.3alleg5.gz
507 B
al_set_audio_stream_playing.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_audio_stream_playing·\-·Allegro·5·API5 al_set_audio_stream_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM·*stream,·bool·val)10 bool·al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM·*stream,·bool·val)
 11 bool·al_set_audio_stream_playing(ALLEGRO_AUDIO_STREAM·*stream,·bool·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Change·whether·the·stream·is·playing.14 Change·whether·the·stream·is·playing.
14 .PP15 .PP
15 Returns·true·on·success,·false·on·failure.16 Returns·true·on·success,·false·on·failure.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_get_audio_stream_playing(3alleg5)18 al_get_audio_stream_playing(3alleg5)
645 B
./usr/share/man/man3/al_set_audio_stream_playmode.3alleg5.gz
525 B
al_set_audio_stream_playmode.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM·*stream,10 bool·al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM·*stream,
11 ···ALLEGRO_PLAYMODE·val)11 ···ALLEGRO_PLAYMODE·val)
 12 bool·al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM·*stream,
 13 ···ALLEGRO_PLAYMODE·val)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Set·the·playback·mode·of·the·stream.16 Set·the·playback·mode·of·the·stream.
15 .PP17 .PP
16 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 ALLEGRO_PLAYMODE(3alleg5),·al_get_audio_stream_playmode(3alleg5).20 ALLEGRO_PLAYMODE(3alleg5),·al_get_audio_stream_playmode(3alleg5).
658 B
./usr/share/man/man3/al_set_audio_stream_speed.3alleg5.gz
544 B
al_set_audio_stream_speed.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_audio_stream_speed·\-·Allegro·5·API5 al_set_audio_stream_speed·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM·*stream,·float·val)10 bool·al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
 11 bool·al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM·*stream,·float·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·relative·playback·speed·of·the·stream.14 Set·the·relative·playback·speed·of·the·stream.
14 1.0·means·normal·speed.15 1.0·means·normal·speed.
15 .PP16 .PP
16 Return·true·on·success,·false·on·failure.17 Return·true·on·success,·false·on·failure.
17 Will·fail·if·the·audio·stream·is·attached·directly·to·a·voice.18 Will·fail·if·the·audio·stream·is·attached·directly·to·a·voice.
641 B
./usr/share/man/man3/al_set_default_mixer.3alleg5.gz
537 B
al_set_default_mixer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_default_mixer·\-·Allegro·5·API5 al_set_default_mixer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_default_mixer(ALLEGRO_MIXER·*mixer)10 bool·al_set_default_mixer(ALLEGRO_MIXER·*mixer)
 11 bool·al_set_default_mixer(ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Sets·the·default·mixer.14 Sets·the·default·mixer.
14 All·samples·started·with·al_play_sample(3alleg5)·will·be·stopped·and·all15 All·samples·started·with·al_play_sample(3alleg5)·will·be·stopped·and·all
15 sample·instances·returned·by·al_lock_sample_id(3alleg5)·will·be16 sample·instances·returned·by·al_lock_sample_id(3alleg5)·will·be
16 invalidated.17 invalidated.
17 If·you·are·using·your·own·mixer,·this·should·be·called·before18 If·you·are·using·your·own·mixer,·this·should·be·called·before
615 B
./usr/share/man/man3/al_set_default_voice.3alleg5.gz
511 B
al_set_default_voice.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_default_voice·\-·Allegro·5·API5 al_set_default_voice·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_set_default_voice(ALLEGRO_VOICE·*voice)10 void·al_set_default_voice(ALLEGRO_VOICE·*voice)
 11 void·al_set_default_voice(ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 You·can·call·this·before·calling·al_restore_default_mixer·to·provide·the14 You·can·call·this·before·calling·al_restore_default_mixer·to·provide·the
14 voice·which·should·be·used.15 voice·which·should·be·used.
15 Any·previous·voice·will·be·destroyed.16 Any·previous·voice·will·be·destroyed.
16 You·can·also·pass·NULL·to·destroy·the·current·default·voice.17 You·can·also·pass·NULL·to·destroy·the·current·default·voice.
17 .SH·SINCE18 .SH·SINCE
716 B
./usr/share/man/man3/al_set_display_menu.3alleg5.gz
614 B
al_set_display_menu.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_display_menu·\-·Allegro·5·API5 al_set_display_menu·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_set_display_menu(ALLEGRO_DISPLAY·*display,·ALLEGRO_MENU·*menu)10 bool·al_set_display_menu(ALLEGRO_DISPLAY·*display,·ALLEGRO_MENU·*menu)
 11 bool·al_set_display_menu(ALLEGRO_DISPLAY·*display,·ALLEGRO_MENU·*menu)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Associates·the·\f[CR]menu\f[R]·with·the·\f[CR]display\f[R]·and·shows·it.14 Associates·the·\f[CR]menu\f[R]·with·the·\f[CR]display\f[R]·and·shows·it.
14 If·there·was·a·previous·menu·associated·with·the·display,·it·will·be15 If·there·was·a·previous·menu·associated·with·the·display,·it·will·be
15 destroyed.16 destroyed.
16 If·you·don\[cq]t·want·that·to·happen,·you·should·first·remove·the·menu17 If·you·don\[cq]t·want·that·to·happen,·you·should·first·remove·the·menu
17 with·al_remove_display_menu(3alleg5).18 with·al_remove_display_menu(3alleg5).
650 B
./usr/share/man/man3/al_set_fallback_font.3alleg5.gz
546 B
al_set_fallback_font.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_fallback_font·\-·Allegro·5·API5 al_set_fallback_font·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_set_fallback_font(ALLEGRO_FONT·*font,·ALLEGRO_FONT·*fallback)10 void·al_set_fallback_font(ALLEGRO_FONT·*font,·ALLEGRO_FONT·*fallback)
 11 void·al_set_fallback_font(ALLEGRO_FONT·*font,·ALLEGRO_FONT·*fallback)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Sets·a·font·which·is·used·instead·if·a·character·is·not·present.14 Sets·a·font·which·is·used·instead·if·a·character·is·not·present.
14 Can·be·chained,·but·make·sure·there·is·no·loop·as·that·would·crash·the15 Can·be·chained,·but·make·sure·there·is·no·loop·as·that·would·crash·the
15 application!16 application!
16 Pass·NULL·to·remove·a·fallback·font·again.17 Pass·NULL·to·remove·a·fallback·font·again.
17 .SH·SINCE18 .SH·SINCE
654 B
./usr/share/man/man3/al_set_menu_item_caption.3alleg5.gz
542 B
al_set_menu_item_caption.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_menu_item_caption·\-·Allegro·5·API5 al_set_menu_item_caption·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_set_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos,·const·char·*caption)10 void·al_set_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos,·const·char·*caption)
 11 void·al_set_menu_item_caption(ALLEGRO_MENU·*menu,·int·pos,·const·char·*caption)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Updates·the·menu·item·caption·with·the·new·\f[CR]caption\f[R].14 Updates·the·menu·item·caption·with·the·new·\f[CR]caption\f[R].
14 This·will·invalidate·any·previous·calls·to15 This·will·invalidate·any·previous·calls·to
15 al_get_menu_item_caption(3alleg5).16 al_get_menu_item_caption(3alleg5).
16 .SH·SINCE17 .SH·SINCE
17 5.1.018 5.1.0
589 B
./usr/share/man/man3/al_set_menu_item_flags.3alleg5.gz
481 B
al_set_menu_item_flags.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_menu_item_flags·\-·Allegro·5·API5 al_set_menu_item_flags·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_set_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)10 void·al_set_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)
 11 void·al_set_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Updates·the·menu·item\[cq]s·flags.14 Updates·the·menu·item\[cq]s·flags.
14 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available15 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available
15 flags.16 flags.
16 .SH·SINCE17 .SH·SINCE
17 5.1.018 5.1.0
672 B
./usr/share/man/man3/al_set_menu_item_icon.3alleg5.gz
566 B
al_set_menu_item_icon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_menu_item_icon·\-·Allegro·5·API5 al_set_menu_item_icon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_set_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos,·ALLEGRO_BITMAP·*icon)10 void·al_set_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos,·ALLEGRO_BITMAP·*icon)
 11 void·al_set_menu_item_icon(ALLEGRO_MENU·*menu,·int·pos,·ALLEGRO_BITMAP·*icon)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Sets·the·icon·for·the·specified·menu·item.14 Sets·the·icon·for·the·specified·menu·item.
14 The·menu·assumes·ownership·of·the·\f[CR]ALLEGRO_BITMAP\f[R]·and·may15 The·menu·assumes·ownership·of·the·\f[CR]ALLEGRO_BITMAP\f[R]·and·may
15 invalidate·the·pointer,·so·you·must·clone·it·if·you·wish·to·continue16 invalidate·the·pointer,·so·you·must·clone·it·if·you·wish·to·continue
16 using·it.17 using·it.
17 .PP18 .PP
610 B
./usr/share/man/man3/al_set_mixer_frequency.3alleg5.gz
502 B
al_set_mixer_frequency.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_mixer_frequency·\-·Allegro·5·API5 al_set_mixer_frequency·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_mixer_frequency(ALLEGRO_MIXER·*mixer,·unsigned·int·val)10 bool·al_set_mixer_frequency(ALLEGRO_MIXER·*mixer,·unsigned·int·val)
 11 bool·al_set_mixer_frequency(ALLEGRO_MIXER·*mixer,·unsigned·int·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·mixer·frequency·(in·Hz).14 Set·the·mixer·frequency·(in·Hz).
14 This·will·only·work·if·the·mixer·is·not·attached·to·anything.15 This·will·only·work·if·the·mixer·is·not·attached·to·anything.
15 .PP16 .PP
16 Returns·true·on·success,·false·on·failure.17 Returns·true·on·success,·false·on·failure.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
529 B
./usr/share/man/man3/al_set_mixer_gain.3alleg5.gz
431 B
al_set_mixer_gain.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_mixer_gain·\-·Allegro·5·API5 al_set_mixer_gain·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_mixer_gain(ALLEGRO_MIXER·*mixer,·float·new_gain)10 bool·al_set_mixer_gain(ALLEGRO_MIXER·*mixer,·float·new_gain)
 11 bool·al_set_mixer_gain(ALLEGRO_MIXER·*mixer,·float·new_gain)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·mixer·gain·(amplification·factor).14 Set·the·mixer·gain·(amplification·factor).
14 .PP15 .PP
15 Returns·true·on·success,·false·on·failure.16 Returns·true·on·success,·false·on·failure.
16 .SH·SINCE17 .SH·SINCE
17 5.0.6,·5.1.018 5.0.6,·5.1.0
553 B
./usr/share/man/man3/al_set_mixer_playing.3alleg5.gz
449 B
al_set_mixer_playing.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_mixer_playing·\-·Allegro·5·API5 al_set_mixer_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_mixer_playing(ALLEGRO_MIXER·*mixer,·bool·val)10 bool·al_set_mixer_playing(ALLEGRO_MIXER·*mixer,·bool·val)
 11 bool·al_set_mixer_playing(ALLEGRO_MIXER·*mixer,·bool·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Change·whether·the·mixer·is·playing.14 Change·whether·the·mixer·is·playing.
14 .PP15 .PP
15 Returns·true·on·success,·false·on·failure.16 Returns·true·on·success,·false·on·failure.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_get_mixer_playing(3alleg5).18 al_get_mixer_playing(3alleg5).
865 B
./usr/share/man/man3/al_set_mixer_postprocess_callback.3alleg5.gz
735 B
al_set_mixer_postprocess_callback.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_mixer_postprocess_callback(ALLEGRO_MIXER·*mixer,10 bool·al_set_mixer_postprocess_callback(ALLEGRO_MIXER·*mixer,
11 ···void·(*pp_callback)(void·*buf,·unsigned·int·samples,·void·*data),11 ···void·(*pp_callback)(void·*buf,·unsigned·int·samples,·void·*data),
12 ···void·*pp_callback_userdata)12 ···void·*pp_callback_userdata)
 13 bool·al_set_mixer_postprocess_callback(ALLEGRO_MIXER·*mixer,
 14 ···void·(*pp_callback)(void·*buf,·unsigned·int·samples,·void·*data),
 15 ···void·*pp_callback_userdata)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Sets·a·post\-processing·filter·function·that\[cq]s·called·after·the18 Sets·a·post\-processing·filter·function·that\[cq]s·called·after·the
16 attached·streams·have·been·mixed.19 attached·streams·have·been·mixed.
17 The·buffer\[cq]s·format·will·be·whatever·the·mixer·was·created·with.20 The·buffer\[cq]s·format·will·be·whatever·the·mixer·was·created·with.
18 The·sample·count·and·user\-data·pointer·is·also·passed.21 The·sample·count·and·user\-data·pointer·is·also·passed.
19 .RS22 .RS
619 B
./usr/share/man/man3/al_set_mixer_quality.3alleg5.gz
515 B
al_set_mixer_quality.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_mixer_quality·\-·Allegro·5·API5 al_set_mixer_quality·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_mixer_quality(ALLEGRO_MIXER·*mixer,·ALLEGRO_MIXER_QUALITY·new_quality)10 bool·al_set_mixer_quality(ALLEGRO_MIXER·*mixer,·ALLEGRO_MIXER_QUALITY·new_quality)
 11 bool·al_set_mixer_quality(ALLEGRO_MIXER·*mixer,·ALLEGRO_MIXER_QUALITY·new_quality)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·mixer·quality.14 Set·the·mixer·quality.
14 This·can·only·succeed·if·the·mixer·does·not·have·anything·attached·to15 This·can·only·succeed·if·the·mixer·does·not·have·anything·attached·to
15 it.16 it.
16 .PP17 .PP
17 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
656 B
./usr/share/man/man3/al_set_physfs_file_interface.3alleg5.gz
536 B
al_set_physfs_file_interface.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_physfs_file_interface·\-·Allegro·5·API5 al_set_physfs_file_interface·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_physfs.h>9 #include·<allegro5/allegro_physfs.h>
  
10 void·al_set_physfs_file_interface(void)10 void·al_set_physfs_file_interface(void)
 11 void·al_set_physfs_file_interface(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 This·function·sets·\f[I]both\f[R]·the·ALLEGRO_FILE_INTERFACE(3alleg5)14 This·function·sets·\f[I]both\f[R]·the·ALLEGRO_FILE_INTERFACE(3alleg5)
14 and·ALLEGRO_FS_INTERFACE(3alleg5)·for·the·calling·thread.15 and·ALLEGRO_FS_INTERFACE(3alleg5)·for·the·calling·thread.
15 .PP16 .PP
16 Subsequent·calls·to·al_fopen(3alleg5)·on·the·calling·thread·will·be17 Subsequent·calls·to·al_fopen(3alleg5)·on·the·calling·thread·will·be
17 handled·by·PHYSFS_open().18 handled·by·PHYSFS_open().
567 B
./usr/share/man/man3/al_set_sample.3alleg5.gz
477 B
al_set_sample.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_sample·\-·Allegro·5·API5 al_set_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample(ALLEGRO_SAMPLE_INSTANCE·*spl,·ALLEGRO_SAMPLE·*data)10 bool·al_set_sample(ALLEGRO_SAMPLE_INSTANCE·*spl,·ALLEGRO_SAMPLE·*data)
 11 bool·al_set_sample(ALLEGRO_SAMPLE_INSTANCE·*spl,·ALLEGRO_SAMPLE·*data)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Change·the·sample·data·that·a·sample·instance·plays.14 Change·the·sample·data·that·a·sample·instance·plays.
14 This·can·be·quite·an·involved·process.15 This·can·be·quite·an·involved·process.
15 .PP16 .PP
16 First,·the·sample·is·stopped·if·it·is·not·already.17 First,·the·sample·is·stopped·if·it·is·not·already.
17 .PP18 .PP
895 B
./usr/share/man/man3/al_set_sample_instance_channel_matrix.3alleg5.gz
757 B
al_set_sample_instance_channel_matrix.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_sample_instance_channel_matrix·\-·Allegro·5·API5 al_set_sample_instance_channel_matrix·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE·*spl,·const·float·*matrix)10 bool·al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE·*spl,·const·float·*matrix)
 11 bool·al_set_sample_instance_channel_matrix(ALLEGRO_SAMPLE_INSTANCE·*spl,·const·float·*matrix)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·matrix·used·to·mix·the·channels·coming·from·this·instance·into14 Set·the·matrix·used·to·mix·the·channels·coming·from·this·instance·into
14 the·mixer·it·is·attached·to.15 the·mixer·it·is·attached·to.
15 Normally·Allegro·derives·the·values·of·this·matrix·from·the·gain·and·pan16 Normally·Allegro·derives·the·values·of·this·matrix·from·the·gain·and·pan
16 settings,·as·well·as·the·channel·configurations·of·this·instance·and·the17 settings,·as·well·as·the·channel·configurations·of·this·instance·and·the
17 mixer·it·is·attached·to,·but·this·allows·you·override·that·default18 mixer·it·is·attached·to,·but·this·allows·you·override·that·default
664 B
./usr/share/man/man3/al_set_sample_instance_gain.3alleg5.gz
546 B
al_set_sample_instance_gain.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_sample_instance_gain·\-·Allegro·5·API5 al_set_sample_instance_gain·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)10 bool·al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
 11 bool·al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·playback·gain·of·the·sample·instance.14 Set·the·playback·gain·of·the·sample·instance.
14 .PP15 .PP
15 Returns·true·on·success,·false·on·failure.16 Returns·true·on·success,·false·on·failure.
16 Will·fail·if·the·sample·instance·is·attached·directly·to·a·voice.17 Will·fail·if·the·sample·instance·is·attached·directly·to·a·voice.
17 .SH·SEE·ALSO18 .SH·SEE·ALSO
715 B
./usr/share/man/man3/al_set_sample_instance_length.3alleg5.gz
593 B
al_set_sample_instance_length.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE·*spl,10 bool·al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE·*spl,
11 ···unsigned·int·val)11 ···unsigned·int·val)
 12 bool·al_set_sample_instance_length(ALLEGRO_SAMPLE_INSTANCE·*spl,
 13 ···unsigned·int·val)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Set·the·length·of·the·sample·instance·in·sample·values.16 Set·the·length·of·the·sample·instance·in·sample·values.
15 This·can·be·used·to·play·only·parts·of·the·underlying·sample.17 This·can·be·used·to·play·only·parts·of·the·underlying·sample.
16 Be·careful·not·to·exceed·the·actual·length·of·the·sample·data,·though.18 Be·careful·not·to·exceed·the·actual·length·of·the·sample·data,·though.
17 .PP19 .PP
18 Return·true·on·success,·false·on·failure.20 Return·true·on·success,·false·on·failure.
751 B
./usr/share/man/man3/al_set_sample_instance_pan.3alleg5.gz
635 B
al_set_sample_instance_pan.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_sample_instance_pan·\-·Allegro·5·API5 al_set_sample_instance_pan·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)10 bool·al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
 11 bool·al_set_sample_instance_pan(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·pan·value·on·a·sample·instance.14 Set·the·pan·value·on·a·sample·instance.
14 A·value·of·\-1.0·means·to·play·the·sample·only·through·the·left·speaker;15 A·value·of·\-1.0·means·to·play·the·sample·only·through·the·left·speaker;
15 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is16 +1.0·means·only·through·the·right·speaker;·0.0·means·the·sample·is
16 centre·balanced.17 centre·balanced.
17 A·special·value·ALLEGRO_AUDIO_PAN_NONE(3alleg5)·disables·panning·and18 A·special·value·ALLEGRO_AUDIO_PAN_NONE(3alleg5)·disables·panning·and
679 B
./usr/share/man/man3/al_set_sample_instance_playing.3alleg5.gz
555 B
al_set_sample_instance_playing.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_sample_instance_playing·\-·Allegro·5·API5 al_set_sample_instance_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE·*spl,·bool·val)10 bool·al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE·*spl,·bool·val)
 11 bool·al_set_sample_instance_playing(ALLEGRO_SAMPLE_INSTANCE·*spl,·bool·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Change·whether·the·sample·instance·is·playing.14 Change·whether·the·sample·instance·is·playing.
14 .PP15 .PP
15 The·instance·does·not·need·to·be·attached·to·anything·(since:·5.1.8).16 The·instance·does·not·need·to·be·attached·to·anything·(since:·5.1.8).
16 .PP17 .PP
17 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
674 B
./usr/share/man/man3/al_set_sample_instance_playmode.3alleg5.gz
548 B
al_set_sample_instance_playmode.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE·*spl,10 bool·al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE·*spl,
11 ···ALLEGRO_PLAYMODE·val)11 ···ALLEGRO_PLAYMODE·val)
 12 bool·al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE·*spl,
 13 ···ALLEGRO_PLAYMODE·val)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Set·the·playback·mode·of·the·sample·instance.16 Set·the·playback·mode·of·the·sample·instance.
15 .PP17 .PP
16 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 ALLEGRO_PLAYMODE(3alleg5),·al_get_sample_instance_playmode(3alleg5)20 ALLEGRO_PLAYMODE(3alleg5),·al_get_sample_instance_playmode(3alleg5)
641 B
./usr/share/man/man3/al_set_sample_instance_position.3alleg5.gz
515 B
al_set_sample_instance_position.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE·*spl,10 bool·al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE·*spl,
11 ···unsigned·int·val)11 ···unsigned·int·val)
 12 bool·al_set_sample_instance_position(ALLEGRO_SAMPLE_INSTANCE·*spl,
 13 ···unsigned·int·val)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Set·the·playback·position·of·a·sample·instance.16 Set·the·playback·position·of·a·sample·instance.
15 .PP17 .PP
16 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
17 .SH·SEE·ALSO19 .SH·SEE·ALSO
18 al_get_sample_instance_position(3alleg5)20 al_get_sample_instance_position(3alleg5)
691 B
./usr/share/man/man3/al_set_sample_instance_speed.3alleg5.gz
571 B
al_set_sample_instance_speed.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_sample_instance_speed·\-·Allegro·5·API5 al_set_sample_instance_speed·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)10 bool·al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
 11 bool·al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE·*spl,·float·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·relative·playback·speed·of·the·sample·instance.14 Set·the·relative·playback·speed·of·the·sample·instance.
14 1.0·means·normal·speed.15 1.0·means·normal·speed.
15 .PP16 .PP
16 Return·true·on·success,·false·on·failure.17 Return·true·on·success,·false·on·failure.
17 Will·fail·if·the·sample·instance·is·attached·directly·to·a·voice.18 Will·fail·if·the·sample·instance·is·attached·directly·to·a·voice.
470 B
./usr/share/man/man3/al_set_video_playing.3alleg5.gz
366 B
al_set_video_playing.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_set_video_playing·\-·Allegro·5·API5 al_set_video_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 void·al_set_video_playing(ALLEGRO_VIDEO·*video,·bool·play)10 void·al_set_video_playing(ALLEGRO_VIDEO·*video,·bool·play)
 11 void·al_set_video_playing(ALLEGRO_VIDEO·*video,·bool·play)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Paused·or·resumes·playback.14 Paused·or·resumes·playback.
14 .SH·SINCE15 .SH·SINCE
15 5.1.1216 5.1.12
633 B
./usr/share/man/man3/al_set_voice_playing.3alleg5.gz
529 B
al_set_voice_playing.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_voice_playing·\-·Allegro·5·API5 al_set_voice_playing·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_voice_playing(ALLEGRO_VOICE·*voice,·bool·val)10 bool·al_set_voice_playing(ALLEGRO_VOICE·*voice,·bool·val)
 11 bool·al_set_voice_playing(ALLEGRO_VOICE·*voice,·bool·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Change·whether·a·voice·is·playing·or·not.14 Change·whether·a·voice·is·playing·or·not.
14 This·can·only·work·if·the·voice·has·a·non\-streaming·object·attached·to15 This·can·only·work·if·the·voice·has·a·non\-streaming·object·attached·to
15 it,·e.g.\·a·sample·instance.16 it,·e.g.\·a·sample·instance.
16 On·success·the·voice\[cq]s·current·sample·position·is·reset.17 On·success·the·voice\[cq]s·current·sample·position·is·reset.
17 .PP18 .PP
620 B
./usr/share/man/man3/al_set_voice_position.3alleg5.gz
514 B
al_set_voice_position.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_set_voice_position·\-·Allegro·5·API5 al_set_voice_position·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_set_voice_position(ALLEGRO_VOICE·*voice,·unsigned·int·val)10 bool·al_set_voice_position(ALLEGRO_VOICE·*voice,·unsigned·int·val)
 11 bool·al_set_voice_position(ALLEGRO_VOICE·*voice,·unsigned·int·val)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Set·the·voice·position.14 Set·the·voice·position.
14 This·can·only·work·if·the·voice·has·a·non\-streaming·object·attached·to15 This·can·only·work·if·the·voice·has·a·non\-streaming·object·attached·to
15 it,·e.g.\·a·sample·instance.16 it,·e.g.\·a·sample·instance.
16 .PP17 .PP
17 Returns·true·on·success,·false·on·failure.18 Returns·true·on·success,·false·on·failure.
672 B
./usr/share/man/man3/al_show_native_file_dialog.3alleg5.gz
556 B
al_show_native_file_dialog.3alleg5
    
Offset 6, 14 lines modifiedOffset 6, 16 lines modified
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,10 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,
11 ···ALLEGRO_FILECHOOSER·*dialog)11 ···ALLEGRO_FILECHOOSER·*dialog)
 12 bool·al_show_native_file_dialog(ALLEGRO_DISPLAY·*display,
 13 ···ALLEGRO_FILECHOOSER·*dialog)
12 .EE14 .EE
13 .SH·DESCRIPTION15 .SH·DESCRIPTION
14 Show·the·dialog·window.16 Show·the·dialog·window.
15 The·display·may·be·NULL,·otherwise·the·given·display·is·treated·as·the17 The·display·may·be·NULL,·otherwise·the·given·display·is·treated·as·the
16 parent·if·possible.18 parent·if·possible.
17 .PP19 .PP
18 This·function·blocks·the·calling·thread·until·it·returns,·so·you·may20 This·function·blocks·the·calling·thread·until·it·returns,·so·you·may
818 B
./usr/share/man/man3/al_show_native_message_box.3alleg5.gz
702 B
al_show_native_message_box.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,10 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,
11 ···char·const·*title,·char·const·*heading,·char·const·*text,11 ···char·const·*title,·char·const·*heading,·char·const·*text,
12 ···char·const·*buttons,·int·flags)12 ···char·const·*buttons,·int·flags)
 13 int·al_show_native_message_box(ALLEGRO_DISPLAY·*display,
 14 ···char·const·*title,·char·const·*heading,·char·const·*text,
 15 ···char·const·*buttons,·int·flags)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Show·a·native·GUI·message·box.18 Show·a·native·GUI·message·box.
16 This·can·be·used·for·example·to·display·an·error·message·if·creation·of19 This·can·be·used·for·example·to·display·an·error·message·if·creation·of
17 an·initial·display·fails.20 an·initial·display·fails.
18 The·display·may·be·NULL,·otherwise·the·given·display·is·treated·as·the21 The·display·may·be·NULL,·otherwise·the·given·display·is·treated·as·the
19 parent·if·possible.22 parent·if·possible.
549 B
./usr/share/man/man3/al_shutdown_font_addon.3alleg5.gz
441 B
al_shutdown_font_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_shutdown_font_addon·\-·Allegro·5·API5 al_shutdown_font_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_font.h>9 #include·<allegro5/allegro_font.h>
  
10 void·al_shutdown_font_addon(void)10 void·al_shutdown_font_addon(void)
 11 void·al_shutdown_font_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Shut·down·the·font·addon.14 Shut·down·the·font·addon.
14 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time15 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
15 the·user·wishes·as·well.16 the·user·wishes·as·well.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_init_font_addon(3alleg5)18 al_init_font_addon(3alleg5)
515 B
./usr/share/man/man3/al_shutdown_image_addon.3alleg5.gz
405 B
al_shutdown_image_addon.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_shutdown_image_addon·\-·Allegro·5·API5 al_shutdown_image_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_image.h>9 #include·<allegro5/allegro_image.h>
  
10 void·al_shutdown_image_addon(void)10 void·al_shutdown_image_addon(void)
 11 void·al_shutdown_image_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Shut·down·the·image·addon.14 Shut·down·the·image·addon.
14 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time15 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
15 the·user·wishes·as·well.16 the·user·wishes·as·well.
566 B
./usr/share/man/man3/al_shutdown_native_dialog_addon.3alleg5.gz
440 B
al_shutdown_native_dialog_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_shutdown_native_dialog_addon·\-·Allegro·5·API5 al_shutdown_native_dialog_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 void·al_shutdown_native_dialog_addon(void)10 void·al_shutdown_native_dialog_addon(void)
 11 void·al_shutdown_native_dialog_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Shut·down·the·native·dialog·addon.14 Shut·down·the·native·dialog·addon.
14 .SH·SINCE15 .SH·SINCE
15 5.0.9,·5.1.516 5.0.9,·5.1.5
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_init_native_dialog_addon(3alleg5)18 al_init_native_dialog_addon(3alleg5)
609 B
./usr/share/man/man3/al_shutdown_primitives_addon.3alleg5.gz
489 B
al_shutdown_primitives_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_shutdown_primitives_addon·\-·Allegro·5·API5 al_shutdown_primitives_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_shutdown_primitives_addon(void)10 void·al_shutdown_primitives_addon(void)
 11 void·al_shutdown_primitives_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Shut·down·the·primitives·addon.14 Shut·down·the·primitives·addon.
14 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time15 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
15 the·user·wishes·as·well.16 the·user·wishes·as·well.
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 al_init_primitives_addon(3alleg5)18 al_init_primitives_addon(3alleg5)
446 B
./usr/share/man/man3/al_shutdown_ttf_addon.3alleg5.gz
340 B
al_shutdown_ttf_addon.3alleg5
    
Offset 5, 11 lines modifiedOffset 5, 12 lines modified
5 al_shutdown_ttf_addon·\-·Allegro·5·API5 al_shutdown_ttf_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_ttf.h>9 #include·<allegro5/allegro_ttf.h>
  
10 void·al_shutdown_ttf_addon(void)10 void·al_shutdown_ttf_addon(void)
 11 void·al_shutdown_ttf_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Unloads·the·ttf·addon·again.14 Unloads·the·ttf·addon·again.
14 You·normally·don\[cq]t·need·to·call·this.15 You·normally·don\[cq]t·need·to·call·this.
534 B
./usr/share/man/man3/al_shutdown_video_addon.3alleg5.gz
424 B
al_shutdown_video_addon.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_shutdown_video_addon·\-·Allegro·5·API5 al_shutdown_video_addon·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 void·al_shutdown_video_addon(void)10 void·al_shutdown_video_addon(void)
 11 void·al_shutdown_video_addon(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Shut·down·the·video·addon.14 Shut·down·the·video·addon.
14 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time15 This·is·done·automatically·at·program·exit,·but·can·be·called·any·time
15 the·user·wishes·as·well.16 the·user·wishes·as·well.
16 .SH·SINCE17 .SH·SINCE
17 5.1.1218 5.1.12
653 B
./usr/share/man/man3/al_start_audio_recorder.3alleg5.gz
543 B
al_start_audio_recorder.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_start_audio_recorder·\-·Allegro·5·API5 al_start_audio_recorder·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)10 bool·al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
 11 bool·al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Begin·recording·into·the·fragment·buffer.14 Begin·recording·into·the·fragment·buffer.
14 Once·a·complete·fragment·has·been·captured·(as·specified·in15 Once·a·complete·fragment·has·been·captured·(as·specified·in
15 al_create_audio_recorder(3alleg5)),·an16 al_create_audio_recorder(3alleg5)),·an
16 ALLEGRO_EVENT_AUDIO_RECORDER_FRAGMENT(3alleg5)·event·will·be·triggered.17 ALLEGRO_EVENT_AUDIO_RECORDER_FRAGMENT(3alleg5)·event·will·be·triggered.
17 .PP18 .PP
466 B
./usr/share/man/man3/al_start_video.3alleg5.gz
374 B
al_start_video.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_start_video·\-·Allegro·5·API5 al_start_video·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)10 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)
 11 void·al_start_video(ALLEGRO_VIDEO·*video,·ALLEGRO_MIXER·*mixer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Starts·playing·the·video·from·the·beginning.14 Starts·playing·the·video·from·the·beginning.
14 .SH·SINCE15 .SH·SINCE
15 5.1.016 5.1.0
570 B
./usr/share/man/man3/al_start_video_with_voice.3alleg5.gz
456 B
al_start_video_with_voice.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_start_video_with_voice·\-·Allegro·5·API5 al_start_video_with_voice·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_video.h>9 #include·<allegro5/allegro_video.h>
  
10 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)10 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)
 11 void·al_start_video_with_voice(ALLEGRO_VIDEO·*video,·ALLEGRO_VOICE·*voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Like·al_start_video(3alleg5)·but·audio·is·routed·to·the·provided·voice.14 Like·al_start_video(3alleg5)·but·audio·is·routed·to·the·provided·voice.
14 .SH·SINCE15 .SH·SINCE
15 5.1.016 5.1.0
626 B
./usr/share/man/man3/al_stop_audio_recorder.3alleg5.gz
518 B
al_stop_audio_recorder.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_stop_audio_recorder·\-·Allegro·5·API5 al_stop_audio_recorder·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)10 void·al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
 11 void·al_stop_audio_recorder(ALLEGRO_AUDIO_RECORDER·*r)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Stop·capturing·audio·data.14 Stop·capturing·audio·data.
14 Note·that·the·audio·recorder·is·still·active·and·consuming·resources,·so15 Note·that·the·audio·recorder·is·still·active·and·consuming·resources,·so
15 if·you·are·finished·recording·you·should·destroy·it·with16 if·you·are·finished·recording·you·should·destroy·it·with
16 al_destroy_audio_recorder(3alleg5).17 al_destroy_audio_recorder(3alleg5).
17 .PP18 .PP
461 B
./usr/share/man/man3/al_stop_sample.3alleg5.gz
369 B
al_stop_sample.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_stop_sample·\-·Allegro·5·API5 al_stop_sample·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)10 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)
 11 void·al_stop_sample(ALLEGRO_SAMPLE_ID·*spl_id)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Stop·the·sample·started·by·al_play_sample(3alleg5).14 Stop·the·sample·started·by·al_play_sample(3alleg5).
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_stop_samples(3alleg5)16 al_stop_samples(3alleg5)
519 B
./usr/share/man/man3/al_stop_sample_instance.3alleg5.gz
409 B
al_stop_sample_instance.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_stop_sample_instance·\-·Allegro·5·API5 al_stop_sample_instance·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)10 bool·al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
 11 bool·al_stop_sample_instance(ALLEGRO_SAMPLE_INSTANCE·*spl)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Stop·an·sample·instance·playing.14 Stop·an·sample·instance·playing.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_play_sample_instance(3alleg5)16 al_play_sample_instance(3alleg5)
426 B
./usr/share/man/man3/al_stop_samples.3alleg5.gz
332 B
al_stop_samples.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_stop_samples·\-·Allegro·5·API5 al_stop_samples·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_stop_samples(void)10 void·al_stop_samples(void)
 11 void·al_stop_samples(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Stop·all·samples·started·by·al_play_sample(3alleg5).14 Stop·all·samples·started·by·al_play_sample(3alleg5).
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_stop_sample(3alleg5)16 al_stop_sample(3alleg5)
676 B
./usr/share/man/man3/al_toggle_menu_item_flags.3alleg5.gz
562 B
al_toggle_menu_item_flags.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_toggle_menu_item_flags·\-·Allegro·5·API5 al_toggle_menu_item_flags·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_native_dialog.h>9 #include·<allegro5/allegro_native_dialog.h>
  
10 int·al_toggle_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)10 int·al_toggle_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)
 11 int·al_toggle_menu_item_flags(ALLEGRO_MENU·*menu,·int·pos,·int·flags)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Toggles·the·specified·menu·item\[cq]s·flags.14 Toggles·the·specified·menu·item\[cq]s·flags.
14 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available15 See·al_insert_menu_item(3alleg5)·for·a·description·of·the·available
15 flags.16 flags.
16 .PP17 .PP
17 Returns·a·bitfield·of·only·the·specified·flags·that·are·set·after·the18 Returns·a·bitfield·of·only·the·specified·flags·that·are·set·after·the
863 B
./usr/share/man/man3/al_triangulate_polygon.3alleg5.gz
755 B
al_triangulate_polygon.3alleg5
    
Offset 7, 14 lines modifiedOffset 7, 17 lines modified
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 bool·al_triangulate_polygon(10 bool·al_triangulate_polygon(
11 ···const·float*·vertices,·size_t·vertex_stride,·const·int*·vertex_counts,11 ···const·float*·vertices,·size_t·vertex_stride,·const·int*·vertex_counts,
12 ···void·(*emit_triangle)(int,·int,·int,·void*),·void*·userdata)12 ···void·(*emit_triangle)(int,·int,·int,·void*),·void*·userdata)
 13 bool·al_triangulate_polygon(
 14 ···const·float*·vertices,·size_t·vertex_stride,·const·int*·vertex_counts,
 15 ···void·(*emit_triangle)(int,·int,·int,·void*),·void*·userdata)
13 .EE16 .EE
14 .SH·DESCRIPTION17 .SH·DESCRIPTION
15 Divides·a·simple·polygon·into·triangles,·with·zero·or·more·other·simple18 Divides·a·simple·polygon·into·triangles,·with·zero·or·more·other·simple
16 polygons·subtracted·from·it·\-·the·holes.19 polygons·subtracted·from·it·\-·the·holes.
17 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·main20 The·holes·cannot·touch·or·intersect·with·the·outline·of·the·main
18 polygon.21 polygon.
19 Simple·means·the·polygon·does·not·have·to·be·convex·but·must·not·be22 Simple·means·the·polygon·does·not·have·to·be·convex·but·must·not·be
428 B
./usr/share/man/man3/al_uninstall_audio.3alleg5.gz
328 B
al_uninstall_audio.3alleg5
    
Offset 5, 12 lines modifiedOffset 5, 13 lines modified
5 al_uninstall_audio·\-·Allegro·5·API5 al_uninstall_audio·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_uninstall_audio(void)10 void·al_uninstall_audio(void)
 11 void·al_uninstall_audio(void)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Uninstalls·the·audio·subsystem.14 Uninstalls·the·audio·subsystem.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_install_audio(3alleg5)16 al_install_audio(3alleg5)
572 B
./usr/share/man/man3/al_unlock_index_buffer.3alleg5.gz
464 B
al_unlock_index_buffer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_unlock_index_buffer·\-·Allegro·5·API5 al_unlock_index_buffer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)10 void·al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)
 11 void·al_unlock_index_buffer(ALLEGRO_INDEX_BUFFER*·buffer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Unlocks·a·previously·locked·index·buffer.14 Unlocks·a·previously·locked·index·buffer.
14 .SH·SINCE15 .SH·SINCE
15 5.1.816 5.1.8
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 ALLEGRO_INDEX_BUFFER(3alleg5),·al_lock_index_buffer(3alleg5)18 ALLEGRO_INDEX_BUFFER(3alleg5),·al_lock_index_buffer(3alleg5)
736 B
./usr/share/man/man3/al_unlock_sample_id.3alleg5.gz
634 B
al_unlock_sample_id.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_unlock_sample_id·\-·Allegro·5·API5 al_unlock_sample_id·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)10 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
 11 void·al_unlock_sample_id(ALLEGRO_SAMPLE_ID·*spl_id)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Unlocks·a·ALLEGRO_SAMPLE_ID(3alleg5),·allowing·future·calls·to14 Unlocks·a·ALLEGRO_SAMPLE_ID(3alleg5),·allowing·future·calls·to
14 al_play_sample(3alleg5)·to·reuse·it·if·possible.15 al_play_sample(3alleg5)·to·reuse·it·if·possible.
15 Note·that·after·the·id·is·unlocked,·the·ALLEGRO_SAMPLE_INSTANCE(3alleg5)16 Note·that·after·the·id·is·unlocked,·the·ALLEGRO_SAMPLE_INSTANCE(3alleg5)
16 that·was·previously·returned·by·al_lock_sample_id(3alleg5)·will·possibly17 that·was·previously·returned·by·al_lock_sample_id(3alleg5)·will·possibly
17 be·playing·a·different·sound,·so·you·should·only·use·it·after·locking18 be·playing·a·different·sound,·so·you·should·only·use·it·after·locking
584 B
./usr/share/man/man3/al_unlock_vertex_buffer.3alleg5.gz
474 B
al_unlock_vertex_buffer.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_unlock_vertex_buffer·\-·Allegro·5·API5 al_unlock_vertex_buffer·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_primitives.h>9 #include·<allegro5/allegro_primitives.h>
  
10 void·al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)10 void·al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)
 11 void·al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER*·buffer)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Unlocks·a·previously·locked·vertex·buffer.14 Unlocks·a·previously·locked·vertex·buffer.
14 .SH·SINCE15 .SH·SINCE
15 5.1.316 5.1.3
16 .SH·SEE·ALSO17 .SH·SEE·ALSO
17 ALLEGRO_VERTEX_BUFFER(3alleg5),·al_lock_vertex_buffer(3alleg5)18 ALLEGRO_VERTEX_BUFFER(3alleg5),·al_lock_vertex_buffer(3alleg5)
635 B
./usr/share/man/man3/al_voice_has_attachments.3alleg5.gz
523 B
al_voice_has_attachments.3alleg5
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 al_voice_has_attachments·\-·Allegro·5·API5 al_voice_has_attachments·\-·Allegro·5·API
6 .SH·SYNOPSIS6 .SH·SYNOPSIS
7 .IP7 .IP
8 .EX8 .EX
9 #include·<allegro5/allegro_audio.h>9 #include·<allegro5/allegro_audio.h>
  
10 bool·al_voice_has_attachments(const·ALLEGRO_VOICE*·voice)10 bool·al_voice_has_attachments(const·ALLEGRO_VOICE*·voice)
 11 bool·al_voice_has_attachments(const·ALLEGRO_VOICE*·voice)
11 .EE12 .EE
12 .SH·DESCRIPTION13 .SH·DESCRIPTION
13 Returns·true·if·the·voice·has·something·attached·to·it.14 Returns·true·if·the·voice·has·something·attached·to·it.
14 .SH·SEE·ALSO15 .SH·SEE·ALSO
15 al_attach_mixer_to_voice(3alleg5),16 al_attach_mixer_to_voice(3alleg5),
16 al_attach_sample_instance_to_voice(3alleg5),17 al_attach_sample_instance_to_voice(3alleg5),
17 al_attach_audio_stream_to_voice(3alleg5)18 al_attach_audio_stream_to_voice(3alleg5)